Lines Matching refs:btrfs_key_ptr
307 struct btrfs_key_ptr { struct
315 struct btrfs_key_ptr ptrs[]; argument
1314 return BTRFS_LEAF_DATA_SIZE(info) / sizeof(struct btrfs_key_ptr); in BTRFS_NODEPTRS_PER_BLOCK()
1855 BTRFS_SETGET_FUNCS(key_blockptr, struct btrfs_key_ptr, blockptr, 64);
1856 BTRFS_SETGET_FUNCS(key_generation, struct btrfs_key_ptr, generation, 64);
1857 BTRFS_SETGET_STACK_FUNCS(stack_key_blockptr, struct btrfs_key_ptr,
1859 BTRFS_SETGET_STACK_FUNCS(stack_key_generation, struct btrfs_key_ptr,
1866 sizeof(struct btrfs_key_ptr) * nr; in btrfs_node_blockptr()
1867 return btrfs_key_blockptr(eb, (struct btrfs_key_ptr *)ptr); in btrfs_node_blockptr()
1875 sizeof(struct btrfs_key_ptr) * nr; in btrfs_set_node_blockptr()
1876 btrfs_set_key_blockptr(eb, (struct btrfs_key_ptr *)ptr, val); in btrfs_set_node_blockptr()
1883 sizeof(struct btrfs_key_ptr) * nr; in btrfs_node_ptr_generation()
1884 return btrfs_key_generation(eb, (struct btrfs_key_ptr *)ptr); in btrfs_node_ptr_generation()
1892 sizeof(struct btrfs_key_ptr) * nr; in btrfs_set_node_ptr_generation()
1893 btrfs_set_key_generation(eb, (struct btrfs_key_ptr *)ptr, val); in btrfs_set_node_ptr_generation()
1899 sizeof(struct btrfs_key_ptr) * nr; in btrfs_node_key_ptr_offset()
1910 write_eb_member(eb, (struct btrfs_key_ptr *)ptr, in btrfs_set_node_key()
1911 struct btrfs_key_ptr, key, disk_key); in btrfs_set_node_key()