/illumos-gate/usr/src/cmd/getent/ |
H A D | getent.c | 40 int (*func)(const char **); /* function to do the lookup */ member 87 rc = (*p->func)(&argv[2]); in main()
|
/illumos-gate/usr/src/lib/varpd/libvarpd/common/ |
H A D | libvarpd_util.c | 39 libvarpd_dirwalk_f func, void *arg) in libvarpd_dirwalk() argument 79 if (func(vip, filepath, arg) != 0) { in libvarpd_dirwalk()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | bplist.c | 63 bplist_iterate(bplist_t *bpl, bplist_itor_t *func, void *arg, dmu_tx_t *tx) in bplist_iterate() argument 72 func(arg, &bpe->bpe_blk, tx); in bplist_iterate()
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_context.c | 54 mdb_context_create(int (*func)(void)) in mdb_context_create() 62 c->ctx_func = func; in mdb_context_create()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_asp.c | 152 ip6_asp_pending_op(queue_t *q, mblk_t *mp, aspfunc_t func) in ip6_asp_pending_op() argument 160 mp->b_prev = (void *)func; in ip6_asp_pending_op() 180 aspfunc_t func; in ip6_asp_complete_op() local 192 func = (aspfunc_t)mp->b_prev; in ip6_asp_complete_op() 198 (*func)(NULL, q, mp, NULL); in ip6_asp_complete_op()
|
/illumos-gate/usr/src/uts/common/io/sbp2/ |
H A D | cfgrom.c | 300 int (*func)(void *, sbp2_cfgrom_ent_t *, int), void *arg) in sbp2_cfgrom_walk() 303 (void) sbp2_cfgrom_walk_impl(dir, func, arg, 0); in sbp2_cfgrom_walk() 308 int (*func)(void *, sbp2_cfgrom_ent_t *, int), void *arg, int level) in sbp2_cfgrom_walk_impl() 315 if (func(arg, ent, level) == SBP2_WALK_STOP) { in sbp2_cfgrom_walk_impl() 319 if (sbp2_cfgrom_walk_impl(ent, func, arg, level + 1) == in sbp2_cfgrom_walk_impl()
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | callout.c | 36 timeout(void (*func)(void *), void *arg, clock_t delta) in timeout() 49 sev.sigev_notify_function = (sigev_notify_func_t)(uintptr_t)func; in timeout()
|
/illumos-gate/usr/src/lib/libc/amd64/unwind/ |
H A D | thrp_unwind.c | 68 (*head->func)(head->arg); in posix_stop_func() 111 (*head->func)(head->arg); in _thrp_unwind()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_status.c | 138 find_vdev_problem(nvlist_t *vdev, int (*func)(uint64_t, uint64_t, uint64_t)) in find_vdev_problem() 158 if (find_vdev_problem(child[c], func)) in find_vdev_problem() 164 if (func(vs->vs_state, vs->vs_aux, in find_vdev_problem() 177 if (find_vdev_problem(child[c], func)) in find_vdev_problem()
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | phdr.c | 202 conv_iter_cb_t func, void *uvalue) in conv_iter_phdr_type() argument 205 conv_phdr_type_strings(fmt_flags), func, uvalue)); in conv_iter_phdr_type() 287 conv_iter_cb_t func, void *uvalue) in conv_iter_phdr_flags() argument 291 func, uvalue) == CONV_ITER_DONE) in conv_iter_phdr_flags()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_untracked_param.c | 51 void add_untracked_param_hook(void (func)(struct expression *call, int param)) in add_untracked_param_hook() 54 *p = func; in add_untracked_param_hook() 67 void add_lost_param_hook(void (func)(struct expression *call, int param)) in add_lost_param_hook() 70 *p = func; in add_lost_param_hook()
|
/illumos-gate/usr/src/lib/libvmmapi/common/ |
H A D | vmmapi.c | 1232 vm_assign_pptdev(struct vmctx *ctx, int bus, int slot, int func) in vm_assign_pptdev() argument 1239 pptdev.func = func; in vm_assign_pptdev() 1245 vm_unassign_pptdev(struct vmctx *ctx, int bus, int slot, int func) in vm_unassign_pptdev() argument 1252 pptdev.func = func; in vm_unassign_pptdev() 1258 vm_map_pptdev_mmio(struct vmctx *ctx, int bus, int slot, int func, in vm_map_pptdev_mmio() argument 1266 pptmmio.func = func; in vm_map_pptdev_mmio() 1283 pptmmio.func = func; in vm_unmap_pptdev_mmio() 1291 vm_setup_pptdev_msi(struct vmctx *ctx, int bus, int slot, int func, in vm_setup_pptdev_msi() argument 1299 pptmsi.func = func; in vm_setup_pptdev_msi() 1316 pptmsix.func = func; in vm_setup_pptdev_msix() [all …]
|
/illumos-gate/usr/src/lib/fm/libfmd_adm/common/ |
H A D | fmd_adm.c | 297 fmd_adm_module_iter(fmd_adm_t *ap, fmd_adm_module_f *func, void *arg) in fmd_adm_module_iter() argument 340 if (func(&ami, arg) != 0) in fmd_adm_module_iter() 499 fmd_adm_rsrc_iter(fmd_adm_t *ap, int all, fmd_adm_rsrc_f *func, void *arg) in fmd_adm_rsrc_iter() argument 585 rv = func(&ari, arg); in fmd_adm_rsrc_iter() 732 fmd_adm_case_f *func, void *arg) in fmd_adm_case_one() argument 778 return (func(acp, arg)); in fmd_adm_case_one() 876 rv = fmd_adm_case_one(&aci, url_token, func, arg); in fmd_adm_case_iter() 898 fmd_adm_serd_f *func, void *arg) in fmd_adm_serd_iter() argument 973 rv = func(&asi, arg); in fmd_adm_serd_iter() 1008 fmd_adm_xprt_iter(fmd_adm_t *ap, fmd_adm_xprt_f *func, void *arg) in fmd_adm_xprt_iter() argument [all …]
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_nx.h | 865 #define PCIE_CRB_WINDOW_REG(func) (((func) < 4) ? \ argument 866 (PCIX_CRB_WINDOW_F0 + (0x20 * (func))) : \ 867 (PCIX_CRB_WINDOW_F4 + (0x10 * ((func) - 4)))) 878 #define PCIE_MN_WINDOW_REG(func) (((func) < 4) ? \ argument 879 (PCIX_MN_WINDOW_F0 + (0x20 * (func))) : \ 880 (PCIX_MN_WINDOW_F4 + (0x10 * ((func) - 4)))) 891 #define PCIE_SN_WINDOW_REG(func) (((func) < 4) ? \ argument 892 (PCIX_SN_WINDOW_F0 + (0x20 * (func))) : \ 893 (PCIX_SN_WINDOW_F4 + (0x10 * ((func) - 4))))
|
/illumos-gate/usr/src/test/os-tests/tests/i386/ |
H A D | badseg_exec.c | 115 inchild(void (*func)()) in inchild() argument 121 func(); in inchild()
|
/illumos-gate/usr/src/lib/libc/amd64/sys/ |
H A D | getcontext.S | 49 #define GETCONTEXT_IMPL(offset, func) \ argument 51 call func; /* call syscall */ \
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | makectxt.c | 83 makecontext(ucontext_t *ucp, void (*func)(), int argc, ...) in makecontext() argument 90 ucp->uc_mcontext.gregs[EIP] = (greg_t)func; in makecontext()
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_common.h | 60 #define XDR_AND_SIZE(func) (bool_t(*)(XDR*, ...))xdr_##func, sizeof (func) argument
|
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_dispatch.c | 148 __db_add_recovery(dbenv, func, ndx) in __db_add_recovery() argument 150 int (*func) __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 169 dispatch_table[ndx] = func;
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_scsi.c | 109 const char *func, in cfga_private_func() argument 128 if (func == NULL) { in cfga_private_func() 154 ret = invoke_cmd(func, &apidt, &args, flags, errstring); in cfga_private_func()
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_cbufcall.c | 105 crypto_bufcall(crypto_bc_t bc, void (*func)(void *arg), void *arg) in crypto_bufcall() 110 if (cbufp == NULL || func == NULL) { in crypto_bufcall() 123 cbufp->kc_func = func; in crypto_bufcall()
|
/illumos-gate/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_subscribe.c | 172 fmev_shdlctl_thrsetup(fmev_shdl_t hdl, door_xcreate_thrsetup_func_t *func, in fmev_shdlctl_thrsetup() argument 183 sysevent_subattr_thrsetup(ihdl->sh_attr, func, cookie); in fmev_shdlctl_thrsetup() 190 fmev_shdlctl_thrcreate(fmev_shdl_t hdl, door_xcreate_server_func_t *func, in fmev_shdlctl_thrcreate() argument 201 sysevent_subattr_thrcreate(ihdl->sh_attr, func, cookie); in fmev_shdlctl_thrcreate() 244 fmev_shdl_subscribe(fmev_shdl_t hdl, const char *pat, fmev_cbfunc_t func, in fmev_shdl_subscribe() argument 256 if (pat == NULL || func == NULL) in fmev_shdl_subscribe() 293 sip->si_cb = func; in fmev_shdl_subscribe()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_printf.c | 1022 const char *func = idp->di_name; in dt_printf_validate() local 1089 func, j + foff + 1, i + 1, in dt_printf_validate() 1357 dt_pfprint_f *func; in dt_printf_format() local 1487 func = pfprint_average; in dt_printf_format() 1490 func = pfprint_stddev; in dt_printf_format() 1493 func = pfprint_quantize; in dt_printf_format() 1496 func = pfprint_lquantize; in dt_printf_format() 1499 func = pfprint_llquantize; in dt_printf_format() 1502 func = pfprint_mod; in dt_printf_format() 1505 func = pfprint_umod; in dt_printf_format() [all …]
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_fd.c | 38 proc_fdwalk(pid_t pid, proc_fdwalk_f *func, void *arg) in proc_fdwalk() argument 70 ret = func(info, arg); in proc_fdwalk() 83 proc_fdinfowalk(const prfdinfo_t *info, proc_fdinfowalk_f *func, void *arg) in proc_fdinfowalk() argument 105 ret = func(type, misc, size, arg); in proc_fdinfowalk()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_ioport.c | 58 ioport_handler_t func, void *arg, uint16_t flags) in vm_inout_def() argument 67 ent->iope_func = func; in vm_inout_def() 172 ioport_handler_t func, void *arg) in vm_inout_attach() argument 198 new_ents[insert_idx].iope_func = func; in vm_inout_attach()
|