/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj_lm.c | 88 _kobj_printf(ops, "module %s: ", mp->filename); in kobj_lm_dump() 89 _kobj_printf(ops, "text at [0x%p, ", mp->text); in kobj_lm_dump() 90 _kobj_printf(ops, "0x%lx] ", (uintptr_t)mp->text + in kobj_lm_dump() 92 _kobj_printf(ops, "data at 0x%p\n", mp->data); in kobj_lm_dump()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb2_sign.c | 219 smb_mac_ops_t *ops; in smb2_compute_MAC() local 226 if ((ops = vcp->vc_sign_ops) == NULL) in smb2_compute_MAC() 229 rc = ops->mac_init(&ctx, &vcp->vc_signmech, in smb2_compute_MAC() 244 rc = ops->mac_update(ctx, tmp_hdr, size); in smb2_compute_MAC() 253 rc = ops->mac_update(ctx, m->b_rptr + SMB2_HDRLEN, size); in smb2_compute_MAC() 262 rc = ops->mac_update(ctx, m->b_rptr, size); in smb2_compute_MAC() 268 rc = ops->mac_final(ctx, signature); in smb2_compute_MAC()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci_usba.c | 1892 usba_hcdi_ops_t *ops; in xhci_hcd_init() local 1894 ops = usba_alloc_hcdi_ops(); in xhci_hcd_init() 1895 VERIFY(ops != NULL); in xhci_hcd_init() 1898 ops->usba_hcdi_dip = xhcip->xhci_dip; in xhci_hcd_init() 1904 ops->usba_hcdi_pipe_reset_data_toggle = in xhci_hcd_init() 1910 ops->usba_hcdi_pipe_stop_intr_polling = in xhci_hcd_init() 1913 ops->usba_hcdi_pipe_stop_isoc_polling = in xhci_hcd_init() 1915 ops->usba_hcdi_get_current_frame_number = in xhci_hcd_init() 1937 hreg.usba_hcdi_register_ops = ops; in xhci_hcd_init() 1951 usba_free_hcdi_ops(ops); in xhci_hcd_init() [all …]
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_transceiver.c | 147 if (hw->phy.ops.read_i2c_eeprom == NULL) in ixgbe_transceiver_is_8472() 150 ret = hw->phy.ops.read_i2c_eeprom(hw, IXGBE_SFF_SFF_8472_COMP, &rev); in ixgbe_transceiver_is_8472() 154 ret = hw->phy.ops.read_i2c_eeprom(hw, IXGBE_SFF_SFF_8472_SWAP, &swap); in ixgbe_transceiver_is_8472() 200 (void) hw->phy.ops.identify_sfp(hw); in ixgbe_transceiver_info() 252 if (hw->phy.ops.read_i2c_eeprom == NULL) { in ixgbe_transceiver_read() 271 ret = hw->phy.ops.read_i2c_eeprom(hw, offset, buf); in ixgbe_transceiver_read() 273 ret = hw->phy.ops.read_i2c_sff8472(hw, offset, buf); in ixgbe_transceiver_read()
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | ch_subr.c | 835 phy->ops->advertise(phy, lc->advertising); in t1_link_start() 841 mac->ops->set_speed_duplex_fc(mac, lc->speed, in t1_link_start() 846 phy->ops->reset(phy, 0); in t1_link_start() 855 phy->ops->reset(phy, 0); in t1_link_start() 882 phy_cause = phy->ops->interrupt_handler(phy); in elmer0_ext_intr_handler() 891 phy_cause = phy->ops->interrupt_handler(phy); in elmer0_ext_intr_handler() 930 mac->ops->interrupt_handler(mac); in elmer0_ext_intr_handler() 946 mac->ops->interrupt_handler(mac); in elmer0_ext_intr_handler() 1309 mac->ops->destroy(mac); in t1_free_sw_modules() 1311 phy->ops->destroy(phy); in t1_free_sw_modules() [all …]
|
/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | cxx_util.c | 38 name_init(name_t *n, sysdem_ops_t *ops) in name_init() argument 41 n->nm_ops = (ops != NULL) ? ops : sysdem_ops_default; in name_init() 76 sysdem_ops_t *ops = sp->strp_l.str_ops; in name_clear() local 79 (void) str_pair_init(sp, ops); in name_clear() 347 sub_init(sub_t *sub, sysdem_ops_t *ops) in sub_init() argument 350 sub->sub_ops = (ops != NULL) ? ops : sysdem_ops_default; in sub_init() 505 templ_init(templ_t *tpl, sysdem_ops_t *ops) in templ_init() argument 508 tpl->tpl_ops = ops; in templ_init() 521 sysdem_ops_t *ops = tpl->tpl_ops; in templ_fini() local 523 tpl->tpl_ops = ops; in templ_fini()
|
/illumos-gate/usr/src/uts/common/io/igc/core/ |
H A D | igc_base.c | 27 return hw->mac.ops.acquire_swfw_sync(hw, mask); in igc_acquire_phy_base() 45 hw->mac.ops.release_swfw_sync(hw, mask); in igc_release_phy_base() 76 ret_val = mac->ops.setup_link(hw); in igc_init_hw_base() 99 if (!(phy->ops.check_reset_block)) in igc_power_down_phy_copper_base() 103 if (phy->ops.check_reset_block(hw)) in igc_power_down_phy_copper_base()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | auth_sys.c | 366 static struct auth_ops ops; in authsys_ops() local 372 if (ops.ah_nextverf == NULL) { in authsys_ops() 373 ops.ah_nextverf = authsys_nextverf; in authsys_ops() 374 ops.ah_marshal = authsys_marshal; in authsys_ops() 375 ops.ah_validate = authsys_validate; in authsys_ops() 376 ops.ah_refresh = authsys_refresh; in authsys_ops() 377 ops.ah_destroy = authsys_destroy; in authsys_ops() 380 return (&ops); in authsys_ops()
|
H A D | clnt_door.c | 441 static struct clnt_ops ops; in clnt_door_ops() local 445 if (ops.cl_call == NULL) { in clnt_door_ops() 446 ops.cl_call = clnt_door_call; in clnt_door_ops() 447 ops.cl_send = clnt_door_send; in clnt_door_ops() 448 ops.cl_abort = clnt_door_abort; in clnt_door_ops() 449 ops.cl_geterr = clnt_door_geterr; in clnt_door_ops() 450 ops.cl_freeres = clnt_door_freeres; in clnt_door_ops() 451 ops.cl_destroy = clnt_door_destroy; in clnt_door_ops() 452 ops.cl_control = clnt_door_control; in clnt_door_ops() 455 return (&ops); in clnt_door_ops()
|
H A D | auth_des.c | 458 static struct auth_ops ops; in authdes_ops() local 464 if (ops.ah_nextverf == NULL) { in authdes_ops() 465 ops.ah_nextverf = authdes_nextverf; in authdes_ops() 466 ops.ah_marshal = authdes_marshal; in authdes_ops() 467 ops.ah_validate = authdes_validate; in authdes_ops() 468 ops.ah_refresh = authdes_refresh; in authdes_ops() 469 ops.ah_destroy = authdes_destroy; in authdes_ops() 472 return (&ops); in authdes_ops()
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | auth_des.c | 451 static struct auth_ops ops; in authdes_ops() local 454 if (ops.ah_nextverf == NULL) { in authdes_ops() 455 ops.ah_nextverf = authdes_nextverf; in authdes_ops() 456 ops.ah_marshal = authdes_marshal; in authdes_ops() 457 ops.ah_validate = authdes_validate; in authdes_ops() 458 ops.ah_refresh = authdes_refresh; in authdes_ops() 459 ops.ah_destroy = authdes_destroy; in authdes_ops() 460 ops.ah_wrap = authany_wrap; in authdes_ops() 461 ops.ah_unwrap = authany_unwrap; in authdes_ops() 464 return (&ops); in authdes_ops()
|
/illumos-gate/usr/src/lib/libcustr/common/ |
H A D | custr.c | 269 custr_alloc_init(custr_alloc_t *cua, const custr_alloc_ops_t *ops, ...) in custr_alloc_init() argument 273 if (cua->cua_version != CUSTR_VERSION || ops->custr_ao_alloc == NULL || in custr_alloc_init() 274 ops->custr_ao_free == NULL) { in custr_alloc_init() 279 cua->cua_ops = ops; in custr_alloc_init() 282 if (ops->custr_ao_init != NULL) { in custr_alloc_init() 285 va_start(ap, ops); in custr_alloc_init() 286 ret = ops->custr_ao_init(cua, ap); in custr_alloc_init()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_subr.c | 118 struct rcm_mod_ops *ops = module->modops; in module_detach() local 122 ops->rcmop_unregister(module->rcmhandle); in module_detach() 132 struct rcm_mod_ops *ops = module->modops; in module_attach() local 852 if (ops->rcmop_request_capacity_change) in rsrc_client_action() 861 if (ops->rcmop_notify_capacity_change) in rsrc_client_action() 862 rval = ops->rcmop_notify_capacity_change(hdl, in rsrc_client_action() 870 if (ops->rcmop_notify_event) in rsrc_client_action() 1883 struct rcm_mod_ops *ops; in modops_from_v1() local 1887 return (ops); in modops_from_v1() 1899 if (ops->version == RCM_MOD_OPS_V1) { in call_getinfo() [all …]
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_api.c | 362 fmd_hdl_ops_t ops; in fmd_hdl_register() local 400 bzero(&ops, sizeof (ops)); in fmd_hdl_register() 408 bcopy(mip->fmdi_ops, &ops, sizeof (ops)); in fmd_hdl_register() 410 if (ops.fmdo_recv == NULL) in fmd_hdl_register() 418 if (ops.fmdo_gc == NULL) in fmd_hdl_register() 942 if (ops == &fmd_conf_bool || ops == &fmd_conf_int32 || in fmd_prop_get_int32() 945 else if (ops != NULL) { in fmd_prop_get_int32() 964 if (ops == &fmd_conf_int64 || ops == &fmd_conf_uint64 || in fmd_prop_get_int64() 965 ops == &fmd_conf_time || ops == &fmd_conf_size) in fmd_prop_get_int64() 967 else if (ops != NULL) { in fmd_prop_get_int64() [all …]
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | xdr_rec.c | 584 static struct xdr_ops ops; in xdrrec_ops() local 586 if (ops.x_getint32 == NULL) { in xdrrec_ops() 587 ops.x_getint32 = xdrrec_getint32; in xdrrec_ops() 588 ops.x_putint32 = xdrrec_putint32; in xdrrec_ops() 589 ops.x_getbytes = xdrrec_getbytes; in xdrrec_ops() 590 ops.x_putbytes = xdrrec_putbytes; in xdrrec_ops() 591 ops.x_getpostn = xdrrec_getpos; in xdrrec_ops() 592 ops.x_setpostn = xdrrec_setpos; in xdrrec_ops() 593 ops.x_inline = xdrrec_inline; in xdrrec_ops() 594 ops.x_destroy = xdrrec_destroy; in xdrrec_ops() [all …]
|
H A D | clnt_btcp.c | 521 static struct clnt_ops ops; in clntbtcp_ops() local 523 if (ops.cl_call == NULL) { in clntbtcp_ops() 524 ops.cl_call = clntbtcp_call; in clntbtcp_ops() 525 ops.cl_abort = clntbtcp_abort; in clntbtcp_ops() 526 ops.cl_geterr = clntbtcp_geterr; in clntbtcp_ops() 527 ops.cl_freeres = clntbtcp_freeres; in clntbtcp_ops() 528 ops.cl_destroy = clntbtcp_destroy; in clntbtcp_ops() 529 ops.cl_control = clntbtcp_control; in clntbtcp_ops() 531 return (&ops); in clntbtcp_ops()
|
H A D | clnt_budp.c | 450 static struct clnt_ops ops; in clntbudp_ops() local 452 if (ops.cl_call == NULL) { in clntbudp_ops() 453 ops.cl_call = clntbudp_call; in clntbudp_ops() 454 ops.cl_abort = clntbudp_abort; in clntbudp_ops() 455 ops.cl_geterr = clntbudp_geterr; in clntbudp_ops() 456 ops.cl_freeres = clntbudp_freeres; in clntbudp_ops() 457 ops.cl_destroy = clntbudp_destroy; in clntbudp_ops() 458 ops.cl_control = clntbudp_control; in clntbudp_ops() 460 return (&ops); in clntbudp_ops()
|
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | clnt_tcp.c | 459 static struct clnt_ops ops; in clnttcp_ops() local 461 if (ops.cl_call == NULL) { in clnttcp_ops() 462 ops.cl_call = clnttcp_call; in clnttcp_ops() 463 ops.cl_abort = clnttcp_abort; in clnttcp_ops() 464 ops.cl_geterr = clnttcp_geterr; in clnttcp_ops() 465 ops.cl_freeres = clnttcp_freeres; in clnttcp_ops() 466 ops.cl_destroy = clnttcp_destroy; in clnttcp_ops() 467 ops.cl_control = clnttcp_control; in clnttcp_ops() 469 return (&ops); in clnttcp_ops()
|
H A D | clnt_udp.c | 518 static struct clnt_ops ops; in clntudp_ops() local 520 if (ops.cl_call == NULL) { in clntudp_ops() 521 ops.cl_call = clntudp_call; in clntudp_ops() 522 ops.cl_abort = clntudp_abort; in clntudp_ops() 523 ops.cl_geterr = clntudp_geterr; in clntudp_ops() 524 ops.cl_freeres = clntudp_freeres; in clntudp_ops() 525 ops.cl_destroy = clntudp_destroy; in clntudp_ops() 526 ops.cl_control = clntudp_control; in clntudp_ops() 528 return (&ops); in clntudp_ops()
|
H A D | svc_udp.c | 514 static struct xp_ops ops; in svcudp_ops() local 516 if (ops.xp_recv == NULL) { in svcudp_ops() 517 ops.xp_recv = svcudp_recv; in svcudp_ops() 518 ops.xp_stat = svcudp_stat; in svcudp_ops() 519 ops.xp_getargs = svcudp_getargs; in svcudp_ops() 520 ops.xp_reply = svcudp_reply; in svcudp_ops() 521 ops.xp_freeargs = svcudp_freeargs; in svcudp_ops() 522 ops.xp_destroy = svcudp_destroy; in svcudp_ops() 524 return (&ops); in svcudp_ops()
|
/illumos-gate/usr/src/lib/libds/common/ |
H A D | libds.c | 84 static int ds_register(ds_capability_t *cap, ds_ops_t *ops, uint_t flags); 348 ds_register(ds_capability_t *cap, ds_ops_t *ops, uint_t flags) in ds_register() argument 359 if (cap == NULL || ops == NULL || cap->svc_id == NULL || in ds_register() 403 if (ops->ds_reg_cb != NULL) in ds_register() 405 if (ops->ds_unreg_cb != NULL) in ds_register() 407 if (ops->ds_data_cb != NULL) in ds_register() 438 dsp->dsl_ops = *ops; in ds_register() 448 ds_svc_reg(ds_capability_t *cap, ds_ops_t *ops) in ds_svc_reg() argument 450 return (ds_register(cap, ops, 0)); in ds_svc_reg() 460 ds_clnt_reg(ds_capability_t *cap, ds_ops_t *ops) in ds_clnt_reg() argument [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_raidz_math.c | 117 raidz_impl_ops_t *ops = NULL; in vdev_raidz_math_get_ops() local 123 ops = &vdev_raidz_fastest_impl; in vdev_raidz_math_get_ops() 131 ops = raidz_supp_impl[idx]; in vdev_raidz_math_get_ops() 134 ops = (raidz_impl_ops_t *)&vdev_raidz_original_impl; in vdev_raidz_math_get_ops() 137 ops = (raidz_impl_ops_t *)&vdev_raidz_scalar_impl; in vdev_raidz_math_get_ops() 143 ops = raidz_supp_impl[impl]; in vdev_raidz_math_get_ops() 147 ASSERT3P(ops, !=, NULL); in vdev_raidz_math_get_ops() 149 return (ops); in vdev_raidz_math_get_ops()
|
/illumos-gate/usr/src/head/ |
H A D | nss_common.h | 254 nss_backend_op_t *ops; member 269 (((n) >= 0 && (n) < (instp)->n_ops) ? (instp)->ops[n] : 0) 272 ((n) >= 0 && (n) < (instp)->n_ops && (instp)->ops[n] != 0) \ 273 ? (*(instp)->ops[n])(instp, argp) \
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_signing.c | 252 uint8_t *digest, mac_ops_t *ops) in smb2_sign_calc_common() argument 266 rc = ops->mac_init(&ctx, s->sign_mech, sign_key->key, sign_key->len); in smb2_sign_calc_common() 282 if ((rc = ops->mac_update(ctx, tmp_hdr, tlen)) != 0) in smb2_sign_calc_common() 311 rc = ops->mac_update(ctx, (uint8_t *)mbuf->m_data + offset, tlen); in smb2_sign_calc_common() 326 rc = ops->mac_update(ctx, (uint8_t *)mbuf->m_data, tlen); in smb2_sign_calc_common() 339 if ((rc = ops->mac_final(ctx, digest)) != 0) in smb2_sign_calc_common()
|
/illumos-gate/usr/src/lib/nsswitch/user/common/ |
H A D | user_common.c | 272 _nss_user_constr(ops, n_ops, filename, min_bufsize) in _nss_user_constr() argument 273 user_backend_op_t ops[]; in _nss_user_constr() 283 be->ops = ops;
|