Home
last modified time | relevance | path

Searched refs:f_type (Results 1 – 25 of 40) sorted by relevance

12

/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20010328-1.c27 int f_type; member
44 int f_type; member
68 buf->f_type = buf32.f_type; in __statfs64()
/openbsd-src/usr.sbin/syslogd/
H A Dsyslogd.c145 int f_type; /* entry type, see below */ member
199 /* values for f_type */
509 consfile.f_type = F_CONSOLE; in main()
1521 if (f->f_type == F_FORWTLS) { in tcp_connectcb()
1813 if (f->f_type == F_CONSOLE) { in logmsg()
1820 f->f_type = F_CONSOLE; in logmsg()
1839 if (f->f_type == F_CONSOLE && (flags & IGN_CONS)) in logmsg()
1851 (f->f_type != F_PIPE && f->f_type != F_FORWUDP && in logmsg()
1852 f->f_type ! in logmsg()
[all...]
/openbsd-src/sys/kern/
H A Dkern_pledge.c754 switch (fp->f_type) {
782 switch (fp->f_type) {
1074 if (fp->f_type == DTYPE_VNODE) { in pledge_ioctl()
1084 if (fp->f_type == DTYPE_SOCKET) in pledge_ioctl()
1094 if (fp->f_type == DTYPE_VNODE && in pledge_ioctl()
1109 if (fp->f_type == DTYPE_VNODE && in pledge_ioctl()
1122 if ((fp->f_type == DTYPE_VNODE) && in pledge_ioctl()
1144 if (fp->f_type == DTYPE_VNODE && in pledge_ioctl()
1162 if (fp->f_type == DTYPE_VNODE && in pledge_ioctl()
1170 if (fp->f_type in pledge_ioctl()
[all...]
H A Dkern_descrip.c473 if (fp->f_type == DTYPE_VNODE && (vp->v_flag & VISTTY)) in sys_fcntl()
513 if (fp->f_type != DTYPE_VNODE) { in sys_fcntl()
586 if (fp->f_type != DTYPE_VNODE) { in sys_fcntl()
827 switch (fp->f_type) { in sys_fpathconf()
1152 fp->f_type == DTYPE_KQUEUE) { in fdcopy()
1238 fp->f_type == DTYPE_VNODE) { in closef()
1299 if (fp->f_type != DTYPE_VNODE) { in sys_flock()
H A Duipc_syscalls.c112 fp->f_type = DTYPE_SOCKET; in sys_socket()
330 fp->f_type = DTYPE_SOCKET; in doaccept()
490 fp1->f_type = DTYPE_SOCKET; in sys_socketpair()
496 fp2->f_type = DTYPE_SOCKET; in sys_socketpair()
1415 if (fp->f_type != DTYPE_SOCKET) { in sockargs()
1665 fp->f_type = DTYPE_SOCKET; in sys_ypconnect()
H A Dexec_script.c180 fp->f_type = DTYPE_VNODE; in exec_script_makecmds()
H A Duipc_usrreq.c1033 if (fp->f_type != DTYPE_SOCKET) in fptounp()
1088 if (fdp->fd_rdir != NULL && fp->f_type == DTYPE_VNODE) { in unp_externalize()
1295 if (fp->f_type == DTYPE_KQUEUE) { in unp_internalize()
1301 if (fp->f_type == DTYPE_VNODE && kcov_vnode(fp->f_data)) { in unp_internalize()
H A Dkern_sysctl.c1432 kf->f_type = fp->f_type; in fill_file()
1457 kf->f_type = DTYPE_VNODE; in sysctl_file()
1463 kf->f_type = DTYPE_SOCKET; in sysctl_file()
1467 switch (kf->f_type) { in sysctl_file()
1744 if ((arg == 0 || fp->f_type == arg)) { in sysctl_doproc()
1746 if (arg == DTYPE_SOCKET && fp->f_type == arg) { in sysctl_doproc()
H A Dsys_generic.c227 if (fp->f_type != DTYPE_VNODE || vp->v_type == VFIFO || in dofilereadv()
355 if (fp->f_type != DTYPE_VNODE || vp->v_type == VFIFO || in dofilewritev()
431 if (fp->f_type == DTYPE_SOCKET) { in sys_ioctl()
H A Dsys_pipe.c194 rf->f_type = DTYPE_PIPE; in dopipe()
202 wf->f_type = DTYPE_PIPE; in dopipe()
/openbsd-src/bin/ls/
H A Dprint.c125 if (f_type || (f_typedir && S_ISDIR(sp->st_mode))) in printlong()
145 if (f_type || f_typedir) in compute_columns()
235 if (f_type || (f_typedir && S_ISDIR(sp->st_mode))) in printaname()
312 if (f_type) in printstream()
H A Dls.c93 int f_type; /* add type character for non-regular files */ variable
187 f_type = 1; in ls_main()
265 if (!f_longform && !f_inode && !f_size && !f_type && !f_typedir && in ls_main()
273 if (!f_longform && !f_listdir && !f_type) in ls_main()
H A Dls.h52 extern int f_type; /* add type character for non-regular files */
/openbsd-src/sys/ntfs/
H A Dntfs_vfsops.c673 enum vtype f_type; in ntfs_vgetex() local
711 f_type = VDIR; in ntfs_vgetex()
713 f_type = VNON; in ntfs_vgetex()
716 f_type = VREG; in ntfs_vgetex()
758 vp->v_type = f_type; in ntfs_vgetex()
H A Dntfs_subr.c843 enum vtype f_type; in ntfs_ntlookupfile()
982 f_type = VDIR; in ntfs_ntlookupfile()
984 f_type = VREG; in ntfs_ntlookupfile()
986 nvp->v_type = f_type; in ntfs_ntlookupfile()
842 enum vtype f_type; ntfs_ntlookupfile() local
/openbsd-src/sys/sys/
H A Dfile.h92 int f_type; /* [I] descriptor type */ member
/openbsd-src/lib/libkvm/
H A Dkvm_file2.c246 if (arg != 0 && file.f_type != arg) in kvm_deadfile_byfile()
487 kf->f_type = fp->f_type; in fill_file()
504 kf->f_type = DTYPE_VNODE; in fill_file()
512 switch (kf->f_type) { in fill_file()
/openbsd-src/usr.bin/fstat/
H A Dfuser.c89 if (kf->f_type != DTYPE_VNODE) in fuser_check()
H A Dfstat.c402 switch (kf->f_type) { in fstat_dofile()
420 kf->f_type, kf->fd_fd, (long)Pid); in fstat_dofile()
630 if (kf[i].f_type != DTYPE_SOCKET || in find_splices()
/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/
H A Dmt-opc.h121 long f_type; member
H A Dmt-ibld.c727 errmsg = insert_normal (cd, fields->f_type, 0, 0, 21, 2, 32, total_length, buffer); in mt_cgen_insert_operand()
947 …th = extract_normal (cd, ex_info, insn_value, 0, 0, 21, 2, 32, total_length, pc, & fields->f_type); in mt_cgen_extract_operand()
1147 value = fields->f_type; in mt_cgen_get_int_operand()
1329 value = fields->f_type; in mt_cgen_get_vma_operand()
1518 fields->f_type = value; in mt_cgen_set_int_operand()
1697 fields->f_type = value; in mt_cgen_set_vma_operand()
/openbsd-src/sys/dev/
H A Ddiskmap.c126 fp->f_type = DTYPE_VNODE; in diskmapioctl()
/openbsd-src/usr.bin/find/
H A Dfunction.c107 int f_type(PLAN *, FTSENT *);
1497 f_type(PLAN *plan, FTSENT *entry) in f_type() function
1536 new = palloc(N_TYPE, f_type); in c_type()
/openbsd-src/sys/miscfs/fuse/
H A Dfuse_vfsops.c90 if (fp->f_type != DTYPE_VNODE) { in fusefs_mount()
/openbsd-src/usr.sbin/pstat/
H A Dpstat.c1054 (kf->f_type >= (sizeof(dtypes)/sizeof(dtypes[0]))) in filemode()
1055 ? 0 : kf->f_type]); in filemode()

12