Home
last modified time | relevance | path

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

1234

/freebsd/contrib/sendmail/libsm/
H A Dfindfp.c196 fp->f_type = t->f_type; /* file type */
253 empty.f_type = NULL; in sm_init()
308 sm_free(fp->f_type);
309 fp->f_type = sm_strdup_x(v->f_type);
381 v->f_type = fp->f_type;
390 return strcmp(fp->f_type, valp) == 0;
H A Dvsnprintf.c74 fake.f_type = "sm_vsnprintf:fake";
H A Dsnprintf.c81 fake.f_type = "sm_snprintf:fake";
H A Dsscanf.c93 fake.f_type = "sm_io_sscanf:fake";
H A Dvasprintf.c79 fake.f_type = "sm_vasprintf:fake";
/freebsd/usr.sbin/syslogd/
H A Dsyslogd.c247 enum f_type { enum
265 enum f_type f_type; member
471 switch (f->f_type) { in close_filed()
481 f->f_type = F_UNUSED; in close_filed()
797 consfile.f_type = F_CONSOLE; in main()
1723 if (f->f_type == F_CONSOLE && (flags & IGN_CONS)) in logmsg()
1733 if (no_compress - (f->f_type != F_PIPE) < 1 && in logmsg()
1774 if (f->f_type == F_FILE && in dofsync()
1849 switch (f->f_type) { in fprintlog_write()
1918 f->f_type = F_UNUSED; in fprintlog_write()
[all …]
/freebsd/sys/kern/
H A Dsys_procdesc.c131 if (fp->f_type != DTYPE_PROCDESC) { in procdesc_find()
157 KASSERT(fp_procdesc->f_type == DTYPE_PROCDESC, in procdesc_pid()
176 if (fp->f_type != DTYPE_PROCDESC) { in kern_pdgetpid()
353 KASSERT(fp->f_type == DTYPE_PROCDESC, ("procdesc_close: !procdesc")); in procdesc_close()
563 if (fp2->f_type != DTYPE_PROCDESC) in procdesc_cmp()
H A Dkern_descrip.c638 if (fp->f_type != DTYPE_VNODE || fp->f_ops == &path_fileops) { in kern_fcntl()
743 if (fp->f_type != DTYPE_VNODE || fp->f_ops == &path_fileops) { in kern_fcntl()
799 if (fp->f_type != DTYPE_VNODE || fp->f_ops == &path_fileops) { in kern_fcntl()
850 if (fp->f_type != DTYPE_VNODE) { in kern_fcntl()
1309 if (__predict_false(fp->f_type == DTYPE_MQUEUE)) in closefp_impl()
1708 } else if (fp->f_type == DTYPE_PIPE || fp->f_type == DTYPE_SOCKET) { in kern_fpathconf()
2485 if (fp->f_type != DTYPE_VNODE || in fdclearlocks()
2644 if (fp->f_type != DTYPE_VNODE) in is_unsafe()
2718 if (fp->f_type == DTYPE_MQUEUE || in fdcloseexec()
2796 if (fp->f_type == DTYPE_VNODE) { in closef()
[all …]
/freebsd/tools/tools/kttcp/sys/
H A Dkttcp.c170 if (fp->f_type == DTYPE_SOCKET) { in kttcp_send()
218 if (fp->f_type == DTYPE_SOCKET) { in kttcp_recv()
/freebsd/bin/ls/
H A Dls.h61 extern int f_type; /* add type character for non-regular files */
/freebsd/stand/common/
H A Dmodule.c326 snprintf(lbuf, sizeof(lbuf), " (%s, 0x%lx)\n", fp->f_type, in command_lsmod()
765 fp->f_type = strdup(type); in file_loadraw()
772 if (fp->f_type == NULL) { in file_loadraw()
908 ((type == NULL) || !strcmp(type, fp->f_type))) in file_findfile()
1029 fp->f_type = strdup(type); in file_addbuf()
1035 if ((fp->f_name == NULL) || (fp->f_type == NULL)) { in file_addbuf()
1039 free(fp->f_type); in file_addbuf()
1602 free(fp->f_type); in file_discard()
/freebsd/stand/uboot/
H A Delf_freebsd.c56 if (!strcmp((*result)->f_type, "elf kernel")) in __elfN()
/freebsd/stand/uboot/arch/powerpc/
H A Dppc64_elf_freebsd.c56 if (!strcmp((*result)->f_type, "elf kernel")) in ppc64_uboot_elf_loadfile()
/freebsd/stand/powerpc/ofw/
H A Delf_freebsd.c61 if (!strcmp((*result)->f_type, "elf kernel")) in __elfN()
H A Dppc64_elf_freebsd.c60 if (!strcmp((*result)->f_type, "elf kernel")) in ppc64_ofw_elf_loadfile()
/freebsd/contrib/sendmail/include/sm/
H A Dio.h131 char *f_type; /* for by-type lookups */ member
210 (f).f_type = (name);
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_file_os.c137 if (fp->f_type == DTYPE_VNODE) in zfs_file_write_impl()
282 if (fp->f_type != DTYPE_VNODE) in zfs_file_fsync()
/freebsd/usr.bin/find/
H A Dextern.h115 exec_f f_type; variable
H A Doption.c159 { "-type", c_type, f_type, 0 },
/freebsd/contrib/capsicum-test/
H A Dcapsicum-test-main.cc155 tmpdir_on_tmpfs = (fsinfo.f_type == TMPFS_MAGIC); in main()
/freebsd/sys/fs/nullfs/
H A Dnull_vfsops.c369 sbp->f_type = mstat->f_type; in nullfs_statfs()
/freebsd/usr.sbin/config/
H A Dmkmakefile.cc590 tp->f_type = filetype; in read_file()
710 if (tp->f_type != NODEPEND) { in do_xxfiles()
786 switch (ftp->f_type) { in do_rules()
H A Dconfig.h106 int f_type; /* type */ member
/freebsd/sys/compat/linux/
H A Dlinux_stats.c271 l_long f_type; member
354 linux_statfs->f_type = bsd_to_linux_ftype(bsd_statfs->f_fstypename); in bsd_to_linux_statfs()
398 linux_statfs->f_type = bsd_to_linux_ftype(bsd_statfs->f_fstypename); in bsd_to_linux_statfs64()
H A Dlinux_socket.c2407 if ((fp->f_type != DTYPE_SHM && fp->f_type != DTYPE_VNODE) || in is_sendfile()
2408 (fp->f_type == DTYPE_VNODE && in is_sendfile()
2414 if (ofp->f_type != DTYPE_SOCKET) in is_sendfile()
2432 return (fp->f_type == DTYPE_VNODE && fp->f_vnode != NULL && in is_regular_file()
2574 if ((fp->f_type != DTYPE_SHM && fp->f_type != DTYPE_VNODE) || in linux_sendfile_common()
2575 (fp->f_type == DTYPE_VNODE && in linux_sendfile_common()

1234