Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/illumos-gate/usr/src/lib/libshare/common/
H A Dplugin.c279 if (ops != NULL && ops->sa_share != NULL) in sa_proto_share()
296 if (ops != NULL && ops->sa_unshare != NULL) in sa_proto_unshare()
360 if (ops != NULL && ops->sa_valid_prop != NULL) in sa_proto_valid_prop()
377 if (ops != NULL && ops->sa_valid_space != NULL) in sa_proto_valid_space()
394 if (ops != NULL && ops->sa_space_alias != NULL) in sa_proto_space_alias()
412 if (ops != NULL && ops->sa_security_prop != NULL) in sa_proto_security_prop()
430 if (ops != NULL && ops->sa_legacy_opts != NULL) in sa_proto_legacy_opts()
448 if (ops != NULL && ops->sa_legacy_format != NULL) in sa_proto_legacy_format()
477 if (ops != NULL && ops->sa_get_proto_set != NULL) in sa_proto_get_properties()
494 if (ops != NULL && ops->sa_set_proto_prop != NULL) in sa_proto_set_property()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Dfunction-ptr.c96 struct ops { struct
109 void ops(int a, int *p, struct ops *ops); argument
110 void ops(int a, int *p, struct ops *ops) in ops() function
112 ops->fv(); in ops()
114 ops->fb(a); in ops()
115 ops->fi(a); in ops()
116 ops->fl(a); in ops()
117 ops->fb(123); in ops()
118 ops->fi(123); in ops()
127 ops->fip(p); in ops()
[all …]
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_api.c707 if (hw->mac.ops.init_hw) in e1000_init_hw()
818 if (hw->mac.ops.led_on) in e1000_led_on()
833 if (hw->mac.ops.led_off) in e1000_led_off()
899 if (hw->mac.ops.rar_set) in e1000_rar_set()
1066 if (hw->phy.ops.release) in e1000_release_phy()
1168 if (hw->phy.ops.reset) in e1000_phy_hw_reset()
1183 if (hw->phy.ops.commit) in e1000_phy_commit()
1304 if (hw->nvm.ops.update) in e1000_update_nvm_checksum()
1319 if (hw->nvm.ops.reload) in e1000_reload_nvm()
1335 if (hw->nvm.ops.read) in e1000_read_nvm()
[all …]
H A De1000_82541.c384 ret_val = mac->ops.id_led_init(hw); in e1000_init_hw_82541()
398 mac->ops.clear_vfta(hw); in e1000_init_hw_82541()
417 ret_val = mac->ops.setup_link(hw); in e1000_init_hw_82541()
705 ret_val = phy->ops.read_reg(hw, in e1000_config_dsp_after_link_change_82541()
779 ret_val = phy->ops.read_reg(hw, in e1000_config_dsp_after_link_change_82541()
980 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_82541()
987 ret_val = phy->ops.write_reg(hw, in e1000_set_d3_lplu_state_82541()
993 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_82541()
1000 ret_val = phy->ops.write_reg(hw, in e1000_set_d3_lplu_state_82541()
1183 hw->phy.ops.write_reg(hw, in e1000_phy_init_script_82541()
[all …]
H A De1000_82540.c82 phy->ops.read_reg = e1000_read_phy_reg_m88; in e1000_init_phy_params_82540()
144 nvm->ops.read = e1000_read_nvm_microwire; in e1000_init_nvm_params_82540()
194 mac->ops.reset_hw = e1000_reset_hw_82540; in e1000_init_mac_params_82540()
196 mac->ops.init_hw = e1000_init_hw_82540; in e1000_init_mac_params_82540()
200 mac->ops.setup_physical_interface = in e1000_init_mac_params_82540()
221 mac->ops.get_link_up_info = in e1000_init_mac_params_82540()
240 mac->ops.led_on = e1000_led_on_generic; in e1000_init_mac_params_82540()
241 mac->ops.led_off = e1000_led_off_generic; in e1000_init_mac_params_82540()
338 ret_val = mac->ops.id_led_init(hw); in e1000_init_hw_82540()
349 mac->ops.clear_vfta(hw); in e1000_init_hw_82540()
[all …]
H A De1000_phy.c227 if (!phy->ops.read_reg) in e1000_get_phy_id()
265 if (!hw->phy.ops.write_reg) in e1000_phy_reset_dsp_generic()
654 if (!hw->phy.ops.acquire) in e1000_read_phy_reg_m88()
664 hw->phy.ops.release(hw); in e1000_read_phy_reg_m88()
684 if (!hw->phy.ops.acquire) in e1000_write_phy_reg_m88()
694 hw->phy.ops.release(hw); in e1000_write_phy_reg_m88()
755 hw->phy.ops.release(hw); in __e1000_read_phy_reg_igp()
824 hw->phy.ops.release(hw); in __e1000_write_phy_reg_igp()
897 hw->phy.ops.release(hw); in __e1000_read_kmrn_reg()
969 hw->phy.ops.release(hw); in __e1000_write_kmrn_reg()
[all …]
H A De1000_82571.c304 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
315 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
323 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
994 if (!(phy->ops.read_reg)) in e1000_set_d0_lplu_state_82571()
1028 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82571()
1035 ret_val = phy->ops.write_reg(hw, in e1000_set_d0_lplu_state_82571()
1041 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82571()
1209 mac->ops.clear_vfta(hw); in e1000_init_hw_82571()
1930 ret_val = nvm->ops.update(hw); in e1000_fix_nvm_checksum_82571()
1975 if (!phy->ops.check_reset_block) in e1000_power_down_phy_copper_82571()
[all …]
H A De1000_80003es2lan.c182 nvm->ops.read = e1000_read_nvm_eerd; in e1000_init_nvm_params_80003es2lan()
207 mac->ops.setup_physical_interface = in e1000_init_mac_params_80003es2lan()
213 mac->ops.setup_physical_interface = in e1000_init_mac_params_80003es2lan()
269 hw->mac.ops.set_lan_id(hw); in e1000_init_mac_params_80003es2lan()
670 if (!(hw->phy.ops.read_reg)) in e1000_phy_force_speed_duplex_80003es2lan()
765 if (!(hw->phy.ops.read_reg)) in e1000_get_cable_length_80003es2lan()
803 hw->phy.ops.cfg_on_link_up(hw); in e1000_get_link_up_info_80003es2lan()
897 ret_val = mac->ops.id_led_init(hw); in e1000_init_hw_80003es2lan()
904 mac->ops.clear_vfta(hw); in e1000_init_hw_80003es2lan()
915 ret_val = mac->ops.setup_link(hw); in e1000_init_hw_80003es2lan()
[all …]
H A De1000_82575.c244 phy->ops.get_cable_length = in e1000_init_phy_params_82575()
248 phy->ops.get_cable_length = in e1000_init_phy_params_82575()
301 phy->ops.force_speed_duplex = in e1000_init_phy_params_82575()
523 hw->mac.ops.set_lan_id(hw); in e1000_init_mac_params_82575()
615 hw->phy.ops.release(hw); in e1000_read_phy_reg_sgmii_82575()
648 hw->phy.ops.release(hw); in e1000_write_phy_reg_sgmii_82575()
777 if (!(hw->phy.ops.write_reg)) in e1000_phy_hw_reset_sgmii_82575()
819 if (!(hw->phy.ops.read_reg)) in e1000_set_d0_lplu_state_82575()
1508 mac->ops.clear_vfta(hw); in e1000_init_hw_82575()
2384 hw->phy.ops.release(hw); in e1000_read_phy_reg_82580()
[all …]
H A De1000_mbx.c83 if (mbx->ops.read) in e1000_read_mbx()
108 else if (mbx->ops.write) in e1000_write_mbx()
128 if (mbx->ops.check_for_msg) in e1000_check_for_msg()
148 if (mbx->ops.check_for_ack) in e1000_check_for_ack()
168 if (mbx->ops.check_for_rst) in e1000_check_for_rst()
253 if (!mbx->ops.read) in e1000_read_posted_mbx()
283 if (!mbx->ops.write || !mbx->timeout) in e1000_write_posted_mbx()
542 mbx->ops.read = e1000_read_mbx_vf; in e1000_init_mbx_params_vf()
543 mbx->ops.write = e1000_write_mbx_vf; in e1000_init_mbx_params_vf()
768 mbx->ops.read = e1000_read_mbx_pf; in e1000_init_mbx_params_pf()
[all …]
H A De1000_ich8lan.c3553 nvm->ops.acquire(hw); in e1000_read_nvm_spt()
3607 nvm->ops.release(hw); in e1000_read_nvm_spt()
3644 nvm->ops.acquire(hw); in e1000_read_nvm_ich8lan()
3669 nvm->ops.release(hw); in e1000_read_nvm_ich8lan()
4059 nvm->ops.acquire(hw); in e1000_write_nvm_ich8lan()
4066 nvm->ops.release(hw); in e1000_write_nvm_ich8lan()
4099 nvm->ops.acquire(hw); in e1000_update_nvm_checksum_spt()
4223 nvm->ops.release(hw); in e1000_update_nvm_checksum_spt()
4229 nvm->ops.reload(hw); in e1000_update_nvm_checksum_spt()
4268 nvm->ops.acquire(hw); in e1000_update_nvm_checksum_ich8lan()
[all …]
H A De1000_vf.c65 hw->phy.ops.acquire = e1000_acquire_vf; in e1000_init_phy_params_vf()
66 hw->phy.ops.release = e1000_release_vf; in e1000_init_phy_params_vf()
81 hw->nvm.ops.acquire = e1000_acquire_vf; in e1000_init_nvm_params_vf()
82 hw->nvm.ops.release = e1000_release_vf; in e1000_init_nvm_params_vf()
118 mac->ops.setup_link = e1000_setup_link_vf; in e1000_init_mac_params_vf()
122 mac->ops.reset_hw = e1000_reset_hw_vf; in e1000_init_mac_params_vf()
124 mac->ops.init_hw = e1000_init_hw_vf; in e1000_init_mac_params_vf()
132 mac->ops.rar_set = e1000_rar_set_vf; in e1000_init_mac_params_vf()
134 mac->ops.read_mac_addr = e1000_read_mac_addr_vf; in e1000_init_mac_params_vf()
283 mbx->ops.write_posted(hw, msgbuf, 1, 0); in e1000_reset_hw_vf()
[all …]
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_api.c70 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc()
678 if (hw->mac.ops.flap_tx_laser) in ixgbe_flap_tx_laser()
1269 if (hw->mac.ops.disable_mdd) in ixgbe_disable_mdd()
1270 hw->mac.ops.disable_mdd(hw); in ixgbe_disable_mdd()
1280 if (hw->mac.ops.enable_mdd) in ixgbe_enable_mdd()
1281 hw->mac.ops.enable_mdd(hw); in ixgbe_enable_mdd()
1292 if (hw->mac.ops.mdd_event) in ixgbe_mdd_event()
1697 if (hw->mac.ops.disable_rx) in ixgbe_disable_rx()
1698 hw->mac.ops.disable_rx(hw); in ixgbe_disable_rx()
1703 if (hw->mac.ops.enable_rx) in ixgbe_enable_rx()
[all …]
H A Dixgbe_x540.c75 eeprom->ops.read = ixgbe_read_eerd_X540; in ixgbe_init_ops_X540()
77 eeprom->ops.write = ixgbe_write_eewr_X540; in ixgbe_init_ops_X540()
85 phy->ops.reset = NULL; in ixgbe_init_ops_X540()
89 mac->ops.reset_hw = ixgbe_reset_hw_X540; in ixgbe_init_ops_X540()
92 mac->ops.get_supported_physical_layer = in ixgbe_init_ops_X540()
94 mac->ops.read_analog_reg8 = NULL; in ixgbe_init_ops_X540()
95 mac->ops.write_analog_reg8 = NULL; in ixgbe_init_ops_X540()
96 mac->ops.start_hw = ixgbe_start_hw_X540; in ixgbe_init_ops_X540()
122 mac->ops.get_link_capabilities = in ixgbe_init_ops_X540()
222 status = hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_X540()
[all …]
H A Dixgbe_x550.c66 mac->ops.setup_eee = NULL; in ixgbe_init_ops_X550()
91 hw->mac.ops.led_on = NULL; in ixgbe_init_ops_X550()
92 hw->mac.ops.led_off = NULL; in ixgbe_init_ops_X550()
347 hw->mac.ops.set_lan_id(hw); in ixgbe_identify_phy_x550em()
623 mac->ops.bypass_rw = NULL; in ixgbe_init_ops_X550EM()
664 mac->ops.setup_fc = NULL; in ixgbe_init_ops_X550EM()
670 mac->ops.setup_fc = NULL; in ixgbe_init_ops_X550EM()
1853 mac->ops.check_link = in ixgbe_init_mac_link_ops_X550em()
1856 mac->ops.setup_link = in ixgbe_init_mac_link_ops_X550em()
2330 phy->ops.reset = NULL; in ixgbe_init_phy_ops_X550em()
[all …]
H A Dixgbe_82598.c150 mac->ops.set_vlvf = NULL; in ixgbe_init_ops_82598()
171 mac->ops.flap_tx_laser = NULL; in ixgbe_init_ops_82598()
176 mac->ops.set_fw_drv_ver = NULL; in ixgbe_init_ops_82598()
178 mac->ops.get_rtrup2tc = NULL; in ixgbe_init_ops_82598()
202 phy->ops.identify(hw); in ixgbe_init_phy_ops_82598()
215 phy->ops.get_firmware_version = in ixgbe_init_phy_ops_82598()
872 hw->phy.ops.reset(hw); in ixgbe_reset_hw_82598()
932 hw->mac.ops.init_rx_addrs(hw); in ixgbe_reset_hw_82598()
1155 hw->phy.ops.write_reg_mdi(hw, in ixgbe_read_i2c_phy_82598()
1162 hw->phy.ops.read_reg_mdi(hw, in ixgbe_read_i2c_phy_82598()
[all …]
/illumos-gate/usr/src/uts/common/krtld/
H A Dbootrd.c40 extern struct bootops *ops;
57 return (ops->fsw_mountroot(str)); in BRD_MOUNTROOT()
66 return (ops->fsw_unmountroot()); in BRD_UNMOUNTROOT()
89 return (ops->fsw_open(file, flags)); in BRD_OPEN()
98 return (ops->fsw_close(fd)); in BRD_CLOSE()
109 return (ops->fsw_read(fd, buf, len)); in BRD_READ()
129 return (ops->fsw_fstat(fd, bsp)); in BRD_FSTAT()
173 _kobj_printf(ops, in kobj_boot_mountroot()
178 _kobj_printf(ops, in kobj_boot_mountroot()
224 addr = BOP_ALLOC(ops, 0, size, 0); in bkmem_alloc()
[all …]
H A Dreloc.h245 _kobj_printf(ops, MSG_REL_PREFIL, (file)); \
247 _kobj_printf(ops, MSG_REL_UNIMPL, (int)(rtype))
250 _kobj_printf(ops, MSG_REL_PREGEN, CONV_RELOC_TYPE((rtype))); \
251 _kobj_printf(ops, MSG_REL_FILE, (file)); \
253 _kobj_printf(ops, MSG_REL_UNSUPSZ, (int)(size))
257 _kobj_printf(ops, MSG_REL_FILE, (file)); \
263 _kobj_printf(ops, MSG_REL_FILE, (file)); \
265 _kobj_printf(ops, MSG_REL_UNNOBITS, (nbits))
269 _kobj_printf(ops, MSG_REL_FILE, (file)); \
272 _kobj_printf(ops, MSG_REL_LOSEBITS, (int)(nbits)); \
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Diommu.c116 if (ops == NULL) { in iommu_init()
121 error = ops->init(); in iommu_init()
137 ops->enable(); in iommu_init()
142 if (ops != NULL) { in iommu_init()
143 ops->cleanup(); in iommu_init()
144 ops = NULL; in iommu_init()
157 ASSERT3P(ops, !=, NULL); in iommu_cleanup()
160 ops->disable(); in iommu_cleanup()
166 ops->cleanup(); in iommu_cleanup()
167 ops = NULL; in iommu_cleanup()
[all …]
/illumos-gate/usr/src/lib/passwdutil/
H A D__failed_count.c37 repops_t *ops; in __incr_failed_count() local
45 ops = rops[repnum]; in __incr_failed_count()
46 if ((ops->lock != NULL) && in __incr_failed_count()
47 (ret = ops->lock()) != PWU_SUCCESS) { in __incr_failed_count()
78 if (ops->unlock != NULL) { in __incr_failed_count()
79 ops->unlock(); in __incr_failed_count()
96 repops_t *ops; in __rst_failed_count() local
104 ops = rops[repnum]; in __rst_failed_count()
105 if ((ops->lock != NULL) && in __rst_failed_count()
118 if (ops->unlock != NULL) { in __rst_failed_count()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dccbase.c43 const krb5_cc_ops *ops; member
146 for (t = cc_typehead;t && strcmp(t->ops->prefix,ops->prefix);t = t->next) in krb5_cc_register()
150 t->ops = ops; in krb5_cc_register()
163 t->ops = ops; in krb5_cc_register()
187 const krb5_cc_ops *ops; in krb5_cc_resolve() local
243 const krb5_cc_ops **ops) in krb5int_cc_getops() argument
254 *ops = tlist->ops; in krb5int_cc_getops()
261 *ops = krb5_cc_dfl_ops; in krb5int_cc_getops()
280 const krb5_cc_ops *ops; in krb5_cc_new_unique() local
333 *ops = NULL; in krb5int_cc_typecursor_next()
[all …]
H A Dccfns.c36 return cache->ops->get_name(context, cache); in krb5_cc_get_name()
42 return (*cache)->ops->gen_new(context, cache); in krb5_cc_gen_new()
49 return cache->ops->init(context, cache, principal); in krb5_cc_initialize()
55 return cache->ops->destroy(context, cache); in krb5_cc_destroy()
61 return cache->ops->close(context, cache); in krb5_cc_close()
72 ret = cache->ops->store(context, cache, creds); in krb5_cc_store_cred()
86 ret = cache->ops->store(context, cache, creds); in krb5_cc_store_cred()
142 return cache->ops->end_get(context, cache, cursor); in krb5_cc_end_seq_get()
155 return cache->ops->set_flags(context, cache, flags); in krb5_cc_set_flags()
161 return cache->ops->get_flags(context, cache, flags); in krb5_cc_get_flags()
[all …]
/illumos-gate/usr/src/uts/intel/sys/
H A Dbootvfs.h82 #define BRD_MOUNTROOT(ops, str) ((ops)->fsw_mountroot)(str) argument
83 #define BRD_UNMOUNTROOT(ops) ((ops)->fsw_unmountroot)() argument
84 #define BRD_OPEN(ops, file, flag) ((ops)->fsw_open)(file, flag) argument
85 #define BRD_CLOSE(ops, fd) ((ops)->fsw_close)(fd) argument
86 #define BRD_READ(ops, fd, buf, s) ((ops)->fsw_read)(fd, buf, s) argument
87 #define BRD_SEEK(ops, fd, addr, w) ((ops)->fsw_lseek)(fd, addr, w) argument
88 #define BRD_FSTAT(ops, fd, stp) ((ops)->fsw_fstat)(fd, stp) argument
/illumos-gate/usr/src/uts/common/sys/rsm/
H A Drsmpi.h153 struct rsm_ops *ops; member
527 (*((controller).ops->rsm_bind)) \
561 (*((controller).ops->rsm_get8)) \
564 (*((controller).ops->rsm_get16)) \
567 (*((controller).ops->rsm_get32)) \
570 (*((controller).ops->rsm_get64)) \
573 (*((controller).ops->rsm_get)) \
581 (*((controller).ops->rsm_put8)) \
593 (*((controller).ops->rsm_put)) \
602 (*((controller).ops->rsm_map)) \
[all …]
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c152 _kobj_printf(ops, "krtld:\t\t\t\t\t value\n"); in do_relocate()
171 _kobj_printf(ops, " at 0x%lx:", off); in do_relocate()
172 _kobj_printf(ops, " file=%s\n", mp->filename); in do_relocate()
189 _kobj_printf(ops, "krtld:\t%s", in do_relocate()
191 _kobj_printf(ops, "\t0x%8lx", off); in do_relocate()
193 _kobj_printf(ops, " %s\n", in do_relocate()
239 _kobj_printf(ops, in do_relocate()
269 _kobj_printf(ops, " 0x%8lx\n", value); in do_relocate()
311 _kobj_printf(ops, "out of range %d\n", shn); in do_relocations()
330 _kobj_printf(ops, "section=%d\n", shn); in do_relocations()
[all …]

12345678910>>...13