Home
last modified time | relevance | path

Searched refs:first_key (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/fs/btrfs/
Ddisk-io.h43 struct btrfs_key *first_key, u64 parent_transid);
46 struct btrfs_key *first_key);
115 struct btrfs_key *first_key);
Dprint-tree.c356 struct btrfs_key first_key; in btrfs_print_tree() local
359 btrfs_node_key_to_cpu(c, &first_key, i); in btrfs_print_tree()
362 level - 1, &first_key); in btrfs_print_tree()
Dqgroup.h139 struct btrfs_key first_key; member
Dqgroup.c1825 struct btrfs_key first_key; in qgroup_trace_extent_swap() local
1835 btrfs_node_key_to_cpu(eb, &first_key, parent_slot); in qgroup_trace_extent_swap()
1838 cur_level, &first_key); in qgroup_trace_extent_swap()
1947 struct btrfs_key first_key; in qgroup_trace_new_subtree_blocks() local
1971 btrfs_node_key_to_cpu(eb, &first_key, parent_slot); in qgroup_trace_new_subtree_blocks()
1978 cur_level, &first_key); in qgroup_trace_new_subtree_blocks()
2137 struct btrfs_key first_key; in btrfs_qgroup_trace_subtree() local
2150 btrfs_node_key_to_cpu(eb, &first_key, parent_slot); in btrfs_qgroup_trace_subtree()
2153 level, &first_key); in btrfs_qgroup_trace_subtree()
3883 btrfs_node_key_to_cpu(reloc_parent, &block->first_key, reloc_slot); in btrfs_qgroup_add_swapped_blocks()
[all …]
Ddisk-io.c392 struct btrfs_key *first_key, u64 parent_transid) in btrfs_verify_level_key() argument
409 if (!first_key) in btrfs_verify_level_key()
434 ret = btrfs_comp_cpu_keys(first_key, &found_key); in btrfs_verify_level_key()
441 eb->start, parent_transid, first_key->objectid, in btrfs_verify_level_key()
442 first_key->type, first_key->offset, in btrfs_verify_level_key()
459 struct btrfs_key *first_key) in btree_read_extent_buffer_pages() argument
478 first_key, parent_transid)) in btree_read_extent_buffer_pages()
1070 struct btrfs_key *first_key) in read_tree_block() argument
1080 level, first_key); in read_tree_block()
4180 struct btrfs_key *first_key) in btrfs_read_buffer() argument
[all …]
Dref-verify.c559 struct btrfs_key first_key; in walk_down_tree() local
565 btrfs_node_key_to_cpu(path->nodes[level], &first_key, in walk_down_tree()
568 level - 1, &first_key); in walk_down_tree()
Dctree.c1625 struct btrfs_key first_key; in btrfs_realloc_node() local
1635 btrfs_node_key_to_cpu(parent, &first_key, i); in btrfs_realloc_node()
1661 &first_key); in btrfs_realloc_node()
1670 parent_level - 1,&first_key); in btrfs_realloc_node()
1822 struct btrfs_key first_key; in btrfs_read_node_slot() local
1829 btrfs_node_key_to_cpu(parent, &first_key, slot); in btrfs_read_node_slot()
1832 level - 1, &first_key); in btrfs_read_node_slot()
2425 struct btrfs_key first_key; in read_block_for_search() local
2432 btrfs_node_key_to_cpu(b, &first_key, slot); in read_block_for_search()
2444 parent_level - 1, &first_key, gen)) { in read_block_for_search()
[all …]
Drelocation.c1820 struct btrfs_key first_key; in replace_path() local
1837 btrfs_node_key_to_cpu(parent, &first_key, slot); in replace_path()
1863 level - 1, &first_key); in replace_path()
2028 struct btrfs_key first_key; in walk_down_reloc_tree() local
2050 btrfs_node_key_to_cpu(eb, &first_key, path->slots[i]); in walk_down_reloc_tree()
2052 &first_key); in walk_down_reloc_tree()
2759 struct btrfs_key first_key; in do_relocation() local
2835 btrfs_node_key_to_cpu(upper->eb, &first_key, slot); in do_relocation()
2837 upper->level - 1, &first_key); in do_relocation()
Dtree-log.c2698 struct btrfs_key first_key; in walk_down_log_tree() local
2712 btrfs_node_key_to_cpu(cur, &first_key, path->slots[*level]); in walk_down_log_tree()
2733 *level - 1, &first_key); in walk_down_log_tree()
2763 ret = btrfs_read_buffer(next, ptr_gen, *level - 1, &first_key); in walk_down_log_tree()
3944 struct btrfs_key first_key, last_key, key; in copy_items() local
3963 first_key.objectid = (u64)-1; in copy_items()
4009 if (first_key.objectid == (u64)-1) in copy_items()
4010 first_key = ins_keys[i]; in copy_items()
4083 if (need_find_last_extent && *last_extent == first_key.offset) { in copy_items()
4142 ret = btrfs_search_slot(NULL, inode->root, &first_key, in copy_items()
Dextent-tree.c4783 struct btrfs_key first_key; in do_walk_down() local
4805 btrfs_node_key_to_cpu(path->nodes[level], &first_key, in do_walk_down()
4871 &first_key); in do_walk_down()
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_maps.c39 long long key, next_key, first_key, value; in test_hashmap() local
100 assert(bpf_map_get_next_key(fd, NULL, &first_key) == 0 && in test_hashmap()
101 (first_key == 1 || first_key == 2)); in test_hashmap()
103 (next_key == first_key)); in test_hashmap()
106 (next_key != first_key)); in test_hashmap()
151 long long key, next_key, first_key; in test_hashmap_percpu() local
212 assert(bpf_map_get_next_key(fd, NULL, &first_key) == 0 && in test_hashmap_percpu()
213 ((expected_key_mask & first_key) == first_key)); in test_hashmap_percpu()
215 if (first_key) { in test_hashmap_percpu()
216 assert(next_key == first_key); in test_hashmap_percpu()
[all …]
/Linux-v5.4/drivers/md/persistent-data/
Ddm-btree-remove.c666 uint64_t *first_key, uint64_t end_key, in dm_btree_remove_leaves() argument
673 r = remove_one(info, root, first_key, end_key, &root, nr_removed); in dm_btree_remove_leaves()