Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 40) sorted by relevance

12

/fs/btrfs/tests/
A Ddelayed-refs-tests.c71 struct ref_head_check *check) in validate_ref_head() argument
73 if (head->bytenr != check->bytenr) { in validate_ref_head()
75 check->bytenr); in validate_ref_head()
87 check->ref_mod); in validate_ref_head()
111 check->bytenr); in validate_ref_node()
123 check->ref_mod); in validate_ref_node()
129 check->action); in validate_ref_node()
135 check->parent); in validate_ref_node()
141 check->root); in validate_ref_node()
145 if (node->type != check->type) { in validate_ref_node()
[all …]
/fs/btrfs/
A Ddisk-io.h47 struct btrfs_tree_parent_check *check);
88 const struct btrfs_tree_parent_check *check);
112 const struct btrfs_tree_parent_check *check);
A Ddisk-io.c225 ASSERT(check); in btrfs_read_extent_buffer()
370 ASSERT(check); in btrfs_validate_extent_buffer()
420 if (unlikely(check->transid && in btrfs_validate_extent_buffer()
429 if (check->has_first_key) { in btrfs_validate_extent_buffer()
449 if (check->owner_root) { in btrfs_validate_extent_buffer()
622 ASSERT(check); in read_tree_block()
625 check->level); in read_tree_block()
1040 check.level = level; in read_tree_root_path()
1041 check.transid = generation; in read_tree_root_path()
1044 &check); in read_tree_root_path()
[all …]
A Dprint-tree.c421 struct btrfs_tree_parent_check check = { in btrfs_print_tree() local
429 btrfs_node_key_to_cpu(c, &check.first_key, i); in btrfs_print_tree()
430 next = read_tree_block(fs_info, btrfs_node_blockptr(c, i), &check); in btrfs_print_tree()
A Dctree.c829 struct btrfs_tree_parent_check check = { 0 }; in btrfs_read_node_slot() local
837 check.level = level - 1; in btrfs_read_node_slot()
840 check.has_first_key = true; in btrfs_read_node_slot()
844 &check); in btrfs_read_node_slot()
1456 struct btrfs_tree_parent_check check = { 0 }; in read_block_for_search() local
1469 check.has_first_key = true; in read_block_for_search()
1470 check.level = parent_level - 1; in read_block_for_search()
1472 check.owner_root = btrfs_root_id(root); in read_block_for_search()
1493 if (btrfs_verify_level_key(tmp, &check)) { in read_block_for_search()
1544 tmp = btrfs_find_create_tree_block(fs_info, blocknr, check.owner_root, check.level); in read_block_for_search()
[all …]
A Dtree-checker.h76 const struct btrfs_tree_parent_check *check);
A Dtree-checker.c2224 const struct btrfs_tree_parent_check *check) in btrfs_verify_level_key() argument
2232 if (unlikely(found_level != check->level)) { in btrfs_verify_level_key()
2236 eb->start, check->level, found_level); in btrfs_verify_level_key()
2240 if (!check->has_first_key) in btrfs_verify_level_key()
2266 ret = btrfs_comp_cpu_keys(&check->first_key, &found_key); in btrfs_verify_level_key()
2271 eb->start, check->transid, check->first_key.objectid, in btrfs_verify_level_key()
2272 check->first_key.type, check->first_key.offset, in btrfs_verify_level_key()
A Dtree-mod-log.c1037 struct btrfs_tree_parent_check check = { 0 }; in btrfs_get_old_root() local
1042 check.level = level; in btrfs_get_old_root()
1043 check.owner_root = btrfs_root_id(root); in btrfs_get_old_root()
1045 old = read_tree_block(fs_info, logical, &check); in btrfs_get_old_root()
A Dqgroup.c2615 struct btrfs_tree_parent_check check = { in btrfs_qgroup_trace_subtree() local
2620 ret = btrfs_read_extent_buffer(root_eb, &check); in btrfs_qgroup_trace_subtree()
4793 struct btrfs_tree_parent_check check = { 0 }; in btrfs_qgroup_trace_subtree_after_cow() local
4832 check.level = block->level; in btrfs_qgroup_trace_subtree_after_cow()
4833 check.transid = block->reloc_generation; in btrfs_qgroup_trace_subtree_after_cow()
4834 check.has_first_key = true; in btrfs_qgroup_trace_subtree_after_cow()
4835 memcpy(&check.first_key, &block->first_key, sizeof(check.first_key)); in btrfs_qgroup_trace_subtree_after_cow()
4838 reloc_eb = read_tree_block(fs_info, block->reloc_bytenr, &check); in btrfs_qgroup_trace_subtree_after_cow()
A Dbackref.c845 struct btrfs_tree_parent_check check = { 0 }; in add_missing_keys() local
854 check.level = ref->level - 1; in add_missing_keys()
855 check.owner_root = ref->root_id; in add_missing_keys()
857 eb = read_tree_block(fs_info, ref->wanted_disk_byte, &check); in add_missing_keys()
1606 struct btrfs_tree_parent_check check = { 0 }; in find_parent_nodes() local
1609 check.level = ref->level; in find_parent_nodes()
1612 &check); in find_parent_nodes()
A Dextent_io.c3728 const struct btrfs_tree_parent_check *check) in read_extent_buffer_pages_nowait() argument
3768 memcpy(&bbio->parent_check, check, sizeof(*check)); in read_extent_buffer_pages_nowait()
3783 const struct btrfs_tree_parent_check *check) in read_extent_buffer_pages() argument
3787 ret = read_extent_buffer_pages_nowait(eb, mirror_num, check); in read_extent_buffer_pages()
4457 struct btrfs_tree_parent_check check = { in btrfs_readahead_tree_block() local
4473 ret = read_extent_buffer_pages_nowait(eb, 0, &check); in btrfs_readahead_tree_block()
A Dtree-log.c358 struct btrfs_tree_parent_check check = { in process_one_buffer() local
363 ret = btrfs_read_extent_buffer(eb, &check); in process_one_buffer()
2442 struct btrfs_tree_parent_check check = { in replay_one_buffer() local
2452 ret = btrfs_read_extent_buffer(eb, &check); in replay_one_buffer()
2657 struct btrfs_tree_parent_check check = { 0 }; in walk_down_log_tree() local
2669 check.transid = ptr_gen; in walk_down_log_tree()
2670 check.level = *level - 1; in walk_down_log_tree()
2671 check.has_first_key = true; in walk_down_log_tree()
2672 btrfs_node_key_to_cpu(cur, &check.first_key, path->slots[*level]); in walk_down_log_tree()
2690 ret = btrfs_read_extent_buffer(next, &check); in walk_down_log_tree()
[all …]
/fs/jffs2/
A Ddebug.c266 #define check(sz) \ in __jffs2_dbg_superblock_counts() macro
275 check(free); in __jffs2_dbg_superblock_counts()
276 check(dirty); in __jffs2_dbg_superblock_counts()
277 check(used); in __jffs2_dbg_superblock_counts()
278 check(wasted); in __jffs2_dbg_superblock_counts()
279 check(unchecked); in __jffs2_dbg_superblock_counts()
280 check(bad); in __jffs2_dbg_superblock_counts()
281 check(erasing); in __jffs2_dbg_superblock_counts()
283 #undef check in __jffs2_dbg_superblock_counts()
/fs/xfs/libxfs/
A Dxfs_rmap.c2994 struct xfs_rmap_irec check = *rec; in xfs_rmap_count_owners_helper() local
3000 !(check.rm_flags & XFS_RMAP_BMBT_BLOCK); in xfs_rmap_count_owners_helper()
3005 check.rm_startblock += delta; in xfs_rmap_count_owners_helper()
3006 check.rm_blockcount -= delta; in xfs_rmap_count_owners_helper()
3008 check.rm_offset += delta; in xfs_rmap_count_owners_helper()
3012 delta = (check.rm_startblock + check.rm_blockcount) - in xfs_rmap_count_owners_helper()
3015 check.rm_blockcount -= delta; in xfs_rmap_count_owners_helper()
3020 if (check.rm_startblock == roc->good.rm_startblock && in xfs_rmap_count_owners_helper()
3022 check.rm_owner == roc->good.rm_owner && in xfs_rmap_count_owners_helper()
3023 check.rm_offset == roc->good.rm_offset && in xfs_rmap_count_owners_helper()
[all …]
/fs/isofs/
A Dinode.c159 unsigned char check; member
405 popt->check = result.uint_32; in isofs_parse_param()
917 if (opt->check == 'u') { in isofs_fill_super()
920 opt->check = 'r'; in isofs_fill_super()
922 opt->check = 's'; in isofs_fill_super()
937 if (opt->check == 'r') in isofs_fill_super()
939 sbi->s_check = opt->check; in isofs_fill_super()
1565 opt->check = 'u'; /* unset */ in isofs_init_fs_context()
/fs/bcachefs/
A Ddisk_accounting.c1042 #define check(x) \ in bch2_verify_accounting_clean() macro
1049 check(btree); in bch2_verify_accounting_clean()
1050 check(data); in bch2_verify_accounting_clean()
1051 check(cached); in bch2_verify_accounting_clean()
1052 check(reserved); in bch2_verify_accounting_clean()
1053 check(nr_inodes); in bch2_verify_accounting_clean()
/fs/xfs/
A DKconfig138 bool "XFS online metadata check support"
146 If you say Y here you will be able to check metadata on a
159 bool "XFS online metadata check usage data collection"
165 the online metadata check subsystem. This includes the number
/fs/nfsd/
A Dnfs4recover.c61 int (*check)(struct nfs4_client *); member
724 .check = nfsd4_check_legacy_client,
1617 .check = nfsd4_cld_check_v0,
1629 .check = nfsd4_cld_check,
1641 .check = nfsd4_cld_check_v2,
1983 .check = nfsd4_umh_cltrack_check,
2095 return nn->client_tracking_ops->check(clp); in nfsd4_client_record_check()
A Dnfs3xdr.c298 u32 check; in svcxdr_decode_sattrguard3() local
300 if (xdr_stream_decode_bool(xdr, &check) < 0) in svcxdr_decode_sattrguard3()
302 if (check) { in svcxdr_decode_sattrguard3()
/fs/coda/
A DKconfig18 <file:Documentation/filesystems/coda.rst> and check out the Coda
/fs/verity/
A DKconfig17 This serves as an integrity check, but the availability of the
/fs/smb/server/
A DKconfig64 bool "Enable check network administration capability"
/fs/f2fs/
A Dxattr.c349 goto check; in lookup_all_xattrs()
375 check: in lookup_all_xattrs()
A DKconfig83 Enables BUG_ONs which check the filesystem consistency in runtime.
/fs/nilfs2/
A Drecovery.c138 struct buffer_head **pbh, int check) in nilfs_read_super_root_block() argument
153 if (check) { in nilfs_read_super_root_block()

Completed in 98 milliseconds

12