/linux-master/drivers/usb/gadget/function/ |
H A D | storage_common.h | 104 unsigned int ro:1; member in struct:fsg_lun
|
H A D | f_mass_storage.c | 37 * ->ro Flag specifying access to the LUN shall be 749 if (curlun->ro) { 1309 buf[2] = (curlun->ro ? 0x80 : 0x00); /* WP, DPOFUA */ 1313 buf[3] = (curlun->ro ? 0x80 : 0x00); /* WP, DPOFUA */ 2685 * Mode of the ro and file attribute files will be overridden in 2689 static DEVICE_ATTR_RW(ro); 2897 lun->ro = cfg->cdrom || cfg->ro; 2898 lun->initially_ro = lun->ro; 2937 lun->ro [all...] |
/linux-master/fs/btrfs/ |
H A D | block-group.h | 160 unsigned int ro; member in struct:btrfs_block_group 236 * it can perform a nocow write (incremented if the value for the *ro*
|
H A D | block-group.c | 327 if (bg->ro) 383 ASSERT(bg->ro); 1069 BUG_ON(!block_group->ro); 1351 if (cache->ro) { 1352 cache->ro++; 1395 cache->ro++; 1403 "unable to make block group %llu ro", cache->start); 1520 if (btrfs_is_block_group_used(block_group) || block_group->ro || 1525 * the ro check in case balance is currently acting on 1838 if (bg->reserved || bg->pinned || bg->ro) { [all...] |
/linux-master/ipc/ |
H A D | mqueue.c | 867 static int prepare_open(struct dentry *dentry, int oflag, int ro, argument 878 if (ro) 879 return ro; 902 int ro; local 913 ro = mnt_want_write(mnt); /* we'll drop it in any case */ 921 error = prepare_open(path.dentry, oflag, ro, mode, name, attr); 936 if (!ro)
|
/linux-master/fs/ntfs3/ |
H A D | fslog.c | 433 u16 ro; local 451 ro = le16_to_cpu(rhdr->ra_off); 452 if (!IS_ALIGNED(ro, 8) || ro > sys_page) 458 if (ro < end_usa) 469 u16 ro = le16_to_cpu(rhdr->ra_off); local 472 if (ro + offsetof(struct RESTART_AREA, l_size) > 476 ra = Add2Ptr(rhdr, ro); 484 if (!IS_ALIGNED(off, 8) || ro + off > SECTOR_SIZE - sizeof(short)) 534 u16 ro local 2815 u16 ro = le16_to_cpu(lrh->record_off); local 2839 u16 ro = le16_to_cpu(lrh->record_off); local [all...] |
H A D | super.c | 1170 bool ro = sb_rdonly(sb); local 1290 if ((sbi->flags & NTFS_FLAGS_NEED_REPLAY) && !ro) { 1296 if ((sbi->volume.flags & VOLUME_FLAG_DIRTY) && !ro && !options->force) { 1389 if (ro)
|
H A D | attrib.c | 1306 u16 ro; local 1327 ro = le16_to_cpu(attr->nres.run_off); 1329 if (ro > le32_to_cpu(attr->size)) 1333 Add2Ptr(attr, ro), le32_to_cpu(attr->size) - ro);
|
/linux-master/tools/testing/selftests/net/ |
H A D | vrf-xfrm-tests.sh | 124 ip -netns ${ns} ro add unreachable default metric 8192 125 ip -netns ${ns} -6 ro add unreachable default metric 8192
|
/linux-master/drivers/md/ |
H A D | md.h | 320 int ro; member in struct:mddev 581 return (mddev->ro == MD_RDWR);
|
H A D | md.c | 421 if (mddev->ro == MD_RDONLY && unlikely(rw == WRITE)) { 4444 switch(mddev->ro) { 4477 static int do_md_stop(struct mddev *mddev, int ro); 4511 mddev->ro != MD_RDONLY) { 4548 mddev->ro = MD_RDONLY; 4557 else if (mddev->ro == MD_RDONLY) 4560 mddev->ro = MD_AUTO_READ; 4564 mddev->ro = MD_AUTO_READ; 4589 mddev->ro = MD_RDWR; 5048 if (mddev->ro 7922 md_set_read_only(struct block_device *bdev, bool ro) argument [all...] |
H A D | dm-raid.c | 3241 rs->md.ro = 1; 3377 (!mddev->ro && test_bit(MD_RECOVERY_NEEDED, &recovery)))) { 3767 if (mddev->ro == 2) { 3771 mddev->ro = 0; 3955 int ro = mddev->ro; local 3958 mddev->ro = 0; 3960 mddev->ro = ro; 4108 mddev->ro [all...] |
/linux-master/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gem.c | 655 if (!userptr->ro) 722 etnaviv_obj->userptr.ro = !(flags & ETNA_USERPTR_WRITE);
|
/linux-master/drivers/gpu/ipu-v3/ |
H A D | ipu-cpmem.c | 370 int bpp = 0, npb = 0, ro, go, bo, to; local 372 ro = rgb->bits_per_pixel - rgb->red.length - rgb->red.offset; 378 ipu_ch_param_write_field(ch, IPU_FIELD_OFS0, ro);
|
/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | pm3393.c | 428 if (ro & \ 436 u64 ro; local 448 ro = ((u64)val0 & 0xffff) | (((u64)val1 & 0xffff) << 16) |
|
/linux-master/fs/gfs2/ |
H A D | sys.c | 728 char ro[20]; local 730 char *envp[] = { ro, spectator, NULL }; 732 sprintf(ro, "RDONLY=%d", sb_rdonly(sb));
|
H A D | ops_fstype.c | 1092 char ro[20]; local 1094 char *envp[] = { ro, spectator, NULL }; 1095 sprintf(ro, "RDONLY=%d", sb_rdonly(sb));
|
/linux-master/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | fiji_smumgr.c | 1662 uint32_t ro, efuse, efuse2, clock_freq, volt_without_cks, local 1687 ro = (2300 - 1350) * efuse / 255 + 1350; 1689 ro = (2500 - 1000) * efuse / 255 + 1000; 1691 if (ro >= 1660) 1704 (sclk_table->entries[i].clk/100) / 10000 + 3571 + 75 - ro) * 1000 / 1707 (sclk_table->entries[i].clk/100) / 10000 + 3320 + 45 - ro) * 1000 /
|
H A D | tonga_smumgr.c | 1575 uint32_t ro, efuse, efuse2, clock_freq, volt_without_cks, local 1606 ro = (2300 - 1350) * efuse / 255 + 1350; 1608 ro = (2500 - 1000) * efuse / 255 + 1000; 1610 if (ro >= 1660) 1624 volt_without_cks = (uint32_t)((7732 + 60 - ro - 20838 * 1627 volt_with_cks = (uint32_t)((5250 + 51 - ro - 2404 * 1632 (sclk_table->entries[i].clk/100) / 10000 + 3571 + 75 - ro) * 1000 / 1635 (sclk_table->entries[i].clk/100) / 10000 + 3320 + 45 - ro) * 1000 /
|
H A D | vegam_smumgr.c | 1488 uint32_t ro, efuse, volt_without_cks, volt_with_cks, value, max, min; local 1506 ro = efuse * (max - min) / 255 + min; 1513 136418 - (ro - 70) * 1000000) / 1516 3232 - (ro - 65) * 1000000) /
|
/linux-master/block/ |
H A D | genhd.c | 1054 static DEVICE_ATTR(ro, 0444, disk_ro_show, NULL); 1435 static void set_disk_ro_uevent(struct gendisk *gd, int ro) argument 1440 if (!ro)
|
/linux-master/drivers/vdpa/ |
H A D | vdpa.c | 1089 u8 ro; local 1091 ro = ((features & BIT_ULL(VIRTIO_BLK_F_RO)) == 0) ? 0 : 1; 1092 if (nla_put_u8(msg, VDPA_ATTR_DEV_BLK_READ_ONLY, ro))
|
/linux-master/fs/bcachefs/ |
H A D | subvolume.c | 526 bool ro) 587 SET_BCH_SUBVOLUME_RO(&new_subvol->v, ro); 521 bch2_subvolume_create(struct btree_trans *trans, u64 inode, u32 parent_subvolid, u32 src_subvolid, u32 *new_subvolid, u32 *new_snapshotid, bool ro) argument
|
/linux-master/drivers/mmc/host/ |
H A D | rtsx_pci_sdmmc.c | 1140 int ro = 0; local 1154 ro = 1; 1158 return ro;
|
/linux-master/drivers/regulator/ |
H A D | tps6586x-regulator.c | 175 TPS6586X_REGULATOR(_id, ro, _pname, vdata, vreg, shift, nbits, \
|