/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | dirent.h | 35 * Each directory entry is a struct dirent containing its file number, the 47 struct dirent { struct 69 (((sizeof(struct dirent) - (MAXNAMLEN+1) + ((dp)->d_namlen+1)) +3) & ~3)
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_dir.c | 18 # include <dirent.h> 19 # define NAMLEN(dirent) strlen((dirent)->d_name) 21 # define dirent direct macro 22 # define NAMLEN(dirent) (dirent)->d_namlen 52 struct dirent *dp;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | dirent.h | 44 typedef struct dirent { struct 53 /* kernel's view of user ILP32 dirent */ 92 * user-supplied dirent buffers. 103 * a 'struct dirent' == 'struct dirent64'). 119 #define dirent64 dirent 124 extern int getdents(int, struct dirent *, size_t);
|
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | ast_dirent.h | 24 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_32bit/src/lib/libast/features/dirent by iffe version 2009-12-04 : : */ 87 #define _hdr_dirent 1 /* #include <dirent.h> ok */ 88 #define _nxt_dirent <../include/dirent.h> /* include path for the native <dirent.h> */ 89 #define _nxt_dirent_str "../include/dirent.h" /* include string for the native <dirent.h> */ 91 * <dirent.h> for [fl]stat64 and off64_t 96 #include <../include/dirent.h> /* the native <dirent.h> */ 109 #include <../include/dirent 117 #define dirent macro [all...] |
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/ |
H A D | ast_dirent.h | 3 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_32bit/src/lib/libast/features/dirent by iffe version 2009-12-04 : : */ 66 #define _hdr_dirent 1 /* #include <dirent.h> ok */ 67 #define _nxt_dirent <../include/dirent.h> /* include path for the native <dirent.h> */ 68 #define _nxt_dirent_str "../include/dirent.h" /* include string for the native <dirent.h> */ 70 * <dirent.h> for [fl]stat64 and off64_t 75 #include <../include/dirent.h> /* the native <dirent.h> */ 88 #include <../include/dirent 96 #define dirent macro [all...] |
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | ast_dirent.h | 24 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_sparc_32bit/src/lib/libast/features/dirent by iffe version 2009-12-04 : : */ 87 #define _hdr_dirent 1 /* #include <dirent.h> ok */ 88 #define _nxt_dirent <../include/dirent.h> /* include path for the native <dirent.h> */ 89 #define _nxt_dirent_str "../include/dirent.h" /* include string for the native <dirent.h> */ 91 * <dirent.h> for [fl]stat64 and off64_t 96 #include <../include/dirent.h> /* the native <dirent.h> */ 109 #include <../include/dirent 117 #define dirent macro [all...] |
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/ |
H A D | ast_dirent.h | 3 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_sparc_32bit/src/lib/libast/features/dirent by iffe version 2009-12-04 : : */ 66 #define _hdr_dirent 1 /* #include <dirent.h> ok */ 67 #define _nxt_dirent <../include/dirent.h> /* include path for the native <dirent.h> */ 68 #define _nxt_dirent_str "../include/dirent.h" /* include string for the native <dirent.h> */ 70 * <dirent.h> for [fl]stat64 and off64_t 75 #include <../include/dirent.h> /* the native <dirent.h> */ 88 #include <../include/dirent 96 #define dirent macro [all...] |
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | dirent.h | 29 * @(#)dirent.h 8.3 (Berkeley) 8/10/94 40 * The dirent structure defines the format of directory entries returned by 43 * A directory entry has a struct dirent at the front of it, containing its 50 struct dirent { struct 93 ((sizeof (struct dirent) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3))
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | disk_discovery.c | 219 struct dirent *dirent; local 235 while ((dirent = readdir(dir)) != NULL) { 237 "%s/%s", basedir, dirent->d_name); 248 ptr = strdup(dirent->d_name);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_arg.c | 38 #include <dirent.h> 429 struct dirent *dirent; local 448 while (dirent = readdir(procdir)) { 449 if (dirent->d_name[0] == '.') /* skip . and .. */ 451 pid = (id_t)strtol(dirent->d_name, &errptr, 10);
|
/illumos-gate/usr/src/cmd/sgs/crle/common/ |
H A D | inspect.c | 54 #include <dirent.h> 849 struct dirent *dirent; local 890 while ((dirent = readdir(dir)) != NULL) { 891 const char *file = dirent->d_name;
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | device.c | 32 #include <dirent.h> 557 struct dirent *dirent; local 577 while ((dirent = readdir(dir)) != NULL) { 578 if (dirent->d_name[0] == '.') 581 dirent->d_name);
|
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_root.c | 41 #include <sys/dirent.h> 221 gfs_dirent_t *dirent; local 252 dirent = kmem_zalloc((ct_ntypes + 2) * sizeof (gfs_dirent_t), KM_SLEEP); 254 dirent[i].gfse_name = (char *)ct_types[i]->ct_type_name; 255 dirent[i].gfse_ctor = ctfs_create_tdirnode; 256 dirent[i].gfse_flags = GFS_CACHE_VNODE; 258 dirent[i].gfse_name = "all"; 259 dirent[i].gfse_ctor = ctfs_create_adirnode; 260 dirent[i].gfse_flags = GFS_CACHE_VNODE; 261 dirent[ [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | plugins.c | 281 #include <dirent.h> 284 #define dirent direct macro 472 struct dirent *d = NULL;
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | dlopen.c | 76 # include <dirent.h> 77 # define NAMLEN(dirent) strlen((dirent)->d_name) 79 # define dirent direct macro 80 # define NAMLEN(dirent) (dirent)->d_namlen 513 struct dirent *dir;
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | fsck_pcfs.h | 102 struct pcdir *dirent; member in struct:clinfo 115 * #define dirent conflicts with other dirent uses, so we used the
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yp_b_subr.c | 1453 struct dirent *dirent; local 1474 while ((dirent = readdir(dir)) != 0) { 1475 if (strncmp(dirent->d_name, "xprt.", 5) == 0) { 1476 sprintf(filename, "%s/%s", BINDING, dirent->d_name);
|
/illumos-gate/usr/src/cmd/man/ |
H A D | makewhatis.c | 39 #include <dirent.h> 101 * name of the man section directory and the dirent of the file. 105 new_page_info(char *dir, struct dirent *dirent) argument 114 basename_length = strlen(dirent->d_name); 115 suffix = &dirent->d_name[basename_length]; 116 if (asprintf(&info->filename, "%s/%s", dir, dirent->d_name) == -1) 119 if (--suffix == dirent->d_name || !isalnum(*suffix)) { 128 info->name = strdup(dirent->d_name); 753 struct dirent **entrie [all...] |
/illumos-gate/usr/src/uts/common/fs/fd/ |
H A D | fdops.c | 33 #include <sys/dirent.h> 230 /* bp holds one dirent structure */ 232 struct dirent64 *dirent = (struct dirent64 *)bp; local 255 dirent->d_ino = (ino64_t)FDROOTINO; 256 dirent->d_name[0] = '.'; 257 dirent->d_name[1] = '\0'; 260 dirent->d_ino = (ino64_t)FDROOTINO; 261 dirent->d_name[0] = '.'; 262 dirent->d_name[1] = '.'; 263 dirent [all...] |
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_main.c | 44 #include <dirent.h> 589 struct dirent *dirent; local 596 while ((dirent = readdir(pdir)) != NULL) { 597 if (strcmp(".", dirent->d_name) == 0 || 598 strcmp("..", dirent->d_name) == 0) 600 pid = atoi(dirent->d_name); 601 ASSERT(pid != 0 || strcmp(dirent->d_name, "0") == 0);
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | cap.c | 28 #include <dirent.h> 521 struct dirent *dirent; local 550 while ((dirent = readdir(dir)) != NULL) { 551 const char *file = dirent->d_name;
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | hotplug.c | 61 #include <dirent.h> 2126 struct dirent *dirent; local 2142 while ((dirent = readdir(dir)) != (struct dirent *)NULL) { 2143 if (strcmp(dirent->d_name, ".") == 0 || 2144 strcmp(dirent->d_name, "..") == 0) 2147 (void) sprintf(lname, SES_DIR"/%s", dirent->d_name); 2170 dirent->d_name); 2534 struct dirent *diren local 2600 struct dirent *dirent; local 2723 struct dirent *dirent; local 2924 struct dirent *dirent; local [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | nandfs.c | 96 static int nandfs_readdir(struct open_file *, struct dirent *); 537 nandfs_readdir(struct open_file *f, struct dirent *d) 540 struct nandfs_dir_entry *dirent; local 544 NANDFS_DEBUG("nandfs_readdir(file=%p, dirent=%p)\n", f, d); 547 NANDFS_DEBUG("nandfs_readdir(file=%p, dirent=%p) ENOENT\n", 553 NANDFS_DEBUG("nandfs_readdir(file=%p, dirent=%p)" 558 NANDFS_DEBUG("nandfs_readdir(file=%p, dirent=%p) moving forward\n", 561 dirent = (struct nandfs_dir_entry *)buf; 562 fs->nf_offset += dirent->rec_len; 563 strncpy(d->d_name, dirent 634 struct nandfs_dir_entry *dirent; local [all...] |
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_misc.c | 44 #include <dirent.h> 592 struct dirent *dp; 1119 struct dirent *dirent; local 1133 while ((dirent = readdir(dir)) != NULL) { 1134 if (dirent->d_name[0] == '.') { 1138 dirent->d_name); 1168 if (strstr(dirent->d_name, tmpstr)) {
|
/illumos-gate/usr/src/man/man3head/ |
H A D | Makefile | 29 dirent.h.3head \ 119 dirent.3head \ 208 dirent.3head := LINKSRC = dirent.h.3head
|