/fs/ocfs2/ |
D | extent_map.c | 183 struct ocfs2_extent_map_item *ins) in ocfs2_try_to_merge_extent_map() argument 188 if (ins->ei_phys == (emi->ei_phys + emi->ei_clusters) && in ocfs2_try_to_merge_extent_map() 189 ins->ei_cpos == (emi->ei_cpos + emi->ei_clusters) && in ocfs2_try_to_merge_extent_map() 190 ins->ei_flags == emi->ei_flags) { in ocfs2_try_to_merge_extent_map() 191 emi->ei_clusters += ins->ei_clusters; in ocfs2_try_to_merge_extent_map() 193 } else if ((ins->ei_phys + ins->ei_clusters) == emi->ei_phys && in ocfs2_try_to_merge_extent_map() 194 (ins->ei_cpos + ins->ei_clusters) == emi->ei_phys && in ocfs2_try_to_merge_extent_map() 195 ins->ei_flags == emi->ei_flags) { in ocfs2_try_to_merge_extent_map() 196 emi->ei_phys = ins->ei_phys; in ocfs2_try_to_merge_extent_map() 197 emi->ei_cpos = ins->ei_cpos; in ocfs2_try_to_merge_extent_map() [all …]
|
/fs/ntfs/ |
D | unistr.c | 259 int ntfs_nlstoucs(const ntfs_volume *vol, const char *ins, in ntfs_nlstoucs() argument 268 if (likely(ins)) { in ntfs_nlstoucs() 272 wc_len = nls->char2uni(ins + i, ins_len - i, in ntfs_nlstoucs() 336 int ntfs_ucstonls(const ntfs_volume *vol, const ntfschar *ins, in ntfs_ucstonls() argument 344 if (ins) { in ntfs_ucstonls() 358 retry: wc = nls->uni2char(le16_to_cpu(ins[i]), ns + o, in ntfs_ucstonls()
|
D | ntfs.h | 127 extern int ntfs_nlstoucs(const ntfs_volume *vol, const char *ins, 129 extern int ntfs_ucstonls(const ntfs_volume *vol, const ntfschar *ins,
|
/fs/btrfs/ |
D | inode.c | 534 struct btrfs_key ins; in submit_compressed_extents() local 602 (u64)-1, &ins, 1); in submit_compressed_extents() 609 em->block_start = ins.objectid; in submit_compressed_extents() 610 em->block_len = ins.offset; in submit_compressed_extents() 629 ins.objectid, in submit_compressed_extents() 631 ins.offset, in submit_compressed_extents() 650 ins.objectid, in submit_compressed_extents() 651 ins.offset, async_extent->pages, in submit_compressed_extents() 656 alloc_hint = ins.objectid + ins.offset; in submit_compressed_extents() 694 struct btrfs_key ins; in cow_file_range() local [all …]
|
D | extent-tree.c | 3100 u64 hint_byte, struct btrfs_key *ins, in find_free_extent() argument 3119 btrfs_set_key_type(ins, BTRFS_EXTENT_ITEM_KEY); in find_free_extent() 3120 ins->objectid = 0; in find_free_extent() 3121 ins->offset = 0; in find_free_extent() 3242 ins->objectid = search_start; in find_free_extent() 3243 ins->offset = num_bytes; in find_free_extent() 3331 if (ins->objectid) { in find_free_extent() 3336 *last_ptr = ins->objectid + ins->offset; in find_free_extent() 3386 u64 search_end, struct btrfs_key *ins, in __btrfs_reserve_extent() argument 3413 search_start, search_end, hint_byte, ins, in __btrfs_reserve_extent() [all …]
|
D | tree-log.c | 485 struct btrfs_key ins; in replay_one_extent() local 495 ins.objectid = btrfs_file_extent_disk_bytenr(eb, item); in replay_one_extent() 496 ins.offset = btrfs_file_extent_disk_num_bytes(eb, item); in replay_one_extent() 497 ins.type = BTRFS_EXTENT_ITEM_KEY; in replay_one_extent() 499 if (ins.objectid > 0) { in replay_one_extent() 507 ret = btrfs_lookup_extent(root, ins.objectid, in replay_one_extent() 508 ins.offset); in replay_one_extent() 511 ins.objectid, ins.offset, in replay_one_extent() 524 &ins); in replay_one_extent() 530 csum_start = ins.objectid; in replay_one_extent() [all …]
|
D | file.c | 603 struct btrfs_key ins; in btrfs_drop_extents() local 604 ins.objectid = inode->i_ino; in btrfs_drop_extents() 605 ins.offset = end; in btrfs_drop_extents() 606 btrfs_set_key_type(&ins, BTRFS_EXTENT_DATA_KEY); in btrfs_drop_extents() 609 ret = btrfs_insert_empty_item(trans, root, path, &ins, in btrfs_drop_extents() 649 trans->transid, ins.objectid); in btrfs_drop_extents()
|
D | ctree.h | 1742 u64 search_end, struct btrfs_key *ins, u64 data); 1746 u64 owner, struct btrfs_key *ins); 1750 u64 owner, struct btrfs_key *ins); 1755 u64 search_end, struct btrfs_key *ins,
|
D | ctree.c | 295 struct btrfs_key ins; in __btrfs_cow_block() local 297 ins.objectid = prealloc_dest; in __btrfs_cow_block() 298 ins.offset = buf->len; in __btrfs_cow_block() 299 ins.type = BTRFS_EXTENT_ITEM_KEY; in __btrfs_cow_block() 303 trans->transid, level, &ins); in __btrfs_cow_block()
|