| /fs/btrfs/ |
| A D | tree-checker.c | 201 dir_item_err(leaf, slot, in check_prev_ino() 372 generic_err(leaf, slot, in check_csum_item() 378 generic_err(leaf, slot, in check_csum_item() 384 generic_err(leaf, slot, in check_csum_item() 708 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item() 774 bool is_sb = !leaf; in chunk_err() 836 if (leaf) { in btrfs_check_chunk_valid() 1214 read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot), in check_root_item() 1947 generic_err(leaf, 0, in __btrfs_check_leaf() 1975 generic_err(leaf, 0, in __btrfs_check_leaf() [all …]
|
| A D | dir-item.c | 32 struct extent_buffer *leaf; in insert_with_overflow() local 44 leaf = path->nodes[0]; in insert_with_overflow() 66 struct extent_buffer *leaf; in btrfs_insert_xattr_item() local 83 leaf = path->nodes[0]; in btrfs_insert_xattr_item() 116 struct extent_buffer *leaf; in btrfs_insert_dir_item() local 145 leaf = path->nodes[0]; in btrfs_insert_dir_item() 237 struct extent_buffer *leaf; in btrfs_check_dir_item_collision() local 269 leaf = path->nodes[0]; in btrfs_check_dir_item_collision() 379 struct extent_buffer *leaf; in btrfs_match_dir_item_name() local 381 leaf = path->nodes[0]; in btrfs_match_dir_item_name() [all …]
|
| A D | inode-item.c | 28 item_size = btrfs_item_size(leaf, slot); in btrfs_find_name_in_backref() 112 struct extent_buffer *leaf; in btrfs_del_inode_extref() local 145 leaf = path->nodes[0]; in btrfs_del_inode_extref() 173 struct extent_buffer *leaf; in btrfs_del_inode_ref() local 205 leaf = path->nodes[0]; in btrfs_del_inode_ref() 254 struct extent_buffer *leaf; in btrfs_insert_inode_extref() local 279 leaf = path->nodes[0]; in btrfs_insert_inode_extref() 392 struct extent_buffer *leaf; in btrfs_lookup_inode() local 399 leaf = path->nodes[0]; in btrfs_lookup_inode() 448 struct extent_buffer *leaf; in btrfs_truncate_inode_items() local [all …]
|
| A D | file-item.c | 181 leaf = path->nodes[0]; in btrfs_insert_hole_extent() 220 leaf = path->nodes[0]; in btrfs_lookup_csum() 491 leaf = path->nodes[0]; in btrfs_lookup_csums_list() 520 leaf = path->nodes[0]; in btrfs_lookup_csums_list() 647 leaf = path->nodes[0]; in btrfs_lookup_csums_bitmap() 677 leaf = path->nodes[0]; in btrfs_lookup_csums_bitmap() 832 leaf = path->nodes[0]; in truncate_one_csum() 905 leaf = path->nodes[0]; in btrfs_del_csums() 1079 leaf = path->nodes[0]; in btrfs_csum_file_blocks() 1140 leaf = path->nodes[0]; in btrfs_csum_file_blocks() [all …]
|
| A D | raid-stripe-tree.c | 23 struct extent_buffer *leaf; in btrfs_partially_delete_raid_extent() local 36 leaf = path->nodes[0]; in btrfs_partially_delete_raid_extent() 38 item_size = btrfs_item_size(leaf, slot); in btrfs_partially_delete_raid_extent() 72 struct extent_buffer *leaf; in btrfs_delete_raid_extent() local 111 leaf = path->nodes[0]; in btrfs_delete_raid_extent() 141 leaf = path->nodes[0]; in btrfs_delete_raid_extent() 273 struct extent_buffer *leaf; in update_raid_extent_item() local 286 leaf = path->nodes[0]; in update_raid_extent_item() 289 write_extent_buffer(leaf, stripe_extent, btrfs_item_ptr_offset(leaf, slot), in update_raid_extent_item() 380 struct extent_buffer *leaf; in btrfs_get_raid_extent_offset() local [all …]
|
| A D | ctree.c | 71 memmove_extent_buffer(leaf, btrfs_item_nr_offset(leaf, 0) + dst_offset, in memmove_leaf_data() 112 memmove_extent_buffer(leaf, btrfs_item_nr_offset(leaf, dst_item), in memmove_leaf_items() 2446 leaf = p->nodes[0]; in btrfs_search_slot_for_read() 2470 leaf = p->nodes[0]; in btrfs_search_slot_for_read() 3837 leaf = path->nodes[0]; in setup_leaf_for_split() 3865 leaf = path->nodes[0]; in setup_leaf_for_split() 3906 leaf = path->nodes[0]; in split_item() 3922 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, in split_item() 4009 leaf = path->nodes[0]; in btrfs_truncate_item() 4098 leaf = path->nodes[0]; in btrfs_extend_item() [all …]
|
| A D | file.c | 143 struct extent_buffer *leaf; in btrfs_drop_extents() local 192 leaf = path->nodes[0]; in btrfs_drop_extents() 200 leaf = path->nodes[0]; in btrfs_drop_extents() 203 btrfs_print_leaf(leaf); in btrfs_drop_extents() 214 leaf = path->nodes[0]; in btrfs_drop_extents() 303 leaf = path->nodes[0]; in btrfs_drop_extents() 474 leaf = path->nodes[0]; in btrfs_drop_extents() 588 leaf = path->nodes[0]; in btrfs_mark_extent_written() 684 leaf = path->nodes[0]; in btrfs_mark_extent_written() 2115 leaf = path->nodes[0]; in fill_holes() [all …]
|
| A D | xattr.c | 33 struct extent_buffer *leaf; in btrfs_getxattr() local 52 leaf = path->nodes[0]; in btrfs_getxattr() 55 ret = btrfs_dir_data_len(leaf, di); in btrfs_getxattr() 60 if (btrfs_dir_data_len(leaf, di) > size) { in btrfs_getxattr() 73 btrfs_dir_name_len(leaf, di)); in btrfs_getxattr() 74 read_extent_buffer(leaf, buffer, data_ptr, in btrfs_getxattr() 75 btrfs_dir_data_len(leaf, di)); in btrfs_getxattr() 76 ret = btrfs_dir_data_len(leaf, di); in btrfs_getxattr() 180 if (btrfs_leaf_free_space(leaf) < in btrfs_setxattr() 302 struct extent_buffer *leaf; in btrfs_listxattr() local [all …]
|
| A D | extent-tree.c | 459 leaf = path->nodes[0]; in lookup_extent_data_ref() 470 leaf = path->nodes[0]; in lookup_extent_data_ref() 527 leaf = path->nodes[0]; in insert_extent_data_ref() 554 leaf = path->nodes[0]; in insert_extent_data_ref() 587 leaf = path->nodes[0]; in remove_extent_data_ref() 630 leaf = path->nodes[0]; in extent_data_ref_count() 846 leaf = path->nodes[0]; in lookup_inline_extent_backref() 1006 leaf = path->nodes[0]; in setup_inline_extent_backref() 1514 leaf = path->nodes[0]; in __btrfs_inc_extent_ref() 1692 leaf = path->nodes[0]; in run_delayed_extent_op() [all …]
|
| A D | root-tree.c | 218 struct extent_buffer *leaf; in btrfs_find_orphan_roots() local 242 leaf = path->nodes[0]; in btrfs_find_orphan_roots() 249 leaf = path->nodes[0]; in btrfs_find_orphan_roots() 349 struct extent_buffer *leaf; in btrfs_del_root_ref() local 366 leaf = path->nodes[0]; in btrfs_del_root_ref() 367 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref() 376 *sequence = btrfs_root_ref_sequence(leaf, ref); in btrfs_del_root_ref() 423 struct extent_buffer *leaf; in btrfs_add_root_ref() local 442 leaf = path->nodes[0]; in btrfs_add_root_ref() 444 btrfs_set_root_ref_dirid(leaf, ref, dirid); in btrfs_add_root_ref() [all …]
|
| A D | export.c | 153 struct extent_buffer *leaf; in btrfs_get_parent() local 192 leaf = path->nodes[0]; in btrfs_get_parent() 201 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent() 203 key.objectid = btrfs_root_ref_dirid(leaf, ref); in btrfs_get_parent() 234 struct extent_buffer *leaf; in btrfs_get_name() local 270 leaf = path->nodes[0]; in btrfs_get_name() 273 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name() 276 name_len = btrfs_root_ref_name_len(leaf, rref); in btrfs_get_name() 278 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name() 281 name_len = btrfs_inode_ref_name_len(leaf, iref); in btrfs_get_name() [all …]
|
| A D | fiemap.c | 560 struct extent_buffer *leaf; in fiemap_find_last_extent_offset() local 584 leaf = path->nodes[0]; in fiemap_find_last_extent_offset() 585 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in fiemap_find_last_extent_offset() 620 leaf = path->nodes[0]; in fiemap_find_last_extent_offset() 621 ei = btrfs_item_ptr(leaf, path->slots[0], in fiemap_find_last_extent_offset() 685 struct extent_buffer *leaf = path->nodes[0]; in extent_fiemap() local 697 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in extent_fiemap() 710 backref_ctx->curr_leaf_bytenr = leaf->start; in extent_fiemap() 736 ei = btrfs_item_ptr(leaf, path->slots[0], in extent_fiemap() 739 extent_type = btrfs_file_extent_type(leaf, ei); in extent_fiemap() [all …]
|
| A D | free-space-tree.c | 76 struct extent_buffer *leaf; in add_new_free_space_info() local 87 leaf = path->nodes[0]; in add_new_free_space_info() 209 struct extent_buffer *leaf; in btrfs_convert_free_space_to_bitmaps() local 241 leaf = path->nodes[0]; in btrfs_convert_free_space_to_bitmaps() 287 leaf = path->nodes[0]; in btrfs_convert_free_space_to_bitmaps() 328 leaf = path->nodes[0]; in btrfs_convert_free_space_to_bitmaps() 384 leaf = path->nodes[0]; in btrfs_convert_free_space_to_extents() 436 leaf = path->nodes[0]; in btrfs_convert_free_space_to_extents() 528 leaf = path->nodes[0]; in btrfs_free_space_test_bit() 554 leaf = path->nodes[0]; in free_space_modify_bits() [all …]
|
| A D | props.c | 164 struct extent_buffer *leaf; in iterate_object_props() local 170 leaf = path->nodes[0]; in iterate_object_props() 172 if (slot >= btrfs_header_nritems(leaf)) { in iterate_object_props() 181 btrfs_item_key_to_cpu(leaf, &key, slot); in iterate_object_props() 191 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in iterate_object_props() 193 total_len = btrfs_item_size(leaf, slot); in iterate_object_props() 196 u32 name_len = btrfs_dir_name_len(leaf, di); in iterate_object_props() 197 u32 data_len = btrfs_dir_data_len(leaf, di); in iterate_object_props() 206 memcmp_extent_buffer(leaf, XATTR_BTRFS_PREFIX, in iterate_object_props() 220 read_extent_buffer(leaf, name_buf, name_ptr, name_len); in iterate_object_props() [all …]
|
| A D | inode.c | 503 leaf = path->nodes[0]; in insert_inline_extent() 2094 leaf = path->nodes[0]; in run_delalloc_nocow() 2977 leaf = path->nodes[0]; in insert_reserved_file_extent() 3911 leaf = path->nodes[0]; in btrfs_read_locked_inode() 4141 leaf = path->nodes[0]; in btrfs_update_inode_item() 4429 leaf = path->nodes[0]; in btrfs_unlink_subvol() 5661 leaf = path->nodes[0]; in fixup_tree_root_location() 5990 leaf = path->nodes[0]; in btrfs_set_inode_index_count() 7049 leaf = path->nodes[0]; in btrfs_get_extent() 7235 leaf = path->nodes[0]; in can_nocow_extent() [all …]
|
| A D | ref-verify.c | 369 struct extent_buffer *leaf, in add_extent_data_ref() argument 422 struct extent_buffer *leaf = path->nodes[0]; in process_extent_item() local 423 u32 item_size = btrfs_item_size(leaf, slot); in process_extent_item() 430 flags = btrfs_extent_flags(leaf, ei); in process_extent_item() 449 type = btrfs_extent_inline_ref_type(leaf, iref); in process_extent_item() 462 ret = add_extent_data_ref(fs_info, leaf, dref, in process_extent_item() 495 struct extent_buffer *leaf = path->nodes[0]; in process_leaf() local 501 int nritems = btrfs_header_nritems(leaf); in process_leaf() 504 btrfs_item_key_to_cpu(leaf, &key, i); in process_leaf() 523 dref = btrfs_item_ptr(leaf, i, in process_leaf() [all …]
|
| A D | volumes.c | 1849 leaf = path->nodes[0]; in btrfs_free_dev_extent() 1859 leaf = path->nodes[0]; in btrfs_free_dev_extent() 1966 leaf = path->nodes[0]; in btrfs_add_dev_item() 2653 leaf = path->nodes[0]; in btrfs_finish_sprout() 2661 leaf = path->nodes[0]; in btrfs_finish_sprout() 2967 leaf = path->nodes[0]; in btrfs_update_device() 3547 leaf = path->nodes[0]; in btrfs_relocate_sys_chunks() 3693 leaf = path->nodes[0]; in insert_balance_item() 4149 leaf = path->nodes[0]; in __btrfs_balance() 4734 leaf = path->nodes[0]; in btrfs_recover_balance() [all …]
|
| /fs/xfs/libxfs/ |
| A D | xfs_iext_tree.c | 242 cur->leaf = cur->leaf->next; in xfs_iext_next() 269 cur->leaf = cur->leaf->prev; in xfs_iext_prev() 827 if (cur->leaf == leaf) { in xfs_iext_rebalance_leaf() 828 cur->leaf = leaf->prev; in xfs_iext_rebalance_leaf() 849 if (cur->leaf == leaf->next) { in xfs_iext_rebalance_leaf() 850 cur->leaf = leaf; in xfs_iext_rebalance_leaf() 855 leaf = leaf->next; in xfs_iext_rebalance_leaf() 863 leaf->prev->next = leaf->next; in xfs_iext_rebalance_leaf() 865 leaf->next->prev = leaf->prev; in xfs_iext_rebalance_leaf() 909 cur->leaf = leaf->next; in xfs_iext_remove() [all …]
|
| A D | xfs_dir2_leaf.c | 143 struct xfs_dir2_leaf *leaf, in xfs_dir3_leaf_check_int() argument 153 ltp = xfs_dir2_leaf_tail_p(geo, leaf); in xfs_dir3_leaf_check_int() 380 memset(leaf, 0, sizeof(*leaf)); in xfs_dir3_leaf_init() 476 leaf = lbp->b_addr; in xfs_dir2_block_to_leaf() 712 leaf = lbp->b_addr; in xfs_dir2_leaf_addname() 983 leaf = bp->b_addr; in xfs_dir3_leaf_compact() 1180 (uint)((char *)&leaf->hdr - (char *)leaf), in xfs_dir3_leaf_log_header() 1298 leaf = lbp->b_addr; in xfs_dir2_leaf_lookup_int() 1431 leaf = lbp->b_addr; in xfs_dir2_leaf_removename() 1674 leaf = lbp->b_addr; in xfs_dir2_leaf_trim_data() [all …]
|
| A D | xfs_attr_leaf.c | 1025 leaf = bp->b_addr; in xfs_attr_shortform_allfit() 1303 leaf = bp->b_addr; in xfs_attr3_leaf_create() 1416 leaf = bp->b_addr; in xfs_attr3_leaf_add() 1472 XFS_DA_LOGRANGE(leaf, &leaf->hdr, in xfs_attr3_leaf_add() 1497 leaf = bp->b_addr; in xfs_attr3_leaf_add_work() 1575 XFS_DA_LOGRANGE(leaf, xfs_attr3_leaf_name(leaf, args->index), in xfs_attr3_leaf_add_work() 2145 leaf = bp->b_addr; in xfs_attr3_leaf_remove() 2230 XFS_DA_LOGRANGE(leaf, xfs_attr3_leaf_name(leaf, args->index), in xfs_attr3_leaf_remove() 2265 XFS_DA_LOGRANGE(leaf, &leaf->hdr, in xfs_attr3_leaf_remove() 2423 leaf = bp->b_addr; in xfs_attr3_leaf_lookup_int() [all …]
|
| /fs/unicode/ |
| A D | mkutf8data.c | 410 return leaf; in lookup() 1420 leaf->code, leaf->ccc, leaf->gen); in nfdi_print() 1422 if (leaf->utf8nfdi && leaf->utf8nfdi[0] == HANGUL) in nfdi_print() 1435 leaf->code, leaf->ccc, leaf->gen); in nfdicf_print() 1439 else if (leaf->utf8nfdi && leaf->utf8nfdi[0] == HANGUL) in nfdicf_print() 2815 if (!leaf) in utf8agemax() 2842 if (!leaf) in utf8agemin() 2868 if (!leaf) in utf8nagemax() 2895 if (!leaf) in utf8nagemin() 2922 if (!leaf) in utf8len() [all …]
|
| A D | utf8-norm.c | 389 utf8leaf_t *leaf; in utf8nlen() local 394 leaf = utf8nlookup(um, n, hangul, s, len); in utf8nlen() 395 if (!leaf) in utf8nlen() 400 else if (LEAF_CCC(leaf) == DECOMPOSE) in utf8nlen() 401 ret += strlen(LEAF_STR(leaf)); in utf8nlen() 473 utf8leaf_t *leaf; in utf8byte() local 507 if (!leaf) in utf8byte() 510 ccc = LEAF_CCC(leaf); in utf8byte() 518 u8c->s = LEAF_STR(leaf); in utf8byte() 528 if (!leaf) in utf8byte() [all …]
|
| /fs/gfs2/ |
| A D | dir.c | 871 struct gfs2_leaf *leaf; in new_leaf() local 887 leaf->lf_entries = 0; in new_leaf() 889 leaf->lf_next = 0; in new_leaf() 894 memset(leaf->lf_reserved2, 0, sizeof(leaf->lf_reserved2)); in new_leaf() 898 return leaf; in new_leaf() 915 struct gfs2_leaf *leaf; in dir_make_exhash() local 928 if (!leaf) in dir_make_exhash() 1450 larr[leaf++] = bh; in gfs2_dir_read_leaf() 1452 larr[leaf++] = NULL; in gfs2_dir_read_leaf() 1753 if (!leaf) { in dir_new_leaf() [all …]
|
| /fs/xfs/scrub/ |
| A D | listxattr.c | 63 struct xfs_attr_leafblock *leaf = bp->b_addr; in xchk_xattr_walk_leaf_entries() local 68 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xchk_xattr_walk_leaf_entries() 69 entry = xfs_attr3_leaf_entryp(leaf); in xchk_xattr_walk_leaf_entries() 79 name_loc = xfs_attr3_leaf_name_local(leaf, i); in xchk_xattr_walk_leaf_entries() 87 name_rmt = xfs_attr3_leaf_name_remote(leaf, i); in xchk_xattr_walk_leaf_entries() 230 struct xfs_attr_leafblock *leaf; in xchk_xattr_walk_node() local 249 leaf = leaf_bp->b_addr; in xchk_xattr_walk_node() 250 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xchk_xattr_walk_node()
|
| /fs/xfs/ |
| A D | xfs_attr_list.c | 316 struct xfs_attr_leafblock *leaf; in xfs_attr_node_list() local 361 leaf = bp->b_addr; in xfs_attr_node_list() 371 &leafhdr, leaf); in xfs_attr_node_list() 372 entries = xfs_attr3_leaf_entryp(leaf); in xfs_attr_node_list() 411 leaf = bp->b_addr; in xfs_attr_node_list() 438 struct xfs_attr_leafblock *leaf; in xfs_attr3_leaf_list_int() local 447 leaf = bp->b_addr; in xfs_attr3_leaf_list_int() 448 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_list_int() 449 entries = xfs_attr3_leaf_entryp(leaf); in xfs_attr3_leaf_list_int() 501 name_loc = xfs_attr3_leaf_name_local(leaf, i); in xfs_attr3_leaf_list_int() [all …]
|