Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-exception-store.h35 chunk_t new_chunk; member
150 return e->new_chunk >> DM_CHUNK_NUMBER_BITS; in dm_consecutive_chunk_count()
155 e->new_chunk += (1ULL << DM_CHUNK_NUMBER_BITS); in dm_consecutive_chunk_count_inc()
164 e->new_chunk -= (1ULL << DM_CHUNK_NUMBER_BITS); in dm_consecutive_chunk_count_dec()
H A Ddm-snap-transient.c51 e->new_chunk = sector_to_chunk(store, tc->next_free); in transient_prepare_exception()
H A Draid5.c8982 int new_chunk = mddev->new_chunk_sectors; in raid5_check_reshape() local
8986 if (new_chunk > 0) { in raid5_check_reshape()
8987 if (!is_power_of_2(new_chunk)) in raid5_check_reshape()
8989 if (new_chunk < (PAGE_SIZE>>9)) in raid5_check_reshape()
8991 if (mddev->array_sectors & (new_chunk-1)) in raid5_check_reshape()
9004 if (new_chunk > 0) { in raid5_check_reshape()
9005 conf->chunk_sectors = new_chunk ; in raid5_check_reshape()
9006 mddev->chunk_sectors = new_chunk; in raid5_check_reshape()
9016 int new_chunk = mddev->new_chunk_sectors; in raid6_check_reshape() local
9020 if (new_chunk > 0) { in raid6_check_reshape()
[all …]
H A Dmd.c1516 mddev->new_chunk_sectors = sb->new_chunk >> 9; in super_90_validate()
1657 sb->new_chunk = mddev->new_chunk_sectors << 9; in super_90_sync()
2059 mddev->new_chunk_sectors = le32_to_cpu(sb->new_chunk); in super_1_validate()
2270 sb->new_chunk = cpu_to_le32(mddev->new_chunk_sectors); in super_1_sync()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_tcam.c1216 struct mlxsw_sp_acl_tcam_chunk *new_chunk; in mlxsw_sp_acl_tcam_vchunk_migrate_start() local
1220 new_chunk = mlxsw_sp_acl_tcam_chunk_create(mlxsw_sp, vchunk, region); in mlxsw_sp_acl_tcam_vchunk_migrate_start()
1221 if (IS_ERR(new_chunk)) in mlxsw_sp_acl_tcam_vchunk_migrate_start()
1222 return PTR_ERR(new_chunk); in mlxsw_sp_acl_tcam_vchunk_migrate_start()
1224 vchunk->chunk = new_chunk; in mlxsw_sp_acl_tcam_vchunk_migrate_start()