Lines Matching refs:ro
320 char ro; member
784 if (curlun->ro) { in do_write()
1268 buf[2] = (curlun->ro ? 0x80 : 0x00); /* WP, DPOFUA */ in do_mode_sense()
1272 buf[3] = (curlun->ro ? 0x80 : 0x00); /* WP, DPOFUA */ in do_mode_sense()
2579 static DEVICE_ATTR(ro, 0644, fsg_show_ro, fsg_store_ro);
2584 __ATTR(ro, 0444, fsg_show_ro, NULL);
2681 curlun->ro = lcfg->cdrom || lcfg->ro; in fsg_common_init()
2682 curlun->initially_ro = curlun->ro; in fsg_common_init()
2793 curlun->ro ? "read only " : "", in fsg_common_init()
2988 bool ro[FSG_MAX_LUNS]; member
3013 _FSG_MODULE_PARAM_ARRAY(prefix, params, ro, bool, \
3038 lun->ro = !!params->ro[i]; in fsg_config_from_params()