Lines Matching refs:S_IRUGO
141 static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL);
202 __ATTR(state, S_IRUGO | S_IWUSR, show_shost_state, store_shost_state);
234 static DEVICE_ATTR(supported_mode, S_IRUGO | S_IWUSR, show_shost_supported_mode, NULL);
248 static DEVICE_ATTR(active_mode, S_IRUGO | S_IWUSR, show_shost_active_mode, NULL);
334 static DEVICE_ATTR(eh_deadline, S_IRUGO | S_IWUSR, show_shost_eh_deadline, store_shost_eh_deadline);
353 static DEVICE_ATTR(host_busy, S_IRUGO, show_host_busy, NULL);
524 static DEVICE_ATTR(field, S_IRUGO, sdev_show_##field, NULL);
543 static DEVICE_ATTR(field, S_IRUGO | S_IWUSR, sdev_show_##field, sdev_store_##field);
569 static DEVICE_ATTR(field, S_IRUGO | S_IWUSR, sdev_show_##field, sdev_store_##field);
604 static DEVICE_ATTR(device_busy, S_IRUGO, sdev_show_device_busy, NULL);
613 static DEVICE_ATTR(device_blocked, S_IRUGO, sdev_show_device_blocked, NULL);
637 static DEVICE_ATTR(timeout, S_IRUGO | S_IWUSR, sdev_show_timeout, sdev_store_timeout);
666 static DEVICE_ATTR(eh_timeout, S_IRUGO | S_IWUSR, sdev_show_eh_timeout, sdev_store_eh_timeout);
723 static DEVICE_ATTR(state, S_IRUGO | S_IWUSR, show_state_field, store_state_field);
752 static DEVICE_ATTR(queue_type, S_IRUGO | S_IWUSR, show_queue_type_field,
770 .attr = {.name = __stringify(vpd_##_page), .mode = S_IRUGO }, \
795 .mode = S_IRUGO,
808 static DEVICE_ATTR(iocounterbits, S_IRUGO, show_iostat_counterbits, NULL);
819 static DEVICE_ATTR(field, S_IRUGO, show_iostat_##field, NULL)
832 static DEVICE_ATTR(modalias, S_IRUGO, sdev_show_modalias, NULL);
863 static DEVICE_ATTR(evt_##name, S_IRUGO, sdev_show_evt_##name, \
900 static DEVICE_ATTR(queue_depth, S_IRUGO | S_IWUSR, sdev_show_queue_depth,
929 static DEVICE_ATTR(queue_ramp_up_period, S_IRUGO | S_IWUSR,
942 return S_IRUGO; in scsi_sdev_attr_is_visible()