Lines Matching refs:attr
128 show_##name (struct device *dev, struct device_attribute *attr, \
151 store_scan(struct device *dev, struct device_attribute *attr, in store_scan() argument
165 store_shost_state(struct device *dev, struct device_attribute *attr, in store_shost_state() argument
189 show_shost_state(struct device *dev, struct device_attribute *attr, char *buf) in show_shost_state() argument
221 show_shost_supported_mode(struct device *dev, struct device_attribute *attr, in show_shost_supported_mode() argument
238 struct device_attribute *attr, char *buf) in show_shost_active_mode() argument
261 store_host_reset(struct device *dev, struct device_attribute *attr, in store_host_reset() argument
286 struct device_attribute *attr, char *buf) in show_shost_eh_deadline() argument
296 store_shost_eh_deadline(struct device *dev, struct device_attribute *attr, in store_shost_eh_deadline() argument
348 show_host_busy(struct device *dev, struct device_attribute *attr, char *buf) in show_host_busy() argument
356 &dev_attr_use_blk_mq.attr,
357 &dev_attr_unique_id.attr,
358 &dev_attr_host_busy.attr,
359 &dev_attr_cmd_per_lun.attr,
360 &dev_attr_can_queue.attr,
361 &dev_attr_sg_tablesize.attr,
362 &dev_attr_sg_prot_tablesize.attr,
363 &dev_attr_unchecked_isa_dma.attr,
364 &dev_attr_proc_name.attr,
365 &dev_attr_scan.attr,
366 &dev_attr_hstate.attr,
367 &dev_attr_supported_mode.attr,
368 &dev_attr_active_mode.attr,
369 &dev_attr_prot_capabilities.attr,
370 &dev_attr_prot_guard_type.attr,
371 &dev_attr_host_reset.attr,
372 &dev_attr_eh_deadline.attr,
510 sdev_show_##field (struct device *dev, struct device_attribute *attr, \
535 sdev_store_##field (struct device *dev, struct device_attribute *attr, \
556 sdev_store_##field (struct device *dev, struct device_attribute *attr, \
598 sdev_show_device_busy(struct device *dev, struct device_attribute *attr, in sdev_show_device_busy() argument
607 sdev_show_device_blocked(struct device *dev, struct device_attribute *attr, in sdev_show_device_blocked() argument
619 sdev_show_timeout (struct device *dev, struct device_attribute *attr, char *buf) in sdev_show_timeout() argument
627 sdev_store_timeout (struct device *dev, struct device_attribute *attr, in sdev_store_timeout() argument
640 sdev_show_eh_timeout(struct device *dev, struct device_attribute *attr, char *buf) in sdev_show_eh_timeout() argument
648 sdev_store_eh_timeout(struct device *dev, struct device_attribute *attr, in sdev_store_eh_timeout() argument
669 store_rescan_field (struct device *dev, struct device_attribute *attr, in store_rescan_field() argument
678 sdev_store_delete(struct device *dev, struct device_attribute *attr, in sdev_store_delete() argument
681 if (device_remove_file_self(dev, attr)) in sdev_store_delete()
688 store_state_field(struct device *dev, struct device_attribute *attr, in store_state_field() argument
712 show_state_field(struct device *dev, struct device_attribute *attr, char *buf) in show_state_field() argument
726 show_queue_type_field(struct device *dev, struct device_attribute *attr, in show_queue_type_field() argument
739 store_queue_type_field(struct device *dev, struct device_attribute *attr, in store_queue_type_field() argument
770 .attr = {.name = __stringify(vpd_##_page), .mode = S_IRUGO }, \
793 .attr = {
802 show_iostat_counterbits(struct device *dev, struct device_attribute *attr, in show_iostat_counterbits() argument
812 show_iostat_##field(struct device *dev, struct device_attribute *attr, \
826 sdev_show_modalias(struct device *dev, struct device_attribute *attr, char *buf) in sdev_show_modalias() argument
836 sdev_show_evt_##name(struct device *dev, struct device_attribute *attr, \
846 sdev_store_evt_##name(struct device *dev, struct device_attribute *attr,\
865 #define REF_EVT(name) &dev_attr_evt_##name.attr
875 sdev_store_queue_depth(struct device *dev, struct device_attribute *attr, in DECLARE_EVT()
905 struct device_attribute *attr, in sdev_show_queue_ramp_up_period() argument
916 struct device_attribute *attr, in sdev_store_queue_ramp_up_period() argument
934 struct attribute *attr, int i) in scsi_sdev_attr_is_visible() argument
940 if (attr == &dev_attr_queue_depth.attr && in scsi_sdev_attr_is_visible()
944 if (attr == &dev_attr_queue_ramp_up_period.attr && in scsi_sdev_attr_is_visible()
948 return attr->mode; in scsi_sdev_attr_is_visible()
953 &dev_attr_device_blocked.attr,
954 &dev_attr_type.attr,
955 &dev_attr_scsi_level.attr,
956 &dev_attr_device_busy.attr,
957 &dev_attr_vendor.attr,
958 &dev_attr_model.attr,
959 &dev_attr_rev.attr,
960 &dev_attr_rescan.attr,
961 &dev_attr_delete.attr,
962 &dev_attr_state.attr,
963 &dev_attr_timeout.attr,
964 &dev_attr_eh_timeout.attr,
965 &dev_attr_iocounterbits.attr,
966 &dev_attr_iorequest_cnt.attr,
967 &dev_attr_iodone_cnt.attr,
968 &dev_attr_ioerr_cnt.attr,
969 &dev_attr_modalias.attr,
970 &dev_attr_queue_depth.attr,
971 &dev_attr_queue_type.attr,
972 &dev_attr_queue_ramp_up_period.attr,