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,
508 sdev_show_##field (struct device *dev, struct device_attribute *attr, \
533 sdev_store_##field (struct device *dev, struct device_attribute *attr, \
554 sdev_store_##field (struct device *dev, struct device_attribute *attr, \
596 sdev_show_device_busy(struct device *dev, struct device_attribute *attr, in sdev_show_device_busy() argument
605 sdev_show_device_blocked(struct device *dev, struct device_attribute *attr, in sdev_show_device_blocked() argument
617 sdev_show_timeout (struct device *dev, struct device_attribute *attr, char *buf) in sdev_show_timeout() argument
625 sdev_store_timeout (struct device *dev, struct device_attribute *attr, in sdev_store_timeout() argument
638 sdev_show_eh_timeout(struct device *dev, struct device_attribute *attr, char *buf) in sdev_show_eh_timeout() argument
646 sdev_store_eh_timeout(struct device *dev, struct device_attribute *attr, in sdev_store_eh_timeout() argument
667 store_rescan_field (struct device *dev, struct device_attribute *attr, in store_rescan_field() argument
676 sdev_store_delete(struct device *dev, struct device_attribute *attr, in sdev_store_delete() argument
679 if (device_remove_file_self(dev, attr)) in sdev_store_delete()
686 store_state_field(struct device *dev, struct device_attribute *attr, in store_state_field() argument
710 show_state_field(struct device *dev, struct device_attribute *attr, char *buf) in show_state_field() argument
724 show_queue_type_field(struct device *dev, struct device_attribute *attr, in show_queue_type_field() argument
737 store_queue_type_field(struct device *dev, struct device_attribute *attr, in store_queue_type_field() argument
768 .attr = {.name = __stringify(vpd_##_page), .mode = S_IRUGO }, \
777 show_iostat_counterbits(struct device *dev, struct device_attribute *attr, in show_iostat_counterbits() argument
787 show_iostat_##field(struct device *dev, struct device_attribute *attr, \
801 sdev_show_modalias(struct device *dev, struct device_attribute *attr, char *buf) in sdev_show_modalias() argument
811 sdev_show_evt_##name(struct device *dev, struct device_attribute *attr, \
821 sdev_store_evt_##name(struct device *dev, struct device_attribute *attr,\
840 #define REF_EVT(name) &dev_attr_evt_##name.attr
850 sdev_store_queue_depth(struct device *dev, struct device_attribute *attr, in DECLARE_EVT()
880 struct device_attribute *attr, in sdev_show_queue_ramp_up_period() argument
891 struct device_attribute *attr, in sdev_store_queue_ramp_up_period() argument
909 struct attribute *attr, int i) in scsi_sdev_attr_is_visible() argument
915 if (attr == &dev_attr_queue_depth.attr && in scsi_sdev_attr_is_visible()
919 if (attr == &dev_attr_queue_ramp_up_period.attr && in scsi_sdev_attr_is_visible()
923 return attr->mode; in scsi_sdev_attr_is_visible()
928 &dev_attr_device_blocked.attr,
929 &dev_attr_type.attr,
930 &dev_attr_scsi_level.attr,
931 &dev_attr_device_busy.attr,
932 &dev_attr_vendor.attr,
933 &dev_attr_model.attr,
934 &dev_attr_rev.attr,
935 &dev_attr_rescan.attr,
936 &dev_attr_delete.attr,
937 &dev_attr_state.attr,
938 &dev_attr_timeout.attr,
939 &dev_attr_eh_timeout.attr,
940 &dev_attr_iocounterbits.attr,
941 &dev_attr_iorequest_cnt.attr,
942 &dev_attr_iodone_cnt.attr,
943 &dev_attr_ioerr_cnt.attr,
944 &dev_attr_modalias.attr,
945 &dev_attr_queue_depth.attr,
946 &dev_attr_queue_type.attr,
947 &dev_attr_queue_ramp_up_period.attr,