Searched refs:cur_key (Results 1 – 4 of 4) sorted by relevance
/fs/btrfs/ |
D | backref.h | 108 struct btrfs_key cur_key; member 142 if (iter->cur_key.type == BTRFS_EXTENT_ITEM_KEY && in btrfs_backref_has_tree_block_info() 155 if (iter->cur_key.type == BTRFS_EXTENT_ITEM_KEY || in btrfs_backref_iter_is_inline_ref() 156 iter->cur_key.type == BTRFS_METADATA_ITEM_KEY) in btrfs_backref_iter_is_inline_ref() 168 memset(&iter->cur_key, 0, sizeof(iter->cur_key)); in btrfs_backref_iter_release()
|
D | backref.c | 2590 memcpy(&iter->cur_key, &key, sizeof(key)); in btrfs_backref_iter_start() 2623 btrfs_item_key_to_cpu(path->nodes[0], &iter->cur_key, in btrfs_backref_iter_start() 2625 if (iter->cur_key.objectid != bytenr || in btrfs_backref_iter_start() 2626 (iter->cur_key.type != BTRFS_SHARED_BLOCK_REF_KEY && in btrfs_backref_iter_start() 2627 iter->cur_key.type != BTRFS_TREE_BLOCK_REF_KEY)) { in btrfs_backref_iter_start() 2693 btrfs_item_key_to_cpu(path->nodes[0], &iter->cur_key, path->slots[0]); in btrfs_backref_iter_next() 2694 if (iter->cur_key.objectid != iter->bytenr || in btrfs_backref_iter_next() 2695 (iter->cur_key.type != BTRFS_TREE_BLOCK_REF_KEY && in btrfs_backref_iter_next() 2696 iter->cur_key.type != BTRFS_SHARED_BLOCK_REF_KEY)) in btrfs_backref_iter_next() 3149 key.type = iter->cur_key.type; in btrfs_backref_add_tree_node() [all …]
|
D | ctree.c | 4680 struct btrfs_key cur_key; in btrfs_find_next_key() local 4692 btrfs_item_key_to_cpu(c, &cur_key, slot); in btrfs_find_next_key() 4694 btrfs_node_key_to_cpu(c, &cur_key, slot); in btrfs_find_next_key() 4699 ret = btrfs_search_slot(NULL, root, &cur_key, path, in btrfs_find_next_key()
|
/fs/befs/ |
D | btree.c | 418 int cur_key; in befs_btree_read() local 485 cur_key = key_no - key_sum; in befs_btree_read() 490 keystart = befs_bt_get_key(sb, this_node, cur_key, &keylen); in befs_btree_read() 493 (long long unsigned int)node_off, (int)cur_key, in befs_btree_read() 504 *value = fs64_to_cpu(sb, valarray[cur_key]); in befs_btree_read() 508 cur_key, keylen, keybuf, *value); in befs_btree_read()
|