Home
last modified time | relevance | path

Searched refs:ftype (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/sys/contrib/libnv/
H A Dcnvlist.c71 #define CNVLIST_GET(ftype, type, NVTYPE) \ argument
72 ftype \
93 #define CNVLIST_GET_ARRAY(ftype, type, NVTYPE) \ in CNVLIST_GET() argument
94 ftype \ in CNVLIST_GET()
124 #define CNVLIST_TAKE(ftype, type, NVTYPE) \ argument
125 ftype \
128 ftype value; \
136 value = (ftype)(intptr_t)nvpair_get_##type(cookie); \
152 #define CNVLIST_TAKE_ARRAY(ftype, type, NVTYPE) \ argument
153 ftype \
[all …]
H A Ddnvlist.c55 #define DNVLIST_GET(ftype, type) \ argument
56 ftype \
57 dnvlist_get_##type(const nvlist_t *nvl, const char *name, ftype defval) \
92 #define DNVLIST_TAKE(ftype, type) \ argument
93 ftype \
94 dnvlist_take_##type(nvlist_t *nvl, const char *name, ftype defval) \
H A Dnvlist.c1884 #define NVLIST_GET(ftype, type, TYPE) \ argument
1885 ftype \
1918 #define NVLIST_GET_ARRAY(ftype, type, TYPE) \ argument
1919 ftype \
1941 #define NVLIST_TAKE(ftype, type, TYPE) \ in NVLIST_GET_ARRAY() argument
1942 ftype \ in NVLIST_GET_ARRAY()
1946 ftype value; \ in NVLIST_GET_ARRAY()
1951 value = (ftype)(intptr_t)nvpair_get_##type(nvp); \ in NVLIST_GET_ARRAY()
1983 #define NVLIST_TAKE_ARRAY(ftype, type, TYPE) \ argument
1984 ftype \
[all …]
/freebsd/contrib/nvi/ex/
H A Dex_filter.c39 ex_filter(SCR *sp, EXCMD *cmdp, MARK *fm, MARK *tm, MARK *rp, CHAR_T *cmd, enum filtertype ftype) in ex_filter() argument
79 if (ftype != FILTER_READ && pipe(input) < 0) { in ex_filter()
170 if (ftype == FILTER_RBANG || ftype == FILTER_READ) { in ex_filter()
171 if (ftype == FILTER_RBANG) in ex_filter()
177 if (ftype == FILTER_READ) { in ex_filter()
237 if (ftype == FILTER_WRITE) { in ex_filter()
261 if (rval == 0 && ftype == FILTER_BANG && in ex_filter()
286 ftype == FILTER_READ && F_ISSET(sp, SC_VI) ? 1 : 0, 0) || rval); in ex_filter()
H A Dex_bang.c48 enum filtertype ftype; in ex_bang() local
142 ftype = FILTER_BANG; in ex_bang()
148 ftype = FILTER_RBANG; in ex_bang()
152 &cmdp->addr1, &cmdp->addr2, &rm, ap->bp, ftype); in ex_bang()
/freebsd/contrib/ntp/sntp/libopts/
H A Dfile.c41 check_existence(teOptFileType ftype, tOptions * pOpts, tOptDesc * pOD) in check_existence() argument
48 switch (ftype & FTYPE_MODE_EXIST_MASK) { in check_existence()
160 teOptFileType ftype, tuFileMode mode) in optionFileCheck() argument
166 switch (ftype & FTYPE_MODE_EXIST_MASK) { in optionFileCheck()
184 check_existence(ftype, pOpts, pOD); in optionFileCheck()
186 switch (ftype & FTYPE_MODE_OPEN_MASK) { in optionFileCheck()
/freebsd/sys/fs/cd9660/
H A Dcd9660_node.c99 struct buf *bp, enum ISO_FTYPE ftype) in cd9660_defattr() argument
107 if (isonum_711(ftype == ISO_FTYPE_HIGH_SIERRA? in cd9660_defattr()
161 struct buf *bp, enum ISO_FTYPE ftype) in cd9660_deftstamp() argument
178 if (ftype != ISO_FTYPE_HIGH_SIERRA in cd9660_deftstamp()
190 cd9660_tstamp_conv7(isodir->date,&inop->inode.iso_ctime,ftype); in cd9660_deftstamp()
199 cd9660_tstamp_conv7(u_char *pi, struct timespec *pu, enum ISO_FTYPE ftype) in cd9660_tstamp_conv7() argument
210 if(ftype != ISO_FTYPE_HIGH_SIERRA) in cd9660_tstamp_conv7()
/freebsd/sys/riscv/riscv/
H A Dtrap.c210 vm_prot_t ftype; in page_fault_handler() local
257 ftype = VM_PROT_WRITE; in page_fault_handler()
259 ftype = VM_PROT_EXECUTE; in page_fault_handler()
261 ftype = VM_PROT_READ; in page_fault_handler()
264 if (VIRT_IS_VALID(va) && pmap_fault(map->pmap, va, ftype)) in page_fault_handler()
272 error = vm_fault_trap(map, va, ftype, VM_FAULT_NORMAL, &sig, &ucode); in page_fault_handler()
/freebsd/crypto/openssh/
H A Dmux.c529 format_forward(u_int ftype, struct Forward *fwd) in format_forward() argument
533 switch (ftype) { in format_forward()
559 fatal_f("unknown forward type %u", ftype); in format_forward()
688 u_int ftype; in mux_master_process_open_fwd() local
695 if ((r = sshbuf_get_u32(m, &ftype)) != 0 || in mux_master_process_open_fwd()
728 (fwd_desc = format_forward(ftype, &fwd))); in mux_master_process_open_fwd()
730 if (ftype != MUX_FWD_LOCAL && ftype != MUX_FWD_REMOTE && in mux_master_process_open_fwd()
731 ftype != MUX_FWD_DYNAMIC) { in mux_master_process_open_fwd()
732 logit_f("invalid forwarding type %u", ftype); in mux_master_process_open_fwd()
740 if (ftype == MUX_FWD_DYNAMIC && fwd.listen_path) { in mux_master_process_open_fwd()
[all …]
/freebsd/sys/i386/i386/
H A Dtrap.c748 vm_prot_t ftype; in trap_pfault() local
849 ftype = VM_PROT_WRITE; in trap_pfault()
851 ftype = VM_PROT_EXECUTE; in trap_pfault()
853 ftype = VM_PROT_READ; in trap_pfault()
856 rv = vm_fault_trap(map, eva, ftype, VM_FAULT_NORMAL, signo, ucode); in trap_pfault()
859 if (ftype == VM_PROT_READ || ftype == VM_PROT_WRITE) { in trap_pfault()
861 if (ftype == VM_PROT_READ) in trap_pfault()
/freebsd/sys/riscv/vmm/
H A Dvmm.c583 int ftype, rv; in vm_handle_paging() local
595 ftype = VM_PROT_WRITE; in vm_handle_paging()
598 ftype = VM_PROT_EXECUTE; in vm_handle_paging()
601 ftype = VM_PROT_READ; in vm_handle_paging()
608 if (pmap_fault(pmap, addr, ftype)) in vm_handle_paging()
612 rv = vm_fault(map, addr, ftype, VM_FAULT_NORMAL, NULL); in vm_handle_paging()
615 __func__, addr, ftype, rv); in vm_handle_paging()
/freebsd/sys/powerpc/powerpc/
H A Dtrap.c771 vm_prot_t ftype; in trap_pfault() local
778 ftype = VM_PROT_EXECUTE; in trap_pfault()
780 ftype |= VM_PROT_READ; in trap_pfault()
788 ftype = VM_PROT_WRITE; in trap_pfault()
790 ftype = VM_PROT_READ; in trap_pfault()
793 if (radix_mmu && pmap_nofault(&p->p_vmspace->vm_pmap, eva, ftype) == 0) in trap_pfault()
834 rv = vm_fault_trap(map, eva, ftype, VM_FAULT_NORMAL, signo, ucode); in trap_pfault()
/freebsd/sys/fs/fdescfs/
H A Dfdesc_vnops.c139 fdesc_allocvp(fdntype ftype, unsigned fd_fd, int ix, struct mount *mp, in fdesc_allocvp() argument
186 fd->fd_type = ftype; in fdesc_allocvp()
189 if (ftype == Fdesc) { in fdesc_allocvp()
245 fdntype ftype; member
270 error = fdesc_allocvp(a->ftype, a->fd_fd, a->ix, mp, rvp); in fdesc_get_ino_alloc()
347 arg.ftype = Fdesc; in fdesc_lookup()
/freebsd/sys/amd64/amd64/
H A Dtrap.c717 vm_prot_t ftype; in trap_pfault() local
840 ftype = VM_PROT_WRITE; in trap_pfault()
842 ftype = VM_PROT_EXECUTE; in trap_pfault()
844 ftype = VM_PROT_READ; in trap_pfault()
847 rv = vm_fault_trap(map, eva, ftype, VM_FAULT_NORMAL, signo, ucode); in trap_pfault()
850 if (ftype == VM_PROT_READ || ftype == VM_PROT_WRITE) { in trap_pfault()
852 if (ftype == VM_PROT_READ) in trap_pfault()
/freebsd/sys/arm/arm/
H A Dtrap-v6.c283 vm_prot_t ftype; in abort_handler() local
481 ftype = (fsr & FSR_WNR) ? VM_PROT_WRITE : VM_PROT_READ; in abort_handler()
483 ftype |= VM_PROT_EXECUTE; in abort_handler()
491 rv = vm_fault_trap(map, va, ftype, VM_FAULT_NORMAL, &ksig.sig, in abort_handler()
/freebsd/sys/amd64/vmm/
H A Dvmm.c843 int rv, ftype; in vm_handle_paging() local
852 ftype = vme->u.paging.fault_type; in vm_handle_paging()
853 KASSERT(ftype == VM_PROT_READ || in vm_handle_paging()
854 ftype == VM_PROT_WRITE || ftype == VM_PROT_EXECUTE, in vm_handle_paging()
855 ("vm_handle_paging: invalid fault_type %d", ftype)); in vm_handle_paging()
857 if (ftype == VM_PROT_READ || ftype == VM_PROT_WRITE) { in vm_handle_paging()
859 vme->u.paging.gpa, ftype); in vm_handle_paging()
862 ftype == VM_PROT_READ ? "accessed" : "dirty", in vm_handle_paging()
869 rv = vm_fault(map, vme->u.paging.gpa, ftype, VM_FAULT_NORMAL, NULL); in vm_handle_paging()
872 "ftype = %d", rv, vme->u.paging.gpa, ftype); in vm_handle_paging()
/freebsd/stand/lua/
H A Dcore.lua250 for file, ftype in lfs.dir("/boot") do
257 if ftype then
258 if ftype ~= lfs.DT_DIR then
/freebsd/sys/arm64/arm64/
H A Dtrap.c265 vm_prot_t ftype; in data_abort() local
365 ftype = VM_PROT_EXECUTE; in data_abort()
375 ftype = VM_PROT_READ; in data_abort()
377 ftype = VM_PROT_WRITE; in data_abort()
382 error = vm_fault_trap(map, far, ftype, VM_FAULT_NORMAL, &sig, &ucode); in data_abort()
/freebsd/contrib/unbound/services/
H A Dlisten_dnsport.c1166 port_insert(struct listen_port** list, int s, enum listen_type ftype, in port_insert() argument
1175 item->ftype = ftype; in port_insert()
1562 if(ports->ftype == listen_type_udp || in listen_create()
1563 ports->ftype == listen_type_udp_dnscrypt) { in listen_create()
1567 } else if(ports->ftype == listen_type_doq) { in listen_create()
1576 } else if(ports->ftype == listen_type_tcp || in listen_create()
1577 ports->ftype == listen_type_tcp_dnscrypt) { in listen_create()
1582 ports->ftype, ports->pp2_enabled, cb, cb_arg, in listen_create()
1584 } else if(ports->ftype == listen_type_ssl || in listen_create()
1585 ports->ftype == listen_type_http) { in listen_create()
[all …]
/freebsd/contrib/libxo/libxo/
H A Dlibxo.c5314 xo_class_name (int ftype) in xo_class_name() argument
5316 switch (ftype) { in xo_class_name()
5329 xo_tag_name (int ftype) in xo_tag_name() argument
5331 switch (ftype) { in xo_tag_name()
5340 xo_role_wants_default_format (int ftype) in xo_role_wants_default_format() argument
5342 switch (ftype) { in xo_role_wants_default_format()
5470 unsigned ftype = 0; in xo_parse_roles() local
5501 ftype = value; in xo_parse_roles()
5530 if (ftype != 0) { in xo_parse_roles()
5535 ftype = *sp; in xo_parse_roles()
[all …]
/freebsd/contrib/lib9p/
H A Drequest.c367 const char *ftype; in l9p_respond() local
394 ftype = ""; in l9p_respond()
397 ftype = "FLUSH requested pre-dispatch: "; in l9p_respond()
400 ftype = "FLUSH requested while running: "; in l9p_respond()
403 ftype = "FLUSH requested too late: "; in l9p_respond()
407 drop ? "DROP: " : "", ftype, sbuf_data(sb)); in l9p_respond()
/freebsd/usr.sbin/config/
H A Dmkmakefile.cc784 const char *ftype = NULL; in do_rules() local
788 ftype = "NORMAL"; in do_rules()
796 "${%s_%c%s}", ftype, in do_rules()
/freebsd/stand/libsa/
H A Dnfs.c749 uint32_t ftype, mode; in nfs_stat() local
751 ftype = ntohl(fp->fa.fa_type); in nfs_stat()
753 mode |= nfs_stat_types[ftype & 7]; in nfs_stat()
/freebsd/sys/arm64/vmm/
H A Dvmm.c916 int ftype, rv; in vm_handle_paging()
931 ftype = VM_PROT_EXECUTE | VM_PROT_READ | VM_PROT_WRITE; in vm_handle_paging()
938 rv = vm_fault(map, vme->u.paging.gpa, ftype, VM_FAULT_NORMAL, NULL); in vm_handle_paging()
917 int ftype, rv; vm_handle_paging() local
/freebsd/include/rpcsvc/
H A Dnfs_prot.x79 enum ftype { enum
111 ftype type; /* file type */

12