| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | print-tree.c | 82 struct btrfs_extent_inline_ref *iref; in print_extent_item() local 114 iref = (struct btrfs_extent_inline_ref *)(info + 1); in print_extent_item() 116 iref = (struct btrfs_extent_inline_ref *)(ei + 1); in print_extent_item() 119 ptr = (unsigned long)iref; in print_extent_item() 122 iref = (struct btrfs_extent_inline_ref *)ptr; in print_extent_item() 123 type = btrfs_extent_inline_ref_type(eb, iref); in print_extent_item() 124 offset = btrfs_extent_inline_ref_offset(eb, iref); in print_extent_item() 142 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in print_extent_item() 146 sref = (struct btrfs_shared_data_ref *)(iref + 1); in print_extent_item()
|
| H A D | extent-tree.c | 352 struct btrfs_extent_inline_ref *iref, in btrfs_get_extent_inline_ref_type() argument 355 int type = btrfs_extent_inline_ref_type(eb, iref); in btrfs_get_extent_inline_ref_type() 356 u64 offset = btrfs_extent_inline_ref_offset(eb, iref); in btrfs_get_extent_inline_ref_type() 397 eb->start, (unsigned long)iref, type); in btrfs_get_extent_inline_ref_type() 640 struct btrfs_extent_inline_ref *iref) in extent_data_ref_count() argument 653 if (iref) { in extent_data_ref_count() 658 type = btrfs_get_extent_inline_ref_type(leaf, iref, BTRFS_REF_TYPE_DATA); in extent_data_ref_count() 661 ref1 = (struct btrfs_extent_data_ref *)(&iref->offset); in extent_data_ref_count() 664 ref2 = (struct btrfs_shared_data_ref *)(iref + 1); in extent_data_ref_count() 792 struct btrfs_extent_inline_ref *iref; in lookup_inline_extent_backref() local [all …]
|
| H A D | tree-checker.c | 1318 struct btrfs_extent_inline_ref *iref; in check_extent_item() local 1325 if (ptr + sizeof(*iref) > end) { in check_extent_item() 1328 ptr, sizeof(*iref), end); in check_extent_item() 1331 iref = (struct btrfs_extent_inline_ref *)ptr; in check_extent_item() 1332 inline_type = btrfs_extent_inline_ref_type(leaf, iref); in check_extent_item() 1333 inline_offset = btrfs_extent_inline_ref_offset(leaf, iref); in check_extent_item() 1361 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in check_extent_item() 1373 sref = (struct btrfs_shared_data_ref *)(iref + 1); in check_extent_item() 1482 struct btrfs_inode_ref *iref; in check_inode_ref() local 1489 if (btrfs_item_size_nr(leaf, slot) <= sizeof(*iref)) { in check_inode_ref() [all …]
|
| H A D | export.c | 208 struct btrfs_inode_ref *iref; in btrfs_get_name() local 258 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name() 260 name_ptr = (unsigned long)(iref + 1); in btrfs_get_name() 261 name_len = btrfs_inode_ref_name_len(leaf, iref); in btrfs_get_name()
|
| H A D | backref.c | 1006 struct btrfs_extent_inline_ref *iref; in add_inline_refs() local 1010 iref = (struct btrfs_extent_inline_ref *)ptr; in add_inline_refs() 1011 type = btrfs_get_extent_inline_ref_type(leaf, iref, in add_inline_refs() 1016 offset = btrfs_extent_inline_ref_offset(leaf, iref); in add_inline_refs() 1028 sdref = (struct btrfs_shared_data_ref *)(iref + 1); in add_inline_refs() 1045 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in add_inline_refs() 1718 struct btrfs_inode_ref *iref; local 1757 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); 1759 name_len = btrfs_inode_ref_name_len(eb, iref); 1760 name_off = (unsigned long)(iref + 1); [all …]
|
| H A D | ref-verify.c | 434 struct btrfs_extent_inline_ref *iref; in process_extent_item() local 452 iref = (struct btrfs_extent_inline_ref *)(info + 1); in process_extent_item() 456 iref = (struct btrfs_extent_inline_ref *)(ei + 1); in process_extent_item() 459 ptr = (unsigned long)iref; in process_extent_item() 462 iref = (struct btrfs_extent_inline_ref *)ptr; in process_extent_item() 463 type = btrfs_extent_inline_ref_type(leaf, iref); in process_extent_item() 464 offset = btrfs_extent_inline_ref_offset(leaf, iref); in process_extent_item() 475 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in process_extent_item() 480 sref = (struct btrfs_shared_data_ref *)(iref + 1); in process_extent_item()
|
| H A D | block-group.h | 95 unsigned int iref:1; member
|
| H A D | ioctl.c | 2386 struct btrfs_inode_ref *iref; in btrfs_search_path_in_tree() local 2431 iref = btrfs_item_ptr(l, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree() 2432 len = btrfs_inode_ref_name_len(l, iref); in btrfs_search_path_in_tree() 2441 read_extent_buffer(l, ptr, (unsigned long)(iref + 1), len); in btrfs_search_path_in_tree() 2470 struct btrfs_inode_ref *iref; in btrfs_search_path_in_tree_user() local 2522 iref = btrfs_item_ptr(leaf, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree_user() 2523 len = btrfs_inode_ref_name_len(leaf, iref); in btrfs_search_path_in_tree_user() 2533 (unsigned long)(iref + 1), len); in btrfs_search_path_in_tree_user()
|
| H A D | send.c | 890 struct btrfs_inode_ref *iref; in iterate_inode_ref() local 923 elem_size = sizeof(*iref); in iterate_inode_ref() 934 iref = (struct btrfs_inode_ref *)(ptr + cur); in iterate_inode_ref() 935 name_len = btrfs_inode_ref_name_len(eb, iref); in iterate_inode_ref() 936 name_off = (unsigned long)(iref + 1); in iterate_inode_ref() 937 index = btrfs_inode_ref_index(eb, iref); in iterate_inode_ref() 1773 struct btrfs_inode_ref *iref; in get_first_ref() local 1774 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 1776 len = btrfs_inode_ref_name_len(path->nodes[0], iref); in get_first_ref() 1778 (unsigned long)(iref + 1), in get_first_ref()
|
| H A D | block-group.c | 991 if (block_group->iref) { in btrfs_remove_block_group() 992 block_group->iref = 0; in btrfs_remove_block_group() 3289 if (block_group->iref) in btrfs_put_block_group_cache() 3302 block_group->iref = 0; in btrfs_put_block_group_cache()
|
| H A D | tree-log.c | 4852 struct btrfs_inode_ref *iref; in btrfs_check_ref_name_override() local 4854 iref = (struct btrfs_inode_ref *)(ptr + cur_offset); in btrfs_check_ref_name_override() 4856 this_name_len = btrfs_inode_ref_name_len(eb, iref); in btrfs_check_ref_name_override() 4857 name_ptr = (unsigned long)(iref + 1); in btrfs_check_ref_name_override() 4858 this_len = sizeof(*iref) + this_name_len; in btrfs_check_ref_name_override()
|
| H A D | free-space-cache.c | 125 if (!block_group->iref) { in lookup_free_space_inode() 127 block_group->iref = 1; in lookup_free_space_inode()
|
| H A D | ctree.h | 2525 struct btrfs_extent_inline_ref *iref,
|
| /OK3568_Linux_fs/kernel/fs/btrfs/tests/ |
| H A D | qgroup-tests.c | 19 struct btrfs_extent_inline_ref *iref; in insert_normal_tree_ref() local 24 u32 size = sizeof(*item) + sizeof(*iref) + sizeof(*block_info); in insert_normal_tree_ref() 54 iref = (struct btrfs_extent_inline_ref *)(block_info + 1); in insert_normal_tree_ref() 56 btrfs_set_extent_inline_ref_type(leaf, iref, in insert_normal_tree_ref() 58 btrfs_set_extent_inline_ref_offset(leaf, iref, parent); in insert_normal_tree_ref() 60 btrfs_set_extent_inline_ref_type(leaf, iref, BTRFS_TREE_BLOCK_REF_KEY); in insert_normal_tree_ref() 61 btrfs_set_extent_inline_ref_offset(leaf, iref, root_objectid); in insert_normal_tree_ref()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/parser/ |
| H A D | Layout.c | 441 XF86ConfInputrefPtr iref = layout->lay_input_lst; in xf86layoutAddInputDevices() local 444 while (iref) { in xf86layoutAddInputDevices() 445 if (strcmp(iref->iref_inputdev_str, input->inp_identifier) == 0) in xf86layoutAddInputDevices() 447 iref = iref->list.next; in xf86layoutAddInputDevices() 450 if (!iref) { in xf86layoutAddInputDevices()
|