Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 322) 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/uts/common/sys/
H A Dtnf_writer.h167 #define tnf_uchar(ops, item, ref) tnf_uint8(ops, item, ref) argument
171 #define tnf_short(ops, item, ref) tnf_int16(ops, item, ref) argument
175 #define tnf_ushort(ops, item, ref) tnf_uint16(ops, item, ref) argument
179 #define tnf_int(ops, item, ref) tnf_int32(ops, item, ref) argument
183 #define tnf_uint(ops, item, ref) tnf_uint32(ops, item, ref) argument
189 #define tnf_long(ops, item, ref) tnf_int64(ops, item, ref) argument
193 #define tnf_ulong(ops, item, ref) tnf_uint64(ops, item, ref) argument
199 #define tnf_long(ops, item, ref) tnf_int32(ops, item, ref) argument
203 #define tnf_ulong(ops, item, ref) tnf_uint32(ops, item, ref) argument
209 #define tnf_longlong(ops, item, ref) tnf_int64(ops, item, ref) argument
[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() argument
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.c682 if (hw->mac.ops.init_hw) in e1000_init_hw()
793 if (hw->mac.ops.led_on) in e1000_led_on()
808 if (hw->mac.ops.led_off) in e1000_led_off()
874 if (hw->mac.ops.rar_set) in e1000_rar_set()
1041 if (hw->phy.ops.release) in e1000_release_phy()
1143 if (hw->phy.ops.reset) in e1000_phy_hw_reset()
1158 if (hw->phy.ops.commit) in e1000_phy_commit()
1279 if (hw->nvm.ops.update) in e1000_update_nvm_checksum()
1294 if (hw->nvm.ops.reload) in e1000_reload_nvm()
1310 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.c3529 nvm->ops.acquire(hw); in e1000_read_nvm_spt()
3583 nvm->ops.release(hw); in e1000_read_nvm_spt()
3620 nvm->ops.acquire(hw); in e1000_read_nvm_ich8lan()
3645 nvm->ops.release(hw); in e1000_read_nvm_ich8lan()
4035 nvm->ops.acquire(hw); in e1000_write_nvm_ich8lan()
4042 nvm->ops.release(hw); in e1000_write_nvm_ich8lan()
4075 nvm->ops.acquire(hw); in e1000_update_nvm_checksum_spt()
4199 nvm->ops.release(hw); in e1000_update_nvm_checksum_spt()
4205 nvm->ops.reload(hw); in e1000_update_nvm_checksum_spt()
4244 nvm->ops.acquire(hw); in e1000_update_nvm_checksum_ich8lan()
[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 …]
/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 …]
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dprobe_cntl.c226 tnf_ops_t *ops; in _tnf_fork_thread_setup() local
237 if (!ops) in _tnf_fork_thread_setup()
401 tnf_ops_t *ops; in _tnf_resume_ret() local
410 if (ops) { in _tnf_resume_ret()
568 (void) memset(&ops, 0, sizeof (ops)); /* zero ops */ in probestart()
655 tnf_ops_t *ops; in tnf_thread_enable() local
661 if (ops) in tnf_thread_enable()
667 if (ops) in tnf_thread_enable()
680 tnf_ops_t *ops; in common_fork() local
716 if (ops) { in common_fork()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/vmm/io/
H A Diommu.c58 static struct iommu_ops *ops; variable
71 if (ops != NULL) in IOMMU_INIT()
72 return ((*ops->init)()); in IOMMU_INIT()
81 (*ops->cleanup)(); in IOMMU_CLEANUP()
151 (*ops->enable)(); in IOMMU_ENABLE()
159 (*ops->disable)(); in IOMMU_DISABLE()
206 ops = &iommu_ops_intel; in iommu_init()
208 ops = &iommu_ops_amd; in iommu_init()
210 ops = NULL; in iommu_init()
226 ops = NULL; in iommu_init()
[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/uts/common/tnf/
H A Dtnf_types.h75 #define BUF_ALLOC(ops) tnfw_b_alloc argument
80 #define BUF_ALLOC(ops) ops->alloc argument
91 mem = BUF_ALLOC(ops)(&(ops->wcb), size, ops->mode); \
93 ops->mode = saved_mode; \
99 mem = BUF_ALLOC(ops)(&(ops->wcb), size, ops->mode); \
101 ops->mode = saved_mode; \
286 #define tnf_align(ops, item, ref) \ argument
287 tnf_uint32(ops, item, ref)
292 tnf_uint32(ops, item, ref)
297 tnf_uint32(ops, item, ref)
[all …]
H A Dtnf_writer.c452 saved_mode = ops->mode; in tnf_abstract_tag_1()
466 ops->mode = saved_mode; in tnf_abstract_tag_1()
482 saved_mode = ops->mode; in tnf_scalar_tag_1()
501 ops->mode = saved_mode; in tnf_scalar_tag_1()
517 saved_mode = ops->mode; in tnf_derived_tag_1()
532 ops->mode = saved_mode; in tnf_derived_tag_1()
548 saved_mode = ops->mode; in tnf_struct_tag_1()
566 ops->mode = saved_mode; in tnf_struct_tag_1()
745 ALLOC2(ops, record_size, bufhdr, ops->mode); in tnf_string_1()
788 ALLOC2(ops, record_size, bufhdr, ops->mode); in tnf_string_array_1()
[all …]
H A Dtrace_funcs.c146 wcb = &ops->wcb; in tnf_trace_alloc()
178 sched = &ops->schedule; in tnf_trace_alloc()
228 set_p->tpd_p = ops; in tnf_trace_alloc()
286 tnf_ops_t *ops; in tnf_trace_commit() local
290 ops = set_p->tpd_p; in tnf_trace_commit()
291 wcb = &ops->wcb; in tnf_trace_commit()
311 tnf_ops_t *ops; in tnf_trace_rollback() local
315 ops = set_p->tpd_p; in tnf_trace_rollback()
316 wcb = &ops->wcb; in tnf_trace_rollback()
327 ops->schedule.record_p = NULL; in tnf_trace_rollback()
[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/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 …]
/illumos-gate/usr/src/uts/common/sys/rsm/
H A Drsmpi.h155 struct rsm_ops *ops; member
529 (*((controller).ops->rsm_bind)) \
563 (*((controller).ops->rsm_get8)) \
566 (*((controller).ops->rsm_get16)) \
569 (*((controller).ops->rsm_get32)) \
572 (*((controller).ops->rsm_get64)) \
575 (*((controller).ops->rsm_get)) \
583 (*((controller).ops->rsm_put8)) \
595 (*((controller).ops->rsm_put)) \
604 (*((controller).ops->rsm_map)) \
[all …]

12345678910>>...13