Searched refs:d_namlen (Results 1 - 12 of 12) sorted by relevance
/darwin-on-arm/xnu/bsd/sys/ |
H A D | dir.h | 87 * null byte (dp->d_namlen+1), rounded up to a 4 byte boundary. 91 (((unsigned long)&((struct direct *)0)->d_name + (dp)->d_namlen+1 + 3) & ~3)
|
H A D | dirent.h | 96 __uint8_t d_namlen; /* length of string in d_name */ member in struct:dirent 109 __uint16_t d_namlen; /* length of string in d_name */ \
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | 32bit_inode_tests.c | 110 printf( "d_ino %d d_reclen %d d_type %d d_namlen %d \"%s\" \n", 112 my_dirent_p->d_namlen, &my_dirent_p->d_name[0] ); 118 strlen( my_file_namep ) == my_dirent_p->d_namlen && 119 memcmp( &my_dirent_p->d_name[0], my_file_namep, my_dirent_p->d_namlen ) == 0 ) {
|
/darwin-on-arm/xnu/bsd/miscfs/devfs/ |
H A D | devfs_vnops.c | 1315 dirent.d_namlen = 1; 1324 dirent.d_namlen = 2; 1329 dirent.d_namlen = strlen(name_node->de_name); 1349 ((sizeof (struct dirent) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3))
|
H A D | devfs_fdesc_support.c | 547 u_short d_namlen; 585 dp->d_namlen = snprintf(dp->d_name, sizeof(dp->d_name),
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_vnops.c | 4827 if (dp->d_namlen > (sizeof(dent.d_name) - 1)) 4830 nlen = dp->d_namlen; 4835 dent.d_namlen = nlen; 5160 if ((cnp->cn_namelen == dp->d_namlen) && !strcmp(cnp->cn_nameptr, dp->d_name)) { 5161 fhlen = dp->d_name[dp->d_namlen+1]; 5177 if ((fhp->fh_len == fhlen) && !bcmp(&dp->d_name[dp->d_namlen+2], fhp->fh_data, fhlen)) { 5181 *(time_t*)(&dp->d_name[dp->d_namlen+2+fhp->fh_len]) = *attrstampp; 5188 bcopy(&dp->d_name[dp->d_namlen+2], fhp->fh_data, MAX(fhp->fh_len, (int)sizeof(fhp->fh_data))); 5189 *attrstampp = *(time_t*)(&dp->d_name[dp->d_namlen+2+fhp->fh_len]); 5504 dp->d_namlen [all...] |
H A D | nfs4_vnops.c | 800 dp->d_namlen = namlen; 806 padstart = dp->d_name + dp->d_namlen + 1 + xlen; 819 dp->d_namlen = namlen; 828 padstart = dp->d_name + dp->d_namlen + 1 + xlen; 954 dp->d_namlen = namlen; 1012 dp->d_name[dp->d_namlen+1] = fh.fh_len; 1013 bcopy(fh.fh_data, &dp->d_name[dp->d_namlen+2], fh.fh_len); 1020 bzero(&dp->d_name[dp->d_namlen+1], fhlen); 1022 *(time_t*)(&dp->d_name[dp->d_namlen+1+fhlen]) = now.tv_sec; 1025 padstart = dp->d_name + dp->d_namlen [all...] |
H A D | nfs_serv.c | 4049 nlen = dp->d_namlen; 4270 nlen = dp->d_namlen; 4279 isdotdot = ((dp->d_namlen == 2) &&
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_vnops.c | 4442 u_int8_t d_namlen; /* len of filename */ member in struct:hfs_stddotentry 4450 u_int16_t d_namlen; /* len of filename */ member in struct:hfs_extdotentry 4470 * u_int8_t d_namlen; // length of string in d_name 4570 entry->d_namlen = 1; 4580 entry->d_namlen = 2; 4592 entry->d_namlen = 1; 4600 entry->d_namlen = 2;
|
H A D | hfs_catalog.c | 2992 catent.d_namlen = namelen; 3081 entry->d_namlen = namelen; 3159 catent.d_namlen = namelen;
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_subr.c | 7957 !((dp->d_namlen == 1 && dp->d_name[0] == '.') || 7958 (dp->d_namlen == 2 && dp->d_name[0] == '.' && dp->d_name[1] == '.'))) { 7963 if ( dp->d_namlen < 2 || 7965 (dp->d_namlen >= 4 && !strncmp(&(dp->d_name[2]), "._",2))) { 8029 !((dp->d_namlen == 1 && dp->d_name[0] == '.') || 8030 (dp->d_namlen == 2 && dp->d_name[0] == '.' && dp->d_name[1] == '.'))
|
H A D | vfs_syscalls.c | 6885 entry64.d_reclen = DIRENT64_LEN(dep->d_namlen); 6886 entry64.d_namlen = dep->d_namlen; 6888 bcopy(dep->d_name, entry64.d_name, dep->d_namlen + 1);
|
Completed in 285 milliseconds