Searched refs:d_namlen (Results 1 - 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Ddirent.h51 unsigned short d_namlen; /* length of string in d_name */ member in struct:dirent
69 (((sizeof(struct dirent) - (MAXNAMLEN+1) + ((dp)->d_namlen+1)) +3) & ~3)
H A Ddir.h48 u_short d_namlen; /* length of string in d_name */ member in struct:direct
60 (((sizeof (struct direct) - (MAXNAMLEN+1) + ((dp)->d_namlen+1)) + 3) & ~3)
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_fsdir.h80 ushort_t d_namlen; /* length of string in d_name */ member in struct:direct
88 * null byte (dp->d_namlen+1), rounded up to a 4 byte boundary.
92 ((sizeof (struct direct) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1+3) &~ 3))
/illumos-gate/usr/src/boot/sys/sys/
H A Ddirent.h54 __uint8_t d_namlen; /* length of string in d_name */ member in struct:dirent
87 * null byte (dp->d_namlen+1), rounded up to a 4 byte boundary.
93 ((sizeof (struct dirent) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3))
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Ddir.h81 u_short d_namlen; /* length of string in d_name */ member in struct:direct
89 * null byte (dp->d_namlen+1), rounded up to a 4 byte boundary.
93 ((sizeof (struct direct) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3))
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dgetdents.c95 dir->d_namlen = strlen(ndir->d_name);
97 dir->d_namlen + ALIGN) & -ALIGN);
98 strncpy(dir->d_name, ndir->d_name, dir->d_namlen);
99 dir->d_name[dir->d_namlen] = '\0';
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dreaddir.c86 dc64.d_namlen = (ushort_t)strlen(dp->d_name);
87 if (dc64.d_namlen > MAXNAMLEN) {
111 dc.d_namlen = dc64.d_namlen;
H A Dscandir.c110 p->d_namlen = d->d_namlen;
180 p->d_namlen = d->d_namlen;
/illumos-gate/usr/src/boot/include/ufs/ufs/
H A Ddir.h80 u_int16_t d_namlen; /* length of string in d_name */ member in struct:direct
107 * null byte (dp->d_namlen+1), rounded up to a 4 byte boundary.
116 ((oldfmt) ? DIRECTSIZ((dp)->d_type) : DIRECTSIZ((dp)->d_namlen))
119 DIRECTSIZ((dp)->d_namlen)
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dscandir.c74 p->d_namlen = d->d_namlen;
/illumos-gate/usr/src/ucbhead/sys/
H A Ddir.h75 ushort_t d_namlen; /* length of string in d_name */ member in struct:direct
82 ushort_t d_namlen; /* length of string in d_name */ member in struct:direct
90 ushort_t d_namlen; /* length of string in d_name */ member in struct:direct64
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_dir.h63 #define D_NAMLEN(d) ((d)->d_namlen)
/illumos-gate/usr/src/lib/libast/common/include/
H A Dast_dir.h54 #define D_NAMLEN(d) ((d)->d_namlen)
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_dir.h63 #define D_NAMLEN(d) ((d)->d_namlen)
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_dir.h63 #define D_NAMLEN(d) ((d)->d_namlen)
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_dir.h63 #define D_NAMLEN(d) ((d)->d_namlen)
/illumos-gate/usr/src/common/fs/
H A Dhsfs.c257 if (udp->d_namlen == 1 &&
261 if (udp->d_namlen == 2 &&
266 if (udp->d_namlen == len && (strcmp(s, udp->d_name)) == 0) {
694 udp->d_namlen = 1;
700 udp->d_namlen = 2;
703 udp->d_namlen = 0;
711 udp->d_name[udp->d_namlen++] = c;
713 udp->d_name[udp->d_namlen] = '\0';
801 udp->d_namlen = RRIP_NAME_LEN(susp);
803 udp->d_name, udp->d_namlen);
[all...]
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.h86 int16_t d_namlen; member in struct:dir
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_dir.c22 # define NAMLEN(dirent) (dirent)->d_namlen
/illumos-gate/usr/src/lib/libast/common/dir/
H A Dgetdents.c106 up->d_reclen = sizeof(struct dirent) - sizeof(up->d_name) + (up->d_namlen = u - up->d_name) + 1;
152 up->d_reclen = sizeof(struct dirent) - sizeof(up->d_name) + (up->d_namlen = u - tmp) + 1;
/illumos-gate/usr/src/stand/lib/fs/hsfs/
H A Dhsfsops.c252 if (udp->d_namlen == 1 &&
256 if (udp->d_namlen == 2 &&
261 if (udp->d_namlen == len && (strcmp(path, udp->d_name) == 0)) {
781 udp->d_namlen = 1;
787 udp->d_namlen = 2;
790 udp->d_namlen = 0;
798 udp->d_name[udp->d_namlen++] = c;
800 udp->d_name[udp->d_namlen] = '\0';
929 udp->d_namlen =
933 udp->d_namlen);
[all...]
/illumos-gate/usr/src/boot/sys/boot/userboot/test/
H A Dtest.c201 * Note: d_namlen is in the range 0..255 and therefore less
206 *namelen_return = dp->d_namlen;
207 memcpy(name, dp->d_name, dp->d_namlen);
208 name[dp->d_namlen] = 0;
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Ddir.c253 dp->d_namlen = 0;
352 dp->d_namlen <= MAXNAMLEN) {
355 for (cp = dp->d_name, size = 0; size < (size_t)dp->d_namlen;
367 dp->d_ino, dp->d_reclen, dp->d_namlen, dp->d_name);
478 newent.d_namlen = strlen(idesc->id_name);
493 dirp->d_namlen = newent.d_namlen;
495 (size_t)newent.d_namlen + 1);
506 (size_t)dirp->d_namlen + 1) != 0)
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Dhost.c125 d->d_namlen = namelen;
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_dir.c468 if (ep->d_ino && ep->d_namlen == namlen &&
470 bcmp(namep, ep->d_name, (int)ep->d_namlen) == 0) {
1362 if (ep->d_ino && ep->d_namlen == namlen &&
1819 ep->d_namlen = (ushort_t)namlen;
1937 slotp->ep->d_namlen = 0;
2819 (uint_t)ep->d_reclen < DIRSIZ(ep) || ep->d_namlen > MAXNAMLEN ||
2820 ep->d_ino && dirbadname(ep->d_name, (int)ep->d_namlen)) {
2913 if (dp->d_namlen > 2 || dp->d_name[0] != '.') {
2918 * At this point d_namlen must be 1 or 2.
2922 if (dp->d_namlen
[all...]

Completed in 145 milliseconds

12