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);
522 static DEVICE_ATTR(field, S_IRUGO, sdev_show_##field, NULL);
541 static DEVICE_ATTR(field, S_IRUGO | S_IWUSR, sdev_show_##field, sdev_store_##field);
567 static DEVICE_ATTR(field, S_IRUGO | S_IWUSR, sdev_show_##field, sdev_store_##field);
602 static DEVICE_ATTR(device_busy, S_IRUGO, sdev_show_device_busy, NULL);
611 static DEVICE_ATTR(device_blocked, S_IRUGO, sdev_show_device_blocked, NULL);
635 static DEVICE_ATTR(timeout, S_IRUGO | S_IWUSR, sdev_show_timeout, sdev_store_timeout);
664 static DEVICE_ATTR(eh_timeout, S_IRUGO | S_IWUSR, sdev_show_eh_timeout, sdev_store_eh_timeout);
721 static DEVICE_ATTR(state, S_IRUGO | S_IWUSR, show_state_field, store_state_field);
750 static DEVICE_ATTR(queue_type, S_IRUGO | S_IWUSR, show_queue_type_field,
768 .attr = {.name = __stringify(vpd_##_page), .mode = S_IRUGO }, \
783 static DEVICE_ATTR(iocounterbits, S_IRUGO, show_iostat_counterbits, NULL);
794 static DEVICE_ATTR(field, S_IRUGO, show_iostat_##field, NULL)
807 static DEVICE_ATTR(modalias, S_IRUGO, sdev_show_modalias, NULL);
838 static DEVICE_ATTR(evt_##name, S_IRUGO, sdev_show_evt_##name, \
875 static DEVICE_ATTR(queue_depth, S_IRUGO | S_IWUSR, sdev_show_queue_depth,
904 static DEVICE_ATTR(queue_ramp_up_period, S_IRUGO | S_IWUSR,
917 return S_IRUGO; in scsi_sdev_attr_is_visible()