Home
last modified time | relevance | path

Searched refs:new_chunk (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/md/
Ddm-snap-persistent.c81 uint64_t new_chunk; member
416 result->new_chunk = le64_to_cpu(e->new_chunk); in read_exception()
426 e->new_chunk = cpu_to_le64(de->new_chunk); in write_exception()
435 e->new_chunk = 0; in clear_exception()
465 if (de.new_chunk == 0LL) { in insert_exceptions()
474 if (ps->next_free <= de.new_chunk) in insert_exceptions()
475 ps->next_free = de.new_chunk + 1; in insert_exceptions()
480 r = callback(callback_context, de.old_chunk, de.new_chunk); in insert_exceptions()
633 e->new_chunk = ps->next_free; in persistent_prepare_exception()
659 de.new_chunk = e->new_chunk; in persistent_commit_exception()
[all …]
Ddm-exception-store.h33 chunk_t new_chunk; member
148 return e->new_chunk >> DM_CHUNK_NUMBER_BITS; in dm_consecutive_chunk_count()
153 e->new_chunk += (1ULL << DM_CHUNK_NUMBER_BITS); in dm_consecutive_chunk_count_inc()
162 e->new_chunk -= (1ULL << DM_CHUNK_NUMBER_BITS); in dm_consecutive_chunk_count_dec()
Ddm-snap.c650 new_e->new_chunk == (dm_chunk_number(e->new_chunk) + in dm_insert_exception()
659 new_e->new_chunk == (dm_chunk_number(e->new_chunk) - 1)) { in dm_insert_exception()
662 e->new_chunk--; in dm_insert_exception()
691 e->new_chunk = new; in dm_add_exception()
818 e->new_chunk++; in __remove_single_exception_chunk()
894 chunk_t old_chunk, new_chunk; in snapshot_merge_next_chunks() local
912 &new_chunk); in snapshot_merge_next_chunks()
926 new_chunk = new_chunk + 1 - linear_chunks; in snapshot_merge_next_chunks()
939 src.sector = chunk_to_sector(s->store, new_chunk); in snapshot_merge_next_chunks()
1483 dest.sector = chunk_to_sector(s->store, pe->e.new_chunk); in start_copy()
[all …]
Ddm-snap-transient.c47 e->new_chunk = sector_to_chunk(store, tc->next_free); in transient_prepare_exception()
Draid5.c5774 int new_chunk = mddev->new_chunk_sectors; in raid5_check_reshape() local
5778 if (new_chunk > 0) { in raid5_check_reshape()
5779 if (!is_power_of_2(new_chunk)) in raid5_check_reshape()
5781 if (new_chunk < (PAGE_SIZE>>9)) in raid5_check_reshape()
5783 if (mddev->array_sectors & (new_chunk-1)) in raid5_check_reshape()
5796 if (new_chunk > 0) { in raid5_check_reshape()
5797 conf->chunk_sectors = new_chunk ; in raid5_check_reshape()
5798 mddev->chunk_sectors = new_chunk; in raid5_check_reshape()
5808 int new_chunk = mddev->new_chunk_sectors; in raid6_check_reshape() local
5812 if (new_chunk > 0) { in raid6_check_reshape()
[all …]
Dmd.c1129 mddev->new_chunk_sectors = sb->new_chunk >> 9; in super_90_validate()
1262 sb->new_chunk = mddev->new_chunk_sectors << 9; in super_90_sync()
1552 mddev->new_chunk_sectors = le32_to_cpu(sb->new_chunk); in super_1_validate()
1662 sb->new_chunk = cpu_to_le32(mddev->new_chunk_sectors); in super_1_sync()
/linux-2.6.39/drivers/infiniband/ulp/iser/
Diser_memory.c179 int i, new_chunk, cur_page, last_ent = data->dma_nents - 1; in iser_sg_to_page_vec() local
184 new_chunk = 1; in iser_sg_to_page_vec()
188 if (new_chunk) in iser_sg_to_page_vec()
196 new_chunk = 0; in iser_sg_to_page_vec()
199 new_chunk = 1; in iser_sg_to_page_vec()
/linux-2.6.39/include/linux/raid/
Dmd_p.h165 __u32 new_chunk; /* 17 new chunk size (bytes) */ member
235 __le32 new_chunk; /* new chunk size (512byte sectors) */ member