Home
last modified time | relevance | path

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

/Linux-v5.10/fs/btrfs/
Dctree.c187 struct btrfs_disk_key disk_key; in btrfs_copy_root() local
196 btrfs_item_key(buf, &disk_key, 0); in btrfs_copy_root()
198 btrfs_node_key(buf, &disk_key, 0); in btrfs_copy_root()
201 &disk_key, level, buf->start, 0, in btrfs_copy_root()
958 const struct btrfs_disk_key *disk_key, in alloc_tree_block_no_bg_flush() argument
990 root->root_key.objectid, disk_key, level, in alloc_tree_block_no_bg_flush()
1018 struct btrfs_disk_key disk_key; in __btrfs_cow_block() local
1038 btrfs_item_key(buf, &disk_key, 0); in __btrfs_cow_block()
1040 btrfs_node_key(buf, &disk_key, 0); in __btrfs_cow_block()
1045 cow = alloc_tree_block_no_bg_flush(trans, root, parent_start, &disk_key, in __btrfs_cow_block()
[all …]
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()
120 struct btrfs_disk_key disk_key; in btrfs_insert_dir_item() local
132 btrfs_cpu_key_to_disk(&disk_key, location); in btrfs_insert_dir_item()
145 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()
Dctree.h1812 struct btrfs_disk_key *disk_key, int nr);
1815 struct btrfs_disk_key *disk_key, int nr) in btrfs_set_node_key() argument
1820 struct btrfs_key_ptr, key, disk_key); in btrfs_set_node_key()
1862 struct btrfs_disk_key *disk_key, int nr) in btrfs_item_key() argument
1865 read_eb_member(eb, item, struct btrfs_item, key, disk_key); in btrfs_item_key()
1869 struct btrfs_disk_key *disk_key, int nr) in btrfs_set_item_key() argument
1872 write_eb_member(eb, item, struct btrfs_item, key, disk_key); in btrfs_set_item_key()
1946 const struct btrfs_disk_key *disk_key) in btrfs_disk_key_to_cpu() argument
1948 memcpy(cpu_key, disk_key, sizeof(struct btrfs_key)); in btrfs_disk_key_to_cpu()
1951 static inline void btrfs_cpu_key_to_disk(struct btrfs_disk_key *disk_key, in btrfs_cpu_key_to_disk() argument
[all …]
Dcheck-integrity.c145 struct btrfs_disk_key disk_key; /* extra info to print in case of member
305 struct btrfs_disk_key *disk_key,
386 b->disk_key.objectid = 0; in btrfsic_block_init()
387 b->disk_key.type = 0; in btrfsic_block_init()
388 b->disk_key.offset = 0; in btrfsic_block_init()
895 next_block->disk_key = tmp_disk_key; in btrfsic_process_superblock_dev_mirror()
985 struct btrfs_disk_key *disk_key; in btrfsic_process_metablock() local
1004 disk_key = &disk_item.key; in btrfsic_process_metablock()
1005 type = btrfs_disk_key_type(disk_key); in btrfsic_process_metablock()
1035 disk_key, in btrfsic_process_metablock()
[all …]
Dstruct-funcs.c164 struct btrfs_disk_key *disk_key, int nr) in btrfs_node_key() argument
168 struct btrfs_key_ptr, key, disk_key); in btrfs_node_key()
Ddelayed-inode.h91 struct btrfs_disk_key *disk_key, u8 type,
Dvolumes.c2840 struct btrfs_disk_key *disk_key; in btrfs_del_sys_chunk() local
2857 disk_key = (struct btrfs_disk_key *)ptr; in btrfs_del_sys_chunk()
2858 btrfs_disk_key_to_cpu(&key, disk_key); in btrfs_del_sys_chunk()
2860 len = sizeof(*disk_key); in btrfs_del_sys_chunk()
4755 struct btrfs_disk_key disk_key; in btrfs_add_system_chunk() local
4761 if (array_size + item_size + sizeof(disk_key) in btrfs_add_system_chunk()
4768 btrfs_cpu_key_to_disk(&disk_key, key); in btrfs_add_system_chunk()
4769 memcpy(ptr, &disk_key, sizeof(disk_key)); in btrfs_add_system_chunk()
4770 ptr += sizeof(disk_key); in btrfs_add_system_chunk()
4772 item_size += sizeof(disk_key); in btrfs_add_system_chunk()
[all …]
Dfree-space-cache.c54 struct btrfs_disk_key disk_key; in __lookup_free_space_inode() local
76 btrfs_free_space_key(leaf, header, &disk_key); in __lookup_free_space_inode()
77 btrfs_disk_key_to_cpu(&location, &disk_key); in __lookup_free_space_inode()
140 struct btrfs_disk_key disk_key; in __create_free_space_inode() local
158 btrfs_item_key(leaf, &disk_key, path->slots[0]); in __create_free_space_inode()
188 btrfs_set_free_space_key(leaf, header, &disk_key); in __create_free_space_inode()
Ddelayed-inode.c1436 struct btrfs_disk_key *disk_key, u8 type, in btrfs_insert_delayed_dir_index() argument
1459 dir_item->location = *disk_key; in btrfs_insert_delayed_dir_index()
Dioctl.c3361 struct btrfs_disk_key disk_key; in btrfs_ioctl_default_subvol() local
3416 btrfs_cpu_key_to_disk(&disk_key, &new_root->root_key); in btrfs_ioctl_default_subvol()
3417 btrfs_set_dir_item_key(path->nodes[0], di, &disk_key); in btrfs_ioctl_default_subvol()