/linux-4.4.14/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 35 unsigned int read_only; /* set with -r */ variable 90 read_only = 1; in cmdline() 100 if (read_only && (argc > optind)) in cmdline() 106 if (!read_only) { in cmdline() 306 if (verbose > 1 && !read_only) in main() 312 if (read_only) in main() 317 if (read_only) in main()
|
/linux-4.4.14/drivers/md/persistent-data/ |
D | dm-block-manager.c | 367 bool read_only:1; member 394 bm->read_only = false; in dm_block_manager_create() 489 if (bm->read_only) in dm_bm_write_lock() 558 if (bm->read_only) in dm_bm_write_lock_zero() 598 if (bm->read_only) in dm_bm_flush() 612 return bm->read_only; in dm_bm_is_read_only() 618 bm->read_only = true; in dm_bm_set_read_only() 624 bm->read_only = false; in dm_bm_set_read_write()
|
/linux-4.4.14/drivers/hwmon/ |
D | adm1021.c | 102 static bool read_only; variable 220 if (!read_only) in set_temp_max() 246 if (!read_only) in set_temp_min() 461 if (data->type != lm84 && !read_only) in adm1021_probe() 505 module_param(read_only, bool, 0); 506 MODULE_PARM_DESC(read_only, "Don't set any values, read only mode");
|
D | max1668.c | 62 static bool read_only; variable 63 module_param(read_only, bool, 0); 64 MODULE_PARM_DESC(read_only, "Don't set any values, read only mode"); 345 if (read_only) in max1668_attribute_mode()
|
/linux-4.4.14/drivers/nvdimm/ |
D | bus.c | 483 int read_only, unsigned int ioctl_cmd, unsigned long arg) in __nd_ioctl() argument 515 if (read_only) in __nd_ioctl() 605 int rc = -ENXIO, read_only; in nd_ioctl() local 608 read_only = (O_RDWR != (file->f_flags & O_ACCMODE)); in nd_ioctl() 612 rc = __nd_ioctl(nvdimm_bus, NULL, read_only, cmd, arg); in nd_ioctl() 636 int rc = -ENXIO, read_only; in nvdimm_ioctl() local 639 read_only = (O_RDWR != (file->f_flags & O_ACCMODE)); in nvdimm_ioctl() 650 rc = __nd_ioctl(nvdimm_bus, nvdimm, read_only, cmd, arg); in nvdimm_ioctl()
|
D | region_devs.c | 330 static DEVICE_ATTR_RW(read_only);
|
/linux-4.4.14/drivers/memstick/core/ |
D | ms_block.c | 167 msb->read_only = true; in msb_validate_used_block_bitmap() 179 msb->read_only = true; in msb_mark_block_used() 198 msb->read_only = true; in msb_mark_block_unused() 754 msb->read_only = true; in msb_reset() 762 msb->read_only = true; in msb_reset() 793 if (msb->read_only) in msb_set_overwrite_flag() 828 if (msb->read_only) in msb_erase_block() 1006 if (msb->read_only) in msb_write_block() 1034 if (msb->read_only) in msb_write_block() 1088 msb->read_only = true; in msb_get_free_block() [all …]
|
D | ms_block.h | 172 bool read_only; member
|
D | mspro_block.c | 153 unsigned char read_only:1, member 195 if ((mode & FMODE_WRITE) && msb->read_only) in mspro_block_bd_open() 555 msb->read_only = 1; in h_mspro_block_get_ro() 557 msb->read_only = 0; in h_mspro_block_get_ro() 1170 dev_dbg(&card->dev, "card r/w status %d\n", msb->read_only ? 0 : 1); in mspro_block_init_card()
|
/linux-4.4.14/include/linux/ |
D | nvmem-provider.h | 25 bool read_only; member
|
/linux-4.4.14/fs/hpfs/ |
D | namei.c | 48 if (!(mode & 0222)) dee.read_only = 1; in hpfs_mkdir() 71 if (dee.read_only) in hpfs_mkdir() 94 if (!(mode & 0222)) de->read_only = 1; in hpfs_mkdir() 149 if (!(mode & 0222)) dee.read_only = 1; in hpfs_create() 172 if (dee.read_only) in hpfs_create() 236 if (!(mode & 0222)) dee.read_only = 1; in hpfs_mknod()
|
D | hpfs.h | 330 u8 read_only: 1; /* dos attrib */ member 346 u8 read_only: 1; /* dos attrib */ member
|
D | inode.c | 234 de->read_only = !(i->i_mode & 0222); in hpfs_write_inode_nolock() 244 de->read_only = !(i->i_mode & 0222); in hpfs_write_inode_nolock()
|
D | dir.c | 280 if (!hpfs_result->i_ea_mode && de->read_only) in hpfs_lookup()
|
/linux-4.4.14/drivers/nvmem/ |
D | core.c | 40 bool read_only; member 347 nvmem->read_only = of_property_read_bool(np, "read-only") | in nvmem_register() 348 config->read_only; in nvmem_register() 350 nvmem->dev.groups = nvmem->read_only ? nvmem_ro_dev_groups : in nvmem_register() 928 if (!nvmem || !nvmem->regmap || nvmem->read_only || in nvmem_cell_write()
|
D | imx-ocotp.c | 85 .read_only = true,
|
D | sunxi_sid.c | 33 .read_only = true,
|
D | rockchip-efuse.c | 113 .read_only = true,
|
/linux-4.4.14/drivers/usb/storage/ |
D | sddr55.c | 105 int read_only; /* non zero if card is write protected */ member 182 info->read_only = (status[0] & 0x20); in sddr55_status() 337 if (info->read_only || info->force_read_only) { in sddr55_write_data() 894 ptr[3] = (info->read_only || info->force_read_only) ? 0x80 : 0; in sddr55_transport()
|
/linux-4.4.14/Documentation/cpu-freq/ |
D | cpufreq-stats.txt | 21 These statistics are provided in /sysfs as a bunch of read_only interfaces. This 24 Various statistics will form read_only files under this directory.
|
/linux-4.4.14/include/net/ |
D | dst.h | 152 bool read_only) in dst_init_metrics() argument 155 (read_only ? DST_METRICS_READ_ONLY : 0); in dst_init_metrics()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_gem_userptr.c | 590 !obj->userptr.read_only, 0, in __i915_gem_userptr_get_pages_worker() 729 !obj->userptr.read_only, pvec); in i915_gem_userptr_get_pages() 870 obj->userptr.read_only = !!(args->flags & I915_USERPTR_READ_ONLY); in i915_gem_userptr_ioctl()
|
D | i915_drv.h | 2159 unsigned read_only :1; member
|
/linux-4.4.14/Documentation/hwmon/ |
D | max1668 | 59 * read_only: int
|
D | adm1021 | 54 * read_only: int
|
/linux-4.4.14/drivers/block/ |
D | rbd.c | 328 bool read_only; member 548 if ((mode & FMODE_WRITE) && rbd_dev->mapping.read_only) in rbd_open() 601 if (rbd_dev->mapping.read_only != ro) { in rbd_ioctl_set_ro() 602 rbd_dev->mapping.read_only = ro; in rbd_ioctl_set_ro() 755 bool read_only; member 790 rbd_opts->read_only = true; in parse_rbd_opts_token() 793 rbd_opts->read_only = false; in parse_rbd_opts_token() 3394 if (rbd_dev->mapping.read_only) { in rbd_queue_workfn() 4945 rbd_opts->read_only = RBD_READ_ONLY_DEFAULT; in rbd_add_parse_args() 5232 set_disk_ro(rbd_dev->disk, rbd_dev->mapping.read_only); in rbd_dev_device_setup() [all …]
|
/linux-4.4.14/fs/ubifs/ |
D | orphan.c | 709 int ubifs_mount_orphans(struct ubifs_info *c, int unclean, int read_only) in ubifs_mount_orphans() argument 715 if (!read_only) { in ubifs_mount_orphans() 723 else if (!read_only) in ubifs_mount_orphans()
|
D | ubifs.h | 1681 int ubifs_mount_orphans(struct ubifs_info *c, int unclean, int read_only);
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | llite_lib.c | 1872 __u32 read_only; in ll_remount_fs() local 1875 read_only = *flags & MS_RDONLY; in ll_remount_fs() 1878 KEY_READ_ONLY, sizeof(read_only), in ll_remount_fs() 1879 &read_only, NULL); in ll_remount_fs() 1882 profilenm, read_only ? in ll_remount_fs() 1887 if (read_only) in ll_remount_fs() 1894 read_only ? "read-only" : "read-write"); in ll_remount_fs()
|
/linux-4.4.14/drivers/scsi/ |
D | sg.c | 199 int read_only, int sg_io_owned, Sg_request **o_srp); 692 size_t count, int blocking, int read_only, int sg_io_owned, in sg_new_write() argument 751 if (read_only && sg_allow_access(file, cmnd)) { in sg_new_write() 842 int result, val, read_only; in sg_ioctl() local 853 read_only = (O_RDWR != (filp->f_flags & O_ACCMODE)); in sg_ioctl() 864 1, read_only, 1, &srp); in sg_ioctl() 1069 if (read_only) { in sg_ioctl() 1109 if (read_only) in sg_ioctl()
|
/linux-4.4.14/drivers/mmc/card/ |
D | block.c | 109 unsigned int read_only; member 272 md->read_only); in force_ro_show() 289 set_disk_ro(dev_to_disk(dev), set || md->read_only); in force_ro_store() 307 if ((mode & FMODE_WRITE) && md->read_only) { in mmc_blk_open() 2229 md->read_only = mmc_blk_readonly(card); in mmc_blk_alloc_req() 2254 set_disk_ro(md->disk, md->read_only || default_ro); in mmc_blk_alloc_req() 2579 cap_str, md->read_only ? "(ro)" : ""); in mmc_blk_probe()
|
/linux-4.4.14/fs/logfs/ |
D | super.c | 432 static int logfs_read_sb(struct super_block *sb, int read_only) in logfs_read_sb() argument 457 !read_only) in logfs_read_sb()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | unwind.c | 242 read_only (void *addr) in read_only() function 385 if (read_only(addr)) { in unw_access_gr() 433 if (read_only(addr)) { in unw_access_br() 482 if (read_only(addr)) { in unw_access_fr() 579 if (read_only(addr)) { in unw_access_ar() 600 if (read_only(addr)) { in unw_access_pr()
|
/linux-4.4.14/drivers/target/ |
D | target_core_spc.c | 988 bool read_only = target_lun_is_rdonly(cmd);; in spc_emulate_modesense() local 999 if ((cmd->se_lun->lun_access & TRANSPORT_LUNFLAGS_READ_ONLY) || read_only) in spc_emulate_modesense()
|
D | target_core_pscsi.c | 648 bool read_only = target_lun_is_rdonly(cmd); in pscsi_transport_complete() local 650 if (read_only) { in pscsi_transport_complete()
|
/linux-4.4.14/drivers/mmc/host/ |
D | dw_mmc.c | 1432 int read_only; in dw_mci_get_ro() local 1438 read_only = gpio_ro; in dw_mci_get_ro() 1440 read_only = in dw_mci_get_ro() 1444 read_only ? "read-only" : "read-write"); in dw_mci_get_ro() 1446 return read_only; in dw_mci_get_ro()
|
D | atmel-mci.c | 1432 int read_only = -ENOSYS; in atmci_get_ro() local 1436 read_only = gpio_get_value(slot->wp_pin); in atmci_get_ro() 1438 read_only ? "read-only" : "read-write"); in atmci_get_ro() 1441 return read_only; in atmci_get_ro()
|
D | vub300.c | 312 bool read_only; member 511 vub300->read_only = in new_system_port_status() 2049 return vub300->read_only; in vub300_mmc_get_ro() 2321 vub300->read_only = in vub300_probe()
|
/linux-4.4.14/fs/ext2/ |
D | super.c | 617 int read_only) in ext2_setup_super() argument 628 if (read_only) in ext2_setup_super()
|
/linux-4.4.14/drivers/md/ |
D | dm-thin.c | 2769 int read_only, char **error) in pool_create() argument 2775 bool format_device = read_only ? false : true; in pool_create() 2911 unsigned long block_size, int read_only, in __pool_find() argument 2933 pool = pool_create(pool_md, metadata_dev, block_size, read_only, error); in __pool_find()
|
/linux-4.4.14/sound/usb/ |
D | mixer.c | 512 unsigned int read_only = (channel == 0) ? in snd_usb_set_cur_mix_value() local 516 if (read_only) { in snd_usb_set_cur_mix_value()
|
/linux-4.4.14/Documentation/device-mapper/ |
D | thin-provisioning.txt | 264 read_only: Don't allow any changes to be made to the pool
|
/linux-4.4.14/sound/pci/asihpi/ |
D | hpifunc.c | 12 unsigned int read_only:1; member 27 handle.h.read_only = 0; in hpi_indexes_to_handle()
|
/linux-4.4.14/fs/btrfs/ |
D | disk-io.c | 61 int read_only); 4015 int read_only) in btrfs_check_super_valid() argument
|
/linux-4.4.14/fs/ext4/ |
D | super.c | 1908 int read_only) in ext4_setup_super() argument 1918 if (read_only) in ext4_setup_super()
|
/linux-4.4.14/init/ |
D | Kconfig | 2043 # that get confused by correct const<->read_only section
|