| /src/lib/libc/compat/gen/ | 
| compat__readdir_unlocked30.c | 5 #include <dirent.h> 6 #include <compat/include/dirent.h>
 10     "warning: reference to compatibility _readdir_unlocked(); include <dirent.h> for correct reference")
 16 struct dirent *
 
 | 
| compat_alphasort.c | 6 #include <dirent.h> 7 #include <compat/include/dirent.h>
 15     "warning: reference to compatibility alphasort(); include <dirent.h> for correct reference")
 18 #define dirent dirent12  macro
 
 | 
| compat_scandir.c | 6 #include <dirent.h> 7 #include <compat/include/dirent.h>
 15     "warning: reference to compatibility scandir(); include <dirent.h> for correct reference")
 18 #define dirent dirent12  macro
 
 | 
| compat_opendir.c | 8 #include <dirent.h> 9 #include <compat/include/dirent.h>
 18     "warning: reference to compatibility opendir(); include <dirent.h> for correct reference")
 20     "warning: reference to compatibility __opendir2(); include <dirent.h> for correct reference")
 23 #define dirent dirent12  macro
 
 | 
| compat_glob.c | 14 #include <dirent.h> 15 #include <compat/include/dirent.h>
 
 | 
| compat___glob13.c | 10 #include <dirent.h> 
 | 
| compat_readdir.c | 6 #include <dirent.h> 10 #include <compat/include/dirent.h>
 19     "warning: reference to compatibility readdir(); include <dirent.h> for correct reference")
 21     "warning: reference to compatibility readdir_r(); include <dirent.h> for correct reference")
 25 direnttodirent12(struct dirent12 *d12, const struct dirent *d)
 54 	struct dirent e, *ep;
 
 | 
