Home
last modified time | relevance | path

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

12345678910>>...18

/NextBSD/contrib/wpa/src/pae/
HDieee802_1x_secy_ops.c30 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_protect_frames() local
37 ops = kay->ctx; in secy_cp_control_protect_frames()
38 if (!ops || !ops->enable_protect_frames) { in secy_cp_control_protect_frames()
44 return ops->enable_protect_frames(ops->ctx, enabled); in secy_cp_control_protect_frames()
50 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_replay() local
57 ops = kay->ctx; in secy_cp_control_replay()
58 if (!ops || !ops->set_replay_protect) { in secy_cp_control_replay()
64 return ops->set_replay_protect(ops->ctx, enabled, win); in secy_cp_control_replay()
71 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_current_cipher_suite() local
78 ops = kay->ctx; in secy_cp_control_current_cipher_suite()
[all …]
/NextBSD/sys/dev/e1000/
HDe1000_api.c48 if (hw->mac.ops.init_params) { in e1000_init_mac_params()
49 ret_val = hw->mac.ops.init_params(hw); in e1000_init_mac_params()
74 if (hw->nvm.ops.init_params) { in e1000_init_nvm_params()
75 ret_val = hw->nvm.ops.init_params(hw); in e1000_init_nvm_params()
100 if (hw->phy.ops.init_params) { in e1000_init_phy_params()
101 ret_val = hw->phy.ops.init_params(hw); in e1000_init_phy_params()
126 if (hw->mbx.ops.init_params) { in e1000_init_mbx_params()
127 ret_val = hw->mbx.ops.init_params(hw); in e1000_init_mbx_params()
513 if (hw->mac.ops.get_bus_info) in e1000_get_bus_info()
514 return hw->mac.ops.get_bus_info(hw); in e1000_get_bus_info()
[all …]
HDe1000_82541.c98 phy->ops.check_polarity = e1000_check_polarity_igp; in e1000_init_phy_params_82541()
99 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_igp; in e1000_init_phy_params_82541()
100 phy->ops.get_cable_length = e1000_get_cable_length_igp_82541; in e1000_init_phy_params_82541()
101 phy->ops.get_cfg_done = e1000_get_cfg_done_generic; in e1000_init_phy_params_82541()
102 phy->ops.get_info = e1000_get_phy_info_igp; in e1000_init_phy_params_82541()
103 phy->ops.read_reg = e1000_read_phy_reg_igp; in e1000_init_phy_params_82541()
104 phy->ops.reset = e1000_phy_hw_reset_82541; in e1000_init_phy_params_82541()
105 phy->ops.set_d3_lplu_state = e1000_set_d3_lplu_state_82541; in e1000_init_phy_params_82541()
106 phy->ops.write_reg = e1000_write_phy_reg_igp; in e1000_init_phy_params_82541()
107 phy->ops.power_up = e1000_power_up_phy_copper; in e1000_init_phy_params_82541()
[all …]
HDe1000_82540.c77 phy->ops.check_polarity = e1000_check_polarity_m88; in e1000_init_phy_params_82540()
78 phy->ops.commit = e1000_phy_sw_reset_generic; in e1000_init_phy_params_82540()
79 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_m88; in e1000_init_phy_params_82540()
80 phy->ops.get_cable_length = e1000_get_cable_length_m88; in e1000_init_phy_params_82540()
81 phy->ops.get_cfg_done = e1000_get_cfg_done_generic; in e1000_init_phy_params_82540()
82 phy->ops.read_reg = e1000_read_phy_reg_m88; in e1000_init_phy_params_82540()
83 phy->ops.reset = e1000_phy_hw_reset_generic; in e1000_init_phy_params_82540()
84 phy->ops.write_reg = e1000_write_phy_reg_m88; in e1000_init_phy_params_82540()
85 phy->ops.get_info = e1000_get_phy_info_m88; in e1000_init_phy_params_82540()
86 phy->ops.power_up = e1000_power_up_phy_copper; in e1000_init_phy_params_82540()
[all …]
HDe1000_phy.c76 phy->ops.init_params = e1000_null_ops_generic; in e1000_init_phy_ops_generic()
77 phy->ops.acquire = e1000_null_ops_generic; in e1000_init_phy_ops_generic()
78 phy->ops.check_polarity = e1000_null_ops_generic; in e1000_init_phy_ops_generic()
79 phy->ops.check_reset_block = e1000_null_ops_generic; in e1000_init_phy_ops_generic()
80 phy->ops.commit = e1000_null_ops_generic; in e1000_init_phy_ops_generic()
81 phy->ops.force_speed_duplex = e1000_null_ops_generic; in e1000_init_phy_ops_generic()
82 phy->ops.get_cfg_done = e1000_null_ops_generic; in e1000_init_phy_ops_generic()
83 phy->ops.get_cable_length = e1000_null_ops_generic; in e1000_init_phy_ops_generic()
84 phy->ops.get_info = e1000_null_ops_generic; in e1000_init_phy_ops_generic()
85 phy->ops.set_page = e1000_null_set_page; in e1000_init_phy_ops_generic()
[all …]
HDe1000_82571.c110 phy->ops.check_reset_block = e1000_check_reset_block_generic; in e1000_init_phy_params_82571()
111 phy->ops.reset = e1000_phy_hw_reset_generic; in e1000_init_phy_params_82571()
112 phy->ops.set_d0_lplu_state = e1000_set_d0_lplu_state_82571; in e1000_init_phy_params_82571()
113 phy->ops.set_d3_lplu_state = e1000_set_d3_lplu_state_generic; in e1000_init_phy_params_82571()
114 phy->ops.power_up = e1000_power_up_phy_copper; in e1000_init_phy_params_82571()
115 phy->ops.power_down = e1000_power_down_phy_copper_82571; in e1000_init_phy_params_82571()
121 phy->ops.get_cfg_done = e1000_get_cfg_done_82571; in e1000_init_phy_params_82571()
122 phy->ops.get_info = e1000_get_phy_info_igp; in e1000_init_phy_params_82571()
123 phy->ops.check_polarity = e1000_check_polarity_igp; in e1000_init_phy_params_82571()
124 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_igp; in e1000_init_phy_params_82571()
[all …]
HDe1000_ich8lan.c198 ret_val = hw->phy.ops.read_reg_locked(hw, PHY_ID1, &phy_reg); in e1000_phy_is_accessible_pchlan()
203 ret_val = hw->phy.ops.read_reg_locked(hw, PHY_ID2, &phy_reg); in e1000_phy_is_accessible_pchlan()
225 hw->phy.ops.release(hw); in e1000_phy_is_accessible_pchlan()
229 hw->phy.ops.acquire(hw); in e1000_phy_is_accessible_pchlan()
237 hw->phy.ops.read_reg_locked(hw, CV_SMB_CTRL, &phy_reg); in e1000_phy_is_accessible_pchlan()
239 hw->phy.ops.write_reg_locked(hw, CV_SMB_CTRL, phy_reg); in e1000_phy_is_accessible_pchlan()
319 ret_val = hw->phy.ops.acquire(hw); in e1000_init_phy_workarounds_pchlan()
358 if (hw->phy.ops.check_reset_block(hw)) { in e1000_init_phy_workarounds_pchlan()
387 hw->phy.ops.release(hw); in e1000_init_phy_workarounds_pchlan()
391 if (hw->phy.ops.check_reset_block(hw)) { in e1000_init_phy_workarounds_pchlan()
[all …]
HDe1000_82575.c172 phy->ops.read_i2c_byte = e1000_read_i2c_byte_generic; in e1000_init_phy_params_82575()
173 phy->ops.write_i2c_byte = e1000_write_i2c_byte_generic; in e1000_init_phy_params_82575()
180 phy->ops.power_up = e1000_power_up_phy_copper; in e1000_init_phy_params_82575()
181 phy->ops.power_down = e1000_power_down_phy_copper_82575; in e1000_init_phy_params_82575()
186 phy->ops.acquire = e1000_acquire_phy_82575; in e1000_init_phy_params_82575()
187 phy->ops.check_reset_block = e1000_check_reset_block_generic; in e1000_init_phy_params_82575()
188 phy->ops.commit = e1000_phy_sw_reset_generic; in e1000_init_phy_params_82575()
189 phy->ops.get_cfg_done = e1000_get_cfg_done_82575; in e1000_init_phy_params_82575()
190 phy->ops.release = e1000_release_phy_82575; in e1000_init_phy_params_82575()
195 phy->ops.reset = e1000_phy_hw_reset_sgmii_82575; in e1000_init_phy_params_82575()
[all …]
HDe1000_80003es2lan.c100 phy->ops.power_up = e1000_power_up_phy_copper; in e1000_init_phy_params_80003es2lan()
101 phy->ops.power_down = e1000_power_down_phy_copper_80003es2lan; in e1000_init_phy_params_80003es2lan()
109 phy->ops.acquire = e1000_acquire_phy_80003es2lan; in e1000_init_phy_params_80003es2lan()
110 phy->ops.check_polarity = e1000_check_polarity_m88; in e1000_init_phy_params_80003es2lan()
111 phy->ops.check_reset_block = e1000_check_reset_block_generic; in e1000_init_phy_params_80003es2lan()
112 phy->ops.commit = e1000_phy_sw_reset_generic; in e1000_init_phy_params_80003es2lan()
113 phy->ops.get_cfg_done = e1000_get_cfg_done_80003es2lan; in e1000_init_phy_params_80003es2lan()
114 phy->ops.get_info = e1000_get_phy_info_m88; in e1000_init_phy_params_80003es2lan()
115 phy->ops.release = e1000_release_phy_80003es2lan; in e1000_init_phy_params_80003es2lan()
116 phy->ops.reset = e1000_phy_hw_reset_generic; in e1000_init_phy_params_80003es2lan()
[all …]
HDe1000_mbx.c83 if (mbx->ops.read) in e1000_read_mbx()
84 ret_val = mbx->ops.read(hw, msg, size, mbx_id); in e1000_read_mbx()
108 else if (mbx->ops.write) in e1000_write_mbx()
109 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in e1000_write_mbx()
128 if (mbx->ops.check_for_msg) in e1000_check_for_msg()
129 ret_val = mbx->ops.check_for_msg(hw, mbx_id); in e1000_check_for_msg()
148 if (mbx->ops.check_for_ack) in e1000_check_for_ack()
149 ret_val = mbx->ops.check_for_ack(hw, mbx_id); in e1000_check_for_ack()
168 if (mbx->ops.check_for_rst) in e1000_check_for_rst()
169 ret_val = mbx->ops.check_for_rst(hw, mbx_id); in e1000_check_for_rst()
[all …]
HDe1000_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()
120 mac->ops.get_bus_info = e1000_get_bus_info_pcie_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()
126 mac->ops.check_for_link = e1000_check_for_link_vf; in e1000_init_mac_params_vf()
128 mac->ops.get_link_up_info = e1000_get_link_up_info_vf; in e1000_init_mac_params_vf()
[all …]
HDe1000_82543.c95 phy->ops.power_up = e1000_power_up_phy_copper; in e1000_init_phy_params_82543()
96 phy->ops.power_down = e1000_power_down_phy_copper; in e1000_init_phy_params_82543()
105 phy->ops.check_polarity = e1000_check_polarity_m88; in e1000_init_phy_params_82543()
106 phy->ops.commit = e1000_phy_sw_reset_generic; in e1000_init_phy_params_82543()
107 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_82543; in e1000_init_phy_params_82543()
108 phy->ops.get_cable_length = e1000_get_cable_length_m88; in e1000_init_phy_params_82543()
109 phy->ops.get_cfg_done = e1000_get_cfg_done_generic; in e1000_init_phy_params_82543()
110 phy->ops.read_reg = (hw->mac.type == e1000_82543) in e1000_init_phy_params_82543()
113 phy->ops.reset = (hw->mac.type == e1000_82543) in e1000_init_phy_params_82543()
116 phy->ops.write_reg = (hw->mac.type == e1000_82543) in e1000_init_phy_params_82543()
[all …]
/NextBSD/sys/dev/ixgbe/
HDixgbe_api.c65 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc()
66 hw->mac.ops.get_rtrup2tc(hw, map); in ixgbe_dcb_get_rtrup2tc()
236 return ixgbe_call_func(hw, hw->mac.ops.init_hw, (hw), in ixgbe_init_hw()
249 return ixgbe_call_func(hw, hw->mac.ops.reset_hw, (hw), in ixgbe_reset_hw()
265 return ixgbe_call_func(hw, hw->mac.ops.start_hw, (hw), in ixgbe_start_hw()
279 if (hw->mac.ops.enable_relaxed_ordering) in ixgbe_enable_relaxed_ordering()
280 hw->mac.ops.enable_relaxed_ordering(hw); in ixgbe_enable_relaxed_ordering()
292 return ixgbe_call_func(hw, hw->mac.ops.clear_hw_cntrs, (hw), in ixgbe_clear_hw_cntrs()
304 return ixgbe_call_func(hw, hw->mac.ops.get_media_type, (hw), in ixgbe_get_media_type()
320 return ixgbe_call_func(hw, hw->mac.ops.get_mac_addr, in ixgbe_get_mac_addr()
[all …]
HDixgbe_x540.c73 eeprom->ops.init_params = ixgbe_init_eeprom_params_X540; in ixgbe_init_ops_X540()
74 eeprom->ops.read = ixgbe_read_eerd_X540; in ixgbe_init_ops_X540()
75 eeprom->ops.read_buffer = ixgbe_read_eerd_buffer_X540; in ixgbe_init_ops_X540()
76 eeprom->ops.write = ixgbe_write_eewr_X540; in ixgbe_init_ops_X540()
77 eeprom->ops.write_buffer = ixgbe_write_eewr_buffer_X540; in ixgbe_init_ops_X540()
78 eeprom->ops.update_checksum = ixgbe_update_eeprom_checksum_X540; in ixgbe_init_ops_X540()
79 eeprom->ops.validate_checksum = ixgbe_validate_eeprom_checksum_X540; in ixgbe_init_ops_X540()
80 eeprom->ops.calc_checksum = ixgbe_calc_eeprom_checksum_X540; in ixgbe_init_ops_X540()
83 phy->ops.init = ixgbe_init_phy_ops_generic; in ixgbe_init_ops_X540()
84 phy->ops.reset = NULL; in ixgbe_init_ops_X540()
[all …]
HDixgbe_x550.c60 mac->ops.dmac_config = ixgbe_dmac_config_X550; in ixgbe_init_ops_X550()
61 mac->ops.dmac_config_tcs = ixgbe_dmac_config_tcs_X550; in ixgbe_init_ops_X550()
62 mac->ops.dmac_update_tcs = ixgbe_dmac_update_tcs_X550; in ixgbe_init_ops_X550()
63 mac->ops.setup_eee = ixgbe_setup_eee_X550; in ixgbe_init_ops_X550()
64 mac->ops.set_source_address_pruning = in ixgbe_init_ops_X550()
66 mac->ops.set_ethertype_anti_spoofing = in ixgbe_init_ops_X550()
69 mac->ops.get_rtrup2tc = ixgbe_dcb_get_rtrup2tc_generic; in ixgbe_init_ops_X550()
70 eeprom->ops.init_params = ixgbe_init_eeprom_params_X550; in ixgbe_init_ops_X550()
71 eeprom->ops.calc_checksum = ixgbe_calc_eeprom_checksum_X550; in ixgbe_init_ops_X550()
72 eeprom->ops.read = ixgbe_read_ee_hostif_X550; in ixgbe_init_ops_X550()
[all …]
HDixgbe_vf.c59 hw->mac.ops.init_hw = ixgbe_init_hw_vf; in ixgbe_init_ops_vf()
60 hw->mac.ops.reset_hw = ixgbe_reset_hw_vf; in ixgbe_init_ops_vf()
61 hw->mac.ops.start_hw = ixgbe_start_hw_vf; in ixgbe_init_ops_vf()
63 hw->mac.ops.clear_hw_cntrs = NULL; in ixgbe_init_ops_vf()
64 hw->mac.ops.get_media_type = NULL; in ixgbe_init_ops_vf()
65 hw->mac.ops.get_mac_addr = ixgbe_get_mac_addr_vf; in ixgbe_init_ops_vf()
66 hw->mac.ops.stop_adapter = ixgbe_stop_adapter_vf; in ixgbe_init_ops_vf()
67 hw->mac.ops.get_bus_info = NULL; in ixgbe_init_ops_vf()
70 hw->mac.ops.setup_link = ixgbe_setup_mac_link_vf; in ixgbe_init_ops_vf()
71 hw->mac.ops.check_link = ixgbe_check_mac_link_vf; in ixgbe_init_ops_vf()
[all …]
HDixgbe_82598.c131 phy->ops.init = ixgbe_init_phy_ops_82598; in ixgbe_init_ops_82598()
134 mac->ops.start_hw = ixgbe_start_hw_82598; in ixgbe_init_ops_82598()
135 mac->ops.enable_relaxed_ordering = ixgbe_enable_relaxed_ordering_82598; in ixgbe_init_ops_82598()
136 mac->ops.reset_hw = ixgbe_reset_hw_82598; in ixgbe_init_ops_82598()
137 mac->ops.get_media_type = ixgbe_get_media_type_82598; in ixgbe_init_ops_82598()
138 mac->ops.get_supported_physical_layer = in ixgbe_init_ops_82598()
140 mac->ops.read_analog_reg8 = ixgbe_read_analog_reg8_82598; in ixgbe_init_ops_82598()
141 mac->ops.write_analog_reg8 = ixgbe_write_analog_reg8_82598; in ixgbe_init_ops_82598()
142 mac->ops.set_lan_id = ixgbe_set_lan_id_multi_port_pcie_82598; in ixgbe_init_ops_82598()
143 mac->ops.enable_rx_dma = ixgbe_enable_rx_dma_82598; in ixgbe_init_ops_82598()
[all …]
/NextBSD/sys/dev/mii/
HDmii_bitbang.c49 static void mii_bitbang_sendbits(device_t dev, mii_bitbang_ops_t ops,
54 ops->mbo_write(dev, (x)); \
58 #define MREAD ops->mbo_read(dev)
60 #define MDO ops->mbo_bits[MII_BIT_MDO]
61 #define MDI ops->mbo_bits[MII_BIT_MDI]
62 #define MDC ops->mbo_bits[MII_BIT_MDC]
63 #define MDIRPHY ops->mbo_bits[MII_BIT_DIR_HOST_PHY]
64 #define MDIRHOST ops->mbo_bits[MII_BIT_DIR_PHY_HOST]
72 mii_bitbang_sync(device_t dev, mii_bitbang_ops_t ops) in mii_bitbang_sync() argument
92 mii_bitbang_sendbits(device_t dev, mii_bitbang_ops_t ops, uint32_t data, in mii_bitbang_sendbits() argument
[all …]
/NextBSD/contrib/gdb/gdb/
HDser-pipe.c140 struct serial_ops *ops = XMALLOC (struct serial_ops); in _initialize_ser_pipe() local
141 memset (ops, 0, sizeof (struct serial_ops)); in _initialize_ser_pipe()
142 ops->name = "pipe"; in _initialize_ser_pipe()
143 ops->next = 0; in _initialize_ser_pipe()
144 ops->open = pipe_open; in _initialize_ser_pipe()
145 ops->close = pipe_close; in _initialize_ser_pipe()
146 ops->readchar = ser_unix_readchar; in _initialize_ser_pipe()
147 ops->write = ser_unix_write; in _initialize_ser_pipe()
148 ops->flush_output = ser_unix_nop_flush_output; in _initialize_ser_pipe()
149 ops->flush_input = ser_unix_flush_input; in _initialize_ser_pipe()
[all …]
HDserial.c153 struct serial_ops *ops; in serial_interface_lookup() local
155 for (ops = serial_ops_list; ops; ops = ops->next) in serial_interface_lookup()
156 if (strcmp (name, ops->name) == 0) in serial_interface_lookup()
157 return ops; in serial_interface_lookup()
175 struct serial_ops *ops; in serial_open() local
186 ops = serial_interface_lookup ("pc"); in serial_open()
188 ops = serial_interface_lookup ("tcp"); in serial_open()
190 ops = serial_interface_lookup ("parallel"); in serial_open()
193 ops = serial_interface_lookup ("pipe"); in serial_open()
197 ops = serial_interface_lookup ("hardwire"); in serial_open()
[all …]
HDser-tcp.c210 struct serial_ops *ops = XMALLOC (struct serial_ops); in _initialize_ser_tcp() local
211 memset (ops, 0, sizeof (struct serial_ops)); in _initialize_ser_tcp()
212 ops->name = "tcp"; in _initialize_ser_tcp()
213 ops->next = 0; in _initialize_ser_tcp()
214 ops->open = net_open; in _initialize_ser_tcp()
215 ops->close = net_close; in _initialize_ser_tcp()
216 ops->readchar = ser_unix_readchar; in _initialize_ser_tcp()
217 ops->write = ser_unix_write; in _initialize_ser_tcp()
218 ops->flush_output = ser_unix_nop_flush_output; in _initialize_ser_tcp()
219 ops->flush_input = ser_unix_flush_input; in _initialize_ser_tcp()
[all …]
/NextBSD/sys/amd64/vmm/io/
HDiommu.c54 static struct iommu_ops *ops; variable
60 if (ops != NULL) in IOMMU_INIT()
61 return ((*ops->init)()); in IOMMU_INIT()
69 if (ops != NULL && iommu_avail) in IOMMU_CLEANUP()
70 (*ops->cleanup)(); in IOMMU_CLEANUP()
77 if (ops != NULL && iommu_avail) in IOMMU_CREATE_DOMAIN()
78 return ((*ops->create_domain)(maxaddr)); in IOMMU_CREATE_DOMAIN()
87 if (ops != NULL && iommu_avail) in IOMMU_DESTROY_DOMAIN()
88 (*ops->destroy_domain)(dom); in IOMMU_DESTROY_DOMAIN()
95 if (ops != NULL && iommu_avail) in IOMMU_CREATE_MAPPING()
[all …]
/NextBSD/contrib/gcc/
HDtree-ssa-reassoc.c365 add_to_ops_vec (VEC(operand_entry_t, heap) **ops, tree op) in add_to_ops_vec() argument
371 VEC_safe_push (operand_entry_t, heap, *ops, oe); in add_to_ops_vec()
413 VEC (operand_entry_t, heap) **ops, in eliminate_duplicate_pair()
443 VEC_ordered_remove (operand_entry_t, *ops, i); in eliminate_duplicate_pair()
460 if (VEC_length (operand_entry_t, *ops) == 2) in eliminate_duplicate_pair()
462 VEC_free (operand_entry_t, heap, *ops); in eliminate_duplicate_pair()
463 *ops = NULL; in eliminate_duplicate_pair()
464 add_to_ops_vec (ops, fold_convert (TREE_TYPE (last->op), in eliminate_duplicate_pair()
470 VEC_ordered_remove (operand_entry_t, *ops, i-1); in eliminate_duplicate_pair()
471 VEC_ordered_remove (operand_entry_t, *ops, i-1); in eliminate_duplicate_pair()
[all …]
/NextBSD/sys/kern/
HDsubr_kobj.c98 kobj_class_compile_common(kobj_class_t cls, kobj_ops_t ops) in kobj_class_compile_common() argument
106 if (cls->ops) in kobj_class_compile_common()
121 ops->cache[i] = &null_method; in kobj_class_compile_common()
122 ops->cls = cls; in kobj_class_compile_common()
123 cls->ops = ops; in kobj_class_compile_common()
129 kobj_ops_t ops; in kobj_class_compile() local
136 ops = malloc(sizeof(struct kobj_ops), M_KOBJ, M_NOWAIT); in kobj_class_compile()
137 if (!ops) in kobj_class_compile()
147 if (cls->ops) { in kobj_class_compile()
149 free(ops, M_KOBJ); in kobj_class_compile()
[all …]
/NextBSD/contrib/ipfilter/lib/
HDparseipfexpr.c40 char *temp, *arg, *s, *t, *ops, *error; local
77 for (ops = strtok(temp, ";"); ops != NULL; ops = strtok(NULL, ";")) {
78 arg = strchr(ops, '=');
79 if ((arg < ops + 2) || (arg == NULL)) {
94 if (strcmp(ops, e->ipoe_word) == 0)
101 ops);
151 if (!strcasecmp(ops, "ip.addr") ||
152 !strcasecmp(ops, "ip.src") ||
153 !strcasecmp(ops, "ip.dst")) {
177 } else if (!strcasecmp(ops, "ip6.addr") ||
[all …]

12345678910>>...18