| /freebsd/sys/contrib/libnv/ |
| H A D | cnvlist.c | 71 #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 D | dnvlist.c | 55 #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 D | nvlist.c | 1885 #define NVLIST_GET(ftype, type, TYPE) \ argument 1886 ftype \ 1919 #define NVLIST_GET_ARRAY(ftype, type, TYPE) \ argument 1920 ftype \ 1942 #define NVLIST_TAKE(ftype, type, TYPE) \ in NVLIST_GET_ARRAY() argument 1943 ftype \ in NVLIST_GET_ARRAY() 1947 ftype value; \ in NVLIST_GET_ARRAY() 1952 value = (ftype)(intptr_t)nvpair_get_##type(nvp); \ in NVLIST_GET_ARRAY() 1984 #define NVLIST_TAKE_ARRAY(ftype, type, TYPE) \ argument 1985 ftype \ [all …]
|
| /freebsd/contrib/nvi/ex/ |
| H A D | ex_filter.c | 39 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 D | ex_bang.c | 48 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 D | file.c | 41 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 D | cd9660_node.c | 99 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() 201 cd9660_tstamp_conv7(isodir->date,&inop->inode.iso_ctime,ftype); in cd9660_deftstamp() 211 cd9660_tstamp_conv7(u_char *pi, struct timespec *pu, enum ISO_FTYPE ftype) in cd9660_tstamp_conv7() argument 222 if(ftype != ISO_FTYPE_HIGH_SIERRA) in cd9660_tstamp_conv7()
|
| /freebsd/contrib/libarchive/libarchive/test/ |
| H A D | test_write_format_xar_bugs.c | 99 uint8_t ftype; in replay_xar_writer() local 110 ftype = fuzz_consume_byte(&consumer) % 4; in replay_xar_writer() 112 switch (ftype) { in replay_xar_writer() 133 if (ftype == 0) { in replay_xar_writer() 138 if (ftype == 2) in replay_xar_writer()
|
| H A D | test_write_format_iso9660_bugs.c | 114 uint8_t ftype; in replay_iso9660_writer() local 124 ftype = fuzz_consume_byte(&consumer) % 4; in replay_iso9660_writer() 125 switch (ftype) { in replay_iso9660_writer() 153 if (ftype == 0 || ftype == 3) { in replay_iso9660_writer()
|
| H A D | test_write_format_mtree_null_deref.c | 101 uint8_t ftype; in DEFINE_TEST() local 111 ftype = fuzz_consume_byte(&consumer) % 5; in DEFINE_TEST() 112 switch (ftype) { in DEFINE_TEST() 150 if (ftype == 0) { in DEFINE_TEST()
|
| /freebsd/sys/riscv/riscv/ |
| H A D | trap.c | 212 vm_prot_t ftype; in page_fault_handler() local 259 ftype = VM_PROT_WRITE; in page_fault_handler() 261 ftype = VM_PROT_EXECUTE; in page_fault_handler() 263 ftype = VM_PROT_READ; in page_fault_handler() 266 if (VIRT_IS_VALID(va) && pmap_fault(map->pmap, va, ftype)) in page_fault_handler() 274 error = vm_fault_trap(map, va, ftype, VM_FAULT_NORMAL, &sig, &ucode); in page_fault_handler()
|
| /freebsd/crypto/openssh/ |
| H A D | mux.c | 564 format_forward(u_int ftype, struct Forward *fwd) in format_forward() argument 568 switch (ftype) { in format_forward() 594 fatal_f("unknown forward type %u", ftype); in format_forward() 724 u_int ftype; in mux_master_process_open_fwd() local 731 if ((r = sshbuf_get_u32(m, &ftype)) != 0 || in mux_master_process_open_fwd() 764 (fwd_desc = format_forward(ftype, &fwd))); in mux_master_process_open_fwd() 766 if (ftype != MUX_FWD_LOCAL && ftype != MUX_FWD_REMOTE && in mux_master_process_open_fwd() 767 ftype != MUX_FWD_DYNAMIC) { in mux_master_process_open_fwd() 768 logit_f("invalid forwarding type %u", ftype); in mux_master_process_open_fwd() 776 if (ftype == MUX_FWD_DYNAMIC && fwd.listen_path) { in mux_master_process_open_fwd() [all …]
|
| /freebsd/sys/i386/i386/ |
| H A D | trap.c | 748 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 D | vmm.c | 583 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 D | trap.c | 771 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 D | fdesc_vnops.c | 139 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 272 error = fdesc_allocvp(a->ftype, a->fd_fd, a->ix, mp, rvp); in fdesc_get_ino_alloc() 360 arg.ftype = Fdesc; in fdesc_lookup()
|
| /freebsd/sys/arm/arm/ |
| H A D | trap-v6.c | 283 vm_prot_t ftype; in abort_handler() local 489 ftype = (fsr & FSR_WNR) ? VM_PROT_WRITE : VM_PROT_READ; in abort_handler() 491 ftype |= VM_PROT_EXECUTE; in abort_handler() 499 rv = vm_fault_trap(map, va, ftype, VM_FAULT_NORMAL, &ksig.sig, in abort_handler()
|
| /freebsd/stand/lua/ |
| H A D | core.lua | 250 for file, ftype in lfs.dir("/boot") do 257 if ftype then 258 if ftype ~= lfs.DT_DIR and ftype ~= (lfs.DT_LNK or 10) then
|
| /freebsd/sys/amd64/vmm/ |
| H A D | vmm.c | 850 int rv, ftype; in vm_handle_paging() local 859 ftype = vme->u.paging.fault_type; in vm_handle_paging() 860 KASSERT(ftype == VM_PROT_READ || in vm_handle_paging() 861 ftype == VM_PROT_WRITE || ftype == VM_PROT_EXECUTE, in vm_handle_paging() 862 ("vm_handle_paging: invalid fault_type %d", ftype)); in vm_handle_paging() 864 if (ftype == VM_PROT_READ || ftype == VM_PROT_WRITE) { in vm_handle_paging() 866 vme->u.paging.gpa, ftype); in vm_handle_paging() 869 ftype == VM_PROT_READ ? "accessed" : "dirty", in vm_handle_paging() 876 rv = vm_fault(map, vme->u.paging.gpa, ftype, VM_FAULT_NORMAL, NULL); in vm_handle_paging() 879 "ftype = %d", rv, vme->u.paging.gpa, ftype); in vm_handle_paging()
|
| /freebsd/sys/arm64/arm64/ |
| H A D | trap.c | 308 vm_prot_t ftype; in data_abort() local 411 ftype = VM_PROT_EXECUTE; in data_abort() 421 ftype = VM_PROT_READ; in data_abort() 423 ftype = VM_PROT_WRITE; in data_abort() 428 error = vm_fault_trap(map, fault_va, ftype, VM_FAULT_NORMAL, &sig, in data_abort()
|
| /freebsd/contrib/libxo/libxo/ |
| H A D | libxo.c | 5314 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/sys/amd64/amd64/ |
| H A D | trap.c | 799 vm_prot_t ftype; in trap_pfault() 922 ftype = VM_PROT_WRITE; in trap_pfault() 924 ftype = VM_PROT_EXECUTE; in trap_pfault() 926 ftype = VM_PROT_READ; in trap_pfault() 929 rv = vm_fault_trap(map, eva, ftype, VM_FAULT_NORMAL, signo, ucode); in trap_pfault() 932 if (ftype == VM_PROT_READ || ftype == VM_PROT_WRITE) { in trap_pfault() 934 if (ftype == VM_PROT_READ) in trap_pfault() 791 vm_prot_t ftype; trap_pfault() local
|
| /freebsd/contrib/unbound/services/ |
| H A D | listen_dnsport.c | 1165 port_insert(struct listen_port** list, int s, enum listen_type ftype, in port_insert() argument 1174 item->ftype = ftype; in port_insert() 1561 if(ports->ftype == listen_type_udp || in listen_create() 1562 ports->ftype == listen_type_udp_dnscrypt) { in listen_create() 1566 } else if(ports->ftype == listen_type_doq && doq_table) { in listen_create() 1575 } else if(ports->ftype == listen_type_tcp || in listen_create() 1576 ports->ftype == listen_type_tcp_dnscrypt) { in listen_create() 1581 ports->ftype, ports->pp2_enabled, cb, cb_arg, in listen_create() 1583 } else if(ports->ftype == listen_type_ssl || in listen_create() 1584 ports->ftype == listen_type_http) { in listen_create() [all …]
|
| /freebsd/contrib/lib9p/ |
| H A D | request.c | 367 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 D | mkmakefile.cc | 784 const char *ftype = NULL; in do_rules() local 788 ftype = "NORMAL"; in do_rules() 796 "${%s_%c%s}", ftype, in do_rules()
|