Searched refs:new_chunk (Results 1 – 12 of 12) sorted by relevance
32 void new_chunk();46 - if (bottom > top) {new_chunk(); tmp = bottom; bottom += size;}47 + if (bottom > top) {check_size(size); new_chunk(); tmp = bottom; bottom += size;}55 - if (bottom > top) {new_chunk(); goto loop;}56 + if (bottom > top) {check_size(size); new_chunk(); goto loop;}64 - if (top < bottom) {new_chunk(); top -= size;}65 + if (top < bottom) {check_size(size); new_chunk(); top -= size;}73 - if (top < bottom) {new_chunk(); goto loop;}74 + if (top < bottom) {check_size(size); new_chunk(); goto loop;}83 new_chunk();[all …]
86 __le64 new_chunk; member91 uint64_t new_chunk; member414 result->new_chunk = le64_to_cpu(de->new_chunk); in read_exception()424 de->new_chunk = cpu_to_le64(e->new_chunk); in write_exception()433 de->new_chunk = 0; in clear_exception()463 if (e.new_chunk == 0LL) { in insert_exceptions()472 if (ps->next_free <= e.new_chunk) in insert_exceptions()473 ps->next_free = e.new_chunk + 1; in insert_exceptions()478 r = callback(callback_context, e.old_chunk, e.new_chunk); in insert_exceptions()679 e->new_chunk = ps->next_free; in persistent_prepare_exception()[all …]
34 chunk_t new_chunk; member149 return e->new_chunk >> DM_CHUNK_NUMBER_BITS; in dm_consecutive_chunk_count()154 e->new_chunk += (1ULL << DM_CHUNK_NUMBER_BITS); in dm_consecutive_chunk_count_inc()163 e->new_chunk -= (1ULL << DM_CHUNK_NUMBER_BITS); in dm_consecutive_chunk_count_dec()
779 new_e->new_chunk == (dm_chunk_number(e->new_chunk) + in dm_insert_exception()788 new_e->new_chunk == (dm_chunk_number(e->new_chunk) - 1)) { in dm_insert_exception()791 e->new_chunk--; in dm_insert_exception()833 e->new_chunk = new; in dm_add_exception()969 e->new_chunk++; in __remove_single_exception_chunk()1045 chunk_t old_chunk, new_chunk; in snapshot_merge_next_chunks() local1063 &new_chunk); in snapshot_merge_next_chunks()1077 new_chunk = new_chunk + 1 - linear_chunks; in snapshot_merge_next_chunks()1090 src.sector = chunk_to_sector(s->store, new_chunk); in snapshot_merge_next_chunks()1827 dest.sector = chunk_to_sector(s->store, pe->e.new_chunk); in start_copy()[all …]
48 e->new_chunk = sector_to_chunk(store, tc->next_free); in transient_prepare_exception()
8487 int new_chunk = mddev->new_chunk_sectors; in raid5_check_reshape() local8491 if (new_chunk > 0) { in raid5_check_reshape()8492 if (!is_power_of_2(new_chunk)) in raid5_check_reshape()8494 if (new_chunk < (PAGE_SIZE>>9)) in raid5_check_reshape()8496 if (mddev->array_sectors & (new_chunk-1)) in raid5_check_reshape()8509 if (new_chunk > 0) { in raid5_check_reshape()8510 conf->chunk_sectors = new_chunk ; in raid5_check_reshape()8511 mddev->chunk_sectors = new_chunk; in raid5_check_reshape()8521 int new_chunk = mddev->new_chunk_sectors; in raid6_check_reshape() local8525 if (new_chunk > 0) { in raid6_check_reshape()[all …]
1356 mddev->new_chunk_sectors = sb->new_chunk >> 9; in super_90_validate()1500 sb->new_chunk = mddev->new_chunk_sectors << 9; in super_90_sync()1895 mddev->new_chunk_sectors = le32_to_cpu(sb->new_chunk); in super_1_validate()2076 sb->new_chunk = cpu_to_le32(mddev->new_chunk_sectors); in super_1_sync()
186 __u32 new_chunk; /* 17 new chunk size (bytes) */ member264 __le32 new_chunk; /* new chunk size (512byte sectors) */ member
1287 struct mlxsw_sp_acl_tcam_chunk *new_chunk; in mlxsw_sp_acl_tcam_vchunk_migrate_start() local1289 new_chunk = mlxsw_sp_acl_tcam_chunk_create(mlxsw_sp, vchunk, region); in mlxsw_sp_acl_tcam_vchunk_migrate_start()1290 if (IS_ERR(new_chunk)) in mlxsw_sp_acl_tcam_vchunk_migrate_start()1291 return PTR_ERR(new_chunk); in mlxsw_sp_acl_tcam_vchunk_migrate_start()1293 vchunk->chunk = new_chunk; in mlxsw_sp_acl_tcam_vchunk_migrate_start()
2389 int new_chunk; in yaffs_gc_process_chunk() local2500 new_chunk = in yaffs_gc_process_chunk()2503 new_chunk = in yaffs_gc_process_chunk()2507 if (new_chunk < 0) { in yaffs_gc_process_chunk()2515 object->hdr_chunk = new_chunk; in yaffs_gc_process_chunk()2520 new_chunk, 0); in yaffs_gc_process_chunk()