Searched refs:namlen (Results 1 - 5 of 5) sorted by relevance
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs.h | 518 #define STD_DIRENT_LEN(namlen) \ 519 ((sizeof(struct dirent) - (NAME_MAX+1)) + (((namlen)+1 + 3) &~ 3)) 521 #define EXT_DIRENT_LEN(namlen) \ 522 ((sizeof(struct direntry) + (namlen) - (MAXPATHLEN-1) + 3) & ~3)
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfsnode.h | 265 #define NFS_DIRENTRY_LEN(namlen) \ 266 ((sizeof(struct direntry) + (namlen) - (MAXPATHLEN-1) + 7) & ~7) 267 #define NFS_DIRENT_LEN(namlen) \ 268 ((sizeof(struct dirent) - (NAME_MAX+1)) + (((namlen) + 1 + 3) &~ 3))
|
H A D | nfs4_vnops.c | 722 uint32_t namlen, skiplen, fhlen, xlen, attrlen, reclen, space_free, space_needed; local 796 namlen = 1; 797 reclen = NFS_DIRENTRY_LEN(namlen + xlen); 799 bzero(&dp->d_name[namlen+1], xlen); 800 dp->d_namlen = namlen; 801 strlcpy(dp->d_name, ".", namlen+1); 815 namlen = 2; 816 reclen = NFS_DIRENTRY_LEN(namlen + xlen); 818 bzero(&dp->d_name[namlen+1], xlen); 819 dp->d_namlen = namlen; [all...] |
H A D | nfs_vnops.c | 5353 uint32_t namlen, skiplen, fhlen, xlen, attrlen, reclen, space_free, space_needed; local 5456 nfsm_chain_get_32(error, &nmrep, namlen); 5459 if (namlen <= 0) { 5463 if (namlen > (sizeof(dp->d_name)-1)) { 5464 skiplen = namlen - sizeof(dp->d_name) + 1; 5465 namlen = sizeof(dp->d_name) - 1; 5473 reclen = NFS_DIRENTRY_LEN(namlen + xlen); 5504 dp->d_namlen = namlen; 5507 nfsm_chain_get_opaque(error, &nmrep, namlen, dp->d_name); 5509 dp->d_name[namlen] [all...] |
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_syscalls.c | 6830 #define DIRENT64_LEN(namlen) \ 6831 ((sizeof(struct direntry) + (namlen) - (MAXPATHLEN-1) + 7) & ~7)
|
Completed in 101 milliseconds