/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-snap-persistent.c | 49 * new_chunk of 0, which is invalid since it would point to the 86 __le64 new_chunk; member 91 uint64_t new_chunk; member 414 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() 458 * If the new_chunk is pointing at the start of in insert_exceptions() 463 if (e.new_chunk in insert_exceptions() [all...] |
H A D | dm-exception-store.h | 26 * If chunk_t is 64 bits in size, the top 8 bits of new_chunk hold the number 34 chunk_t new_chunk; member 149 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()
|
H A D | dm-snap.c | 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() local 1063 &new_chunk); in snapshot_merge_next_chunks() 1075 /* Adjust old_chunk and new_chunk t in snapshot_merge_next_chunks() [all...] |
H A D | dm-snap-transient.c | 48 e->new_chunk = sector_to_chunk(store, tc->next_free); in transient_prepare_exception()
|
H A D | raid5.c | 8476 int new_chunk = mddev->new_chunk_sectors; in raid5_check_reshape() local 8480 if (new_chunk > 0) { in raid5_check_reshape() 8481 if (!is_power_of_2(new_chunk)) in raid5_check_reshape() 8483 if (new_chunk < (PAGE_SIZE>>9)) in raid5_check_reshape() 8485 if (mddev->array_sectors & (new_chunk-1)) in raid5_check_reshape() 8498 if (new_chunk > 0) { in raid5_check_reshape() 8499 conf->chunk_sectors = new_chunk ; in raid5_check_reshape() 8500 mddev->chunk_sectors = new_chunk; in raid5_check_reshape() 8510 int new_chunk = mddev->new_chunk_sectors; in raid6_check_reshape() local 8514 if (new_chunk > in raid6_check_reshape() [all...] |
H A D | md.c | 1349 mddev->new_chunk_sectors = sb->new_chunk >> 9; in super_90_validate() 1493 sb->new_chunk = mddev->new_chunk_sectors << 9; in super_90_sync() 1888 mddev->new_chunk_sectors = le32_to_cpu(sb->new_chunk); in super_1_validate() 2101 sb->new_chunk = cpu_to_le32(mddev->new_chunk_sectors); in super_1_sync()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-snap-persistent.c | 52 * new_chunk of 0, which is invalid since it would point to the 89 __le64 new_chunk; member 94 uint64_t new_chunk; member 416 result->new_chunk = le64_to_cpu(de->new_chunk); in read_exception() 426 de->new_chunk = cpu_to_le64(e->new_chunk); in write_exception() 435 de->new_chunk = 0; in clear_exception() 460 * If the new_chunk is pointing at the start of in insert_exceptions() 465 if (e.new_chunk in insert_exceptions() [all...] |
H A D | dm-exception-store.h | 27 * If chunk_t is 64 bits in size, the top 8 bits of new_chunk hold the number 35 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 D | dm-snap.c | 778 new_e->new_chunk == (dm_chunk_number(e->new_chunk) + in dm_insert_exception() 787 new_e->new_chunk == (dm_chunk_number(e->new_chunk) - 1)) { in dm_insert_exception() 790 e->new_chunk--; in dm_insert_exception() 832 e->new_chunk = new; in dm_add_exception() 968 e->new_chunk++; in __remove_single_exception_chunk() 1043 chunk_t old_chunk, new_chunk; in snapshot_merge_next_chunks() local 1061 &new_chunk); in snapshot_merge_next_chunks() 1072 /* Adjust old_chunk and new_chunk t in snapshot_merge_next_chunks() [all...] |
H A D | dm-snap-transient.c | 51 e->new_chunk = sector_to_chunk(store, tc->next_free); in transient_prepare_exception()
|
H A D | raid5.c | 8844 int new_chunk = mddev->new_chunk_sectors; in raid5_check_reshape() local 8848 if (new_chunk > 0) { in raid5_check_reshape() 8849 if (!is_power_of_2(new_chunk)) in raid5_check_reshape() 8851 if (new_chunk < (PAGE_SIZE>>9)) in raid5_check_reshape() 8853 if (mddev->array_sectors & (new_chunk-1)) in raid5_check_reshape() 8866 if (new_chunk > 0) { in raid5_check_reshape() 8867 conf->chunk_sectors = new_chunk ; in raid5_check_reshape() 8868 mddev->chunk_sectors = new_chunk; in raid5_check_reshape() 8878 int new_chunk = mddev->new_chunk_sectors; in raid6_check_reshape() local 8882 if (new_chunk > in raid6_check_reshape() [all...] |
H A D | md.c | 1308 mddev->new_chunk_sectors = sb->new_chunk >> 9; in super_90_validate() 1452 sb->new_chunk = mddev->new_chunk_sectors << 9; in super_90_sync() 1844 mddev->new_chunk_sectors = le32_to_cpu(sb->new_chunk); in super_1_validate() 2057 sb->new_chunk = cpu_to_le32(mddev->new_chunk_sectors); in super_1_sync()
|
/kernel/linux/linux-5.10/include/uapi/linux/raid/ |
H A D | md_p.h | 186 __u32 new_chunk; /* 17 new chunk size (bytes) */ member 264 __le32 new_chunk; /* new chunk size (512byte sectors) */ member
|
/kernel/linux/linux-6.6/include/uapi/linux/raid/ |
H A D | md_p.h | 186 __u32 new_chunk; /* 17 new chunk size (bytes) */ member 264 __le32 new_chunk; /* new chunk size (512byte sectors) */ member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/raid/ |
H A D | md_p.h | 101 __u32 new_chunk; member 148 __le32 new_chunk; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/raid/ |
H A D | md_p.h | 111 __u32 new_chunk; member 147 __le32 new_chunk; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/raid/ |
H A D | md_p.h | 111 __u32 new_chunk; member 147 __le32 new_chunk; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_tcam.c | 1223 struct mlxsw_sp_acl_tcam_chunk *new_chunk; in mlxsw_sp_acl_tcam_vchunk_migrate_start() local 1225 new_chunk = mlxsw_sp_acl_tcam_chunk_create(mlxsw_sp, vchunk, region); in mlxsw_sp_acl_tcam_vchunk_migrate_start() 1226 if (IS_ERR(new_chunk)) in mlxsw_sp_acl_tcam_vchunk_migrate_start() 1227 return PTR_ERR(new_chunk); in mlxsw_sp_acl_tcam_vchunk_migrate_start() 1229 vchunk->chunk = new_chunk; in mlxsw_sp_acl_tcam_vchunk_migrate_start()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_tcam.c | 1189 struct mlxsw_sp_acl_tcam_chunk *new_chunk; in mlxsw_sp_acl_tcam_vchunk_migrate_start() local 1191 new_chunk = mlxsw_sp_acl_tcam_chunk_create(mlxsw_sp, vchunk, region); in mlxsw_sp_acl_tcam_vchunk_migrate_start() 1192 if (IS_ERR(new_chunk)) in mlxsw_sp_acl_tcam_vchunk_migrate_start() 1193 return PTR_ERR(new_chunk); in mlxsw_sp_acl_tcam_vchunk_migrate_start() 1195 vchunk->chunk = new_chunk; in mlxsw_sp_acl_tcam_vchunk_migrate_start()
|