read_only         386 arch/ia64/kernel/unwind.c 		if (read_only(addr)) {
read_only         434 arch/ia64/kernel/unwind.c 		if (read_only(addr)) {
read_only         483 arch/ia64/kernel/unwind.c 		if (read_only(addr)) {
read_only         580 arch/ia64/kernel/unwind.c 		if (read_only(addr)) {
read_only         601 arch/ia64/kernel/unwind.c 		if (read_only(addr)) {
read_only         860 drivers/block/rbd.c 	bool	read_only;
read_only         933 drivers/block/rbd.c 		pctx->opts->read_only = true;
read_only         936 drivers/block/rbd.c 		pctx->opts->read_only = false;
read_only        6582 drivers/block/rbd.c 	pctx.opts->read_only = RBD_READ_ONLY_DEFAULT;
read_only        6896 drivers/block/rbd.c 	set_disk_ro(rbd_dev->disk, rbd_dev->opts->read_only);
read_only        7106 drivers/block/rbd.c 		rbd_dev->opts->read_only = true;
read_only        1333 drivers/hid/wacom_sys.c 				  unsigned int id, bool read_only)
read_only        1346 drivers/hid/wacom_sys.c 	if (!read_only) {
read_only        1366 drivers/hid/wacom_sys.c 	if (!read_only) {
read_only        1395 drivers/hid/wacom_sys.c 						   bool read_only)
read_only        1417 drivers/hid/wacom_sys.c 					       group_id, i, read_only);
read_only        1522 drivers/hid/wacom_sys.c 					 int led_per_group, bool read_only)
read_only        1539 drivers/hid/wacom_sys.c 								read_only);
read_only          89 drivers/hwmon/adm1021.c static bool read_only;
read_only         207 drivers/hwmon/adm1021.c 	if (!read_only)
read_only         233 drivers/hwmon/adm1021.c 	if (!read_only)
read_only         444 drivers/hwmon/adm1021.c 	if (data->type != lm84 && !read_only)
read_only         488 drivers/hwmon/adm1021.c module_param(read_only, bool, 0);
read_only         489 drivers/hwmon/adm1021.c MODULE_PARM_DESC(read_only, "Don't set any values, read only mode");
read_only          49 drivers/hwmon/max1668.c static bool read_only;
read_only          50 drivers/hwmon/max1668.c module_param(read_only, bool, 0);
read_only          51 drivers/hwmon/max1668.c MODULE_PARM_DESC(read_only, "Don't set any values, read only mode");
read_only         332 drivers/hwmon/max1668.c 	if (read_only)
read_only          36 drivers/i2c/i2c-slave-eeprom.c 	bool read_only;
read_only          58 drivers/i2c/i2c-slave-eeprom.c 			if (!eeprom->read_only) {
read_only         137 drivers/i2c/i2c-slave-eeprom.c 	eeprom->read_only = FIELD_GET(I2C_SLAVE_FLAG_RO, id->driver_data);
read_only         140 drivers/md/dm-clone-metadata.c 	unsigned int read_only;
read_only         584 drivers/md/dm-clone-metadata.c 	cmd->read_only = 0;
read_only         863 drivers/md/dm-clone-metadata.c 	if (cmd->read_only) {
read_only         897 drivers/md/dm-clone-metadata.c 	if (cmd->read_only) {
read_only         983 drivers/md/dm-clone-metadata.c 	cmd->read_only = 1;
read_only         997 drivers/md/dm-clone-metadata.c 	cmd->read_only = 0;
read_only        2951 drivers/md/dm-thin.c 				int read_only, char **error)
read_only        2957 drivers/md/dm-thin.c 	bool format_device = read_only ? false : true;
read_only        3100 drivers/md/dm-thin.c 				unsigned long block_size, int read_only,
read_only        3126 drivers/md/dm-thin.c 			pool = pool_create(pool_md, metadata_dev, data_dev, block_size, read_only, error);
read_only         375 drivers/md/persistent-data/dm-block-manager.c 	bool read_only:1;
read_only         401 drivers/md/persistent-data/dm-block-manager.c 	bm->read_only = false;
read_only         496 drivers/md/persistent-data/dm-block-manager.c 	if (bm->read_only)
read_only         565 drivers/md/persistent-data/dm-block-manager.c 	if (bm->read_only)
read_only         605 drivers/md/persistent-data/dm-block-manager.c 	if (bm->read_only)
read_only         619 drivers/md/persistent-data/dm-block-manager.c 	return bm->read_only;
read_only         625 drivers/md/persistent-data/dm-block-manager.c 	bm->read_only = true;
read_only         631 drivers/md/persistent-data/dm-block-manager.c 	bm->read_only = false;
read_only         163 drivers/memstick/core/ms_block.c 	msb->read_only = true;
read_only         175 drivers/memstick/core/ms_block.c 		msb->read_only = true;
read_only         194 drivers/memstick/core/ms_block.c 		msb->read_only = true;
read_only         750 drivers/memstick/core/ms_block.c 			msb->read_only = true;
read_only         758 drivers/memstick/core/ms_block.c 		msb->read_only = true;
read_only         789 drivers/memstick/core/ms_block.c 	if (msb->read_only)
read_only         824 drivers/memstick/core/ms_block.c 	if (msb->read_only)
read_only        1002 drivers/memstick/core/ms_block.c 	if (msb->read_only)
read_only        1030 drivers/memstick/core/ms_block.c 		if (msb->read_only)
read_only        1084 drivers/memstick/core/ms_block.c 		msb->read_only = true;
read_only        1103 drivers/memstick/core/ms_block.c 		msb->read_only = true;
read_only        1154 drivers/memstick/core/ms_block.c 		msb->read_only = true;
read_only        1533 drivers/memstick/core/ms_block.c 	if (msb->read_only)
read_only        1605 drivers/memstick/core/ms_block.c 	if (msb->read_only)
read_only        1701 drivers/memstick/core/ms_block.c 		msb->read_only = true;
read_only        1757 drivers/memstick/core/ms_block.c 		msb->read_only = true;
read_only        1763 drivers/memstick/core/ms_block.c 	dbg("Read only: %d", msb->read_only);
read_only        2151 drivers/memstick/core/ms_block.c 	if (msb->read_only)
read_only         169 drivers/memstick/core/ms_block.h 	bool				read_only;
read_only         150 drivers/memstick/core/mspro_block.c 	unsigned char         read_only:1,
read_only         191 drivers/memstick/core/mspro_block.c 		if ((mode & FMODE_WRITE) && msb->read_only)
read_only         551 drivers/memstick/core/mspro_block.c 			msb->read_only = 1;
read_only         553 drivers/memstick/core/mspro_block.c 			msb->read_only = 0;
read_only        1159 drivers/memstick/core/mspro_block.c 	dev_dbg(&card->dev, "card r/w status %d\n", msb->read_only ? 0 : 1);
read_only         686 drivers/misc/eeprom/at24.c 	nvmem_config.read_only = !writable;
read_only         353 drivers/misc/eeprom/at25.c 	at25->nvmem_config.read_only = chip.flags & EE_READONLY;
read_only         460 drivers/misc/eeprom/eeprom_93xx46.c 	edev->nvmem_config.read_only = pd->flags & EE_READONLY;
read_only         114 drivers/mmc/core/block.c 	unsigned int	read_only;
read_only         280 drivers/mmc/core/block.c 		       md->read_only);
read_only         297 drivers/mmc/core/block.c 	set_disk_ro(dev_to_disk(dev), set || md->read_only);
read_only         315 drivers/mmc/core/block.c 		if ((mode & FMODE_WRITE) && md->read_only) {
read_only        2284 drivers/mmc/core/block.c 	md->read_only = mmc_blk_readonly(card);
read_only        2320 drivers/mmc/core/block.c 	set_disk_ro(md->disk, md->read_only || default_ro);
read_only        2895 drivers/mmc/core/block.c 		cap_str, md->read_only ? "(ro)" : "");
read_only        1504 drivers/mmc/host/atmel-mci.c 	int			read_only = -ENOSYS;
read_only        1508 drivers/mmc/host/atmel-mci.c 		read_only = gpio_get_value(slot->wp_pin);
read_only        1510 drivers/mmc/host/atmel-mci.c 				read_only ? "read-only" : "read-write");
read_only        1513 drivers/mmc/host/atmel-mci.c 	return read_only;
read_only        1562 drivers/mmc/host/dw_mmc.c 	int read_only;
read_only        1568 drivers/mmc/host/dw_mmc.c 		read_only = gpio_ro;
read_only        1570 drivers/mmc/host/dw_mmc.c 		read_only =
read_only        1574 drivers/mmc/host/dw_mmc.c 		read_only ? "read-only" : "read-write");
read_only        1576 drivers/mmc/host/dw_mmc.c 	return read_only;
read_only         309 drivers/mmc/host/vub300.c 	bool read_only;
read_only         508 drivers/mmc/host/vub300.c 	vub300->read_only =
read_only        2042 drivers/mmc/host/vub300.c 	return vub300->read_only;
read_only        2313 drivers/mmc/host/vub300.c 		vub300->read_only =
read_only         572 drivers/mtd/mtdcore.c 	config.read_only = true;
read_only         419 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	bool read_only;
read_only         425 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	.read_only = _read_only, \
read_only        4895 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (priv_flags->read_only &&
read_only        4914 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (priv_flags->read_only &&
read_only         250 drivers/net/ethernet/intel/iavf/iavf_ethtool.c 	bool read_only;
read_only         256 drivers/net/ethernet/intel/iavf/iavf_ethtool.c 	.read_only = _read_only, \
read_only         480 drivers/net/ethernet/intel/iavf/iavf_ethtool.c 		if (priv_flags->read_only &&
read_only         979 drivers/nvdimm/bus.c 		int read_only, unsigned int ioctl_cmd, unsigned long arg)
read_only        1020 drivers/nvdimm/bus.c 	if (read_only)
read_only         560 drivers/nvdimm/region_devs.c static DEVICE_ATTR_RW(read_only);
read_only         233 drivers/nvmem/bcm-ocotp.c 	.read_only = false,
read_only         399 drivers/nvmem/core.c 	nvmem->read_only = device_property_present(config->dev, "read-only") ||
read_only         400 drivers/nvmem/core.c 			   config->read_only || !nvmem->reg_write;
read_only        1060 drivers/nvmem/core.c 	if (!nvmem || nvmem->read_only ||
read_only         125 drivers/nvmem/imx-iim.c 	cfg.read_only = true,
read_only         118 drivers/nvmem/imx-ocotp-scu.c 	.read_only = true,
read_only         416 drivers/nvmem/imx-ocotp.c 	.read_only = false,
read_only          61 drivers/nvmem/lpc18xx_otp.c 	.read_only = true,
read_only         220 drivers/nvmem/meson-mx-efuse.c 	efuse->config.read_only = true;
read_only         210 drivers/nvmem/nvmem-sysfs.c 		return nvmem->read_only ?
read_only         214 drivers/nvmem/nvmem-sysfs.c 	return nvmem->read_only ? nvmem_ro_dev_groups : nvmem_rw_dev_groups;
read_only         233 drivers/nvmem/nvmem-sysfs.c 	if (nvmem->read_only) {
read_only          21 drivers/nvmem/nvmem.h 	bool			read_only;
read_only         210 drivers/nvmem/rockchip-efuse.c 	.read_only = true,
read_only         226 drivers/nvmem/sc27xx-efuse.c 	econfig.read_only = true;
read_only         165 drivers/nvmem/stm32-romem.c 		priv->cfg.read_only = true;
read_only         145 drivers/nvmem/sunxi_sid.c 	nvmem_cfg->read_only = true;
read_only          51 drivers/nvmem/uniphier-efuse.c 	econfig.read_only = true;
read_only          46 drivers/nvmem/zynqmp_nvmem.c 	.read_only = true,
read_only          51 drivers/scsi/qedf/drv_fcoe_fw_funcs.c 	t_st_ctx->read_only.dev_type = (u8)(task_params->is_tape_device == 1 ?
read_only          54 drivers/scsi/qedf/drv_fcoe_fw_funcs.c 	t_st_ctx->read_only.cid = cpu_to_le32(task_params->conn_cid);
read_only          56 drivers/scsi/qedf/drv_fcoe_fw_funcs.c 	t_st_ctx->read_only.glbl_q_num = val;
read_only          57 drivers/scsi/qedf/drv_fcoe_fw_funcs.c 	t_st_ctx->read_only.fcp_cmd_trns_size = cpu_to_le32(io_size);
read_only          58 drivers/scsi/qedf/drv_fcoe_fw_funcs.c 	t_st_ctx->read_only.task_type = (u8)task_params->task_type;
read_only         153 drivers/scsi/qedf/drv_fcoe_fw_funcs.c 	t_st_ctx->read_only.cid = cpu_to_le32(task_params->conn_cid);
read_only         155 drivers/scsi/qedf/drv_fcoe_fw_funcs.c 	t_st_ctx->read_only.glbl_q_num = val;
read_only         156 drivers/scsi/qedf/drv_fcoe_fw_funcs.c 	t_st_ctx->read_only.task_type = (u8)task_params->task_type;
read_only         183 drivers/scsi/sg.c 			int read_only, int sg_io_owned, Sg_request **o_srp);
read_only         717 drivers/scsi/sg.c 		 size_t count, int blocking, int read_only, int sg_io_owned,
read_only         776 drivers/scsi/sg.c 	if (read_only && sg_allow_access(file, cmnd)) {
read_only         905 drivers/scsi/sg.c 	int result, val, read_only;
read_only         916 drivers/scsi/sg.c 	read_only = (O_RDWR != (filp->f_flags & O_ACCMODE));
read_only         927 drivers/scsi/sg.c 				 1, read_only, 1, &srp);
read_only        1135 drivers/scsi/sg.c 		if (read_only)
read_only          33 drivers/staging/greybus/sdio.c 	bool			read_only;
read_only         194 drivers/staging/greybus/sdio.c 		host->read_only = true;
read_only         730 drivers/staging/greybus/sdio.c 	return host->read_only;
read_only         617 drivers/target/target_core_pscsi.c 		bool read_only = target_lun_is_rdonly(cmd);
read_only         619 drivers/target/target_core_pscsi.c 		if (read_only) {
read_only         325 drivers/thunderbolt/switch.c 		config.read_only = true;
read_only          94 drivers/usb/storage/sddr55.c 	int		read_only;	/* non zero if card is write protected */
read_only         172 drivers/usb/storage/sddr55.c 	info->read_only = (status[0] & 0x20);
read_only         327 drivers/usb/storage/sddr55.c 	if (info->read_only || info->force_read_only) {
read_only         898 drivers/usb/storage/sddr55.c 		ptr[3] = (info->read_only || info->force_read_only) ? 0x80 : 0;
read_only         173 drivers/w1/slaves/w1_ds250x.c 		.read_only = true,
read_only         646 fs/ext2/super.c 			      int read_only)
read_only         657 fs/ext2/super.c 	if (read_only)
read_only        2288 fs/ext4/super.c 			    int read_only)
read_only        2298 fs/ext4/super.c 	if (read_only)
read_only         289 fs/hpfs/dir.c  		if (!hpfs_result->i_ea_mode && de->read_only)
read_only         331 fs/hpfs/hpfs.h   u8 read_only: 1;			/* dos attrib */
read_only         347 fs/hpfs/hpfs.h   u8 read_only: 1;			/* dos attrib */
read_only         236 fs/hpfs/inode.c 		de->read_only = !(i->i_mode & 0222);
read_only         246 fs/hpfs/inode.c 			de->read_only = !(i->i_mode & 0222);
read_only          49 fs/hpfs/namei.c 	if (!(mode & 0222)) dee.read_only = 1;
read_only          72 fs/hpfs/namei.c 	if (dee.read_only)
read_only          95 fs/hpfs/namei.c 	if (!(mode & 0222)) de->read_only = 1;
read_only         150 fs/hpfs/namei.c 	if (!(mode & 0222)) dee.read_only = 1;
read_only         173 fs/hpfs/namei.c 	if (dee.read_only)
read_only         237 fs/hpfs/namei.c 	if (!(mode & 0222)) dee.read_only = 1;
read_only         807 fs/ubifs/orphan.c int ubifs_mount_orphans(struct ubifs_info *c, int unclean, int read_only)
read_only         813 fs/ubifs/orphan.c 	if (!read_only) {
read_only         821 fs/ubifs/orphan.c 	else if (!read_only)
read_only        1923 fs/ubifs/ubifs.h int ubifs_mount_orphans(struct ubifs_info *c, int unclean, int read_only);
read_only          64 include/linux/nvmem-provider.h 	bool			read_only;
read_only         351 include/linux/qed/fcoe_common.h 	struct fcoe_tstorm_fcoe_task_st_ctx_read_only read_only;
read_only         127 include/net/dst.h 				    bool read_only)
read_only         130 include/net/dst.h 		(read_only ? DST_METRICS_READ_ONLY : 0);
read_only        6656 net/core/filter.c 			goto read_only;
read_only        6663 net/core/filter.c 			goto read_only;
read_only        6671 net/core/filter.c 			goto read_only;
read_only        6676 net/core/filter.c read_only:
read_only          13 sound/pci/asihpi/hpifunc.c 	unsigned int read_only:1;
read_only          28 sound/pci/asihpi/hpifunc.c 	handle.h.read_only = 0;
read_only          26 sound/soc/intel/skylake/skl-sst-utils.c 		u32 read_only : 1;
read_only         513 sound/usb/mixer.c 	unsigned int read_only = (channel == 0) ?
read_only         517 sound/usb/mixer.c 	if (read_only) {