| /src/lib/libc/compat/include/ | 
| dirent.h | 1 /*	$NetBSD: dirent.h,v 1.8 2016/12/16 04:45:04 mrg Exp $	*/ 31  *	@(#)dirent.h	8.2 (Berkeley) 7/28/94
 37 #include <compat/sys/dirent.h>
 46 int __readdir_r30(DIR * __restrict, struct dirent * __restrict,
 47     struct dirent ** __restrict);
 50 struct dirent *__readdir30(DIR *);
 55 struct dirent *___readdir_unlocked50(DIR *, int);
 56 struct dirent *___readdir_unlocked30(DIR *);
 63 int __scandir30(const char *, struct dirent ***,
 64     int (*)(const struct dirent *),
 [all...]
 | 
| /src/bin/ksh/ | 
| ksh_dir.h | 7 # include <dirent.h> 8 # define NLENGTH(dirent)	(strlen(dirent->d_name))
 10 # define dirent direct  macro
 11 # define NLENGTH(dirent)	(dirent->d_namlen)
 
 | 
| /src/sys/sys/ | 
| dir.h | 35  * The information in this file should be obtained from <dirent.h> 44 #error "Please use <sys/dirent.h> instead"
 47 #include <dirent.h>
 52 #define direct dirent
 
 | 
| dirhash.h | 32 #include <sys/dirent.h> 42 /* dirent's d_namlen is to avoid useless costly fid->dirent translations */
 74 void	dirhash_enter(struct dirhash *, struct dirent *, uint64_t,
 77 void	dirhash_remove(struct dirhash *, struct dirent *dirent,
 
 | 
| /src/lib/libc/gen/ | 
| alphasort.c | 44 #include <dirent.h> 48 #define ALPHASORTARG struct dirent **
 61 	return (strcmp((*(const struct dirent *const *)d1)->d_name,
 62 	    (*(const struct dirent *const *)d2)->d_name));
 
 | 
| dirent_private.h | 21 struct dirent; 22 struct dirent *_readdir_unlocked(struct _dirdesc *, int)
 
 | 
| readdir.c | 46 #include <dirent.h> 56 struct dirent *
 60 	struct dirent *dp;
 81 		dp = (struct dirent *)
 105 struct dirent *
 108 	struct dirent	*dp;
 123 readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result)
 125 	struct dirent *dp;
 
 | 
| scandir.c | 45  * struct dirent (through namelist). Returns -1 if there were any errors. 54 #include <dirent.h>
 74 	nlen = (size_t)(stb.st_size / _DIRENT_MINSIZE((struct dirent *)0));
 86 #define COMPARARG struct dirent **
 90 scandir(const char *dirname, struct dirent ***namelist,
 91     int (*selectfn)(const struct dirent *),
 94 	struct dirent *d, *p, **names;
 
 | 
| seekdir.c | 46 #include <dirent.h> 
 | 
| /src/include/ | 
| dirent.h | 1 /*	$NetBSD: dirent.h,v 1.38 2022/12/28 11:51:21 nia Exp $	*/ 31  *	@(#)dirent.h	8.2 (Berkeley) 7/28/94
 44 #include <sys/dirent.h>
 99 struct dirent *readdir(DIR *) __RENAME(__readdir30);
 100 int readdir_r(DIR * __restrict, struct dirent * __restrict,
 101     struct dirent ** __restrict) __RENAME(__readdir_r30);
 111 int scandir(const char *, struct dirent ***,
 112     int (*)(const struct dirent *), int (*)(const struct dirent **,
 113     const struct dirent **))
 [all...]
 | 
| /src/sys/arch/ia64/stand/common/ | 
| readdir.c | 36 #include <sys/dirent.h> 41 int skifs_readdir(struct open_file *f, struct dirent *d);
 43 struct dirent *
 46 	static struct dirent dir;		/* XXX not thread safe. eh ??? */
 
 | 
| /src/tests/fs/hfs/ | 
| t_pathconvert.c | 7 #include <dirent.h> 39 	struct dirent *dirent;  local in function:ATF_TC_BODY
 62 	for (offset = 0; offset < nbytes; offset += dirent->d_reclen) {
 63 		dirent = (struct dirent *)(buf + offset);
 64 		if (strchr(dirent->d_name, '/'))
 65 			atf_tc_fail("dirent with slash: %s", dirent->d_name);
 66 		if (0 == strcmp(FUNNY_FILENAME, dirent->d_name)
 [all...]
 | 
| /src/usr.sbin/mmcformat/ | 
| defs.h | 36 #include <dirent.h> 
 | 
| /src/lib/libc/compat/sys/ | 
| compat_getdirentries.c | 43 #include <dirent.h> 44 #include <compat/include/dirent.h>
 
 | 
| compat_getdents.c | 42 #include <dirent.h> 44 #include <compat/include/dirent.h>
 53 	struct dirent *ndp, *nndp, *endp;
 63 	ndp = (struct dirent *)(void *)buf;
 64 	endp = (struct dirent *)(void *)&buf[rv];
 
 | 
| /src/sbin/fsck_msdos/ | 
| dir.c | 468 	struct dosDirEntry dirent, *d;  local in function:readDosDirSection 610 			memset(&dirent, 0, sizeof dirent);
 616 			dirent.flags = p[11];
 622 				dirent.name[j] = p[j];
 623 			dirent.name[8] = '\0';
 624 			for (k = 7; k >= 0 && dirent.name[k] == ' '; k--)
 625 				dirent.name[k] = '\0';
 626 			if (k < 0 || dirent.name[k] != '\0')
 628 			if (dirent.name[0] == SLOT_E5
 [all...]
 | 
| /src/sys/arch/ews4800mips/stand/common/ | 
| fileread_bfs.c | 51 	struct bfs_dirent *dirent = (void *)SDBOOT_DIRENTADDR;  local in function:fileread 108 	err = dk_read(bfs_sector + inode->start_sector, 1, dirent);
 114 	for (i = 0; i < n; i++, dirent++)
 115 		if (strcmp(dirent->name, fname) == 0)
 122 	DPRINTF("%s (%d)\n", dirent->name, dirent->inode);
 123 	inode = &inode[dirent->inode - BFS_ROOT_INODE];
 
 | 
| /src/sys/arch/ia64/stand/efi/libefi/ | 
| efifsdev.h | 39 int efifs_readdir(struct open_file *f, struct dirent *d); 
 |