Home
last modified time | relevance | path

Searched refs:read_only (Results 1 – 25 of 80) sorted by relevance

1234

/Linux-v5.15/drivers/scsi/qedf/
Ddrv_fcoe_fw_funcs.c51 t_st_ctx->read_only.dev_type = (u8)(task_params->is_tape_device == 1 ? in init_initiator_rw_fcoe_task()
54 t_st_ctx->read_only.cid = cpu_to_le32(task_params->conn_cid); in init_initiator_rw_fcoe_task()
56 t_st_ctx->read_only.glbl_q_num = val; in init_initiator_rw_fcoe_task()
57 t_st_ctx->read_only.fcp_cmd_trns_size = cpu_to_le32(io_size); in init_initiator_rw_fcoe_task()
58 t_st_ctx->read_only.task_type = (u8)task_params->task_type; in init_initiator_rw_fcoe_task()
153 t_st_ctx->read_only.cid = cpu_to_le32(task_params->conn_cid); in init_initiator_midpath_unsolicited_fcoe_task()
155 t_st_ctx->read_only.glbl_q_num = val; in init_initiator_midpath_unsolicited_fcoe_task()
156 t_st_ctx->read_only.task_type = (u8)task_params->task_type; in init_initiator_midpath_unsolicited_fcoe_task()
/Linux-v5.15/drivers/hwmon/
Dadm1021.c89 static bool read_only; variable
207 if (!read_only) in temp_max_store()
233 if (!read_only) in temp_min_store()
445 if (data->type != lm84 && !read_only) in adm1021_probe()
489 module_param(read_only, bool, 0);
490 MODULE_PARM_DESC(read_only, "Don't set any values, read only mode");
Dmax1668.c49 static bool read_only; variable
50 module_param(read_only, bool, 0);
51 MODULE_PARM_DESC(read_only, "Don't set any values, read only mode");
332 if (read_only) in max1668_attribute_mode()
/Linux-v5.15/drivers/i2c/
Di2c-slave-eeprom.c36 bool read_only; member
58 if (!eeprom->read_only) { in i2c_slave_eeprom_slave_cb()
156 eeprom->read_only = FIELD_GET(I2C_SLAVE_FLAG_RO, id->driver_data); in i2c_slave_eeprom_probe()
/Linux-v5.15/drivers/memstick/core/
Dms_block.c163 msb->read_only = true; in msb_validate_used_block_bitmap()
175 msb->read_only = true; in msb_mark_block_used()
194 msb->read_only = true; in msb_mark_block_unused()
753 msb->read_only = true; in msb_reset()
761 msb->read_only = true; in msb_reset()
792 if (msb->read_only) in msb_set_overwrite_flag()
828 if (msb->read_only) in msb_erase_block()
1007 if (msb->read_only) in msb_write_block()
1035 if (msb->read_only) in msb_write_block()
1090 msb->read_only = true; in msb_get_free_block()
[all …]
Dms_block.h169 bool read_only; member
/Linux-v5.15/drivers/md/persistent-data/
Ddm-block-manager.c375 bool read_only:1; member
401 bm->read_only = false; in dm_block_manager_create()
619 return (bm ? bm->read_only : true); in dm_bm_is_read_only()
626 bm->read_only = true; in dm_bm_set_read_only()
633 bm->read_only = false; in dm_bm_set_read_write()
/Linux-v5.15/drivers/md/
Ddm-clone-metadata.c140 unsigned int read_only; member
578 cmd->read_only = 0; in dm_clone_metadata_open()
857 if (cmd->read_only) { in dm_clone_set_region_hydrated()
891 if (cmd->read_only) { in dm_clone_cond_set_range()
977 cmd->read_only = 1; in dm_clone_metadata_set_read_only()
991 cmd->read_only = 0; in dm_clone_metadata_set_read_write()
/Linux-v5.15/fs/hpfs/
Dnamei.c50 if (!(mode & 0222)) dee.read_only = 1; in hpfs_mkdir()
73 if (dee.read_only) in hpfs_mkdir()
96 if (!(mode & 0222)) de->read_only = 1; in hpfs_mkdir()
152 if (!(mode & 0222)) dee.read_only = 1; in hpfs_create()
175 if (dee.read_only) in hpfs_create()
240 if (!(mode & 0222)) dee.read_only = 1; in hpfs_mknod()
Dhpfs.h331 u8 read_only: 1; /* dos attrib */ member
347 u8 read_only: 1; /* dos attrib */ member
Dinode.c236 de->read_only = !(i->i_mode & 0222); in hpfs_write_inode_nolock()
246 de->read_only = !(i->i_mode & 0222); in hpfs_write_inode_nolock()
/Linux-v5.15/drivers/nvmem/
Dzynqmp_nvmem.c41 .read_only = true,
Duniphier-efuse.c51 econfig.read_only = true; in uniphier_efuse_probe()
Dlpc18xx_otp.c61 .read_only = true,
Dnintendo-otp.c87 .read_only = true, in nintendo_otp_probe()
Dimx-iim.c120 cfg.read_only = true, in imx_iim_probe()
Dsunxi_sid.c146 nvmem_cfg->read_only = true; in sunxi_sid_probe()
/Linux-v5.15/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_rfim.c13 int read_only; member
121 if (mmio_regs[ret].read_only)\
/Linux-v5.15/drivers/media/v4l2-core/
Dv4l2-device.c190 bool read_only) in __v4l2_device_register_subdev_nodes() argument
219 if (read_only) in __v4l2_device_register_subdev_nodes()
/Linux-v5.15/drivers/soc/atmel/
Dsfr.c35 .read_only = true,
/Linux-v5.15/include/linux/
Dnvmem-provider.h89 bool read_only; member
/Linux-v5.15/drivers/usb/storage/
Dsddr55.c94 int read_only; /* non zero if card is write protected */ member
172 info->read_only = (status[0] & 0x20); in sddr55_status()
327 if (info->read_only || info->force_read_only) { in sddr55_write_data()
898 ptr[3] = (info->read_only || info->force_read_only) ? 0x80 : 0; in sddr55_transport()
/Linux-v5.15/Documentation/cpu-freq/
Dcpufreq-stats.rst23 These statistics are provided in /sysfs as a bunch of read_only interfaces. This
26 Various statistics will form read_only files under this directory.
/Linux-v5.15/drivers/block/rnbd/
Drnbd-clt.h120 bool read_only; member
/Linux-v5.15/drivers/thunderbolt/
Dnvm.c66 config.read_only = true; in tb_nvm_add_active()

1234