Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Daccessors.h419 struct btrfs_disk_key *disk_key, int nr);
422 const struct btrfs_disk_key *disk_key, int nr) in btrfs_set_node_key() argument
428 struct btrfs_key_ptr, key, disk_key); in btrfs_set_node_key()
468 struct btrfs_disk_key *disk_key, int nr) in btrfs_item_key() argument
472 read_eb_member(eb, item, struct btrfs_item, key, disk_key); in btrfs_item_key()
476 const struct btrfs_disk_key *disk_key, int nr) in btrfs_set_item_key() argument
480 write_eb_member(eb, item, struct btrfs_item, key, disk_key); in btrfs_set_item_key()
562 const struct btrfs_disk_key *disk_key) in btrfs_disk_key_to_cpu() argument
564 memcpy(cpu_key, disk_key, sizeof(struct btrfs_key)); in btrfs_disk_key_to_cpu()
567 static inline void btrfs_cpu_key_to_disk(struct btrfs_disk_key *disk_key, in btrfs_cpu_key_to_disk() argument
576 struct btrfs_disk_key *disk_key = (struct btrfs_disk_key *)cpu_key; btrfs_node_key_to_cpu() local
584 struct btrfs_disk_key *disk_key = (struct btrfs_disk_key *)cpu_key; btrfs_item_key_to_cpu() local
593 struct btrfs_disk_key *disk_key = (struct btrfs_disk_key *)cpu_key; btrfs_dir_item_key_to_cpu() local
619 struct btrfs_disk_key disk_key; btrfs_node_key_to_cpu() local
628 struct btrfs_disk_key disk_key; btrfs_item_key_to_cpu() local
638 struct btrfs_disk_key disk_key; btrfs_dir_item_key_to_cpu() local
[all...]
H A Dctree.c251 struct btrfs_disk_key disk_key; in btrfs_copy_root() local
261 btrfs_item_key(buf, &disk_key, 0); in btrfs_copy_root()
263 btrfs_node_key(buf, &disk_key, 0); in btrfs_copy_root()
268 &disk_key, level, buf->start, 0, in btrfs_copy_root()
487 struct btrfs_disk_key disk_key; in btrfs_force_cow_block() local
508 btrfs_item_key(buf, &disk_key, 0); in btrfs_force_cow_block()
510 btrfs_node_key(buf, &disk_key, 0); in btrfs_force_cow_block()
518 btrfs_root_id(root), &disk_key, level, in btrfs_force_cow_block()
1184 struct btrfs_disk_key disk_key; in push_nodes_for_insert() local
1186 btrfs_node_key(mid, &disk_key, in push_nodes_for_insert()
1244 struct btrfs_disk_key disk_key; push_nodes_for_insert() local
1286 struct btrfs_disk_key disk_key; reada_for_search() local
2582 struct btrfs_disk_key disk_key; btrfs_set_item_key_safe() local
2975 struct btrfs_disk_key disk_key; split_node() local
3113 struct btrfs_disk_key disk_key; __push_leaf_right() local
3324 struct btrfs_disk_key disk_key; __push_leaf_left() local
3525 struct btrfs_disk_key disk_key; copy_for_split() local
3647 struct btrfs_disk_key disk_key; split_leaf() local
3904 struct btrfs_disk_key disk_key; split_item() local
4042 struct btrfs_disk_key disk_key; btrfs_truncate_item() local
4163 struct btrfs_disk_key disk_key; setup_items_for_insert() local
4403 struct btrfs_disk_key disk_key; btrfs_del_ptr() local
4503 struct btrfs_disk_key disk_key; btrfs_del_items() local
[all...]
H A Ddir-item.c65 struct btrfs_disk_key disk_key; in btrfs_insert_xattr_item() local
84 btrfs_cpu_key_to_disk(&disk_key, &location); in btrfs_insert_xattr_item()
85 btrfs_set_dir_item_key(leaf, dir_item, &disk_key); in btrfs_insert_xattr_item()
119 struct btrfs_disk_key disk_key; in btrfs_insert_dir_item() local
130 btrfs_cpu_key_to_disk(&disk_key, location); in btrfs_insert_dir_item()
146 btrfs_set_dir_item_key(leaf, dir_item, &disk_key); in btrfs_insert_dir_item()
164 &disk_key, type, index); in btrfs_insert_dir_item()
H A Daccessors.c120 struct btrfs_disk_key *disk_key, int nr) in btrfs_node_key() argument
124 struct btrfs_key_ptr, key, disk_key); in btrfs_node_key()
H A Ddelayed-inode.h113 const struct btrfs_disk_key *disk_key, u8 flags,
H A Dctree.h516 static inline int btrfs_comp_keys(const struct btrfs_disk_key *disk_key, in btrfs_comp_keys() argument
519 const struct btrfs_key *k1 = (const struct btrfs_key *)disk_key; in btrfs_comp_keys()
H A Ddefrag.c373 struct btrfs_disk_key disk_key; in btrfs_realloc_node() local
378 btrfs_node_key(parent, &disk_key, i); in btrfs_realloc_node()
379 if (!progress_passed && btrfs_comp_keys(&disk_key, progress) < 0) in btrfs_realloc_node()
H A Dfree-space-cache.c88 struct btrfs_disk_key disk_key; in __lookup_free_space_inode() local
110 btrfs_free_space_key(leaf, header, &disk_key); in __lookup_free_space_inode()
111 btrfs_disk_key_to_cpu(&location, &disk_key); in __lookup_free_space_inode()
172 struct btrfs_disk_key disk_key; in __create_free_space_inode() local
188 btrfs_item_key(leaf, &disk_key, path->slots[0]); in __create_free_space_inode()
217 btrfs_set_free_space_key(leaf, header, &disk_key); in __create_free_space_inode()
H A Ddelayed-inode.c1451 const struct btrfs_disk_key *disk_key, u8 flags, in btrfs_insert_delayed_dir_index() argument
1478 dir_item->location = *disk_key; in btrfs_insert_delayed_dir_index()
H A Ddisk-io.c2334 struct btrfs_disk_key *disk_key; in validate_sys_chunk_array() local
2342 disk_key = (struct btrfs_disk_key *)(sb->sys_chunk_array + cur); in validate_sys_chunk_array()
2343 len = sizeof(*disk_key); in validate_sys_chunk_array()
2349 btrfs_disk_key_to_cpu(&key, disk_key); in validate_sys_chunk_array()
H A Dioctl.c2869 struct btrfs_disk_key disk_key; in btrfs_ioctl_default_subvol() local
2924 btrfs_cpu_key_to_disk(&disk_key, &new_root->root_key); in btrfs_ioctl_default_subvol()
2925 btrfs_set_dir_item_key(path->nodes[0], di, &disk_key); in btrfs_ioctl_default_subvol()