Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 1456) sorted by relevance

12345678910>>...59

/freebsd-13.1/contrib/openpam/misc/
H A Dgendoc.pl107 my $func;
154 $func = $fn;
452 .Nm $$func{name}
477 .Fn $$func{name} $$func{args}
503 .Fn $$func{name}
563 my %func;
569 $func{Nm} = $func{Nm} || $1;
571 $func{Ft} = $func{Ft} || $1;
573 $func{Fn} = $func{Fn} || $1;
578 $FUNCTIONS{$func{Nm}} = \%func;
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception.h168 extern FUNC_TYPE(func) PTR_TO_REAL(func); \
186 extern "C" ret_type func(__VA_ARGS__);
200 FUNC_TYPE(func) PTR_TO_REAL(func); \
203 # define DEFINE_REAL(ret_type, func, ...) argument
223 ret_type WRAP(func)(__VA_ARGS__)
234 INTERPOSER(func); \
241 INTERCEPTOR_ZZZ(__DARWIN_ALIAS_C(func), ret_type, func, __VA_ARGS__)
252 FUNC_TYPE(func) PTR_TO_REAL(func); \
278 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func) argument
283 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_MAC(func) argument
[all …]
H A Dinterception_linux.h28 uptr func, uptr wrapper);
31 #define INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func) \ argument
33 #func, \
34 (::__interception::uptr *) & REAL(func), \
35 (::__interception::uptr) & (func), \
36 (::__interception::uptr) & WRAP(func))
40 #define INTERCEPT_FUNCTION_VER_LINUX_OR_FREEBSD(func, symver) \ argument
42 #func, symver, \
43 (::__interception::uptr *) & REAL(func), \
45 (::__interception::uptr) & WRAP(func))
[all …]
H A Dinterception_win.h64 #define INTERCEPT_FUNCTION_WIN(func) \ argument
65 ::__interception::OverrideFunction(#func, \
66 (::__interception::uptr)WRAP(func), \
67 (::__interception::uptr *)&REAL(func))
69 #define INTERCEPT_FUNCTION_WIN(func) \ argument
70 ::__interception::OverrideFunction((::__interception::uptr)func, \
72 (::__interception::uptr *)&REAL(func))
75 #define INTERCEPT_FUNCTION_VER_WIN(func, symver) INTERCEPT_FUNCTION_WIN(func) argument
77 #define INTERCEPT_FUNCTION_DLLIMPORT(user_dll, provider_dll, func) \ argument
79 user_dll, provider_dll, #func, (::__interception::uptr)WRAP(func), \
[all …]
/freebsd-13.1/contrib/netbsd-tests/fs/common/
H A Dh_fsmacros.h107 ATF_TC(fs##_##func); \
114 void *fs##func##tmp; \
121 func(tc,FSTEST_MNTNAME); \
157 ATF_TP_ADD_TC(tp,fs##_##func)
176 ATF_TP_FSADD(ffs,func); \
178 ATF_TP_FSADD(lfs,func); \
187 ATF_TP_FSADD(v7fs,func);
196 ATF_TP_FSADD(zfs,func);
203 ATF_TP_FSAPPLY_NOZFS(func)
238 ATF_TP_FSADD(v7fs,func);
[all …]
/freebsd-13.1/sys/sys/
H A Dsdt.h91 #define SDT_PROBE_DEFINE(prov, mod, func, name) argument
108 #define SDT_PROBE0(prov, mod, func, name) argument
187 SDT_PROBE_DEFINE(prov, mod, func, name)
190 SDT_PROBE_DEFINE(prov, mod, func, name); \
194 SDT_PROBE_DEFINE(prov, mod, func, name); \
199 SDT_PROBE_DEFINE(prov, mod, func, name); \
205 SDT_PROBE_DEFINE(prov, mod, func, name); \
212 SDT_PROBE_DEFINE(prov, mod, func, name); \
221 SDT_PROBE_DEFINE(prov, mod, func, name); \
241 SDT_PROBE_DEFINE(prov, mod, func, name)
[all …]
/freebsd-13.1/contrib/libucl/src/
H A Ducl_emitter.c113 const struct ucl_emitter_functions *func = ctx->func; in ucl_emitter_print_key() local
128 func->ucl_emitter_append_len (" = ", 3, func->ud); in ucl_emitter_print_key()
142 func->ucl_emitter_append_len ("null", 4, func->ud); in ucl_emitter_print_key()
145 func->ucl_emitter_append_len (": ", 2, func->ud); in ucl_emitter_print_key()
152 func->ucl_emitter_append_len ("null", 4, func->ud); in ucl_emitter_print_key()
159 func->ucl_emitter_append_len (": ", 2, func->ud); in ucl_emitter_print_key()
168 const struct ucl_emitter_functions *func = ctx->func; in ucl_emitter_finish_object() local
174 func->ucl_emitter_append_len (";\n", 2, func->ud); in ucl_emitter_finish_object()
178 func->ucl_emitter_append_len (",\n", 2, func->ud); in ucl_emitter_finish_object()
196 const struct ucl_emitter_functions *func = ctx->func; in ucl_emitter_common_end_object() local
[all …]
H A Ducl_emitter_utils.c107 const struct ucl_emitter_functions *func = ctx->func; in ucl_elt_string_write_json() local
116 func->ucl_emitter_append_len (c, len, func->ud); in ucl_elt_string_write_json()
120 func->ucl_emitter_append_len ("\\n", 2, func->ud); in ucl_elt_string_write_json()
123 func->ucl_emitter_append_len ("\\r", 2, func->ud); in ucl_elt_string_write_json()
126 func->ucl_emitter_append_len ("\\b", 2, func->ud); in ucl_elt_string_write_json()
129 func->ucl_emitter_append_len ("\\t", 2, func->ud); in ucl_elt_string_write_json()
132 func->ucl_emitter_append_len ("\\f", 2, func->ud); in ucl_elt_string_write_json()
162 func->ucl_emitter_append_len (c, len, func->ud); in ucl_elt_string_write_json()
181 func->ucl_emitter_append_len (c, len, func->ud); in ucl_elt_string_write_squoted()
196 func->ucl_emitter_append_len (c, len, func->ud); in ucl_elt_string_write_squoted()
[all …]
/freebsd-13.1/usr.bin/sdiotool/
H A Dlinux_sdio_compat.c63 return sdio_read_1(func->dev, func->num, addr, err_ret); in sdio_readb()
67 return sdio_readb(func, addr, err_ret); in sdio_f0_readb()
71 return sdio_read_2(func->dev, func->num, addr, err_ret); in sdio_readw()
75 return sdio_read_4(func->dev, func->num, addr, err_ret); in sdio_readl()
78 void sdio_writeb(struct sdio_func *func, u8 b, in sdio_writeb() argument
80 *err_ret = sdio_write_1(func->dev, func->num, addr, b); in sdio_writeb()
93 sdio_writeb(func, b, addr, err_ret); in sdio_f0_writeb()
96 void sdio_writew(struct sdio_func *func, u16 b, in sdio_writew() argument
98 *err_ret = sdio_write_2(func->dev, func->num, addr, b); in sdio_writew()
101 void sdio_writel(struct sdio_func *func, u32 b, in sdio_writel() argument
[all …]
H A Dsdiotool.c173 struct sdio_func *func[8]; member
244 struct sdio_func *func; in brcmf_sdiod_request_data() local
253 func = sdiodev->func[fn]; in brcmf_sdiod_request_data()
317 u8 func; in brcmf_sdiod_regrw_helper() local
331 func = SDIO_FUNC_0; in brcmf_sdiod_regrw_helper()
333 func = SDIO_FUNC_1; in brcmf_sdiod_regrw_helper()
493 int func = 0; in main() local
538 brcmf_dev.func[0] = &f0; in main()
539 brcmf_dev.func[1] = &f1; in main()
540 brcmf_dev.func[2] = &f2; in main()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors.h33 #define SCOPED_INTERCEPTOR_RAW(func, ...) \ argument
37 ScopedInterceptor si(thr, #func, caller_pc); \
42 #define SCOPED_TSAN_INTERCEPTOR(func, ...) \ argument
43 SCOPED_INTERCEPTOR_RAW(func, __VA_ARGS__); \
44 if (REAL(func) == 0) { \
49 return REAL(func)(__VA_ARGS__); \
58 #define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__) argument
63 ALIAS(WRAPPER_NAME(pthread_##func));
70 TSAN_INTERCEPTOR(ret, __libc_##func, __VA_ARGS__) \
71 ALIAS(WRAPPER_NAME(pthread_##func));
[all …]
/freebsd-13.1/contrib/telnet/telnetd/
H A Dslc.c220 if (func > NSLC) { in process_slc()
230 if (func == 0) { in process_slc()
265 change_slc(func, flag, val); in process_slc()
292 add_slc(func, flag, val); in change_slc()
305 slctab[(int)func].current.flag = slctab[(int)func].defset.flag; in change_slc()
307 slctab[(int)func].current.val = slctab[(int)func].defset.val; in change_slc()
308 add_slc(func, slctab[(int)func].current.flag, in change_slc()
332 add_slc(func, flag, val); in change_slc()
367 add_slc(func, flag, val); in change_slc()
430 unsigned char func, flag; in do_opt_slc() local
[all …]
/freebsd-13.1/sys/amd64/pci/
H A Dpci_cfgreg.c128 pciereg_cfgwrite(bus, slot, func, reg, data, bytes); in pci_cfgregwrite()
130 pcireg_cfgwrite(bus, slot, func, reg, data, bytes); in pci_cfgregwrite()
147 | (func << 8) | (reg & ~0x03)); in pci_cfgenable()
171 port = pci_cfgenable(bus, slot, func, reg, bytes); in pcireg_cfgread()
196 port = pci_cfgenable(bus, slot, func, reg, bytes); in pcireg_cfgwrite()
257 #define PCIE_VADDR(base, reg, bus, slot, func) \ argument
261 (((func) & 0x7) << 12) | \
280 func > PCI_FUNCMAX || reg > PCIE_REGMAX) in pciereg_cfgread()
283 va = PCIE_VADDR(pcie_base, reg, bus, slot, func); in pciereg_cfgread()
310 func > PCI_FUNCMAX || reg > PCIE_REGMAX) in pciereg_cfgwrite()
[all …]
/freebsd-13.1/contrib/llvm-project/libcxx/src/
H A Dstring.cpp51 void throw_from_string_out_of_range( const string& func ) in throw_from_string_out_of_range() argument
53 throw_helper<out_of_range>(func + ": out of range"); in throw_from_string_out_of_range()
57 void throw_from_string_invalid_arg( const string& func ) in throw_from_string_invalid_arg() argument
59 throw_helper<invalid_argument>(func + ": no conversion"); in throw_from_string_invalid_arg()
76 throw_from_string_out_of_range(func); in as_integer_helper()
78 throw_from_string_invalid_arg(func); in as_integer_helper()
98 throw_from_string_out_of_range(func); in as_integer()
143 throw_from_string_out_of_range(func); in as_integer()
193 throw_from_string_out_of_range(func); in as_float_helper()
195 throw_from_string_invalid_arg(func); in as_float_helper()
[all …]
/freebsd-13.1/contrib/tcsh/
H A Ded.defns.c1159 f->func = F_TOBEG; in editinit()
1252 f->func = F_DIGIT; in editinit()
1278 f->func = F_TOEND; in editinit()
1441 f->func = F_QUOTE; in editinit()
1466 f->func = F_XKEY; in editinit()
1570 f->func = V_ADD; in editinit()
1623 f->func = V_EWORD; in editinit()
1724 f->func = V_UNDO; in editinit()
1729 f->func = V_ZERO; in editinit()
1734 f->func = F_WHICH; in editinit()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/
H A DUnwindAssembly-x86.cpp47 if (!func.GetBaseAddress().IsValid() || func.GetByteSize() == 0) in GetNonCallSiteUnwindPlanFromAssembly()
54 std::vector<uint8_t> function_text(func.GetByteSize()); in GetNonCallSiteUnwindPlanFromAssembly()
57 func.GetBaseAddress(), function_text.data(), func.GetByteSize(), in GetNonCallSiteUnwindPlanFromAssembly()
58 error) == func.GetByteSize()) { in GetNonCallSiteUnwindPlanFromAssembly()
62 function_text.data(), func.GetByteSize(), func, unwind_plan); in GetNonCallSiteUnwindPlanFromAssembly()
151 if (!func.GetBaseAddress().IsValid() || func.GetByteSize() == 0) in AugmentUnwindPlanFromCallSite()
158 func.GetBaseAddress(), function_text.data(), func.GetByteSize(), in AugmentUnwindPlanFromCallSite()
159 error) == func.GetByteSize()) { in AugmentUnwindPlanFromCallSite()
163 function_text.data(), func.GetByteSize(), func, unwind_plan, reg_ctx); in AugmentUnwindPlanFromCallSite()
210 if (!func.GetBaseAddress().IsValid()) in FirstNonPrologueInsn()
[all …]
/freebsd-13.1/crypto/heimdal/lib/hx509/
H A Dtest_soft_pkcs11.c38 static CK_FUNCTION_LIST_PTR func; variable
69 ret = (*func->C_FindObjectsFinal)(session); in find_object()
92 ret = C_GetFunctionList(&func); in main()
96 (*func->C_Initialize)(NULL_PTR); in main()
98 ret = (*func->C_GetSlotList)(FALSE, NULL, &num_slots); in main()
115 ret = (*func->C_GetSlotInfo)(slot, &slot_info); in main()
127 ret = (*func->C_GetTokenInfo)(slot, &token_info); in main()
132 ret = (*func->C_Login)(session, CKU_USER, in main()
138 ret = (*func->C_GetTokenInfo)(slot, &token_info); in main()
221 ret = (*func->C_CloseSession)(session); in main()
[all …]
/freebsd-13.1/sys/powerpc/powerpc/
H A Ddb_disasm.c621 func = popcode->func; in disasm_fields()
732 func &= ~Op_D; in disasm_fields()
827 func &= ~Op_A; in disasm_fields()
833 func &= ~Op_S; in disasm_fields()
839 func &= ~Op_C; in disasm_fields()
845 func &= ~Op_B; in disasm_fields()
912 if ((func & Op_SH) && (func & Op_sh_mb_sh)) { in disasm_fields()
917 if ((func & Op_MB) && (func & Op_sh_mb_sh)) { in disasm_fields()
925 if ((func & Op_sh) && ! (func & Op_sh_mb_sh)) { in disasm_fields()
932 if ((func & Op_mb) && ! (func & Op_sh_mb_sh)) { in disasm_fields()
[all …]
/freebsd-13.1/sys/x86/pci/
H A Dpci_early_quirks.c64 intel_stolen_base_gen3(int bus, int slot, int func) in intel_stolen_base_gen3() argument
69 ctrl = pci_cfgregread(bus, slot, func, INTEL_BSM, 4); in intel_stolen_base_gen3()
75 intel_stolen_size_gen3(int bus, int slot, int func) in intel_stolen_size_gen3() argument
115 intel_stolen_size_gen6(int bus, int slot, int func) in intel_stolen_size_gen6() argument
120 ctrl = pci_cfgregread(bus, slot, func, SNB_GMCH_CTRL, 2); in intel_stolen_size_gen6()
126 intel_stolen_size_gen8(int bus, int slot, int func) in intel_stolen_size_gen8() argument
137 intel_stolen_size_chv(int bus, int slot, int func) in intel_stolen_size_chv() argument
159 intel_stolen_size_gen9(int bus, int slot, int func) in intel_stolen_size_gen9() argument
175 vm_paddr_t (*base)(int bus, int slot, int func);
176 vm_paddr_t (*size)(int bus, int slot, int func);
[all …]
H A Dpci_bus.c68 return(pci_cfgregread(bus, slot, func, reg, bytes)); in legacy_pcib_read_config()
77 pci_cfgregwrite(bus, slot, func, reg, data, bytes); in legacy_pcib_write_config()
122 int error, func, slot; in legacy_pcib_map_msi() local
130 func = legacy_get_pcifunc(pcib); in legacy_pcib_map_msi()
131 if (slot == -1 || func == -1) in legacy_pcib_map_msi()
133 hostb = pci_find_bsf(0, slot, func); in legacy_pcib_map_msi()
135 slot, func)); in legacy_pcib_map_msi()
380 int bus, slot, func; in legacy_pcib_identify() local
403 func = 0; in legacy_pcib_identify()
419 for (func = 0; func <= pcifunchigh; func++) { in legacy_pcib_identify()
[all …]
/freebsd-13.1/sys/i386/pci/
H A Dpci_cfgreg.c214 && func <= PCI_FUNCMAX in pci_cfgenable()
224 | (func << 8) | (reg & ~0x03)); in pci_cfgenable()
228 outb(CONF2_ENABLE_PORT, 0xf0 | (func << 1)); in pci_cfgenable()
264 port = pci_cfgenable(bus, slot, func, reg, bytes); in pcireg_cfgread()
520 #define PCIE_PADDR(base, reg, bus, slot, func) \ argument
524 (((func) & 0x7) << 12) | \
534 pa = PCIE_PADDR(pcie_base, reg, bus, slot, func); in pciereg_findaddr()
582 func > PCI_FUNCMAX || reg > PCIE_REGMAX) in pciereg_cfgread()
586 va = pciereg_findaddr(bus, slot, func, reg); in pciereg_cfgread()
614 func > PCI_FUNCMAX || reg > PCIE_REGMAX) in pciereg_cfgwrite()
[all …]
/freebsd-13.1/sbin/ifconfig/
H A Difconfig.h77 #define DEF_CMD(name, param, func) { name, param, { .c_func = func }, 0, NULL } argument
78 #define DEF_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 0, NULL } argument
79 #define DEF_CMD_OPTARG(name, func) { name, OPTARG, { .c_func = func }, 0, NULL } argument
80 #define DEF_CMD_ARG2(name, func) { name, NEXTARG2, { .c_func2 = func }, 0, NULL } argument
81 #define DEF_CLONE_CMD(name, param, func) { name, param, { .c_func = func }, 1, NULL } argument
82 #define DEF_CLONE_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 1, NULL } argument
83 #define DEF_CLONE_CMD_ARG2(name, func) { name, NEXTARG2, { .c_func2 = func }, 1, NULL } argument
/freebsd-13.1/sys/arm/ti/am335x/
H A Dam335x_dmtimer.c68 } func; member
170 if (sc->func.et.et_active) in am335x_dmtimer_et_intr()
171 sc->func.et.et_event_cb(&sc->func.et, sc->func.et.et_arg); in am335x_dmtimer_et_intr()
193 sc->func.et.et_name = sc->tmr_name; in am335x_dmtimer_et_init()
195 sc->func.et.et_quality = 500; in am335x_dmtimer_et_init()
197 sc->func.et.et_min_period = in am335x_dmtimer_et_init()
199 sc->func.et.et_max_period = in am335x_dmtimer_et_init()
203 sc->func.et.et_priv = sc; in am335x_dmtimer_et_init()
206 et_register(&sc->func.et); in am335x_dmtimer_et_init()
241 sc->func.tc.tc_priv = sc; in am335x_dmtimer_tc_init()
[all …]
/freebsd-13.1/tools/regression/sockets/unix_cmsg/
H A Dunix_cmsg.c76 int (*func)(void); member
82 .func = NULL,
86 .func = t_cmsgcred,
102 .func = t_timeval,
106 .func = t_bintime,
115 .func = t_cmsg_len,
120 .func = t_peercred,
142 .func = NULL,
146 .func = t_cmsgcred,
158 .func = t_timeval,
[all …]
/freebsd-13.1/sys/arm/annapurna/alpine/
H A Dalpine_pci.c125 int bus, slot, func, maxfunc; in al_pcib_fixup() local
131 for (func = 0; func <= maxfunc; func++) { in al_pcib_fixup()
132 hdrtype = PCIB_READ_CONFIG(dev, bus, slot, func, in al_pcib_fixup()
138 if (func == 0 && (hdrtype & PCIM_MFDEV) != 0) in al_pcib_fixup()
141 vid = PCIB_READ_CONFIG(dev, bus, slot, func, in al_pcib_fixup()
144 val = PCIB_READ_CONFIG(dev, bus, slot, func, in al_pcib_fixup()
147 PCIB_WRITE_CONFIG(dev, bus, slot, func, in al_pcib_fixup()
150 val = PCIB_READ_CONFIG(dev, bus, slot, func, in al_pcib_fixup()
154 PCIB_WRITE_CONFIG(dev, bus, slot, func, in al_pcib_fixup()

12345678910>>...59