Home
last modified time | relevance | path

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

/fs/btrfs/
Dctree.c244 struct btrfs_disk_key disk_key; in btrfs_copy_root() local
252 btrfs_item_key(buf, &disk_key, 0); in btrfs_copy_root()
254 btrfs_node_key(buf, &disk_key, 0); in btrfs_copy_root()
257 new_root_objectid, &disk_key, level, in btrfs_copy_root()
437 struct btrfs_disk_key disk_key; in __btrfs_cow_block() local
456 btrfs_item_key(buf, &disk_key, 0); in __btrfs_cow_block()
458 btrfs_node_key(buf, &disk_key, 0); in __btrfs_cow_block()
469 root->root_key.objectid, &disk_key, in __btrfs_cow_block()
680 struct btrfs_disk_key disk_key; in btrfs_realloc_node() local
703 btrfs_node_key(parent, &disk_key, i); in btrfs_realloc_node()
[all …]
Ddir-item.c78 struct btrfs_disk_key disk_key; in btrfs_insert_xattr_item() local
96 btrfs_cpu_key_to_disk(&disk_key, &location); in btrfs_insert_xattr_item()
97 btrfs_set_dir_item_key(leaf, dir_item, &disk_key); in btrfs_insert_xattr_item()
132 struct btrfs_disk_key disk_key; in btrfs_insert_dir_item() local
144 btrfs_cpu_key_to_disk(&disk_key, location); in btrfs_insert_dir_item()
157 btrfs_set_dir_item_key(leaf, dir_item, &disk_key); in btrfs_insert_dir_item()
176 &disk_key, type, index); in btrfs_insert_dir_item()
Dstruct-funcs.c135 struct btrfs_disk_key *disk_key, int nr) in btrfs_node_key() argument
139 struct btrfs_key_ptr, key, disk_key); in btrfs_node_key()
Dcheck-integrity.c146 struct btrfs_disk_key disk_key; /* extra info to print in case of member
305 struct btrfs_disk_key *disk_key,
392 b->disk_key.objectid = 0; in btrfsic_block_init()
393 b->disk_key.type = 0; in btrfsic_block_init()
394 b->disk_key.offset = 0; in btrfsic_block_init()
926 next_block->disk_key = tmp_disk_key; in btrfsic_process_superblock_dev_mirror()
1016 struct btrfs_disk_key *disk_key = &disk_item->key; in btrfsic_process_metablock() local
1020 type = disk_key->type; in btrfsic_process_metablock()
1043 disk_key, in btrfsic_process_metablock()
1194 struct btrfs_disk_key *disk_key, in btrfsic_create_link_to_next_block() argument
[all …]
Dctree.h1918 struct btrfs_disk_key *disk_key, int nr);
1921 struct btrfs_disk_key *disk_key, int nr) in btrfs_set_node_key() argument
1926 struct btrfs_key_ptr, key, disk_key); in btrfs_set_node_key()
1967 struct btrfs_disk_key *disk_key, int nr) in btrfs_item_key() argument
1970 read_eb_member(eb, item, struct btrfs_item, key, disk_key); in btrfs_item_key()
1974 struct btrfs_disk_key *disk_key, int nr) in btrfs_set_item_key() argument
1977 write_eb_member(eb, item, struct btrfs_item, key, disk_key); in btrfs_set_item_key()
2055 struct btrfs_disk_key disk_key; in btrfs_node_key_to_cpu() local
2056 btrfs_node_key(eb, &disk_key, nr); in btrfs_node_key_to_cpu()
2057 btrfs_disk_key_to_cpu(key, &disk_key); in btrfs_node_key_to_cpu()
[all …]
Ddelayed-inode.h99 struct btrfs_disk_key *disk_key, u8 type,
Dvolumes.c1933 struct btrfs_disk_key *disk_key; in btrfs_del_sys_chunk() local
1949 disk_key = (struct btrfs_disk_key *)ptr; in btrfs_del_sys_chunk()
1950 btrfs_disk_key_to_cpu(&key, disk_key); in btrfs_del_sys_chunk()
1952 len = sizeof(*disk_key); in btrfs_del_sys_chunk()
3125 struct btrfs_disk_key disk_key; in btrfs_add_system_chunk() local
3134 btrfs_cpu_key_to_disk(&disk_key, key); in btrfs_add_system_chunk()
3135 memcpy(ptr, &disk_key, sizeof(disk_key)); in btrfs_add_system_chunk()
3136 ptr += sizeof(disk_key); in btrfs_add_system_chunk()
3138 item_size += sizeof(disk_key); in btrfs_add_system_chunk()
4453 struct btrfs_disk_key *disk_key; in btrfs_read_sys_array() local
[all …]
Dbackref.c427 struct btrfs_disk_key disk_key; in __add_inline_refs() local
431 btrfs_tree_block_key(leaf, info, &disk_key); in __add_inline_refs()
432 btrfs_disk_key_to_cpu(info_key, &disk_key); in __add_inline_refs()
Dfree-space-cache.c43 struct btrfs_disk_key disk_key; in __lookup_free_space_inode() local
64 btrfs_free_space_key(leaf, header, &disk_key); in __lookup_free_space_inode()
65 btrfs_disk_key_to_cpu(&location, &disk_key); in __lookup_free_space_inode()
124 struct btrfs_disk_key disk_key; in __create_free_space_inode() local
142 btrfs_item_key(leaf, &disk_key, path->slots[0]); in __create_free_space_inode()
172 btrfs_set_free_space_key(leaf, header, &disk_key); in __create_free_space_inode()
Ddelayed-inode.c1388 struct btrfs_disk_key *disk_key, u8 type, in btrfs_insert_delayed_dir_index() argument
1411 dir_item->location = *disk_key; in btrfs_insert_delayed_dir_index()
Dioctl.c2731 struct btrfs_disk_key disk_key; in btrfs_ioctl_default_subvol() local
2779 btrfs_cpu_key_to_disk(&disk_key, &new_root->root_key); in btrfs_ioctl_default_subvol()
2780 btrfs_set_dir_item_key(path->nodes[0], di, &disk_key); in btrfs_ioctl_default_subvol()