Home
last modified time | relevance | path

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

12

/freebsd-14.2/sys/contrib/libnv/
H A Dcnvlist.c72 #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 Ddnvlist.c56 #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 Dnvlist.c1886 #define NVLIST_GET(ftype, type, TYPE) \ argument
1887 ftype \
1920 #define NVLIST_GET_ARRAY(ftype, type, TYPE) \ argument
1921 ftype \
1943 #define NVLIST_TAKE(ftype, type, TYPE) \ in NVLIST_GET_ARRAY() argument
1944 ftype \ in NVLIST_GET_ARRAY()
1948 ftype value; \ in NVLIST_GET_ARRAY()
1953 value = (ftype)(intptr_t)nvpair_get_##type(nvp); \ in NVLIST_GET_ARRAY()
1985 #define NVLIST_TAKE_ARRAY(ftype, type, TYPE) \ argument
1986 ftype \
[all …]
/freebsd-14.2/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-14.2/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-14.2/sys/fs/cd9660/
H A Dcd9660_node.c102 struct buf *bp, enum ISO_FTYPE ftype) in cd9660_defattr() argument
110 if (isonum_711(ftype == ISO_FTYPE_HIGH_SIERRA? in cd9660_defattr()
164 struct buf *bp, enum ISO_FTYPE ftype) in cd9660_deftstamp() argument
181 if (ftype != ISO_FTYPE_HIGH_SIERRA in cd9660_deftstamp()
193 cd9660_tstamp_conv7(isodir->date,&inop->inode.iso_ctime,ftype); in cd9660_deftstamp()
202 cd9660_tstamp_conv7(u_char *pi, struct timespec *pu, enum ISO_FTYPE ftype) in cd9660_tstamp_conv7() argument
213 if(ftype != ISO_FTYPE_HIGH_SIERRA) in cd9660_tstamp_conv7()
/freebsd-14.2/sys/riscv/riscv/
H A Dtrap.c212 vm_prot_t ftype; in page_fault_handler() local
263 ftype = VM_PROT_WRITE; in page_fault_handler()
265 ftype = VM_PROT_EXECUTE; in page_fault_handler()
267 ftype = VM_PROT_READ; in page_fault_handler()
270 if (VIRT_IS_VALID(va) && pmap_fault(map->pmap, va, ftype)) in page_fault_handler()
273 error = vm_fault_trap(map, va, ftype, VM_FAULT_NORMAL, &sig, &ucode); in page_fault_handler()
/freebsd-14.2/crypto/openssh/
H A Dmux.c534 switch (ftype) { in format_forward()
689 u_int ftype; in mux_master_process_open_fwd() local
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()
752 (ftype != MUX_FWD_DYNAMIC && ftype != MUX_FWD_REMOTE && in mux_master_process_open_fwd()
765 switch (ftype) { in mux_master_process_open_fwd()
806 if (ftype == MUX_FWD_LOCAL || ftype == MUX_FWD_DYNAMIC) { in mux_master_process_open_fwd()
855 u_int ftype; in mux_master_process_close_fwd() local
899 switch (ftype) { in mux_master_process_close_fwd()
923 else if (ftype == MUX_FWD_REMOTE) { in mux_master_process_close_fwd()
[all …]
/freebsd-14.2/sys/i386/i386/
H A Dtrap.c766 vm_prot_t ftype; in trap_pfault() local
867 ftype = VM_PROT_WRITE; in trap_pfault()
869 ftype = VM_PROT_EXECUTE; in trap_pfault()
871 ftype = VM_PROT_READ; in trap_pfault()
874 rv = vm_fault_trap(map, eva, ftype, VM_FAULT_NORMAL, signo, ucode); in trap_pfault()
877 if (ftype == VM_PROT_READ || ftype == VM_PROT_WRITE) { in trap_pfault()
879 if (ftype == VM_PROT_READ) in trap_pfault()
/freebsd-14.2/sys/fs/fdescfs/
H A Dfdesc_vnops.c141 fdesc_allocvp(fdntype ftype, unsigned fd_fd, int ix, struct mount *mp, in fdesc_allocvp() argument
188 fd->fd_type = ftype; in fdesc_allocvp()
191 if (ftype == Fdesc) { in fdesc_allocvp()
247 fdntype ftype; member
272 error = fdesc_allocvp(a->ftype, a->fd_fd, a->ix, mp, rvp); in fdesc_get_ino_alloc()
349 arg.ftype = Fdesc; in fdesc_lookup()
/freebsd-14.2/sys/amd64/amd64/
H A Dtrap.c715 vm_prot_t ftype; in trap_pfault() local
838 ftype = VM_PROT_WRITE; in trap_pfault()
840 ftype = VM_PROT_EXECUTE; in trap_pfault()
842 ftype = VM_PROT_READ; in trap_pfault()
845 rv = vm_fault_trap(map, eva, ftype, VM_FAULT_NORMAL, signo, ucode); in trap_pfault()
848 if (ftype == VM_PROT_READ || ftype == VM_PROT_WRITE) { in trap_pfault()
850 if (ftype == VM_PROT_READ) in trap_pfault()
/freebsd-14.2/sys/powerpc/powerpc/
H A Dtrap.c769 vm_prot_t ftype; in trap_pfault() local
776 ftype = VM_PROT_EXECUTE; in trap_pfault()
778 ftype |= VM_PROT_READ; in trap_pfault()
786 ftype = VM_PROT_WRITE; in trap_pfault()
788 ftype = VM_PROT_READ; in trap_pfault()
791 if (radix_mmu && pmap_nofault(&p->p_vmspace->vm_pmap, eva, ftype) == 0) in trap_pfault()
832 rv = vm_fault_trap(map, eva, ftype, VM_FAULT_NORMAL, signo, ucode); in trap_pfault()
/freebsd-14.2/sys/arm/arm/
H A Dtrap-v6.c284 vm_prot_t ftype; in abort_handler() local
488 ftype = (fsr & FSR_WNR) ? VM_PROT_WRITE : VM_PROT_READ; in abort_handler()
490 ftype |= VM_PROT_EXECUTE; in abort_handler()
498 rv = vm_fault_trap(map, va, ftype, VM_FAULT_NORMAL, &ksig.sig, in abort_handler()
/freebsd-14.2/sys/arm64/arm64/
H A Dtrap.c261 vm_prot_t ftype; in data_abort() local
352 ftype = VM_PROT_EXECUTE; in data_abort()
362 ftype = VM_PROT_READ; in data_abort()
364 ftype = VM_PROT_WRITE; in data_abort()
369 error = vm_fault_trap(map, far, ftype, VM_FAULT_NORMAL, &sig, &ucode); in data_abort()
/freebsd-14.2/stand/lua/
H A Dcore.lua248 for file, ftype in lfs.dir("/boot") do
255 if ftype then
256 if ftype ~= lfs.DT_DIR then
/freebsd-14.2/contrib/libxo/libxo/
H A Dlibxo.c5316 switch (ftype) { in xo_class_name()
5331 switch (ftype) { in xo_tag_name()
5342 switch (ftype) { in xo_role_wants_default_format()
5535 ftype = *sp; in xo_parse_roles()
5615 if (ftype == 'N' || ftype == 'U') { in xo_parse_roles()
5900 unsigned ftype; in xo_gettext_simplify_format() local
5916 switch (ftype) { in xo_gettext_simplify_format()
5938 ch = ftype; in xo_gettext_simplify_format()
6291 unsigned ftype; in xo_do_emit_fields() local
6363 if (ftype == 'N' || ftype == 'U') { in xo_do_emit_fields()
[all …]
/freebsd-14.2/contrib/unbound/services/
H A Dlisten_dnsport.c1159 item->ftype = ftype; in port_insert()
1548 if(ports->ftype == listen_type_udp || 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()
1571 } else if(ports->ftype == listen_type_ssl || in listen_create()
1572 ports->ftype == listen_type_http) { in listen_create()
1580 if(ports->ftype == listen_type_http) { in listen_create()
1618 (ports->ftype == listen_type_tcp) || in listen_create()
1619 (ports->ftype == listen_type_udp) || in listen_create()
1620 (ports->ftype == listen_type_udpancil) || in listen_create()
[all …]
H A Dlisten_dnsport.h140 enum listen_type ftype; member
/freebsd-14.2/sys/amd64/vmm/
H A Dvmm.c1586 int rv, ftype; in vm_handle_paging() local
1595 ftype = vme->u.paging.fault_type; in vm_handle_paging()
1596 KASSERT(ftype == VM_PROT_READ || in vm_handle_paging()
1597 ftype == VM_PROT_WRITE || ftype == VM_PROT_EXECUTE, in vm_handle_paging()
1598 ("vm_handle_paging: invalid fault_type %d", ftype)); in vm_handle_paging()
1600 if (ftype == VM_PROT_READ || ftype == VM_PROT_WRITE) { in vm_handle_paging()
1602 vme->u.paging.gpa, ftype); in vm_handle_paging()
1605 ftype == VM_PROT_READ ? "accessed" : "dirty", in vm_handle_paging()
1612 rv = vm_fault(map, vme->u.paging.gpa, ftype, VM_FAULT_NORMAL, NULL); in vm_handle_paging()
1615 "ftype = %d", rv, vme->u.paging.gpa, ftype); in vm_handle_paging()
/freebsd-14.2/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-14.2/usr.sbin/config/
H A Dmkmakefile.cc778 const char *ftype = NULL; in do_rules() local
782 ftype = "NORMAL"; in do_rules()
790 "${%s_%c%s}", ftype, in do_rules()
/freebsd-14.2/stand/libsa/
H A Dnfs.c748 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-14.2/include/rpcsvc/
H A Dnfs_prot.x87 enum ftype { enum
119 ftype type; /* file type */
/freebsd-14.2/contrib/file/src/
H A Dfuncs.c331 const char *ftype = NULL; in file_buffer() local
348 &code, &code_mime, &ftype); in file_buffer()

12