Home
last modified time | relevance | path

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

/fs/dlm/
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
123 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { in dlm_slots_copy_in()
124 ro->ro_nodeid = le32_to_cpu(ro->ro_nodeid); in dlm_slots_copy_in()
125 ro->ro_slot = le16_to_cpu(ro->ro_slot); in dlm_slots_copy_in()
131 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { in dlm_slots_copy_in()
[all …]
/fs/gfs2/
Drecovery.c411 int ro = 0; in gfs2_recover_func() local
480 ro = 1; in gfs2_recover_func()
483 ro = 1; in gfs2_recover_func()
487 ro = bdev_read_only(sdp->sd_vfs->s_bdev); in gfs2_recover_func()
488 if (!ro) { in gfs2_recover_func()
497 if (ro) { in gfs2_recover_func()
Dsys.c718 char ro[20]; in gfs2_sys_fs_add() local
720 char *envp[] = { ro, spectator, NULL }; in gfs2_sys_fs_add()
722 sprintf(ro, "RDONLY=%d", sb_rdonly(sb)); in gfs2_sys_fs_add()
Dops_fstype.c1099 char ro[20]; in gfs2_online_uevent() local
1101 char *envp[] = { ro, spectator, NULL }; in gfs2_online_uevent()
1102 sprintf(ro, "RDONLY=%d", sb_rdonly(sb)); in gfs2_online_uevent()
/fs/jbd2/
Djournal.c2222 unsigned long ro, unsigned long incompat) in jbd2_journal_check_used_features() argument
2226 if (!compat && !ro && !incompat) in jbd2_journal_check_used_features()
2238 ((be32_to_cpu(sb->s_feature_ro_compat) & ro) == ro) && in jbd2_journal_check_used_features()
2257 unsigned long ro, unsigned long incompat) in jbd2_journal_check_available_features() argument
2259 if (!compat && !ro && !incompat) in jbd2_journal_check_available_features()
2270 (ro & JBD2_KNOWN_ROCOMPAT_FEATURES) == ro && in jbd2_journal_check_available_features()
2319 unsigned long ro, unsigned long incompat) in jbd2_journal_set_features() argument
2327 if (jbd2_journal_check_used_features(journal, compat, ro, incompat)) in jbd2_journal_set_features()
2330 if (!jbd2_journal_check_available_features(journal, compat, ro, incompat)) in jbd2_journal_set_features()
2345 compat, ro, incompat); in jbd2_journal_set_features()
[all …]
/fs/btrfs/
Dblock-group.c306 if (bg->ro) in btrfs_inc_nocow_writers()
356 ASSERT(bg->ro); in btrfs_wait_block_group_reservations()
874 BUG_ON(!block_group->ro); in btrfs_remove_block_group()
1170 if (cache->ro) { in inc_block_group_ro()
1171 cache->ro++; in inc_block_group_ro()
1214 cache->ro++; in inc_block_group_ro()
1334 block_group->used || block_group->ro || in btrfs_delete_unused_bgs()
1534 if (bg->reserved || bg->pinned || bg->ro) { in btrfs_reclaim_bgs_work()
2653 BUG_ON(!cache->ro); in btrfs_dec_block_group_ro()
2657 if (!--cache->ro) { in btrfs_dec_block_group_ro()
[all …]
Dblock-group.h94 unsigned int ro; member
Dextent-tree.c2749 if (cache->ro) { in unpin_extent_range()
3561 if (cluster_bg != bg && (cluster_bg->ro || in find_free_extent_clustered()
3805 if (block_group->ro || block_group->zoned_data_reloc_ongoing) { in do_allocation_zoned()
4252 block_group->ro) { in find_free_extent()
4282 if (unlikely(block_group->ro)) { in find_free_extent()
5912 if (!block_group->ro) { in btrfs_account_ro_block_groups_free_space()
Dfree-space-cache.c2566 if (!block_group->ro) in __btrfs_add_free_space_zoned()
2772 if (info->bytes >= bytes && !block_group->ro) in btrfs_dump_free_space()
3515 if (!block_group->ro) { in do_trimming()
3544 if (block_group->ro) in do_trimming()
Dspace-info.c458 cache->ro ? "[readonly]" : ""); in btrfs_dump_space_info()
Dscrub.c3921 if (!cache->removed && !cache->ro && cache->reserved == 0 && in scrub_enumerate_chunks()
Dinode.c7558 if (!block_group || block_group->ro) in btrfs_extent_readonly()
/fs/ntfs3/
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
472 if (ro + offsetof(struct RESTART_AREA, l_size) > in is_rst_area_valid()
476 ra = Add2Ptr(rhdr, ro); in is_rst_area_valid()
484 if (!IS_ALIGNED(off, 8) || ro + off > SECTOR_SIZE - sizeof(short)) in is_rst_area_valid()
534 u16 ro = le16_to_cpu(rhdr->ra_off); in is_client_area_valid() local
535 const struct RESTART_AREA *ra = Add2Ptr(rhdr, ro); in is_client_area_valid()
[all …]
Dattrib.c1147 u16 ro; in attr_load_runs_vcn() local
1168 ro = le16_to_cpu(attr->nres.run_off); in attr_load_runs_vcn()
1170 if (ro > le32_to_cpu(attr->size)) in attr_load_runs_vcn()
1174 Add2Ptr(attr, ro), le32_to_cpu(attr->size) - ro); in attr_load_runs_vcn()
/fs/affs/
DChanges224 can be trapped. Previously, ro remounts didn't