Home
last modified time | relevance | path

Searched refs:NDHISLOTS (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/sys/kern/
Dkern_descrip.c936 if (NDHISLOTS(nfiles) > NDHISLOTS(fdp->fd_nfiles)) { in fdexpand()
937 newhimap = mallocarray(NDHISLOTS(nfiles), sizeof(u_int), in fdexpand()
956 if (NDHISLOTS(nfiles) > NDHISLOTS(fdp->fd_nfiles)) { in fdexpand()
957 copylen = NDHISLOTS(fdp->fd_nfiles) * sizeof(u_int); in fdexpand()
960 NDHISLOTS(nfiles) * sizeof(u_int) - copylen); in fdexpand()
967 if (NDHISLOTS(fdp->fd_nfiles) > NDHISLOTS(NDFILE)) { in fdexpand()
969 NDHISLOTS(fdp->fd_nfiles) * sizeof(u_int)); in fdexpand()
1129 if (NDHISLOTS(newfdp->fd_nfiles) > NDHISLOTS(NDFILE)) { in fdcopy()
1130 newfdp->fd_himap = mallocarray(NDHISLOTS(newfdp->fd_nfiles), in fdcopy()
1194 if (NDHISLOTS(fdp->fd_nfiles) > NDHISLOTS(NDFILE)) { in fdfree()
[all …]
/openbsd/src/sys/sys/
Dfiledesc.h57 #define NDHISLOTS(x) (NDREDUCE(NDREDUCE(x))) macro
58 #define NDLOSLOTS(x) (NDHISLOTS(x) << NDENTRYSHIFT)