| /f-stack/freebsd/sys/ |
| H A D | sdt.h | 91 #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 …]
|
| H A D | kernel.h | 223 sysinit_cfunc_t func; /* function */ member 241 sysinit_cfunc_t func; member 251 (x->func)(x->data); in sysinit_tslog_shim() 254 #define C_SYSINIT(uniquifier, subsystem, order, func, ident) \ argument 256 func, \ 268 #define C_SYSINIT(uniquifier, subsystem, order, func, ident) \ argument 272 func, \ 278 #define SYSINIT(uniquifier, subsystem, order, func, ident) \ argument 280 (sysinit_cfunc_t)(sysinit_nfunc_t)func, (void *)(ident)) 289 func, \ [all …]
|
| H A D | pmckern.h | 102 #define PMC_SOFT_DEFINE_EX(prov, mod, func, name, alloc, release) \ argument 103 struct pmc_soft pmc_##prov##_##mod##_##func##_##name = \ 104 { 0, alloc, release, { #prov "_" #mod "_" #func "." #name, 0 } }; \ 105 SYSINIT(pmc_##prov##_##mod##_##func##_##name##_init, SI_SUB_KDTRACE, \ 107 &pmc_##prov##_##mod##_##func##_##name ); \ 108 SYSUNINIT(pmc_##prov##_##mod##_##func##_##name##_uninit, \ 110 &pmc_##prov##_##mod##_##func##_##name ) 112 #define PMC_SOFT_DEFINE(prov, mod, func, name) \ argument 113 PMC_SOFT_DEFINE_EX(prov, mod, func, name, NULL, NULL) 115 #define PMC_SOFT_DECLARE(prov, mod, func, name) \ argument [all …]
|
| /f-stack/freebsd/amd64/pci/ |
| H A D | pci_cfgreg.c | 128 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 …]
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | prof_active.c | 10 "%s():%d: Unexpected mallctl failure reading %s", func, line, name); in mallctl_bool_get() 11 assert_b_eq(old, expected, "%s():%d: Unexpected %s value", func, line, in mallctl_bool_get() 17 const char *func, int line) { in mallctl_bool_set() argument 24 "%s():%d: Unexpected mallctl failure reading/writing %s", func, in mallctl_bool_set() 40 bool prof_active_new, const char *func, int line) { in mallctl_prof_active_set_impl() argument 42 prof_active_new, func, line); in mallctl_prof_active_set_impl() 49 const char *func, int line) { in mallctl_thread_prof_active_get_impl() argument 51 func, line); in mallctl_thread_prof_active_get_impl() 58 bool thread_prof_active_new, const char *func, int line) { in mallctl_thread_prof_active_set_impl() argument 60 thread_prof_active_new, func, line); in mallctl_thread_prof_active_set_impl() [all …]
|
| /f-stack/freebsd/x86/pci/ |
| H A D | pci_early_quirks.c | 64 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 D | pci_bus.c | 68 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 …]
|
| /f-stack/freebsd/i386/pci/ |
| H A D | pci_cfgreg.c | 214 && 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 …]
|
| /f-stack/tools/ifconfig/ |
| H A D | ifconfig.h | 88 #define DEF_CMD(name, param, func) { name, param, { .c_func = func }, 0, NULL } argument 89 #define DEF_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 0, NULL } argument 90 #define DEF_CMD_OPTARG(name, func) { name, OPTARG, { .c_func = func }, 0, NULL } argument 91 #define DEF_CMD_ARG2(name, func) { name, NEXTARG2, { .c_func2 = func }, 0, NULL } argument 92 #define DEF_CLONE_CMD(name, param, func) { name, param, { .c_func = func }, 1, NULL } argument 93 #define DEF_CLONE_CMD_ARG(name, func) { name, NEXTARG, { .c_func = func }, 1, NULL } argument 94 #define DEF_CLONE_CMD_ARG2(name, func) { name, NEXTARG2, { .c_func2 = func }, 1, NULL } argument
|
| /f-stack/freebsd/amd64/vmm/ |
| H A D | x86.c | 105 func = (uint32_t)*rax; in x86_emulate_cpuid() 115 if (func > cpu_exthigh) in x86_emulate_cpuid() 116 func = cpu_exthigh; in x86_emulate_cpuid() 118 if (func > CPUID_VM_HIGH) in x86_emulate_cpuid() 119 func = CPUID_VM_HIGH; in x86_emulate_cpuid() 120 } else if (func > cpu_high) { in x86_emulate_cpuid() 121 func = cpu_high; in x86_emulate_cpuid() 129 switch (func) { in x86_emulate_cpuid() 260 func = 1; /* data cache */ in x86_emulate_cpuid() 275 func = 0; in x86_emulate_cpuid() [all …]
|
| /f-stack/freebsd/arm/annapurna/alpine/ |
| H A D | alpine_pci.c | 125 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()
|
| /f-stack/freebsd/arm/ti/am335x/ |
| H A D | am335x_dmtimer.c | 68 } 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 …]
|
| /f-stack/dpdk/drivers/net/fm10k/base/ |
| H A D | fm10k_pf.h | 118 #define FM10K_PF_MSG_LPORT_MAP_HANDLER(func) \ argument 120 fm10k_lport_map_msg_attr, func) 122 #define FM10K_PF_MSG_UPDATE_PVID_HANDLER(func) \ argument 124 fm10k_update_pvid_msg_attr, func) 128 #define FM10K_PF_MSG_ERR_HANDLER(msg, func) \ argument 132 #define FM10K_PF_MSG_1588_TIMESTAMP_HANDLER(func) \ argument 134 fm10k_1588_timestamp_msg_attr, func) 139 #define FM10K_PF_MSG_1588_CLOCK_OWNER_HANDLER(func) \ argument 141 fm10k_1588_clock_owner_attr, func) 144 #define FM10K_PF_MSG_MASTER_CLK_OFFSET_HANDLER(func) \ argument [all …]
|
| H A D | fm10k_vf.h | 42 #define FM10K_VF_MSG_MSIX_HANDLER(func) \ argument 43 FM10K_MSG_HANDLER(FM10K_VF_MSG_ID_MSIX, NULL, func) 47 #define FM10K_VF_MSG_MAC_VLAN_HANDLER(func) \ argument 49 fm10k_mac_vlan_msg_attr, func) 54 #define FM10K_VF_MSG_LPORT_STATE_HANDLER(func) \ argument 56 fm10k_lport_state_msg_attr, func) 59 #define FM10K_VF_MSG_1588_HANDLER(func) \ argument 60 FM10K_MSG_HANDLER(FM10K_VF_MSG_ID_1588, fm10k_1588_msg_attr, func)
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | thread.h | 47 #define thread_create_named(name, stk, stksize, func, arg, len, \ argument 49 __thread_create(stk, stksize, (thread_func_t)func, \ 53 #define thread_create(stk, stksize, func, arg, len, pp, state, pri) \ argument 54 __thread_create(stk, stksize, (thread_func_t)func, \ 55 #func, arg, len, pp, state, pri) 65 thread_func_t func, const char *name, void *args, size_t len, proc_t *pp, 68 extern struct task_struct *spl_kthread_create(int (*func)(void *),
|
| /f-stack/freebsd/amd64/vmm/io/ |
| H A D | ppt.h | 35 int ppt_map_mmio(struct vm *vm, int bus, int slot, int func, 37 int ppt_setup_msi(struct vm *vm, int vcpu, int bus, int slot, int func, 39 int ppt_setup_msix(struct vm *vm, int vcpu, int bus, int slot, int func, 41 int ppt_disable_msix(struct vm *vm, int bus, int slot, int func); 55 int ppt_assign_device(struct vm *vm, int bus, int slot, int func); 56 int ppt_unassign_device(struct vm *vm, int bus, int slot, int func);
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | ar71xx_pci.c | 185 ar71xx_pci_make_addr(int bus, int slot, int func, int reg) in ar71xx_pci_make_addr() argument 188 return ((1 << slot) | (func << 8) | (reg & ~3)); in ar71xx_pci_make_addr() 190 return ((bus << 16) | (slot << 11) | (func << 8) in ar71xx_pci_make_addr() 208 bus, slot, func, reg, bytes, addr, cmd); in ar71xx_pci_conf_setup() 232 func, reg, bytes); in ar71xx_pci_read_config() 235 if (ar71xx_pci_conf_setup(bus, slot, func, reg, bytes, in ar71xx_pci_read_config() 272 func, reg, bytes); in ar71xx_pci_write_config() 276 if (ar71xx_pci_conf_setup(bus, slot, func, reg, bytes, in ar71xx_pci_write_config() 347 bus, slot, func); in ar71xx_pci_slot_fixup() 352 bus, slot, func); in ar71xx_pci_slot_fixup() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-thread.c | 48 void (*func)(void *); in thread_generic_wrapper() local 52 func = tp->tp_func; in thread_generic_wrapper() 59 if (func) in thread_generic_wrapper() 60 func(args); in thread_generic_wrapper() 80 __thread_create(caddr_t stk, size_t stksize, thread_func_t func, in __thread_create() argument 114 tp->tp_func = func; in __thread_create() 136 spl_kthread_create(int (*func)(void *), void *data, const char namefmt[], ...) in spl_kthread_create() 146 tsk = kthread_create(func, data, "%s", name); in spl_kthread_create()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_iter.c | 55 int err = func(clone, data); in zfs_iter_clones() 130 if ((ret = func(nzhp, data)) != 0) { in zfs_iter_filesystems() 244 if ((err = func(nzhp, data)) != 0) in zfs_iter_bookmarks() 384 zfs_iter_f func, void *arg) in zfs_iter_snapspec() argument 397 ssa.ssa_func = func; in zfs_iter_snapspec() 442 err = func(snap_zhp, arg); in zfs_iter_snapspec() 480 zfs_iter_f func; member 535 err = ida->func(zhp, ida->data); in iter_dependents_cb() 544 zfs_iter_f func, void *data) in zfs_iter_dependents() argument 549 ida.func = func; in zfs_iter_dependents() [all …]
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | ldo.c | 135 ci->func = (ci->func - oldstack) + L->stack; in correctstack() 249 luaG_typeerror(L, func, "call"); in tryfuncTM() 255 return func; in tryfuncTM() 269 func = tryfuncTM(L, func); /* check the `function' tag method */ in luaD_precall() 270 funcr = savestack(L, func); in luaD_precall() 271 cl = &clvalue(func)->l; in luaD_precall() 278 func = restorestack(L, funcr); in luaD_precall() 280 base = func + 1; in luaD_precall() 290 ci->func = func; in luaD_precall() 312 ci->func = restorestack(L, funcr); in luaD_precall() [all …]
|
| /f-stack/freebsd/net/ |
| H A D | bpf_jitter.c | 84 filter->func = bpf_jit_accept_all; in bpf_jitter() 89 if ((filter->func = bpf_jit_compile(fp, nins, &filter->size)) == NULL) { in bpf_jitter() 106 if (filter->func != bpf_jit_accept_all) in bpf_destroy_jit_filter() 107 free(filter->func, M_BPFJIT); in bpf_destroy_jit_filter() 110 if (filter->func != bpf_jit_accept_all) in bpf_destroy_jit_filter() 111 munmap(filter->func, filter->size); in bpf_destroy_jit_filter()
|
| H A D | vnet.h | 325 sysinit_cfunc_t func; member 330 #define VNET_SYSINIT(ident, subsystem, order, func, arg) \ argument 336 (sysinit_cfunc_t)(sysinit_nfunc_t)func, \ 344 #define VNET_SYSUNINIT(ident, subsystem, order, func, arg) \ argument 350 (sysinit_cfunc_t)(sysinit_nfunc_t)func, \ 381 (tag) = vimage_eventhandler_register(NULL, #name, func, \ 389 vimage_eventhandler_register(NULL, #name, func, \ 442 #define VNET_SYSINIT(ident, subsystem, order, func, arg) \ argument 443 SYSINIT(ident, subsystem, order, func, arg) 445 SYSUNINIT(ident, subsystem, order, func, arg) [all …]
|
| /f-stack/freebsd/arm/mv/ |
| H A D | mv_pci.c | 751 bus, slot, func, reg, bar, addr); in mv_pcib_init_bar() 809 int slot, func, maxfunc, error; in mv_pcib_init() local 814 for (func = 0; func <= maxfunc; func++) { in mv_pcib_init() 816 func, PCIR_HDRTYPE, 1); in mv_pcib_init() 821 if (func == 0 && (hdrtype & PCIM_MFDEV)) in mv_pcib_init() 825 func, PCIR_COMMAND, 1); in mv_pcib_init() 843 func, PCIR_CLASS, 1); in mv_pcib_init() 845 func, PCIR_SUBCLASS, 1); in mv_pcib_init() 851 mv_pcib_init_bridge(sc, bus, slot, func); in mv_pcib_init() 863 int func, int hdrtype) in mv_pcib_init_all_bars() argument [all …]
|
| /f-stack/freebsd/contrib/device-tree/src/powerpc/fsl/ |
| H A D | mpc8641_hpcn_36b.dts | 134 /* IDSEL 0x11 func 0 - PCI slot 1 */ 140 /* IDSEL 0x11 func 1 - PCI slot 1 */ 146 /* IDSEL 0x11 func 2 - PCI slot 1 */ 152 /* IDSEL 0x11 func 3 - PCI slot 1 */ 158 /* IDSEL 0x11 func 4 - PCI slot 1 */ 164 /* IDSEL 0x11 func 5 - PCI slot 1 */ 170 /* IDSEL 0x11 func 6 - PCI slot 1 */ 176 /* IDSEL 0x11 func 7 - PCI slot 1 */ 182 /* IDSEL 0x12 func 0 - PCI slot 2 */ 188 /* IDSEL 0x12 func 1 - PCI slot 2 */ [all …]
|
| /f-stack/dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_port_db.c | 126 struct ulp_func_if_info *func; in ulp_port_db_dev_port_intf_update() local 155 if (!func->func_valid) { in ulp_port_db_dev_port_intf_update() 159 func->func_parif = in ulp_port_db_dev_port_intf_update() 161 func->func_vnic = in ulp_port_db_dev_port_intf_update() 164 func->func_valid = true; in ulp_port_db_dev_port_intf_update() 165 func->ifindex = ifindex; in ulp_port_db_dev_port_intf_update() 173 func->func_svif = in ulp_port_db_dev_port_intf_update() 175 func->func_spif = in ulp_port_db_dev_port_intf_update() 177 func->func_parif = in ulp_port_db_dev_port_intf_update() 179 func->func_vnic = in ulp_port_db_dev_port_intf_update() [all …]
|