Symbol: f_type
bin/ls/ls.c
111
int f_type; /* add type character for non-regular files */
bin/ls/ls.c
201
f_type = 1;
bin/ls/ls.c
327
if (!f_inode && !f_longform && !f_size && !f_type && !f_typedir &&
bin/ls/ls.c
335
if (!f_longform && !f_listdir && !f_type)
bin/ls/ls.h
55
extern int f_type; /* add type character for non-regular files */
bin/ls/print.c
203
if (f_type || (f_typedir && S_ISDIR(sp->st_mode)))
bin/ls/print.c
229
if (f_type || f_typedir)
bin/ls/print.c
296
if (f_type || f_typedir)
bin/ls/print.c
344
if (f_type)
bin/ls/print.c
397
if (f_type || (f_typedir && S_ISDIR(sp->st_mode)))
distrib/utils/edlabel/edlabel.c
105
switch (f->f_type) {
distrib/utils/edlabel/edlabel.c
142
if (f->f_type <= 4)
distrib/utils/edlabel/edlabel.c
146
switch (f->f_type) {
distrib/utils/edlabel/edlabel.c
163
strncpy((char*)cp, tmpbuf, f->f_type);
distrib/utils/edlabel/edlabel.c
55
int f_type; /* 1:char, 2:short, 4:int, >4:string */
lib/librefuse/refuse/legacy.h
61
long f_type;
sys/arch/ia64/stand/common/bootstrap.h
192
char *f_type; /* verbose file type, eg 'ELF kernel', 'pnptable', etc. */
sys/arch/ia64/stand/common/fileload.c
131
(void *) fp->f_addr, fp->f_name, fp->f_type, (long) fp->f_size);
sys/arch/ia64/stand/common/fileload.c
223
((type == NULL) || !strcmp(type, fp->f_type)))
sys/arch/ia64/stand/common/fileload.c
251
if (fp->f_type != NULL)
sys/arch/ia64/stand/common/fileload.c
252
free(fp->f_type);
sys/arch/ia64/stand/common/load_elf64.c
74
fp->f_type = strdup(ELF64_KERNELTYPE);
sys/arch/ia64/stand/efi/libefi/exec.c
144
if (strcmp(fp->f_type, ELF64_KERNELTYPE)) return(EFTYPE);
sys/arch/ia64/stand/ia64/ski/exec.c
154
if (strcmp(fp->f_type, ELF64_KERNELTYPE)) return(EFTYPE);
sys/compat/linux/arch/alpha/linux_osf1.c
142
osfs->f_type = OSF1_MOUNT_UFS;
sys/compat/linux/arch/alpha/linux_osf1.c
144
osfs->f_type = OSF1_MOUNT_NFS;
sys/compat/linux/arch/alpha/linux_osf1.c
146
osfs->f_type = OSF1_MOUNT_MFS;
sys/compat/linux/arch/alpha/linux_osf1.c
149
osfs->f_type = OSF1_MOUNT_ADDON;
sys/compat/linux/arch/alpha/linux_osf1.h
208
osf1_short f_type;
sys/compat/linux/arch/i386/linux_machdep.c
743
if (fp->f_type != DTYPE_VNODE)
sys/compat/linux/common/linux_file.c
212
if (fp->f_type == DTYPE_VNODE) {
sys/compat/linux/common/linux_file.c
355
if (((fp1->f_type == DTYPE_SOCKET) && fp1->f_data
sys/compat/linux/common/linux_file.c
357
|| (fp1->f_type == DTYPE_PIPE))
sys/compat/linux/common/linux_file.c
404
if (fp->f_type != DTYPE_VNODE
sys/compat/linux/common/linux_inotify.c
1016
KASSERT(wp->f_type == DTYPE_VNODE);
sys/compat/linux/common/linux_inotify.c
310
fp->f_type = DTYPE_MISC;
sys/compat/linux/common/linux_inotify.c
476
if (cur_fp->f_type != DTYPE_VNODE) {
sys/compat/linux/common/linux_inotify.c
511
KASSERT(wp->f_type == DTYPE_VNODE);
sys/compat/linux/common/linux_inotify.c
564
if (wp->f_type != DTYPE_VNODE) {
sys/compat/linux/common/linux_inotify.c
704
KASSERT(fp->f_type == DTYPE_VNODE);
sys/compat/linux/common/linux_inotify.c
773
KASSERT(fp->f_type == DTYPE_VNODE);
sys/compat/linux/common/linux_inotify.c
833
if (wp->f_type != DTYPE_VNODE)
sys/compat/linux/common/linux_ioctl.c
160
if (fp->f_type == DTYPE_TIMERFD) {
sys/compat/linux/common/linux_ioctl.c
168
if (fp->f_type == DTYPE_VNODE &&
sys/compat/linux/common/linux_misc.c
2135
else if (fp->f_type != DTYPE_VNODE || fp->f_vnode->v_type != VREG)
sys/compat/linux/common/linux_socket.c
1418
if (fp->f_type == DTYPE_VNODE) {
sys/compat/linux32/common/linux32_ioctl.c
99
if (fp->f_type == DTYPE_TIMERFD) {
sys/compat/linux32/common/linux32_socket.c
645
if (fp->f_type == DTYPE_VNODE) {
sys/compat/netbsd32/netbsd32.h
301
short f_type; /* type of file system */
sys/compat/netbsd32/netbsd32_compat_20.c
62
sb32p->f_type = 0; /* XXX Put an actual value? */
sys/compat/netbsd32/netbsd32_ioctl.c
1258
if (fp->f_type != DTYPE_VNODE)
sys/compat/sunos/sunos.h
68
int f_type; /* type of info, zero for now */
sys/compat/sunos/sunos_ioctl.c
531
if (fp->f_type == DTYPE_VNODE)
sys/compat/sunos/sunos_misc.c
720
if (fp->f_type == DTYPE_VNODE)
sys/compat/sunos/sunos_misc.c
781
ssfs.f_type = 0;
sys/compat/sunos32/sunos32_misc.c
1016
ssfs.f_type = 0;
sys/compat/sunos32/sunos32_misc.c
951
if (fp->f_type == DTYPE_VNODE)
sys/compat/sys/mount.h
107
s12->f_type = 0;
sys/compat/sys/mount.h
112
s12->f_type = __nv[i].value;
sys/compat/sys/mount.h
44
short f_type; /* type of file system */
sys/compat/ultrix/ultrix_pathname.c
184
if (fp->f_type == DTYPE_VNODE)
sys/compat/ultrix/ultrix_pathname.c
194
int32_t f_type; /* type of info, zero for now */
sys/compat/ultrix/ultrix_pathname.c
217
ssfs.f_type = 0;
sys/ddb/db_xxx.c
188
if (fp != NULL && fp->f_type == DTYPE_VNODE
sys/dev/iscsi/iscsi_ioctl.c
348
if (fp->f_type != DTYPE_SOCKET) {
sys/fs/nfs/client/nfs_clport.c
1328
if (fp->f_type != DTYPE_SOCKET) {
sys/fs/nfs/server/nfs_nfsdport.c
3108
if (fp->f_type != DTYPE_SOCKET) {
sys/fs/ntfs/ntfs_vfsops.c
715
enum vtype f_type = VBAD;
sys/fs/ntfs/ntfs_vfsops.c
765
f_type = VDIR;
sys/fs/ntfs/ntfs_vfsops.c
767
f_type = VREG;
sys/fs/ntfs/ntfs_vfsops.c
800
vp->v_type = f_type;
sys/kern/exec_script.c
236
fp->f_type = DTYPE_VNODE;
sys/kern/kern_descrip.c
1517
fp->f_type == DTYPE_KQUEUE)) {
sys/kern/kern_descrip.c
1608
(noadvlock || fp->f_type != DTYPE_VNODE)) {
sys/kern/kern_descrip.c
1969
fp->f_type = DTYPE_MISC;
sys/kern/kern_descrip.c
2407
fp->f_type = fpsrc->f_type;
sys/kern/kern_descrip.c
2426
kp->ki_ftype = fp->f_type;
sys/kern/kern_descrip.c
2437
if (fp->f_type == DTYPE_VNODE) {
sys/kern/kern_descrip.c
518
if (__predict_false(fp->f_type != DTYPE_VNODE)) {
sys/kern/kern_descrip.c
543
if (__predict_false((*fp)->f_type != DTYPE_SOCKET)) {
sys/kern/kern_event.c
1732
fp->f_type = DTYPE_KQUEUE;
sys/kern/kern_event.c
1830
if (fp->f_type != DTYPE_KQUEUE) {
sys/kern/kern_event.c
2038
kn->kn_filter, ft ? ft->f_type : -1,
sys/kern/kern_event.c
2692
fp->f_type = 0;
sys/kern/kern_ktrace.c
1070
if (fp->f_type == DTYPE_PIPE)
sys/kern/kern_ktrace.c
438
(f1->f_type == f2->f_type) &&
sys/kern/kern_ktrace_vfs.c
136
fp->f_type = DTYPE_VNODE;
sys/kern/subr_exec_fd.c
119
fp->f_type = DTYPE_VNODE;
sys/kern/subr_exec_fd.c
69
ktr_execfd(fd, fp->f_type);
sys/kern/sys_descrip.c
488
if (fp->f_type == DTYPE_VNODE)
sys/kern/sys_epoll.c
273
if (epfp->f_type != DTYPE_KQUEUE)
sys/kern/sys_epoll.c
282
if (fp->f_type == DTYPE_VNODE) {
sys/kern/sys_epoll.c
406
if (epfp->f_type != DTYPE_KQUEUE)
sys/kern/sys_epoll.c
567
if (currfp->f_type != DTYPE_KQUEUE)
sys/kern/sys_epoll.c
575
if (targetfp->f_type == DTYPE_KQUEUE) {
sys/kern/sys_epoll.c
652
fdirrelevant = fp->f_type != DTYPE_KQUEUE;
sys/kern/sys_eventfd.c
568
fp->f_type = DTYPE_EVENTFD;
sys/kern/sys_memfd.c
127
fp->f_type = DTYPE_MEMFD;
sys/kern/sys_mqueue.c
286
if (__predict_false(fp->f_type != DTYPE_MQUEUE)) {
sys/kern/sys_mqueue.c
509
fp->f_type = DTYPE_MQUEUE;
sys/kern/sys_pipe.c
239
rf->f_type = DTYPE_PIPE;
sys/kern/sys_pipe.c
246
wf->f_type = DTYPE_PIPE;
sys/kern/sys_timerfd.c
519
fp->f_type = DTYPE_TIMERFD;
sys/kern/tty_ptm.c
205
fp->f_type = DTYPE_VNODE;
sys/kern/tty_ptm.c
284
fp->f_type = DTYPE_VNODE;
sys/kern/uipc_domain.c
606
if (fp->f_count == 0 || fp->f_type != DTYPE_SOCKET ||
sys/kern/uipc_sem.c
421
if (__predict_false(fp->f_type != DTYPE_SEM)) {
sys/kern/uipc_sem.c
581
fp->f_type = DTYPE_SEM;
sys/kern/uipc_sem.c
659
fp->f_type = DTYPE_SEM;
sys/kern/uipc_socket.c
609
fp->f_type = DTYPE_SOCKET;
sys/kern/uipc_socket2.c
1715
if (fp->f_type != DTYPE_SOCKET)
sys/kern/uipc_syscalls.c
1299
rf->f_type = rf->f_type & ~(FWRITE);
sys/kern/uipc_syscalls.c
1300
wf->f_type = wf->f_type & ~(FREAD);
sys/kern/uipc_syscalls.c
1686
nfp->f_type = DTYPE_SOCKET;
sys/kern/uipc_syscalls.c
187
if (fp->f_type != DTYPE_SOCKET) {
sys/kern/uipc_syscalls.c
239
fp2->f_type = DTYPE_SOCKET;
sys/kern/uipc_usrreq.c
1437
if (p->p_cwdi->cwdi_rdir != NULL && fp->f_type == DTYPE_VNODE) {
sys/kern/uipc_usrreq.c
1575
|| fp->f_type == DTYPE_KQUEUE) {
sys/kern/uipc_usrreq.c
1758
if (fp->f_type != DTYPE_SOCKET ||
sys/kern/uipc_usrreq.c
1821
if (fp->f_type != DTYPE_SOCKET ||
sys/kern/uipc_usrreq.c
1960
if (fp->f_type == DTYPE_SOCKET) {
sys/kern/vfs_syscalls.c
304
fp->f_type = DTYPE_VNODE;
sys/miscfs/fdesc/fdesc_vnops.c
337
switch (fp->f_type) {
sys/miscfs/fdesc/fdesc_vnops.c
358
switch(fp->f_type) {
sys/miscfs/procfs/procfs_vfsops.c
372
switch (fp->f_type) {
sys/miscfs/procfs/procfs_vnops.c
1223
if (fp->f_type == DTYPE_VNODE && fvp->v_type != VDIR &&
sys/miscfs/procfs/procfs_vnops.c
1851
switch (fp->f_type) {
sys/miscfs/procfs/procfs_vnops.c
1961
switch (fp->f_type) {
sys/miscfs/procfs/procfs_vnops.c
872
switch (fp->f_type) {
sys/net/if_gre.c
1075
if (fp->f_type != DTYPE_SOCKET) {
sys/nfs/nfs_syscalls.c
324
if (fp->f_type != DTYPE_SOCKET) {
sys/rump/librump/rumpkern/cons.c
90
fp->f_type = DTYPE_MISC;
sys/sys/file.h
148
u_int f_type; /* descriptor type */
usr.bin/find/function.c
141
int f_type(PLAN *, FTSENT *);
usr.bin/find/function.c
1837
new = palloc(N_TYPE, f_type);
usr.bin/fstat/fstat.c
1303
pmisc(file, dtypes[file->f_type]);
usr.bin/fstat/fstat.c
532
if (Aflg && file.f_type != DTYPE_VNODE && checkfile == 0)
usr.bin/fstat/fstat.c
535
switch (file.f_type) {
usr.bin/fstat/fstat.c
557
file.f_type, i, Pid);
usr.bin/netstat/unix.c
220
if (fp->f_count == 0 || fp->f_type != DTYPE_SOCKET)
usr.bin/xlint/lint2/chk.c
256
tp2 = TP(call->f_type)->t_subt;
usr.bin/xlint/lint2/chk.c
369
if ((tp1 = TP(call1->f_type))->t_tspec != FUNC)
usr.bin/xlint/lint2/chk.c
376
if ((tp2 = TP(call->f_type))->t_tspec != FUNC)
usr.bin/xlint/lint2/lint2.h
149
unsigned short f_type; /* types of expected return value and args */
usr.bin/xlint/lint2/read.c
383
fcall->f_type = inptype(cp, &cp);
usr.sbin/syslogd/sign.c
450
fq->f, fq->f->f_type);
usr.sbin/syslogd/syslogd.c
2003
if (f->f_type == F_CONSOLE && (buffer->flags & IGN_CONS))
usr.sbin/syslogd/syslogd.c
2284
&& ((f->f_type == F_UNUSED)
usr.sbin/syslogd/syslogd.c
2285
|| (f->f_type == F_TTY)
usr.sbin/syslogd/syslogd.c
2286
|| (f->f_type == F_CONSOLE)
usr.sbin/syslogd/syslogd.c
2287
|| (f->f_type == F_USERS)
usr.sbin/syslogd/syslogd.c
2288
|| (f->f_type == F_WALL)
usr.sbin/syslogd/syslogd.c
2289
|| (f->f_type == F_FIFO))) {
usr.sbin/syslogd/syslogd.c
2296
&& (f->f_type != F_TLS)
usr.sbin/syslogd/syslogd.c
2297
&& (f->f_type != F_PIPE)
usr.sbin/syslogd/syslogd.c
2298
&& (f->f_type != F_FILE)
usr.sbin/syslogd/syslogd.c
2299
&& (f->f_type != F_FIFO)) {
usr.sbin/syslogd/syslogd.c
2302
f->f_type);
usr.sbin/syslogd/syslogd.c
2314
if (TypeInfo[f->f_type].max_msg_length != -1
usr.sbin/syslogd/syslogd.c
2315
&& (size_t)TypeInfo[f->f_type].max_msg_length
usr.sbin/syslogd/syslogd.c
2317
linelen = TypeInfo[f->f_type].max_msg_length
usr.sbin/syslogd/syslogd.c
2342
switch (f->f_type) {
usr.sbin/syslogd/syslogd.c
2410
switch (f->f_type) {
usr.sbin/syslogd/syslogd.c
2412
DPRINTF(D_MISC, "Logging to %s\n", TypeInfo[f->f_type].name);
usr.sbin/syslogd/syslogd.c
2417
TypeInfo[f->f_type].name, f->f_un.f_forw.f_hname);
usr.sbin/syslogd/syslogd.c
2424
TypeInfo[f->f_type].name,
usr.sbin/syslogd/syslogd.c
2436
TypeInfo[f->f_type].name, f->f_un.f_pipe.f_pname);
usr.sbin/syslogd/syslogd.c
2441
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2471
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2501
TypeInfo[f->f_type].name);
usr.sbin/syslogd/syslogd.c
2509
TypeInfo[f->f_type].name, f->f_un.f_fname);
usr.sbin/syslogd/syslogd.c
2511
if ((f->f_type == F_FILE ? writev(f->f_file, iov, v - iov) :
usr.sbin/syslogd/syslogd.c
2514
if (f->f_type == F_FILE && e == ENOSPC) {
usr.sbin/syslogd/syslogd.c
2525
if ((e == EIO || e == EBADF) && f->f_type != F_FILE) {
usr.sbin/syslogd/syslogd.c
2529
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2535
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2560
TypeInfo[f->f_type].name, f->f_un.f_fname);
usr.sbin/syslogd/syslogd.c
2597
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2614
DPRINTF(D_MISC, "Logging to %s\n", TypeInfo[f->f_type].name);
usr.sbin/syslogd/syslogd.c
2632
if (f->f_type != F_TLS)
usr.sbin/syslogd/syslogd.c
2651
assert(f->f_type == F_FORW);
usr.sbin/syslogd/syslogd.c
2684
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
2711
if (f->f_type == F_WALL) {
usr.sbin/syslogd/syslogd.c
2767
if (f->f_type == F_PIPE &&
usr.sbin/syslogd/syslogd.c
2859
TypeInfo[f->f_type].name, f->f_prevcount,
usr.sbin/syslogd/syslogd.c
3036
switch (f->f_type) {
usr.sbin/syslogd/syslogd.c
3482
switch (f->f_type) {
usr.sbin/syslogd/syslogd.c
3589
if (f->f_type == f2->f_type
usr.sbin/syslogd/syslogd.c
3590
&& ((f->f_type == F_PIPE
usr.sbin/syslogd/syslogd.c
3594
|| (f->f_type == F_TLS
usr.sbin/syslogd/syslogd.c
3600
|| (f->f_type == F_FORW
usr.sbin/syslogd/syslogd.c
3611
if (f->f_type == F_TLS)
usr.sbin/syslogd/syslogd.c
3632
printf("%s: ", TypeInfo[f->f_type].name);
usr.sbin/syslogd/syslogd.c
3633
switch (f->f_type) {
usr.sbin/syslogd/syslogd.c
3722
if (f->f_type != F_TLS)
usr.sbin/syslogd/syslogd.c
3752
if (f->f_type != F_TLS)
usr.sbin/syslogd/syslogd.c
3972
f->f_type = F_TLS;
usr.sbin/syslogd/syslogd.c
3990
f->f_type = F_FORW;
usr.sbin/syslogd/syslogd.c
4002
f->f_type = F_UNUSED;
usr.sbin/syslogd/syslogd.c
4008
f->f_type = F_FIFO;
usr.sbin/syslogd/syslogd.c
4013
f->f_type = F_TTY;
usr.sbin/syslogd/syslogd.c
4015
f->f_type = F_CONSOLE;
usr.sbin/syslogd/syslogd.c
4017
f->f_type = F_FILE;
usr.sbin/syslogd/syslogd.c
4031
f->f_type = F_PIPE;
usr.sbin/syslogd/syslogd.c
4035
f->f_type = F_WALL;
usr.sbin/syslogd/syslogd.c
4051
f->f_type = F_USERS;
usr.sbin/syslogd/syslogd.c
4406
if (f->f_type == F_TLS) {
usr.sbin/syslogd/syslogd.c
4424
if (f->f_type == F_TLS
usr.sbin/syslogd/syslogd.c
4454
if (f->f_type == F_TLS)
usr.sbin/syslogd/syslogd.c
4539
|| (TypeInfo[f->f_type].queue_length != -1
usr.sbin/syslogd/syslogd.c
4540
&& (size_t)TypeInfo[f->f_type].queue_length <= f->f_qelements)
usr.sbin/syslogd/syslogd.c
4541
|| (TypeInfo[f->f_type].queue_size != -1
usr.sbin/syslogd/syslogd.c
4542
&& (size_t)TypeInfo[f->f_type].queue_size <= f->f_qsize)) {
usr.sbin/syslogd/syslogd.c
4738
if ((f->f_type == F_TLS) && f->f_un.f_tls.tls_conn == conn_info)
usr.sbin/syslogd/syslogd.c
4756
if (f->f_type == F_TLS &&
usr.sbin/syslogd/syslogd.c
491
consfile.f_type = F_CONSOLE;
usr.sbin/syslogd/syslogd.h
334
short f_type; /* entry type, see below */