Home
last modified time | relevance | path

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

1234

/netbsd-src/usr.sbin/syslogd/
H A Dsyslogd.c130 /* values for f_type */
491 consfile.f_type = F_CONSOLE; in main()
2000 if (f->f_type == F_CONSOLE && (buffer->flags & IGN_CONS)) in logmsg()
2279 && ((f->f_type == F_UNUSED) in fprintlog()
2280 || (f->f_type == F_TTY) in fprintlog()
2281 || (f->f_type == F_CONSOLE) in fprintlog()
2282 || (f->f_type == F_USERS) in fprintlog()
2283 || (f->f_type == F_WALL) in fprintlog()
2284 || (f->f_type == F_FIFO))) { in fprintlog()
2291 && (f->f_type ! in fprintlog()
[all...]
/netbsd-src/sys/arch/ia64/stand/common/
H A Dfileload.c131 (void *) fp->f_addr, fp->f_name, fp->f_type, (long) fp->f_size); in command_lskern()
223 ((type == NULL) || !strcmp(type, fp->f_type))) in file_findfile()
251 if (fp->f_type != NULL) in file_discard()
252 free(fp->f_type); in file_discard()
H A Dload_elf64.c74 fp->f_type = strdup(ELF64_KERNELTYPE); in elf64_loadfile()
/netbsd-src/sys/kern/
H A Dsys_epoll.c273 if (epfp->f_type != DTYPE_KQUEUE) in epoll_ctl_common()
282 if (fp->f_type == DTYPE_VNODE) { in epoll_ctl_common()
406 if (epfp->f_type != DTYPE_KQUEUE) in epoll_wait_common()
567 if (currfp->f_type != DTYPE_KQUEUE) in epoll_recover_watch_tree()
575 if (targetfp->f_type == DTYPE_KQUEUE) { in epoll_recover_watch_tree()
652 fdirrelevant = fp->f_type != DTYPE_KQUEUE; in epoll_check_loop_and_depth()
H A Dsubr_exec_fd.c67 ktr_execfd(fd, fp->f_type); in fd_ktrexecfd()
117 fp->f_type = DTYPE_VNODE; in fd_checkstd()
H A Dkern_descrip.c515 if (__predict_false(fp->f_type != DTYPE_VNODE)) { in fd_getvnode()
540 if (__predict_false((*fp)->f_type != DTYPE_SOCKET)) { in fd_getsock1()
1506 if (__predict_false(fp->f_type == DTYPE_KQUEUE)) { in fd_copy()
1595 (noadvlock || fp->f_type != DTYPE_VNODE)) { in fd_free()
1924 fp->f_type = DTYPE_MISC; in fd_clone()
2362 fp->f_type = fpsrc->f_type; in fill_file()
2381 kp->ki_ftype = fp->f_type; in fill_file2()
2392 if (fp->f_type == DTYPE_VNODE) { in fill_file2()
H A Duipc_syscalls.c187 if (fp->f_type != DTYPE_SOCKET) { in do_sys_accept()
239 fp2->f_type = DTYPE_SOCKET; in do_sys_accept()
1296 rf->f_type = rf->f_type & ~(FWRITE); in pipe1()
1297 wf->f_type = wf->f_type & ~(FREAD); in pipe1()
1683 nfp->f_type = DTYPE_SOCKET; in do_sys_peeloff()
H A Dtty_ptm.c205 fp->f_type = DTYPE_VNODE; in pty_alloc_master()
283 fp->f_type = DTYPE_VNODE; in pty_alloc_slave()
H A Dkern_ktrace_vfs.c135 fp->f_type = DTYPE_VNODE; in sys_ktrace()
/netbsd-src/distrib/utils/edlabel/
H A Dedlabel.c55 int f_type; /* 1:char, 2:short, 4:int, >4:string */ member
105 switch (f->f_type) { in edit_head_field()
142 if (f->f_type <= 4) in edit_head_field()
146 switch (f->f_type) { in edit_head_field()
163 strncpy((char*)cp, tmpbuf, f->f_type); in edit_head_field()
/netbsd-src/sys/compat/sys/
H A Dmount.h44 short f_type; /* type of file system */ member
107 s12->f_type = 0; in statvfs_to_statfs12()
112 s12->f_type = __nv[i].value; in statvfs_to_statfs12()
/netbsd-src/external/bsd/am-utils/dist/conf/mtab/
H A Dmtab_osf.c66 switch (mp->f_type) { in mnt_dup()
82 switch (mp->f_type) { in mnt_dup()
H A Dmtab_bsd.c70 switch (mp->f_type) { in mnt_dup()
/netbsd-src/sys/compat/ultrix/
H A Dultrix_pathname.c184 if (fp->f_type == DTYPE_VNODE) in ultrix_sys_open()
194 int32_t f_type; /* type of info, zero for now */ member
217 ssfs.f_type = 0; in ultrixstatfs()
/netbsd-src/sys/compat/linux/common/
H A Dlinux_inotify.c310 fp->f_type = DTYPE_MISC; in do_inotify_init()
476 if (cur_fp->f_type != DTYPE_VNODE) { in linux_sys_inotify_add_watch()
511 KASSERT(wp->f_type == DTYPE_VNODE); in linux_sys_inotify_add_watch()
564 if (wp->f_type != DTYPE_VNODE) { in linux_sys_inotify_add_watch()
704 KASSERT(fp->f_type == DTYPE_VNODE); in inotify_filt_attach()
773 KASSERT(fp->f_type == DTYPE_VNODE); in inotify_readdir()
833 if (wp->f_type != DTYPE_VNODE) in get_inotify_dir_entries()
1016 KASSERT(wp->f_type == DTYPE_VNODE); in kevent_to_inotify()
H A Dlinux_ioctl.c160 if (fp->f_type == DTYPE_TIMERFD) { in linux_sys_ioctl()
168 if (fp->f_type == DTYPE_VNODE && in linux_sys_ioctl()
H A Dlinux_file.c212 if (fp->f_type == DTYPE_VNODE) {
355 if (((fp1->f_type == DTYPE_SOCKET) && fp1->f_data in linux_sys_fcntl()
357 || (fp1->f_type == DTYPE_PIPE)) in linux_sys_fcntl()
404 if (fp->f_type != DTYPE_VNODE in linux_sys_fcntl()
/netbsd-src/lib/librefuse/refuse/
H A Dlegacy.h61 long f_type; member
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Ddmu_diff.c76 if (da->da_fp->f_type == DTYPE_VNODE) in write_bytes()
82 if (da->da_fp->f_type == DTYPE_VNODE) in write_bytes()
/netbsd-src/sys/compat/linux/arch/alpha/
H A Dlinux_osf1.c142 osfs->f_type = OSF1_MOUNT_UFS; in osf1_cvt_statfs_from_native()
144 osfs->f_type = OSF1_MOUNT_NFS; in osf1_cvt_statfs_from_native()
146 osfs->f_type = OSF1_MOUNT_MFS; in osf1_cvt_statfs_from_native()
149 osfs->f_type = OSF1_MOUNT_ADDON; in osf1_cvt_statfs_from_native()
/netbsd-src/sys/external/bsd/drm2/linux/
H A Dlinux_dma_buf.c114 file->f_type = DTYPE_MISC; in dma_buf_fd()
137 if (file->f_type != DTYPE_MISC || file->f_ops != &dmabuf_fileops) { in dma_buf_get()
/netbsd-src/sys/fs/ntfs/
H A Dntfs_vfsops.c715 enum vtype f_type = VBAD; in ntfs_loadvnode() local
765 f_type = VDIR; in ntfs_loadvnode()
767 f_type = VREG; in ntfs_loadvnode()
800 vp->v_type = f_type; in ntfs_loadvnode()
/netbsd-src/sys/arch/ia64/stand/ia64/ski/
H A Dexec.c154 if (strcmp(fp->f_type, ELF64_KERNELTYPE)) return(EFTYPE); in elf64_exec()
/netbsd-src/usr.bin/xlint/lint2/
H A Dlint2.h152 unsigned short f_type; /* types of expected return value and args */ member
/netbsd-src/sys/arch/ia64/stand/efi/libefi/
H A Dexec.c144 if (strcmp(fp->f_type, ELF64_KERNELTYPE)) return(EFTYPE); in elf64_exec()

1234