Home
last modified time | relevance | path

Searched refs:ro (Results 1 – 20 of 20) sorted by relevance

/fs/dlm/
A Dmember.c43 struct rcom_slot *ro; in dlm_slots_copy_out() local
46 ro = (struct rcom_slot *)(rc->rc_buf + sizeof(struct rcom_config)); in dlm_slots_copy_out()
54 ro->ro_nodeid = cpu_to_le32(slot->nodeid); in dlm_slots_copy_out()
55 ro->ro_slot = cpu_to_le16(slot->slot); in dlm_slots_copy_out()
56 ro++; in dlm_slots_copy_out()
102 struct rcom_slot *ro0, *ro; in dlm_slots_copy_in() local
126 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { in dlm_slots_copy_in()
127 if (le32_to_cpu(ro->ro_nodeid) != memb->nodeid) in dlm_slots_copy_in()
129 memb->slot = le16_to_cpu(ro->ro_slot); in dlm_slots_copy_in()
/fs/gfs2/
A Drecovery.c406 int ro = 0; in gfs2_recover_func() local
475 ro = 1; in gfs2_recover_func()
478 ro = 1; in gfs2_recover_func()
482 ro = bdev_read_only(sdp->sd_vfs->s_bdev); in gfs2_recover_func()
483 if (!ro) { in gfs2_recover_func()
492 if (ro) { in gfs2_recover_func()
A Dsys.c728 char ro[20]; in gfs2_sys_fs_add() local
730 char *envp[] = { ro, spectator, NULL }; in gfs2_sys_fs_add()
732 sprintf(ro, "RDONLY=%d", sb_rdonly(sb)); in gfs2_sys_fs_add()
A Dops_fstype.c1059 char ro[20]; in gfs2_online_uevent() local
1061 char *envp[] = { ro, spectator, NULL }; in gfs2_online_uevent()
1062 sprintf(ro, "RDONLY=%d", sb_rdonly(sb)); in gfs2_online_uevent()
/fs/jbd2/
A Djournal.c2208 unsigned long ro, unsigned long incompat) in jbd2_journal_check_used_features() argument
2212 if (!compat && !ro && !incompat) in jbd2_journal_check_used_features()
2220 ((be32_to_cpu(sb->s_feature_ro_compat) & ro) == ro) && in jbd2_journal_check_used_features()
2241 if (!compat && !ro && !incompat) in jbd2_journal_check_available_features()
2248 (ro & JBD2_KNOWN_ROCOMPAT_FEATURES) == ro && in jbd2_journal_check_available_features()
2295 unsigned long ro, unsigned long incompat) in jbd2_journal_set_features() argument
2321 compat, ro, incompat); in jbd2_journal_set_features()
2350 sb->s_feature_ro_compat |= cpu_to_be32(ro); in jbd2_journal_set_features()
2372 unsigned long ro, unsigned long incompat) in jbd2_journal_clear_features() argument
2377 compat, ro, incompat); in jbd2_journal_clear_features()
[all …]
/fs/btrfs/
A Dblock-group.c338 if (bg->ro) in btrfs_inc_nocow_writers()
394 ASSERT(bg->ro); in btrfs_wait_block_group_reservations()
1375 if (cache->ro) { in inc_block_group_ro()
1376 cache->ro++; in inc_block_group_ro()
1419 cache->ro++; in inc_block_group_ro()
3094 BUG_ON(!cache->ro); in btrfs_dec_block_group_ro()
3098 if (!--cache->ro) { in btrfs_dec_block_group_ro()
3808 if (cache->ro) { in btrfs_add_reserved_bytes()
3858 if (cache->ro) in btrfs_free_reserved_bytes()
4621 if (bg->ro) in btrfs_inc_block_group_swap_extents()
[all …]
A Dblock-group.h162 unsigned int ro; member
A Dextent-tree.c2803 if (cache->ro) { in unpin_extent_range()
2907 ASSERT(block_group->ro); in btrfs_finish_extent_commit()
3689 if (cluster_bg != bg && (cluster_bg->ro || in find_free_extent_clustered()
3896 if (block_group->ro || btrfs_zoned_bg_is_full(block_group)) { in do_allocation_zoned()
3930 if (block_group->ro || in do_allocation_zoned()
4454 block_group->ro) { in find_free_extent()
4488 if (unlikely(block_group->ro)) { in find_free_extent()
A Dspace-info.c645 avail, cache->ro ? "[readonly]" : ""); in btrfs_dump_space_info()
1958 if (!block_group->ro) { in btrfs_account_ro_block_groups_free_space()
A Dfree-space-cache.c2730 if (!block_group->ro) { in __btrfs_add_free_space_zoned()
2937 if (info->bytes >= bytes && !block_group->ro) in btrfs_dump_free_space()
3667 if (!block_group->ro) { in do_trimming()
3696 if (block_group->ro) in do_trimming()
A Dzoned.c2944 if (bg->ro) { in btrfs_reset_unused_block_groups()
A Dscrub.c2846 !cache->ro && cache->reserved == 0 && cache->used == 0) { in scrub_enumerate_chunks()
A Dinode.c7177 if (!block_group || block_group->ro) in btrfs_extent_readonly()
/fs/ntfs3/
A Dfslog.c433 u16 ro; in is_rst_page_hdr_valid() local
451 ro = le16_to_cpu(rhdr->ra_off); in is_rst_page_hdr_valid()
452 if (!IS_ALIGNED(ro, 8) || ro > sys_page) in is_rst_page_hdr_valid()
458 if (ro < end_usa) in is_rst_page_hdr_valid()
469 u16 ro = le16_to_cpu(rhdr->ra_off); in is_rst_area_valid() local
476 ra = Add2Ptr(rhdr, ro); in is_rst_area_valid()
534 u16 ro = le16_to_cpu(rhdr->ra_off); in is_client_area_valid() local
2835 u16 ro = le16_to_cpu(lrh->record_off); in check_if_attr() local
2839 while (o < ro) { in check_if_attr()
2853 return o == ro; in check_if_attr()
[all …]
A Dsuper.c1212 bool ro = sb_rdonly(sb); in ntfs_fill_super() local
1333 if ((sbi->flags & NTFS_FLAGS_NEED_REPLAY) && !ro) { in ntfs_fill_super()
1339 if ((sbi->volume.flags & VOLUME_FLAG_DIRTY) && !ro && !options->force) { in ntfs_fill_super()
1432 if (ro) in ntfs_fill_super()
A Dattrib.c1312 u16 ro; in attr_load_runs_vcn() local
1333 ro = le16_to_cpu(attr->nres.run_off); in attr_load_runs_vcn()
1335 if (ro > le32_to_cpu(attr->size)) in attr_load_runs_vcn()
1339 Add2Ptr(attr, ro), le32_to_cpu(attr->size) - ro); in attr_load_runs_vcn()
/fs/bcachefs/
A Dsb-members_format.h105 x(ro, 1) \
A Dsubvolume.c604 bool ro) in bch2_subvolume_create() argument
664 SET_BCH_SUBVOLUME_RO(&new_subvol->v, ro); in bch2_subvolume_create()
A Dbcachefs_format.h992 x(ro, 3)
/fs/affs/
A DChanges224 can be trapped. Previously, ro remounts didn't

Completed in 116 milliseconds