Home
last modified time | relevance | path

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

12

/openbsd/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/usr.sbin/syslogd/
H A Dsyslogd.c1823 (f->f_type != F_PIPE && f->f_type != F_FORWUDP && in logmsg()
1824 f->f_type != F_FORWTCP && f->f_type != F_FORWTLS))) && in logmsg()
1882 switch (f->f_type) { in fprintlog()
1929 switch (f->f_type) { in fprintlog()
1985 switch (f->f_type) { in fprintlog()
2010 switch (f->f_type) { in fprintlog()
2159 f->f_type != F_FILE && f->f_type != F_PIPE && in fprintlog()
2355 if (f->f_type == F_FORWTLS || f->f_type == F_FORWTCP) { in die()
2409 switch (f->f_type) { in init()
2921 f->f_type = F_TTY; in cfline()
[all …]
/openbsd/sys/kern/
H A Dkern_pledge.c765 switch (fp->f_type) { in pledge_recvfd()
793 switch (fp->f_type) { in pledge_sendfd()
1080 if (fp->f_type == DTYPE_VNODE) { in pledge_ioctl()
1090 if (fp->f_type == DTYPE_SOCKET) in pledge_ioctl()
1100 if (fp->f_type == DTYPE_VNODE && in pledge_ioctl()
1115 if (fp->f_type == DTYPE_VNODE && in pledge_ioctl()
1150 if (fp->f_type == DTYPE_VNODE && in pledge_ioctl()
1168 if (fp->f_type == DTYPE_VNODE && in pledge_ioctl()
1318 if (fp->f_type == DTYPE_SOCKET) in pledge_ioctl()
1330 if (fp->f_type == DTYPE_SOCKET) in pledge_ioctl()
[all …]
H A Dkern_descrip.c473 if (fp->f_type == DTYPE_VNODE && (vp->v_flag & VISTTY)) in sys_fcntl()
522 if (fp->f_type != DTYPE_VNODE) { in sys_fcntl()
595 if (fp->f_type != DTYPE_VNODE) { in sys_fcntl()
836 switch (fp->f_type) { in sys_fpathconf()
1161 fp->f_type == DTYPE_KQUEUE) { in fdcopy()
1247 fp->f_type == DTYPE_VNODE) { in closef()
1308 if (fp->f_type != DTYPE_VNODE) { in sys_flock()
H A Duipc_syscalls.c112 fp->f_type = DTYPE_SOCKET; in sys_socket()
334 fp->f_type = DTYPE_SOCKET; in doaccept()
497 fp1->f_type = DTYPE_SOCKET; in sys_socketpair()
503 fp2->f_type = DTYPE_SOCKET; in sys_socketpair()
1425 if (fp->f_type != DTYPE_SOCKET) { in getsock()
1675 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.c1030 if (fp->f_type != DTYPE_SOCKET) in fptounp()
1085 if (fdp->fd_rdir != NULL && fp->f_type == DTYPE_VNODE) { in unp_externalize()
1292 if (fp->f_type == DTYPE_KQUEUE) { in unp_internalize()
1298 if (fp->f_type == DTYPE_VNODE && kcov_vnode(fp->f_data)) { in unp_internalize()
H A Dkern_sysctl.c1214 kf->f_type = fp->f_type; in fill_file()
1239 kf->f_type = DTYPE_VNODE; in fill_file()
1245 kf->f_type = DTYPE_SOCKET; in fill_file()
1249 switch (kf->f_type) { in fill_file()
1516 if ((arg == 0 || fp->f_type == arg)) { in sysctl_file()
1518 if (arg == DTYPE_SOCKET && fp->f_type == arg) { in sysctl_file()
H A Dsys_generic.c222 if (fp->f_type != DTYPE_VNODE || vp->v_type == VFIFO || in dofilereadv()
350 if (fp->f_type != DTYPE_VNODE || vp->v_type == VFIFO || in dofilewritev()
429 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/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/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.c842 enum vtype f_type; in ntfs_ntlookupfile() local
981 f_type = VDIR; in ntfs_ntlookupfile()
983 f_type = VREG; in ntfs_ntlookupfile()
985 nvp->v_type = f_type; in ntfs_ntlookupfile()
/openbsd/sys/sys/
H A Dfile.h92 int f_type; /* [I] descriptor type */ member
/openbsd/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/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/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/sys/dev/
H A Ddiskmap.c126 fp->f_type = DTYPE_VNODE; in diskmapioctl()
/openbsd/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/sys/miscfs/fuse/
H A Dfuse_vfsops.c90 if (fp->f_type != DTYPE_VNODE) { in fusefs_mount()
/openbsd/usr.sbin/pstat/
H A Dpstat.c1034 (kf->f_type >= (sizeof(dtypes)/sizeof(dtypes[0]))) in filemode()
1035 ? 0 : kf->f_type]); in filemode()

12