Home
last modified time | relevance | path

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

1234

/freebsd/usr.sbin/syslogd/
H A Dsyslogd_cap_config.c107 enum f_type f_type = filed->f_type; in filed_to_nvlist() local
110 nvlist_add_number(nvl_filed, "f_type", f_type); in filed_to_nvlist()
131 if (f_type == F_WALL || f_type == F_USERS) { in filed_to_nvlist()
137 } else if (f_type == F_FILE || f_type == F_CONSOLE || f_type == F_TTY) { in filed_to_nvlist()
139 } else if (f_type == F_FORW) { in filed_to_nvlist()
145 } else if (filed->f_type == F_PIPE) { in filed_to_nvlist()
169 enum f_type f_type; in nvlist_to_filed() local
177 f_type = filed->f_type = nvlist_get_number(nvl_filed, "f_type"); in nvlist_to_filed()
200 if (f_type == F_WALL || f_type == F_USERS) { in nvlist_to_filed()
209 } else if (f_type == F_FILE || f_type == F_CONSOLE || f_type == F_TTY) { in nvlist_to_filed()
[all …]
H A Dsyslogd.h119 enum f_type { enum
142 enum f_type f_type; member
H A Dsyslogd.c373 if (f->f_type == F_FORW && f->f_addr_fds != NULL) { in close_filed()
380 } else if (f->f_type == F_PIPE && f->f_procdesc != -1) { in close_filed()
384 f->f_type = F_UNUSED; in close_filed()
694 consfile.f_type = F_CONSOLE; in main()
814 if (f->f_type == F_UNUSED) in main()
1643 if (f->f_type == F_CONSOLE && (flags & IGN_CONS)) in logmsg()
1653 if (no_compress - (f->f_type != F_PIPE) < 1 && in logmsg()
1694 if (f->f_type == F_FILE && in dofsync()
1755 switch (f->f_type) { in fprintlog_write()
1836 f->f_type = F_UNUSED; in fprintlog_write()
[all …]
/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/sys/kern/
H A Dsys_procdesc.c132 if (fp->f_type != DTYPE_PROCDESC) { in procdesc_find()
158 KASSERT(fp_procdesc->f_type == DTYPE_PROCDESC, in procdesc_pid()
178 if (fp->f_type != DTYPE_PROCDESC) { in kern_pdgetpid()
361 KASSERT(fp->f_type == DTYPE_PROCDESC, ("procdesc_close: !procdesc")); in procdesc_close()
573 if (fp2->f_type != DTYPE_PROCDESC) in procdesc_cmp()
H A Dkern_jaildesc.c87 if (fp->f_type != DTYPE_JAILDESC) in jaildesc_get_prison_impl()
437 if (fp2->f_type != DTYPE_JAILDESC) in jaildesc_cmp()
H A Dkern_descrip.c740 if (fp->f_type != DTYPE_VNODE || fp->f_ops == &path_fileops) { in kern_fcntl()
845 if (fp->f_type != DTYPE_VNODE || fp->f_ops == &path_fileops) { in kern_fcntl()
901 if (fp->f_type != DTYPE_VNODE || fp->f_ops == &path_fileops) { in kern_fcntl()
952 if (fp->f_type != DTYPE_VNODE) { in kern_fcntl()
1817 } else if (fp->f_type == DTYPE_PIPE || fp->f_type == DTYPE_SOCKET) { in kern_fpathconf()
2642 if (fp->f_type != DTYPE_VNODE || in fdclearlocks()
2801 if (fp->f_type != DTYPE_VNODE) in is_unsafe()
2875 if (fp->f_type == DTYPE_MQUEUE || in fdcloseexec()
2959 if (fp->f_type == DTYPE_VNODE) { in closef()
3030 fp->f_type = type; in finit()
[all …]
/freebsd/bin/ls/
H A Dls.c152 int f_type; /* add type character for non-regular files */ variable
358 f_type = 1; in main()
444 f_type = 1; in main()
555 !f_sizesort && !f_type && f_groupdir == GRP_NONE in main()
567 if (!f_nofollow && !f_longform && !f_listdir && (!f_type || f_slash) in main()
H A Dls.h61 extern int f_type; /* add type character for non-regular files */
/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/stand/common/
H A Dmodule.c327 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()
1027 fp->f_type = strdup(type); in file_addbuf()
1033 if ((fp->f_name == NULL) || (fp->f_type == NULL)) { in file_addbuf()
1037 free(fp->f_type); in file_addbuf()
1600 free(fp->f_type); in file_discard()
/freebsd/stand/uboot/
H A Delf_freebsd.c56 if (!strcmp((*result)->f_type, md_kerntype)) in __elfN()
/freebsd/stand/uboot/arch/powerpc/
H A Dppc64_elf_freebsd.c56 if (!strcmp((*result)->f_type, md_kerntype)) in ppc64_uboot_elf_loadfile()
/freebsd/stand/powerpc/ofw/
H A Delf_freebsd.c61 if (!strcmp((*result)->f_type, md_kerntype)) in __elfN()
H A Dppc64_elf_freebsd.c60 if (!strcmp((*result)->f_type, md_kerntype)) 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.c138 if (fp->f_type == DTYPE_VNODE) in zfs_file_write_impl()
284 if (fp->f_type != DTYPE_VNODE) in zfs_file_fsync()
/freebsd/usr.bin/find/
H A Dextern.h122 exec_f f_type; variable
/freebsd/sys/fs/nullfs/
H A Dnull_vfsops.c380 sbp->f_type = mstat->f_type; in nullfs_statfs()
/freebsd/tests/sys/capsicum/
H A Dcapsicum-test-main.cc155 tmpdir_on_tmpfs = (fsinfo.f_type == TMPFS_MAGIC); in main()
/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()

1234