Searched refs:new_chunk (Results 1 - 9 of 9) sorted by relevance
/linux-4.1.27/drivers/md/ |
H A D | dm-exception-store.h | 25 * If chunk_t is 64 bits in size, the top 8 bits of new_chunk hold the number 33 chunk_t new_chunk; member in struct:dm_exception 148 return e->new_chunk >> DM_CHUNK_NUMBER_BITS; dm_consecutive_chunk_count() 153 e->new_chunk += (1ULL << DM_CHUNK_NUMBER_BITS); dm_consecutive_chunk_count_inc() 162 e->new_chunk -= (1ULL << DM_CHUNK_NUMBER_BITS); dm_consecutive_chunk_count_dec()
|
H A D | dm-snap-persistent.c | 48 * new_chunk of 0, which is invalid since it would point to the 85 __le64 new_chunk; member in struct:disk_exception 90 uint64_t new_chunk; member in struct:core_exception 418 result->new_chunk = le64_to_cpu(de->new_chunk); read_exception() 428 de->new_chunk = cpu_to_le64(e->new_chunk); write_exception() 437 de->new_chunk = 0; clear_exception() 462 * If the new_chunk is pointing at the start of insert_exceptions() 467 if (e.new_chunk == 0LL) { insert_exceptions() 476 if (ps->next_free <= e.new_chunk) insert_exceptions() 477 ps->next_free = e.new_chunk + 1; insert_exceptions() 482 r = callback(callback_context, e.old_chunk, e.new_chunk); insert_exceptions() 683 e->new_chunk = ps->next_free; persistent_prepare_exception() 710 ce.new_chunk = e->new_chunk; persistent_commit_exception() 789 *last_new_chunk = ce.new_chunk; persistent_prepare_merge() 800 ce.new_chunk != *last_new_chunk - nr_consecutive) persistent_prepare_merge()
|
H A D | dm-snap-transient.c | 48 e->new_chunk = sector_to_chunk(store, tc->next_free); transient_prepare_exception()
|
H A D | dm-snap.c | 714 new_e->new_chunk == (dm_chunk_number(e->new_chunk) + list_for_each_entry_reverse() 723 new_e->new_chunk == (dm_chunk_number(e->new_chunk) - 1)) { list_for_each_entry_reverse() 726 e->new_chunk--; list_for_each_entry_reverse() 755 e->new_chunk = new; dm_add_exception() 881 e->new_chunk++; __remove_single_exception_chunk() 957 chunk_t old_chunk, new_chunk; snapshot_merge_next_chunks() local 975 &new_chunk); snapshot_merge_next_chunks() 987 /* Adjust old_chunk and new_chunk to reflect start of linear region */ snapshot_merge_next_chunks() 989 new_chunk = new_chunk + 1 - linear_chunks; snapshot_merge_next_chunks() 1002 src.sector = chunk_to_sector(s->store, new_chunk); snapshot_merge_next_chunks() 1567 dest.sector = chunk_to_sector(s->store, pe->e.new_chunk); start_copy() 1654 chunk_to_sector(s->store, dm_chunk_number(e->new_chunk) + remap_exception()
|
H A D | raid5.c | 7624 int new_chunk = mddev->new_chunk_sectors; raid5_check_reshape() local 7628 if (new_chunk > 0) { raid5_check_reshape() 7629 if (!is_power_of_2(new_chunk)) raid5_check_reshape() 7631 if (new_chunk < (PAGE_SIZE>>9)) raid5_check_reshape() 7633 if (mddev->array_sectors & (new_chunk-1)) raid5_check_reshape() 7646 if (new_chunk > 0) { raid5_check_reshape() 7647 conf->chunk_sectors = new_chunk ; raid5_check_reshape() 7648 mddev->chunk_sectors = new_chunk; raid5_check_reshape() 7658 int new_chunk = mddev->new_chunk_sectors; raid6_check_reshape() local 7662 if (new_chunk > 0) { raid6_check_reshape() 7663 if (!is_power_of_2(new_chunk)) raid6_check_reshape() 7665 if (new_chunk < (PAGE_SIZE >> 9)) raid6_check_reshape() 7667 if (mddev->array_sectors & (new_chunk-1)) raid6_check_reshape()
|
H A D | md.c | 1098 mddev->new_chunk_sectors = sb->new_chunk >> 9; super_90_validate() 1238 sb->new_chunk = mddev->new_chunk_sectors << 9; super_90_sync() 1611 mddev->new_chunk_sectors = le32_to_cpu(sb->new_chunk); super_1_validate() 1745 sb->new_chunk = cpu_to_le32(mddev->new_chunk_sectors); super_1_sync()
|
/linux-4.1.27/drivers/infiniband/ulp/iser/ |
H A D | iser_memory.c | 254 int i, new_chunk, cur_page, last_ent = data->dma_nents - 1; iser_sg_to_page_vec() local 259 new_chunk = 1; iser_sg_to_page_vec() 263 if (new_chunk) iser_sg_to_page_vec() 271 new_chunk = 0; iser_sg_to_page_vec() 274 new_chunk = 1; iser_sg_to_page_vec()
|
/linux-4.1.27/include/uapi/linux/raid/ |
H A D | md_p.h | 175 __u32 new_chunk; /* 17 new chunk size (bytes) */ member in struct:mdp_superblock_s 245 __le32 new_chunk; /* new chunk size (512byte sectors) */ member in struct:mdp_superblock_1
|
/linux-4.1.27/drivers/infiniband/ulp/isert/ |
H A D | ib_isert.c | 2524 int i = 0, new_chunk, last_ent, n_pages; isert_map_fr_pagelist() local 2527 new_chunk = 1; isert_map_fr_pagelist() 2531 if (new_chunk) for_each_sg() 2540 new_chunk = 0; for_each_sg() 2543 new_chunk = 1; for_each_sg()
|
Completed in 267 milliseconds