Home
last modified time | relevance | path

Searched refs:map_type (Results 1 – 13 of 13) sorted by relevance

/fs/btrfs/tests/
A Draid-stripe-tree-tests.c43 u64 map_type = RST_TEST_RAID1_TYPE; in test_punch_hole_3extents() local
64 bioc->map_type = map_type; in test_punch_hole_3extents()
240 bioc->map_type = map_type; in test_delete_two_extents()
383 bioc->map_type = map_type; in test_punch_hole()
480 map_type, 0, &io_stripe); in test_punch_hole()
522 bioc->map_type = map_type; in test_front_delete_prev_item()
598 map_type, 0, &io_stripe); in test_front_delete_prev_item()
663 bioc->map_type = map_type; in test_front_delete()
772 bioc->map_type = map_type; in test_tail_delete()
894 bioc->map_type = map_type; in test_create_update_delete()
[all …]
/fs/btrfs/
A Draid-stripe-tree.h27 u64 logical, u64 *length, u64 map_type,
38 u64 map_type) in btrfs_need_stripe_tree_update() argument
40 u64 type = map_type & BTRFS_BLOCK_GROUP_TYPE_MASK; in btrfs_need_stripe_tree_update()
41 u64 profile = map_type & BTRFS_BLOCK_GROUP_PROFILE_MASK; in btrfs_need_stripe_tree_update()
A Draid-stripe-tree.c303 const int num_stripes = btrfs_bg_type_to_factor(bioc->map_type); in btrfs_insert_one_raid_extent()
372 u64 logical, u64 *length, u64 map_type, in btrfs_get_raid_extent_offset() argument
454 if ((map_type & BTRFS_BLOCK_GROUP_DUP) && stripe_index != i) in btrfs_get_raid_extent_offset()
475 btrfs_bg_type_to_raid_name(map_type)); in btrfs_get_raid_extent_offset()
A Draid56.h183 return bioc->num_stripes - btrfs_nr_parity_stripes(bioc->map_type); in nr_bioc_data_stripes()
A Draid56.c52 bioc->map_type, bioc->mirror_num, bioc->replace_nr_stripes, in dump_bioc()
1052 ASSERT(btrfs_nr_parity_stripes(bioc->map_type)); in alloc_rbio()
1053 rbio->nr_data = real_stripes - btrfs_nr_parity_stripes(bioc->map_type); in alloc_rbio()
1316 const bool has_qstripe = rbio->bioc->map_type & BTRFS_BLOCK_GROUP_RAID6; in generate_pq_vertical()
1891 if (rbio->bioc->map_type & BTRFS_BLOCK_GROUP_RAID6) { in recover_vertical()
2213 if (!(rbio->bioc->map_type & BTRFS_BLOCK_GROUP_DATA) || in fill_data_csums()
2214 rbio->bioc->map_type & BTRFS_BLOCK_GROUP_METADATA) in fill_data_csums()
A Dvolumes.h517 u64 map_type; member
A Dbio.c491 } else if (bioc->map_type & BTRFS_BLOCK_GROUP_RAID56_MASK) { in btrfs_submit_bio()
A Dvolumes.c6307 if (bioc->map_type & BTRFS_BLOCK_GROUP_RAID56_MASK) in handle_ops_on_dev_replace()
6324 ASSERT(bioc->map_type & BTRFS_BLOCK_GROUP_DUP, in handle_ops_on_dev_replace()
6325 "map_type=%llu", bioc->map_type); in handle_ops_on_dev_replace()
6715 bioc->map_type = map->type; in btrfs_map_block()
8300 if (bioc->map_type & BTRFS_BLOCK_GROUP_RAID56_MASK) { in btrfs_map_repair_block()
A Dzoned.c2089 if (bioc->map_type & BTRFS_BLOCK_GROUP_RAID56_MASK) { in read_zone_info()
/fs/smb/client/
A Dcifs_unicode.c17 int map_type; in cifs_remap() local
20 map_type = SFM_MAP_UNI_RSVD; in cifs_remap()
22 map_type = SFU_MAP_UNI_RSVD; in cifs_remap()
24 map_type = NO_MAP_UNI_RSVD; in cifs_remap()
26 return map_type; in cifs_remap()
178 const struct nls_table *codepage, int map_type) in cifs_from_utf16() argument
213 charlen = cifs_mapchar(tmp, ftmp, codepage, map_type); in cifs_from_utf16()
219 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, map_type); in cifs_from_utf16()
A Dsmb2misc.c459 int map_type; in cifs_convert_path_to_utf16() local
462 map_type = SFM_MAP_UNI_RSVD; in cifs_convert_path_to_utf16()
464 map_type = SFU_MAP_UNI_RSVD; in cifs_convert_path_to_utf16()
466 map_type = NO_MAP_UNI_RSVD; in cifs_convert_path_to_utf16()
481 cifs_sb->local_nls, map_type); in cifs_convert_path_to_utf16()
A Dcifs_unicode.h59 const struct nls_table *cp, int map_type);
A Dreaddir.c965 int map_type; in cifs_filldir() local
967 map_type = cifs_remap(cifs_sb); in cifs_filldir()
973 (size_t)max_len), nlt, map_type); in cifs_filldir()

Completed in 43 milliseconds