Searched refs:stat_attr (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/infiniband/core/ |
D | sysfs.c | 149 struct hw_stats_device_attribute *stat_attr = in hw_stat_device_show() local 153 return stat_attr->show(ibdev, ibdev->hw_stats_data->stats, in hw_stat_device_show() 154 stat_attr - ibdev->hw_stats_data->attrs, 0, buf); in hw_stat_device_show() 161 struct hw_stats_device_attribute *stat_attr = in hw_stat_device_store() local 165 return stat_attr->store(ibdev, ibdev->hw_stats_data->stats, in hw_stat_device_store() 166 stat_attr - ibdev->hw_stats_data->attrs, 0, buf, in hw_stat_device_store() 173 struct hw_stats_port_attribute *stat_attr = in hw_stat_port_show() local 177 return stat_attr->show(ibdev, port->hw_stats_data->stats, in hw_stat_port_show() 178 stat_attr - port->hw_stats_data->attrs, in hw_stat_port_show() 186 struct hw_stats_port_attribute *stat_attr = in hw_stat_port_store() local [all …]
|