/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fc_ddi.c | 50 int (*funcp)(dev_info_t *, dev_info_t *, ddi_dma_attr_t *, in fc_ddi_dma_alloc_handle() local 53 funcp = DEVI(dip)->devi_ops->devo_bus_ops->bus_dma_allochdl; in fc_ddi_dma_alloc_handle() 54 return ((*funcp)(dip, dip, attr, waitfp, arg, handlep)); in fc_ddi_dma_alloc_handle() 65 int (*funcp)(dev_info_t *, dev_info_t *, ddi_dma_handle_t, in fc_ddi_dma_buf_bind_handle() local 110 funcp = DEVI(dip)->devi_ops->devo_bus_ops->bus_dma_bindhdl; in fc_ddi_dma_buf_bind_handle() 111 return ((*funcp)(dip, dip, handle, &dmareq, cookiep, ccountp)); in fc_ddi_dma_buf_bind_handle() 117 int (*funcp)(dev_info_t *, dev_info_t *, ddi_dma_handle_t); in fc_ddi_dma_unbind_handle() local 123 funcp = DEVI(dip)->devi_ops->devo_bus_ops->bus_dma_unbindhdl; in fc_ddi_dma_unbind_handle() 124 return ((*funcp)(dip, dip, handle)); in fc_ddi_dma_unbind_handle() 130 int (*funcp)(dev_info_t *, dev_info_t *, ddi_dma_handle_t); in fc_ddi_dma_free_handle() local [all …]
|
/illumos-gate/usr/src/cmd/pgrep/ |
H A D | pgrep.c | 278 void (*funcp)(psinfo_t *)) in scan_proc_dir() 323 (*funcp)(&ps); in scan_proc_dir() 332 (*funcp)(&ops); in scan_proc_dir() 595 void (*funcp)(psinfo_t *); in main() local 702 funcp = kill_proc; in main() 704 funcp = print_proc_long; in main() 706 funcp = print_proc; in main() 708 nmatches = scan_proc_dir(g_procdir, dirp, &g_psexp, funcp); in main()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | procset.c | 84 dotoprocs(procset_t *psp, int (*funcp)(), char *arg) in dotoprocs() argument 91 ASSERT(funcp != NULL); in dotoprocs() 150 error = (*funcp)(prp, arg); in dotoprocs() 186 error = (*funcp)(prp, arg); in dotoprocs() 202 error = (*funcp)(lastprp, arg); in dotoprocs() 881 dotolwp(procset_t *psp, int (*funcp)(), char *arg) in dotolwp() argument 924 error = (*funcp)(arg, tp); in dotolwp()
|
H A D | sunddi.c | 700 int (*funcp)(dev_info_t *, dev_info_t *, ddi_dma_attr_t *, in ddi_dma_allochdl() local 706 funcp = DEVI(dip)->devi_ops->devo_bus_ops->bus_dma_allochdl; in ddi_dma_allochdl() 707 return ((*funcp)(dip, rdip, attr, waitfp, arg, handlep)); in ddi_dma_allochdl() 713 int (*funcp)(dev_info_t *, dev_info_t *, ddi_dma_handle_t); in ddi_dma_freehdl() local 718 funcp = DEVI(dip)->devi_ops->devo_bus_ops->bus_dma_freehdl; in ddi_dma_freehdl() 719 return ((*funcp)(dip, rdip, handlep)); in ddi_dma_freehdl() 727 int (*funcp)(dev_info_t *, dev_info_t *, ddi_dma_handle_t, in ddi_dma_bindhdl() local 733 funcp = DEVI(dip)->devi_ops->devo_bus_ops->bus_dma_bindhdl; in ddi_dma_bindhdl() 734 return ((*funcp)(dip, rdip, handle, dmareq, cp, ccountp)); in ddi_dma_bindhdl() 741 int (*funcp)(dev_info_t *, dev_info_t *, ddi_dma_handle_t); in ddi_dma_unbindhdl() local [all …]
|
H A D | clock.c | 406 void (*funcp)(); in clock() local 626 if ((funcp = cmm_clock_callout) != NULL) in clock() 627 (*funcp)(); in clock() 629 if ((funcp = cpucaps_clock_callout) != NULL) in clock() 630 (*funcp)(); in clock()
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | fhc.c | 959 softsp->poll_list[i].funcp = NULL; in fhc_init() 1023 uint_t (*funcp)(caddr_t, caddr_t) = intr_info->funcp; in fhc_intr_wrapper() local 1031 void *, funcp, caddr_t, iarg1, caddr_t, iarg2); in fhc_intr_wrapper() 1033 intr_return = (*funcp)(iarg1, iarg2); in fhc_intr_wrapper() 1036 void *, funcp, caddr_t, iarg1, int, intr_return); in fhc_intr_wrapper() 1071 funcp0 = softsp->poll_list[0].funcp; in fhc_zs_intr_wrapper() 1072 funcp1 = softsp->poll_list[1].funcp; in fhc_zs_intr_wrapper() 1177 if (softsp->poll_list[zs_inst].funcp == NULL) { in fhc_add_intr_impl() 1182 softsp->poll_list[zs_inst].funcp = in fhc_add_intr_impl() 1214 softsp->poll_list[zs_inst].funcp, in fhc_add_intr_impl() [all …]
|
/illumos-gate/usr/src/cmd/pcieadm/ |
H A D | pcieadm.c | 333 pcieadm_cfgspace_f *funcp, void **arg) in pcieadm_init_cfgspace_file() argument 388 *funcp = pcieadm_read_cfgspace_file; in pcieadm_init_cfgspace_file() 472 pcieadm_init_cfgspace_kernel(pcieadm_t *pcip, pcieadm_cfgspace_f *funcp, in pcieadm_init_cfgspace_kernel() argument 522 *funcp = pcieadm_read_cfgspace_kernel; in pcieadm_init_cfgspace_kernel()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | strmdep.h | 53 #define saveaddr(funcp) argument
|
H A D | sunddi.h | 1487 ddi_set_callback(int (*funcp)(caddr_t), caddr_t arg, uintptr_t *listid);
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sd_xbuf.c | 611 ddi_xbuf_flushq(ddi_xbuf_attr_t xap, int (*funcp)(struct buf *)) in ddi_xbuf_flushq() 631 if ((funcp != NULL) && (!(*funcp)(bp))) { in ddi_xbuf_flushq()
|
H A D | sd_xbuf.h | 119 DDII void ddi_xbuf_flushq(ddi_xbuf_attr_t xap, int (*funcp)(struct buf *));
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_switch.c | 748 nss_backend_op_t funcp = NULL; in nss_search() local 850 funcp = NSS_LOOKUP_DBOP(be, search_fnum); in nss_search() 853 if (be == NULL || (params.dnsi < 0 && (funcp == NULL || in nss_search() 863 NSCD_NSW_SRC_NAME(srci), be, smf_state, funcp); in nss_search() 909 res = (*funcp)(be, search_args); in nss_search() 919 res = (*funcp)(be, search_args); in nss_search()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sysiosbus.c | 1579 uint_t (*funcp)() = intr_handler->funcp; in sbus_intr_wrapper() local 1589 void *, funcp, caddr_t, arg1, caddr_t, arg2); in sbus_intr_wrapper() 1591 r = (*funcp)(arg1, arg2); in sbus_intr_wrapper() 1594 void *, funcp, caddr_t, arg1, int, r); in sbus_intr_wrapper() 1698 intr_handler->funcp = hdlp->ih_cb_func; in sbus_add_intr_impl() 1767 DDI_INTR_ASSIGN_HDLR_N_ARGS(hdlp, intr_handler->funcp, in sbus_add_intr_impl()
|
/illumos-gate/usr/src/lib/libpam/ |
H A D | pam_framework.c | 986 void *funcp; in func() local 988 if ((funcp = modulep->function_ptr) == NULL) in func() 993 return (((struct auth_module *)funcp)->pam_sm_authenticate); in func() 995 return (((struct auth_module *)funcp)->pam_sm_setcred); in func() 997 return (((struct account_module *)funcp)->pam_sm_acct_mgmt); in func() 999 return (((struct session_module *)funcp)->pam_sm_open_session); in func() 1001 return (((struct session_module *)funcp)->pam_sm_close_session); in func() 1003 return (((struct password_module *)funcp)->pam_sm_chauthtok); in func()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_fmt.c | 719 mdb_fmt_func_f *funcp; in mdb_fmt_print() local 747 funcp = (mdb_fmt_func_f *)fp->f_ptr; in mdb_fmt_print() 748 addr = funcp(t, as, addr, cnt); in mdb_fmt_print()
|
H A D | mdb_ctf.c | 479 mdb_ctf_func_args(const mdb_ctf_funcinfo_t *funcp, uint_t len, in mdb_ctf_func_args() argument 489 if (funcp == NULL || argv == NULL) in mdb_ctf_func_args() 492 fp = mdb_ctf_type_file(funcp->mtf_return); in mdb_ctf_func_args() 494 if (ctf_func_args(fp, funcp->mtf_symidx, len, cargv) == CTF_ERR) in mdb_ctf_func_args() 497 for (i = MIN(len, funcp->mtf_argc) - 1; i >= 0; i--) { in mdb_ctf_func_args()
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | sysiosbus.h | 349 uint_t (*funcp)(); member
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mem.c | 288 int (*funcp)(); in sbdp_move_memory() local 340 funcp = (int (*)())mempage; in sbdp_move_memory() 342 SBDP_DBG_MEM("copy-rename funcp = 0x%p (len = 0x%x)\n", (void *)funcp, in sbdp_move_memory() 484 cr_err = (*funcp)(cph, mlist, rsp); in sbdp_move_memory()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/ |
H A D | psvcplugin.c | 63 int32_t (*funcp)(void *, char *); member 504 status = (*tp->funcp)(hdlp, (tp->obj_list + obj_num)->name); in lock_and_run() 577 tp->funcp = (int32_t (*)(void *, char *))dlsym(tp->hdl, tp->routine); in load_policy() 578 if (tp->funcp == NULL) { in load_policy()
|
/illumos-gate/usr/src/uts/sparc/ml/ |
H A D | sparc_ddi.S | 209 ! funcp = DEVI(dip)->devi_bus_dma_unbindfunc;
|
/illumos-gate/usr/src/lib/libdlpi/common/ |
H A D | libdlpi.c | 812 dlpi_enabnotify(dlpi_handle_t dh, uint_t notes, dlpi_notifyfunc_t *funcp, in dlpi_enabnotify() argument 832 if (funcp == NULL || id == NULL) in dlpi_enabnotify() 857 newnotifp->dln_fnp = funcp; in dlpi_enabnotify()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nss_common.c | 1179 nss_backend_op_t funcp; in nss_search() local 1183 if ((funcp = NSS_LOOKUP_DBOP(be, search_fnum)) != 0) { in nss_search() 1217 res = (*funcp)(be, search_args); in nss_search()
|
/illumos-gate/usr/src/uts/sun4u/sunfire/sys/ |
H A D | fhc.h | 867 uint_t (*funcp)(caddr_t, caddr_t); member
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_scan.c | 724 pool_scan_func_t *funcp = arg; in dsl_scan_setup_sync() local 730 ASSERT(*funcp > POOL_SCAN_NONE && *funcp < POOL_SCAN_FUNCS); in dsl_scan_setup_sync() 732 scn->scn_phys.scn_func = *funcp; in dsl_scan_setup_sync() 794 *funcp, scn->scn_phys.scn_min_txg, scn->scn_phys.scn_max_txg); in dsl_scan_setup_sync()
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 10432 int (*funcp)(dladm_handle_t, datalink_id_t, void *); in do_show_overlay() local 10441 funcp = show_one_overlay; in do_show_overlay() 10450 funcp = show_one_overlay_fma; in do_show_overlay() 10461 funcp = show_one_overlay_table; in do_show_overlay() 10486 (void) funcp(handle, linkid, &req); in do_show_overlay() 10489 (void) dladm_walk_datalink_id(funcp, handle, &req, in do_show_overlay()
|