/freebsd/sys/contrib/libnv/ |
H A D | cnvlist.c | 72 #define CNVLIST_GET(ftype, type, NVTYPE) \ argument 73 ftype \ 94 #define CNVLIST_GET_ARRAY(ftype, type, NVTYPE) \ in CNVLIST_GET() argument 95 ftype \ in CNVLIST_GET() 125 #define CNVLIST_TAKE(ftype, type, NVTYPE) \ argument 126 ftype \ 129 ftype value; \ 137 value = (ftype)(intptr_t)nvpair_get_##type(cookie); \ 153 #define CNVLIST_TAKE_ARRAY(ftype, type, NVTYPE) \ argument 154 ftype \ [all …]
|
H A D | dnvlist.c | 56 #define DNVLIST_GET(ftype, type) \ argument 57 ftype \ 58 dnvlist_get_##type(const nvlist_t *nvl, const char *name, ftype defval) \ 93 #define DNVLIST_TAKE(ftype, type) \ argument 94 ftype \ 95 dnvlist_take_##type(nvlist_t *nvl, const char *name, ftype defval) \
|
H A D | nvlist.c | 1879 #define NVLIST_GET(ftype, type, TYPE) \ argument 1880 ftype \ 1913 #define NVLIST_GET_ARRAY(ftype, type, TYPE) \ argument 1914 ftype \ 1936 #define NVLIST_TAKE(ftype, type, TYPE) \ in NVLIST_GET_ARRAY() argument 1937 ftype \ in NVLIST_GET_ARRAY() 1941 ftype value; \ in NVLIST_GET_ARRAY() 1946 value = (ftype)(intptr_t)nvpair_get_##type(nvp); \ in NVLIST_GET_ARRAY() 1978 #define NVLIST_TAKE_ARRAY(ftype, type, TYPE) \ argument 1979 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() 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 D | trap.c | 210 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 D | mux.c | 530 format_forward(u_int ftype, struct Forward *fwd) in format_forward() argument 534 switch (ftype) { in format_forward() 560 fatal_f("unknown forward type %u", ftype); in format_forward() 689 u_int ftype; in mux_master_process_open_fwd() local 696 if ((r = sshbuf_get_u32(m, &ftype)) != 0 || in mux_master_process_open_fwd() 729 (fwd_desc = format_forward(ftype, &fwd))); in mux_master_process_open_fwd() 731 if (ftype != MUX_FWD_LOCAL && ftype != MUX_FWD_REMOTE && in mux_master_process_open_fwd() 732 ftype != MUX_FWD_DYNAMIC) { in mux_master_process_open_fwd() 733 logit_f("invalid forwarding type %u", ftype); in mux_master_process_open_fwd() 741 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/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 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 D | trap.c | 711 vm_prot_t ftype; in trap_pfault() local 834 ftype = VM_PROT_WRITE; in trap_pfault() 836 ftype = VM_PROT_EXECUTE; in trap_pfault() 838 ftype = VM_PROT_READ; in trap_pfault() 841 rv = vm_fault_trap(map, eva, ftype, VM_FAULT_NORMAL, signo, ucode); in trap_pfault() 844 if (ftype == VM_PROT_READ || ftype == VM_PROT_WRITE) { in trap_pfault() 846 if (ftype == VM_PROT_READ) in trap_pfault()
|
/freebsd/sys/powerpc/powerpc/ |
H A D | trap.c | 771 vm_prot_t ftype; in trap_pfault() 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() 768 vm_prot_t ftype; trap_pfault() local
|
/freebsd/sys/arm/arm/ |
H A D | trap-v6.c | 283 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/riscv/vmm/ |
H A D | vmm.c | 1078 int ftype, rv; in vm_handle_paging() local 1090 ftype = VM_PROT_WRITE; in vm_handle_paging() 1093 ftype = VM_PROT_EXECUTE; in vm_handle_paging() 1096 ftype = VM_PROT_READ; in vm_handle_paging() 1103 if (pmap_fault(pmap, addr, ftype)) in vm_handle_paging() 1107 rv = vm_fault(map, addr, ftype, VM_FAULT_NORMAL, NULL); in vm_handle_paging() 1110 __func__, addr, ftype, rv); in vm_handle_paging()
|
/freebsd/sys/arm64/arm64/ |
H A D | trap.c | 261 vm_prot_t ftype; in data_abort() local 361 ftype = VM_PROT_EXECUTE; in data_abort() 371 ftype = VM_PROT_READ; in data_abort() 373 ftype = VM_PROT_WRITE; in data_abort() 378 error = vm_fault_trap(map, far, ftype, VM_FAULT_NORMAL, &sig, &ucode); in data_abort()
|
/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 then
|
/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/vmm/ |
H A D | vmm.c | 1232 int rv, ftype; in vm_handle_paging() local 1241 ftype = vme->u.paging.fault_type; in vm_handle_paging() 1242 KASSERT(ftype == VM_PROT_READ || in vm_handle_paging() 1243 ftype == VM_PROT_WRITE || ftype == VM_PROT_EXECUTE, in vm_handle_paging() 1244 ("vm_handle_paging: invalid fault_type %d", ftype)); in vm_handle_paging() 1246 if (ftype == VM_PROT_READ || ftype == VM_PROT_WRITE) { in vm_handle_paging() 1248 vme->u.paging.gpa, ftype); in vm_handle_paging() 1251 ftype == VM_PROT_READ ? "accessed" : "dirty", in vm_handle_paging() 1258 rv = vm_fault(map, vme->u.paging.gpa, ftype, VM_FAULT_NORMAL, NULL); in vm_handle_paging() 1261 "ftype = %d", rv, vme->u.paging.gpa, ftype); in vm_handle_paging()
|
/freebsd/contrib/unbound/services/ |
H A D | listen_dnsport.c | 1150 port_insert(struct listen_port** list, int s, enum listen_type ftype, in port_insert() argument 1159 item->ftype = ftype; in port_insert() 1548 if(ports->ftype == listen_type_udp || in listen_create() 1549 ports->ftype == listen_type_udp_dnscrypt) { in listen_create() 1553 } else if(ports->ftype == listen_type_doq) { in listen_create() 1563 } else if(ports->ftype == listen_type_tcp || in listen_create() 1564 ports->ftype == listen_type_tcp_dnscrypt) { in listen_create() 1569 ports->ftype, ports->pp2_enabled, cb, cb_arg, in listen_create() 1571 } else if(ports->ftype == listen_type_ssl || in listen_create() 1572 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()
|
/freebsd/stand/libsa/ |
H A D | nfs.c | 748 uint32_t ftype, mode; in nfs_stat() local 750 ftype = ntohl(fp->fa.fa_type); in nfs_stat() 752 mode |= nfs_stat_types[ftype & 7]; in nfs_stat()
|
/freebsd/include/rpcsvc/ |
H A D | nfs_prot.x | 79 enum ftype { enum 111 ftype type; /* file type */
|
/freebsd/sys/arm64/vmm/ |
H A D | vmm.c | 1357 int ftype, rv; in vm_handle_paging() local 1372 ftype = VM_PROT_EXECUTE | VM_PROT_READ | VM_PROT_WRITE; in vm_handle_paging() 1379 rv = vm_fault(map, vme->u.paging.gpa, ftype, VM_FAULT_NORMAL, NULL); in vm_handle_paging()
|