Searched refs:attr_index (Results 1 – 4 of 4) sorted by relevance
182 unsigned int attr_index; in mlxsw_hwmon_attr_add() local184 attr_index = mlxsw_hwmon->attrs_count; in mlxsw_hwmon_attr_add()185 mlxsw_hwmon_attr = &mlxsw_hwmon->hwmon_attrs[attr_index]; in mlxsw_hwmon_attr_add()228 mlxsw_hwmon->attrs[attr_index] = &mlxsw_hwmon_attr->dev_attr.attr; in mlxsw_hwmon_attr_add()
3002 int attr_index; in xlog_recover_inode_pass2() local3219 attr_index = 3; in xlog_recover_inode_pass2()3221 attr_index = 2; in xlog_recover_inode_pass2()3223 len = item->ri_buf[attr_index].i_len; in xlog_recover_inode_pass2()3224 src = item->ri_buf[attr_index].i_addr; in xlog_recover_inode_pass2()
3791 u16 attr_index; in cm_send_handler() local3794 attr_index = be16_to_cpu(((struct ib_mad_hdr *) in cm_send_handler()3802 if (!msg->context[0] && (attr_index != CM_REJ_COUNTER)) in cm_send_handler()3806 &port->counter_group[CM_XMIT].counter[attr_index]); in cm_send_handler()3810 counter[attr_index]); in cm_send_handler()
2236 static struct xps_map *expand_xps_map(struct xps_map *map, int attr_index, in expand_xps_map() argument2264 cpu_to_node(attr_index)); in expand_xps_map()