/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_door.c | 601 ipmgmt_if_cbarg_t cbarg; in ipmgmt_resetif_handler() local 605 cbarg.cb_family = rargp->ia_family; in ipmgmt_resetif_handler() 606 cbarg.cb_ifname = rargp->ia_ifname; in ipmgmt_resetif_handler() 608 cbarg.cb_ipv4exists = B_TRUE; in ipmgmt_resetif_handler() 609 cbarg.cb_ipv6exists = B_TRUE; in ipmgmt_resetif_handler() 612 err = ipmgmt_db_walk(ipmgmt_db_resetif, &cbarg, in ipmgmt_resetif_handler() 636 ipmgmt_resetaddr_cbarg_t cbarg; in ipmgmt_resetaddr_handler() local 638 cbarg.cb_aobjname = rargp->ia_aobjname; in ipmgmt_resetaddr_handler() 641 err = ipmgmt_db_walk(ipmgmt_db_resetaddr, &cbarg, in ipmgmt_resetaddr_handler() 724 ipmgmt_initif_cbarg_t cbarg; in ipmgmt_initif_handler() local [all …]
|
H A D | ipmgmt_persist.c | 487 ipmgmt_get_cbarg_t *cbarg = arg; in ipmgmt_db_getaddr() local 510 if (cbarg->cb_aobjname[0] != '\0') { in ipmgmt_db_getaddr() 511 if (strcmp(cbarg->cb_aobjname, db_aobjname) == 0) in ipmgmt_db_getaddr() 513 } else if (cbarg->cb_ifname[0] != '\0') { in ipmgmt_db_getaddr() 514 if (strcmp(cbarg->cb_ifname, db_ifname) == 0) in ipmgmt_db_getaddr() 522 cbarg->cb_ocnt); in ipmgmt_db_getaddr() 523 *errp = nvlist_add_nvlist(cbarg->cb_onvl, name, db_nvl); in ipmgmt_db_getaddr() 525 cbarg->cb_ocnt++; in ipmgmt_db_getaddr() 810 ipmgmt_get_cbarg_t *cbarg = arg; in ipmgmt_db_getif() local 811 char *ifname = cbarg->cb_ifname; in ipmgmt_db_getif() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncp.c | 236 struct priority_group_cbarg *cbarg = data; in find_next_priority_group_cb() local 246 if (priority >= cbarg->minpriority && priority < cbarg->currpriority) { in find_next_priority_group_cb() 247 cbarg->found = B_TRUE; in find_next_priority_group_cb() 248 cbarg->currpriority = priority; in find_next_priority_group_cb() 258 struct priority_group_cbarg cbarg; in nwamd_ncp_find_next_priority_group() local 260 cbarg.minpriority = minpriority; in nwamd_ncp_find_next_priority_group() 261 cbarg.currpriority = MAXINT; in nwamd_ncp_find_next_priority_group() 262 cbarg.found = B_FALSE; in nwamd_ncp_find_next_priority_group() 265 find_next_priority_group_cb, &cbarg); in nwamd_ncp_find_next_priority_group() 267 if (cbarg.found) { in nwamd_ncp_find_next_priority_group() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | gcore.c | 583 getwatchprot_cbarg_t *cbarg = arg; in gcore_getwatchprot_cb() local 585 if (mdb_ctf_vread(&cbarg->wp, "struct watched_page", in gcore_getwatchprot_cb() 590 if (cbarg->wp.wp_vaddr == cbarg->wp_vaddr) { in gcore_getwatchprot_cb() 591 cbarg->found = B_TRUE; in gcore_getwatchprot_cb() 601 getwatchprot_cbarg_t cbarg; in gcore_getwatchprot() local 604 cbarg.wp_vaddr = (uintptr_t)addr & (uintptr_t)PAGEMASK; in gcore_getwatchprot() 605 cbarg.found = B_FALSE; in gcore_getwatchprot() 608 (void) avl_walk_mdb(wp_addr, gcore_getwatchprot_cb, &cbarg); in gcore_getwatchprot() 610 if (cbarg.found) { in gcore_getwatchprot() 611 *prot = cbarg.wp.wp_oprot; in gcore_getwatchprot() [all …]
|
H A D | sobj.c | 118 void *cbarg) in sobj_type_walk() argument 125 cbarg); in sobj_type_walk()
|
H A D | findstack.c | 384 stacks_thread_cb(uintptr_t addr, const void *ignored, void *cbarg) in stacks_thread_cb() argument 386 stacks_info_t *sip = cbarg; in stacks_thread_cb()
|
H A D | thread.c | 361 thread_walk_states(void (*cbfunc)(uint_t, const char *, void *), void *cbarg) in thread_walk_states() argument 367 cbfunc(tsp->ts_state, tsp->ts_name, cbarg); in thread_walk_states()
|
/illumos-gate/usr/src/common/hexdump/ |
H A D | hexdump.c | 254 hexdump_output(hexdump_param_t *hdp, bool hdr, hexdump_cb_f cb, void *cbarg) in hexdump_output() argument 262 ret = cb(cbarg, hdr ? UINT64_MAX : hdp->hdp_bufaddr + hdp->hdp_offset, in hexdump_output() 291 hexdump_cb_f cb, void *cbarg) in hexdumph() argument 379 if ((ret = hexdump_output(&hdp, true, cb, cbarg)) != 0) in hexdumph() 403 if ((ret = hexdump_output(&hdp, false, cb, cbarg)) != 0) in hexdumph() 452 void *cbarg) in hexdump() argument 454 return (hexdumph(NULL, data, len, flags, cb, cbarg)); in hexdump()
|
/illumos-gate/usr/src/test/os-tests/tests/libtopo/ |
H A D | digraph-test.c | 125 struct cb_arg *cbarg = arg; in test_paths_cb() local 128 cbarg->vertices[idx] = vtx; in test_paths_cb() 137 struct cb_arg cbarg = { 0 }; in test_paths() local 142 cbarg.vertices = vertices; in test_paths() 143 if (topo_vertex_iter(thp, tdg, test_paths_cb, &cbarg) != 0) { in test_paths()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_digraph_xml.c | 810 struct edge_cb_arg *cbarg = arg; in edge_cb() local 829 if (strcmp(fmristr, cbarg->from_fmri) == 0) in edge_cb() 830 cbarg->from_vtx = vtx; in edge_cb() 831 else if (strcmp(fmristr, cbarg->to_fmri) == 0) in edge_cb() 832 cbarg->to_vtx = vtx; in edge_cb() 835 if (cbarg->from_vtx != NULL && cbarg->to_vtx != NULL) in edge_cb() 848 struct edge_cb_arg cbarg = { 0 }; in deserialize_edges() local 859 cbarg.from_fmri = (char *)from_fmri; in deserialize_edges() 860 cbarg.to_fmri = (char *)fmri; in deserialize_edges() 862 if (topo_vertex_iter(mod->tm_hdl, tdg, edge_cb, &cbarg) != 0) { in deserialize_edges() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip2mac.c | 146 ncec_add_cb(ncec_t *ncec, ip2mac_callback_t *cb, void *cbarg) in ncec_add_cb() argument 155 nce_cb->ncec_cb_arg = cbarg; in ncec_add_cb() 177 ip2mac(uint_t op, ip2mac_t *ip2m, ip2mac_callback_t *cb, void *cbarg, in ip2mac() argument 302 ip2mid = ncec_add_cb(ncec, cb, cbarg); in ip2mac()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | dsl_prop.h | 74 dsl_prop_changed_cb_t *callback, void *cbarg); 75 void dsl_prop_unregister_all(struct dsl_dataset *ds, void *cbarg);
|
/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/ |
H A D | fmevt_inbound.c | 492 uint32_t cbarg = (uint32_t)arg; in fmevt_cb() local 501 if (cbarg & ~CBF_ALL) in fmevt_cb() 505 user = (cbarg & CBF_USER) != 0; in fmevt_cb() 506 priv = (cbarg & CBF_PRIV) != 0; in fmevt_cb() 507 pri = (cbarg & CBF_HV ? FMEV_HIPRI : FMEV_LOPRI); in fmevt_cb()
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdloverlay.c | 874 overlay_walk_cb_t cbarg; in dladm_overlay_walk_cache() local 890 cbarg.owc_handle = handle; in dladm_overlay_walk_cache() 891 cbarg.owc_linkid = linkid; in dladm_overlay_walk_cache() 892 cbarg.owc_arg = arg; in dladm_overlay_walk_cache() 893 cbarg.owc_func = func; in dladm_overlay_walk_cache() 894 cbarg.owc_dest = dest; in dladm_overlay_walk_cache() 895 cbarg.owc_mode = mode; in dladm_overlay_walk_cache() 897 dladm_overlay_walk_cache_cb, &cbarg); in dladm_overlay_walk_cache()
|
/illumos-gate/usr/src/uts/common/sys/dktp/ |
H A D | tgdk.h | 111 #define TGDK_INIT_X(X, devp, flcobjp, queobjp, bbhobjp, lkarg, cbfunc, cbarg) \ argument 114 (queobjp), (bbhobjp), (lkarg), (cbfunc), (cbarg))
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_linkerset.c | 351 linkerset_walk_cb(uintptr_t addr, const void *data, void *cbarg) in linkerset_walk_cb() argument 358 linkersets_walk_cb(uintptr_t addr, const void *data, void *cbarg) in linkersets_walk_cb() argument
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_prop.c | 279 dsl_prop_changed_cb_t *callback, void *cbarg) in dsl_prop_register() argument 297 cbr->cbr_arg = cbarg; in dsl_prop_register() 440 dsl_prop_unregister_all(dsl_dataset_t *ds, void *cbarg) in dsl_prop_unregister_all() argument 451 if (cbr->cbr_arg == cbarg) { in dsl_prop_unregister_all()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vlds.c | 1684 ds_cb_arg_t cbarg; in vlds_recv_msg() local 1688 if ((rv = ds_hdl_get_cbarg(hdl, &cbarg)) != 0) { in vlds_recv_msg() 1693 ds_cbarg_get_flags(cbarg, &flags); in vlds_recv_msg() 1698 ds_cbarg_get_drv_per_svc_ptr(cbarg, &dpsp); in vlds_recv_msg()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ddi_impldefs.h | 88 void *cbarg, void *arg1, void *arg2);
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_common.c | 3184 ce_lkychk_cb(ce_lkychk_cb_t *cbarg) in ce_lkychk_cb() argument 3186 struct async_flt *aflt = cbarg->lkycb_aflt; in ce_lkychk_cb() 3207 errorq_commit(cbarg->lkycb_eqp, cbarg->lkycb_eqep, ERRORQ_ASYNC); in ce_lkychk_cb() 3208 kmem_free(cbarg, sizeof (ce_lkychk_cb_t)); in ce_lkychk_cb()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_scsa.c | 992 caddr_t cbarg) in pmcs_scsa_setup_pkt() argument 994 _NOTE(ARGUNUSED(callback, cbarg)); in pmcs_scsa_setup_pkt()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon.c | 4384 hermon_intr_cb_handler(dev_info_t *dip, ddi_cb_action_t action, void *cbarg, in hermon_intr_cb_handler() argument 4391 (uint32_t)(uintptr_t)cbarg); in hermon_intr_cb_handler()
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_main.c | 2048 ixgbe_cbfunc(dev_info_t *dip, ddi_cb_action_t cbaction, void *cbarg, in ixgbe_cbfunc() argument 2058 count = (int)(uintptr_t)cbarg; in ixgbe_cbfunc()
|