bin/ls/ls.c
187
f_type = 1;
bin/ls/ls.c
265
if (!f_longform && !f_inode && !f_size && !f_type && !f_typedir &&
bin/ls/ls.c
273
if (!f_longform && !f_listdir && !f_type)
bin/ls/ls.c
93
int f_type; /* add type character for non-regular files */
bin/ls/ls.h
52
extern int f_type; /* add type character for non-regular files */
bin/ls/print.c
125
if (f_type || (f_typedir && S_ISDIR(sp->st_mode)))
bin/ls/print.c
145
if (f_type || f_typedir)
bin/ls/print.c
235
if (f_type || (f_typedir && S_ISDIR(sp->st_mode)))
bin/ls/print.c
312
if (f_type)
lib/libkvm/kvm_file2.c
246
if (arg != 0 && file.f_type != arg)
lib/libkvm/kvm_file2.c
487
kf->f_type = fp->f_type;
lib/libkvm/kvm_file2.c
504
kf->f_type = DTYPE_VNODE;
lib/libkvm/kvm_file2.c
512
switch (kf->f_type) {
sys/dev/diskmap.c
126
fp->f_type = DTYPE_VNODE;
sys/dev/dt/dt_dev.c
717
fp->f_type = DTYPE_VNODE;
sys/dev/pci/drm/drm_linux.c
2700
fp->f_type = DTYPE_DMABUF;
sys/dev/pci/drm/drm_linux.c
2722
if (fp->f_type != DTYPE_DMABUF) {
sys/dev/pci/drm/drm_linux.c
3343
if (fp->f_type != DTYPE_SYNC) {
sys/dev/pci/drm/drm_linux.c
3363
fp->f_type = DTYPE_SYNC;
sys/kern/exec_script.c
180
fp->f_type = DTYPE_VNODE;
sys/kern/kern_descrip.c
1167
fp->f_type == DTYPE_KQUEUE) {
sys/kern/kern_descrip.c
1254
fp->f_type == DTYPE_VNODE) {
sys/kern/kern_descrip.c
1315
if (fp->f_type != DTYPE_VNODE) {
sys/kern/kern_descrip.c
481
if (fp->f_type == DTYPE_VNODE && (vp->v_flag & VISTTY))
sys/kern/kern_descrip.c
521
if (fp->f_type != DTYPE_VNODE) {
sys/kern/kern_descrip.c
594
if (fp->f_type != DTYPE_VNODE) {
sys/kern/kern_descrip.c
839
switch (fp->f_type) {
sys/kern/kern_event.c
1208
fp->f_type = DTYPE_KQUEUE;
sys/kern/kern_event.c
1266
if (fp->f_type != DTYPE_KQUEUE) {
sys/kern/kern_event.c
1758
kn->kn_fp->f_type == DTYPE_VNODE) {
sys/kern/kern_exec.c
685
fp->f_type = DTYPE_VNODE;
sys/kern/kern_pledge.c
1087
if (fp->f_type == DTYPE_VNODE) {
sys/kern/kern_pledge.c
1097
if (fp->f_type == DTYPE_SOCKET)
sys/kern/kern_pledge.c
1107
if (fp->f_type == DTYPE_VNODE &&
sys/kern/kern_pledge.c
1122
if (fp->f_type == DTYPE_VNODE &&
sys/kern/kern_pledge.c
1135
if ((fp->f_type == DTYPE_VNODE) &&
sys/kern/kern_pledge.c
1157
if (fp->f_type == DTYPE_VNODE &&
sys/kern/kern_pledge.c
1175
if (fp->f_type == DTYPE_VNODE &&
sys/kern/kern_pledge.c
1183
if (fp->f_type == DTYPE_VNODE &&
sys/kern/kern_pledge.c
1224
if (fp->f_type == DTYPE_VNODE &&
sys/kern/kern_pledge.c
1248
if (fp->f_type == DTYPE_VNODE &&
sys/kern/kern_pledge.c
1265
if (fp->f_type == DTYPE_VNODE &&
sys/kern/kern_pledge.c
1275
if (fp->f_type == DTYPE_VNODE &&
sys/kern/kern_pledge.c
1291
if (fp->f_type == DTYPE_VNODE && (vp->v_flag & VISTTY))
sys/kern/kern_pledge.c
1305
if (fp->f_type == DTYPE_VNODE && (vp->v_flag & VISTTY))
sys/kern/kern_pledge.c
1327
if (fp->f_type == DTYPE_SOCKET)
sys/kern/kern_pledge.c
1339
if (fp->f_type == DTYPE_SOCKET)
sys/kern/kern_pledge.c
1343
if (fp->f_type == DTYPE_SOCKET)
sys/kern/kern_pledge.c
1351
if (fp->f_type == DTYPE_VNODE &&
sys/kern/kern_pledge.c
1363
if (fp->f_type == DTYPE_VNODE &&
sys/kern/kern_pledge.c
782
switch (fp->f_type) {
sys/kern/kern_pledge.c
810
switch (fp->f_type) {
sys/kern/kern_sysctl.c
1465
kf->f_type = fp->f_type;
sys/kern/kern_sysctl.c
1490
kf->f_type = DTYPE_VNODE;
sys/kern/kern_sysctl.c
1496
kf->f_type = DTYPE_SOCKET;
sys/kern/kern_sysctl.c
1500
switch (kf->f_type) {
sys/kern/kern_sysctl.c
1787
if ((arg == 0 || fp->f_type == arg)) {
sys/kern/kern_sysctl.c
1789
if (arg == DTYPE_SOCKET && fp->f_type == arg) {
sys/kern/subr_prof.c
320
if (fp->f_type != DTYPE_VNODE || dirvp->v_type != VDIR) {
sys/kern/sys_generic.c
227
if (fp->f_type != DTYPE_VNODE || vp->v_type == VFIFO ||
sys/kern/sys_generic.c
359
if (fp->f_type != DTYPE_VNODE || vp->v_type == VFIFO ||
sys/kern/sys_generic.c
435
if (fp->f_type == DTYPE_SOCKET) {
sys/kern/sys_pipe.c
195
rf->f_type = DTYPE_PIPE;
sys/kern/sys_pipe.c
203
wf->f_type = DTYPE_PIPE;
sys/kern/tty_pty.c
1127
cfp->f_type = DTYPE_VNODE;
sys/kern/tty_pty.c
1182
sfp->f_type = DTYPE_VNODE;
sys/kern/uipc_syscalls.c
113
fp->f_type = DTYPE_SOCKET;
sys/kern/uipc_syscalls.c
1410
if (fp->f_type != DTYPE_SOCKET) {
sys/kern/uipc_syscalls.c
1660
fp->f_type = DTYPE_SOCKET;
sys/kern/uipc_syscalls.c
335
fp->f_type = DTYPE_SOCKET;
sys/kern/uipc_syscalls.c
496
fp1->f_type = DTYPE_SOCKET;
sys/kern/uipc_syscalls.c
502
fp2->f_type = DTYPE_SOCKET;
sys/kern/uipc_usrreq.c
1030
if (fp->f_type != DTYPE_SOCKET)
sys/kern/uipc_usrreq.c
1085
if (fdp->fd_rdir != NULL && fp->f_type == DTYPE_VNODE) {
sys/kern/uipc_usrreq.c
1297
if (fp->f_type == DTYPE_KQUEUE) {
sys/kern/uipc_usrreq.c
1303
if (fp->f_type == DTYPE_VNODE && kcov_vnode(fp->f_data)) {
sys/kern/vfs_lookup.c
230
if (fp->f_type != DTYPE_VNODE || dp->v_type != VDIR) {
sys/kern/vfs_syscalls.c
1182
fp->f_type = DTYPE_VNODE;
sys/kern/vfs_syscalls.c
1376
fp->f_type = DTYPE_VNODE;
sys/kern/vfs_syscalls.c
3216
if (fp->f_type != DTYPE_VNODE) {
sys/kern/vfs_syscalls.c
737
if (fp->f_type != DTYPE_VNODE || vp->v_type != VDIR) {
sys/miscfs/fuse/fuse_vfsops.c
90
if (fp->f_type != DTYPE_VNODE) {
sys/ntfs/ntfs_subr.c
843
enum vtype f_type;
sys/ntfs/ntfs_subr.c
982
f_type = VDIR;
sys/ntfs/ntfs_subr.c
984
f_type = VREG;
sys/ntfs/ntfs_subr.c
986
nvp->v_type = f_type;
sys/ntfs/ntfs_vfsops.c
673
enum vtype f_type;
sys/ntfs/ntfs_vfsops.c
713
f_type = VDIR;
sys/ntfs/ntfs_vfsops.c
715
f_type = VNON;
sys/ntfs/ntfs_vfsops.c
718
f_type = VREG;
sys/ntfs/ntfs_vfsops.c
767
vp->v_type = f_type;
sys/sys/file.h
92
int f_type; /* [I] descriptor type */
sys/sys/sysctl.h
759
uint32_t f_type; /* INT: descriptor type */
sys/uvm/uvm_mmap.c
298
if (fp->f_type != DTYPE_VNODE) {
usr.bin/find/function.c
107
int f_type(PLAN *, FTSENT *);
usr.bin/find/function.c
1535
new = palloc(N_TYPE, f_type);
usr.bin/fstat/fstat.c
402
switch (kf->f_type) {
usr.bin/fstat/fstat.c
420
kf->f_type, kf->fd_fd, (long)Pid);
usr.bin/fstat/fstat.c
632
if (kf[i].f_type != DTYPE_SOCKET ||
usr.bin/fstat/fuser.c
89
if (kf->f_type != DTYPE_VNODE)
usr.sbin/pstat/pstat.c
1067
(kf->f_type >= (sizeof(dtypes)/sizeof(dtypes[0])))
usr.sbin/pstat/pstat.c
1068
? 0 : kf->f_type]);
usr.sbin/syslogd/syslogd.c
145
int f_type; /* entry type, see below */
usr.sbin/syslogd/syslogd.c
1535
if (f->f_type == F_FORWTLS) {
usr.sbin/syslogd/syslogd.c
1815
if (f->f_type == F_CONSOLE) {
usr.sbin/syslogd/syslogd.c
1822
f->f_type = F_CONSOLE;
usr.sbin/syslogd/syslogd.c
1841
if (f->f_type == F_CONSOLE && (flags & IGN_CONS))
usr.sbin/syslogd/syslogd.c
1853
(f->f_type != F_PIPE && f->f_type != F_FORWUDP &&
usr.sbin/syslogd/syslogd.c
1854
f->f_type != F_FORWTCP && f->f_type != F_FORWTLS))) &&
usr.sbin/syslogd/syslogd.c
1912
switch (f->f_type) {
usr.sbin/syslogd/syslogd.c
1959
switch (f->f_type) {
usr.sbin/syslogd/syslogd.c
2015
switch (f->f_type) {
usr.sbin/syslogd/syslogd.c
2037
log_debugadd("Logging to %s", TypeNames[f->f_type]);
usr.sbin/syslogd/syslogd.c
2040
switch (f->f_type) {
usr.sbin/syslogd/syslogd.c
2084
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2154
if (e == ENOSPC && f->f_type == F_FILE) {
usr.sbin/syslogd/syslogd.c
2156
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2160
f->f_type = F_FILE;
usr.sbin/syslogd/syslogd.c
2166
if (e == EAGAIN && f->f_type == F_PIPE) {
usr.sbin/syslogd/syslogd.c
2189
f->f_type != F_FILE && f->f_type != F_PIPE &&
usr.sbin/syslogd/syslogd.c
2194
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2200
f->f_type == F_PIPE && !retryonce) {
usr.sbin/syslogd/syslogd.c
2204
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2210
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2218
if (f->f_dropped > 0 && f->f_type == F_FILE) {
usr.sbin/syslogd/syslogd.c
2278
if (f->f_type == F_WALL) {
usr.sbin/syslogd/syslogd.c
2381
if (f->f_type == F_FORWUDP) {
usr.sbin/syslogd/syslogd.c
2385
if (f->f_type == F_FORWTLS || f->f_type == F_FORWTCP) {
usr.sbin/syslogd/syslogd.c
2390
if (f->f_type == F_FILE) {
usr.sbin/syslogd/syslogd.c
2439
switch (f->f_type) {
usr.sbin/syslogd/syslogd.c
2469
if (f->f_type == F_FILE)
usr.sbin/syslogd/syslogd.c
2481
if (f->f_type == F_MEMBUF) {
usr.sbin/syslogd/syslogd.c
2558
if (f->f_type != F_MEMBUF)
usr.sbin/syslogd/syslogd.c
2574
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2626
printf("%s: ", TypeNames[f->f_type]);
usr.sbin/syslogd/syslogd.c
2627
switch (f->f_type) {
usr.sbin/syslogd/syslogd.c
2675
switch (list->f_type) {
usr.sbin/syslogd/syslogd.c
2897
f->f_type = F_FORWUDP;
usr.sbin/syslogd/syslogd.c
2918
f->f_type = (strncmp(proto, "tls", 3) == 0) ?
usr.sbin/syslogd/syslogd.c
2944
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2949
f->f_type = F_CONSOLE;
usr.sbin/syslogd/syslogd.c
2951
f->f_type = F_TTY;
usr.sbin/syslogd/syslogd.c
2954
f->f_type = F_PIPE;
usr.sbin/syslogd/syslogd.c
2956
f->f_type = F_FILE;
usr.sbin/syslogd/syslogd.c
2968
f->f_type = F_WALL;
usr.sbin/syslogd/syslogd.c
2972
f->f_type = F_MEMBUF;
usr.sbin/syslogd/syslogd.c
2979
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2998
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
3023
f->f_type = F_USERS;
usr.sbin/syslogd/syslogd.c
3124
TypeNames[f->f_type], f->f_prevcount,
usr.sbin/syslogd/syslogd.c
3252
if (f->f_type == F_MEMBUF)
usr.sbin/syslogd/syslogd.c
3296
if (f->f_type == F_MEMBUF &&
usr.sbin/syslogd/syslogd.c
3401
if (f->f_type == F_MEMBUF) {
usr.sbin/syslogd/syslogd.c
510
consfile.f_type = F_CONSOLE;