/dragonfly/contrib/elftoolchain/libelf/ |
H A D | libelf_xlate.c | 76 if ((int) src->d_type < 0 || src->d_type >= ELF_T_NUM) { in _libelf_xlate() 82 (src->d_type, (size_t) 1, src->d_version)) == 0) in _libelf_xlate() 85 msz = _libelf_msize(src->d_type, elfclass, src->d_version); in _libelf_xlate() 127 _libelf_malign(src->d_type, elfclass)) { in _libelf_xlate() 132 dst->d_type = src->d_type; in _libelf_xlate() 141 if (!(_libelf_get_translator(src->d_type, direction, elfclass)) in _libelf_xlate()
|
H A D | elf_strptr.c | 77 if (d->d_type != ELF_T_BYTE) { in elf_strptr() 99 if (d->d_type != ELF_T_BYTE) { in elf_strptr()
|
H A D | elf_update.c | 201 if (d->d_type >= ELF_T_NUM) { in _libelf_compute_section_extents() 228 msz = _libelf_msize(d->d_type, ec, e->e_version); in _libelf_compute_section_extents() 254 fsz = _libelf_fsize(d->d_type, ec, d->d_version, in _libelf_compute_section_extents() 775 assert(d->d_type == ELF_T_BYTE); in _libelf_write_scn() 800 msz = _libelf_msize(d->d_type, ec, e->e_version); in _libelf_write_scn() 815 fsz = _libelf_fsize(d->d_type, ec, e->e_version, nobjects); in _libelf_write_scn() 858 src.d_type = ELF_T_EHDR; in _libelf_write_ehdr() 914 src.d_type = ELF_T_PHDR; in _libelf_write_phdr() 965 src.d_type = ELF_T_SHDR; in _libelf_write_shdr()
|
H A D | gelf_symshndx.c | 67 id->d_type != ELF_T_WORD) { in gelf_getsymshndx() 119 d->d_type != ELF_T_WORD) { in gelf_update_symshndx()
|
H A D | elf_data.c | 138 d->d_data.d_type = elftype; in elf_getdata() 198 d->d_data.d_type = ELF_T_BYTE; in elf_newdata() 264 d->d_data.d_type = ELF_T_BYTE; in elf_rawdata()
|
/dragonfly/sbin/fsck/ |
H A D | pass2.c | 255 dirp->d_type = DT_DIR; in pass2check() 264 proto.d_type = DT_DIR; in pass2check() 266 proto.d_type = 0; in pass2check() 273 tmp = proto.d_type; in pass2check() 274 proto.d_type = proto.d_namlen; in pass2check() 307 proto.d_type = DT_DIR; in pass2check() 309 proto.d_type = 0; in pass2check() 316 tmp = proto.d_type; in pass2check() 317 proto.d_type = proto.d_namlen; in pass2check() 338 dirp->d_type = DT_DIR; in pass2check() [all …]
|
H A D | dir.c | 129 tdp->d_namlen = tdp->d_type; in dirscan() 130 tdp->d_type = tmp; in dirscan() 142 tdp->d_namlen = tdp->d_type; in dirscan() 143 tdp->d_type = tmp; in dirscan() 182 dp->d_type = 0; in fsck_readdir() 241 namlen = dp->d_type; in dircheck() 244 type = dp->d_type; in dircheck() 248 type = dp->d_type; in dircheck() 371 dirp->d_type = 0; in mkentry() 386 dirp->d_type = tmp; in mkentry() [all …]
|
/dragonfly/usr.sbin/config/ |
H A D | mkheaders.c | 60 if ((dp->d_type & TYPEMASK) == PSEUDO_DEVICE) { in headers() 61 if (!(dp->d_type & DEVDONE)) { in headers() 67 if ((dp->d_type & TYPEMASK) == DEVICE) { in headers() 68 if (!(dp->d_type & DEVDONE)) { in headers() 95 if ((dp->d_type & TYPEMASK) == PSEUDO_DEVICE) in do_count() 96 dp->d_type |= DEVDONE; in do_count() 97 else if ((dp->d_type & TYPEMASK) == DEVICE) in do_count() 98 dp->d_type |= DEVDONE; in do_count() 103 if ((dp->d_type & TYPEMASK) == PSEUDO_DEVICE) { in do_count()
|
H A D | config.y | 304 DEVICE Dev_spec { cur.d_type = DEVICE; } 308 cur.d_type = PSEUDO_DEVICE; 312 cur.d_type = PSEUDO_DEVICE; 439 if (dp->d_type != DEVICE) { in connect() 457 dp->d_type = DEVICE; in init_dev()
|
H A D | mkioconf.c | 128 if (dp->d_type != DEVICE) in write_all_device_resources() 150 if (dp->d_type != DEVICE) in write_devtab()
|
/dragonfly/contrib/cvs-1.12/src/ |
H A D | ignore.c | 433 dp->d_type != DT_UNKNOWN || in ignore_files() 440 dp->d_type == DT_DIR in ignore_files() 441 || (dp->d_type == DT_UNKNOWN && S_ISDIR (sb.st_mode)) in ignore_files() 461 dp->d_type == DT_LNK in ignore_files() 462 || (dp->d_type == DT_UNKNOWN && S_ISLNK (sb.st_mode)) in ignore_files()
|
H A D | find_names.c | 462 if (dp->d_type != DT_DIR) in find_dirs() 464 if (dp->d_type != DT_UNKNOWN && dp->d_type != DT_LNK) in find_dirs() 487 if (dp->d_type != DT_DIR) in find_dirs() 490 if (dp->d_type == DT_LNK) in find_dirs()
|
/dragonfly/sys/vfs/ufs/ |
H A D | ufs_lookup.c | 311 namlen = ep->d_type; in ufs_lookup() 330 ep->d_type == DT_WHT) { in ufs_lookup() 628 namlen = ep->d_type; in ufs_dirbadentry() 670 newdirp->d_type = IFTODT(ip->i_mode); in ufs_makedirentry() 672 newdirp->d_type = 0; in ufs_makedirentry() 675 newdirp->d_namlen = newdirp->d_type; in ufs_makedirentry() 676 newdirp->d_type = tmp; } in ufs_makedirentry() 944 ep->d_type = DT_WHT; in ufs_dirremove() 1028 ep->d_type = newtype; in ufs_dirrewrite() 1084 namlen = dp->d_type; in ufs_dirempty()
|
H A D | dir.h | 81 uint8_t d_type; /* file type, see below */ member 118 ((oldfmt) ? DIRECTSIZ((dp)->d_type) : DIRECTSIZ((dp)->d_namlen))
|
/dragonfly/lib/libc/gen/ |
H A D | scandir.c | 89 p->d_type = d->d_type; in scandir()
|
H A D | disklabel.c | 87 dp->d_type = gettype(cq, dktypenames); in getdiskbyname() 89 getnumdflt(dp->d_type, "dt", 0); in getdiskbyname()
|
/dragonfly/sys/vfs/tmpfs/ |
H A D | tmpfs_subr.c | 903 uint8_t d_type; in tmpfs_dir_getdents() local 910 d_type = DT_BLK; in tmpfs_dir_getdents() 914 d_type = DT_CHR; in tmpfs_dir_getdents() 918 d_type = DT_DIR; in tmpfs_dir_getdents() 922 d_type = DT_FIFO; in tmpfs_dir_getdents() 926 d_type = DT_LNK; in tmpfs_dir_getdents() 930 d_type = DT_REG; in tmpfs_dir_getdents() 934 d_type = DT_SOCK; in tmpfs_dir_getdents() 943 if (vop_write_dirent(&error, uio, d_ino, d_type, in tmpfs_dir_getdents()
|
/dragonfly/stand/boot/efi/loader/ |
H A D | devicename.c | 113 idev->d_type = dv->dv_type; in efi_parsedev() 145 switch(dev->d_type) { in efi_fmtdev()
|
/dragonfly/test/stress/stress2/misc/ |
H A D | kinfo2.sh | 130 dp->d_name, dp->d_fileno, dp->d_type, dp->d_namlen, 134 if (dp->d_type == DT_DIR &&
|
/dragonfly/stand/boot/common/ |
H A D | ls.c | 112 sprintf(lbuf, " %c %8d %s\n", typestr[d->d_type], in command_ls() 115 sprintf(lbuf, " %c %s\n", typestr[d->d_type], d->d_name); in command_ls()
|
/dragonfly/sys/vfs/procfs/ |
H A D | procfs_vnops.c | 1029 uint8_t d_type; in procfs_readdir_root_callback() local 1041 d_type = DT_DIR; in procfs_readdir_root_callback() 1047 d_type = DT_DIR; in procfs_readdir_root_callback() 1054 d_type = DT_LNK; in procfs_readdir_root_callback() 1061 d_type = DT_LNK; in procfs_readdir_root_callback() 1085 d_type = DT_DIR; in procfs_readdir_root_callback() 1098 d_ino, d_type, d_namlen, d_name); in procfs_readdir_root_callback()
|
/dragonfly/sbin/restore/ |
H A D | dirs.c | 171 nulldir.d_type = DT_DIR; in extractdirs() 352 dp->d_namlen = dp->d_type; in putdir() 355 dp->d_namlen = dp->d_type; in putdir() 357 dp->d_type = DT_UNKNOWN; in putdir() 436 ndp->d_type = DT_UNKNOWN; in dcvt()
|
/dragonfly/stand/boot/pc32/libi386/ |
H A D | devicename.c | 181 idev->d_type = dv->dv_type; in i386_parsedev() 202 switch(dev->d_type) { in i386_fmtdev()
|
/dragonfly/usr.sbin/makefs/ |
H A D | makefs.h | 291 DIRECTSIZ((dp)->d_type) : DIRECTSIZ((dp)->d_namlen)) 295 DIRECTSIZ((dp)->d_type) : DIRECTSIZ((dp)->d_namlen))
|
/dragonfly/stand/lib/ |
H A D | ufs.c | 374 if (dp->d_type == DT_WHT) in search_directory() 378 namlen = dp->d_type; in search_directory() 713 d->d_type = dp->d_type; in ufs_readdir()
|