Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_maps.c47 long long key, next_key, first_key, value; in test_hashmap() local
108 assert(bpf_map_get_next_key(fd, NULL, &first_key) == 0 && in test_hashmap()
109 (first_key == 1 || first_key == 2)); in test_hashmap()
111 (next_key == first_key)); in test_hashmap()
114 (next_key != first_key)); in test_hashmap()
159 long long key, next_key, first_key; in test_hashmap_percpu() local
220 assert(bpf_map_get_next_key(fd, NULL, &first_key) == 0 && in test_hashmap_percpu()
221 ((expected_key_mask & first_key) == first_key)); in test_hashmap_percpu()
223 if (first_key) { in test_hashmap_percpu()
224 assert(next_key == first_key); in test_hashmap_percpu()
[all …]
/Linux-v4.19/fs/btrfs/
Ddisk-io.h44 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()
Ddisk-io.c412 struct btrfs_key *first_key, u64 parent_transid) in verify_level_key() argument
429 if (!first_key) in verify_level_key()
444 ret = btrfs_comp_cpu_keys(first_key, &found_key); in verify_level_key()
451 eb->start, parent_transid, first_key->objectid, in verify_level_key()
452 first_key->type, first_key->offset, in verify_level_key()
471 struct btrfs_key *first_key) in btree_read_extent_buffer_pages() argument
490 first_key, parent_transid)) in btree_read_extent_buffer_pages()
1079 struct btrfs_key *first_key) in read_tree_block() argument
1089 level, first_key); in read_tree_block()
4129 struct btrfs_key *first_key) in btrfs_read_buffer() argument
[all …]
Dref-verify.c569 struct btrfs_key first_key; in walk_down_tree() local
575 btrfs_node_key_to_cpu(path->nodes[level], &first_key, in walk_down_tree()
578 level - 1, &first_key); in walk_down_tree()
Dctree.c1581 struct btrfs_key first_key; in btrfs_realloc_node() local
1591 btrfs_node_key_to_cpu(parent, &first_key, i); in btrfs_realloc_node()
1617 &first_key); in btrfs_realloc_node()
1626 parent_level - 1,&first_key); in btrfs_realloc_node()
1779 struct btrfs_key first_key; in read_node_slot() local
1786 btrfs_node_key_to_cpu(parent, &first_key, slot); in read_node_slot()
1789 level - 1, &first_key); in read_node_slot()
2385 struct btrfs_key first_key; in read_block_for_search() local
2392 btrfs_node_key_to_cpu(b, &first_key, slot); in read_block_for_search()
2411 ret = btrfs_read_buffer(tmp, gen, parent_level - 1, &first_key); in read_block_for_search()
[all …]
Dtree-log.c2610 struct btrfs_key first_key; in walk_down_log_tree() local
2624 btrfs_node_key_to_cpu(cur, &first_key, path->slots[*level]); in walk_down_log_tree()
2645 *level - 1, &first_key); in walk_down_log_tree()
2675 ret = btrfs_read_buffer(next, ptr_gen, *level - 1, &first_key); in walk_down_log_tree()
3811 struct btrfs_key first_key, last_key, key; in copy_items() local
3830 first_key.objectid = (u64)-1; in copy_items()
3876 if (first_key.objectid == (u64)-1) in copy_items()
3877 first_key = ins_keys[i]; in copy_items()
3950 if (need_find_last_extent && *last_extent == first_key.offset) { in copy_items()
4009 ret = btrfs_search_slot(NULL, inode->root, &first_key, in copy_items()
Drelocation.c1790 struct btrfs_key first_key; in replace_path() local
1805 btrfs_node_key_to_cpu(parent, &first_key, slot); in replace_path()
1831 level - 1, &first_key); in replace_path()
1990 struct btrfs_key first_key; in walk_down_reloc_tree() local
2012 btrfs_node_key_to_cpu(eb, &first_key, path->slots[i]); in walk_down_reloc_tree()
2014 &first_key); in walk_down_reloc_tree()
2672 struct btrfs_key first_key; in do_relocation() local
2739 btrfs_node_key_to_cpu(upper->eb, &first_key, slot); in do_relocation()
2741 upper->level - 1, &first_key); in do_relocation()
Dqgroup.c1763 struct btrfs_key first_key; in btrfs_qgroup_trace_subtree() local
1776 btrfs_node_key_to_cpu(eb, &first_key, parent_slot); in btrfs_qgroup_trace_subtree()
1779 level, &first_key); in btrfs_qgroup_trace_subtree()
Dextent-tree.c8513 struct btrfs_key first_key; in do_walk_down() local
8534 btrfs_node_key_to_cpu(path->nodes[level], &first_key, in do_walk_down()
8601 &first_key); in do_walk_down()
/Linux-v4.19/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()