Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-snap-persistent.c89 __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()
465 if (e.new_chunk == 0LL) { in insert_exceptions()
474 if (ps->next_free <= e.new_chunk) in insert_exceptions()
475 ps->next_free = e.new_chunk + 1; in insert_exceptions()
684 e->new_chunk = ps->next_free; in persistent_prepare_exception()
711 ce.new_chunk = e->new_chunk; in persistent_commit_exception()
[all …]
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.c780 new_e->new_chunk == (dm_chunk_number(e->new_chunk) + in dm_insert_exception()
789 new_e->new_chunk == (dm_chunk_number(e->new_chunk) - 1)) { in dm_insert_exception()
792 e->new_chunk--; in dm_insert_exception()
834 e->new_chunk = new; in dm_add_exception()
970 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()
1076 new_chunk = new_chunk + 1 - linear_chunks; in snapshot_merge_next_chunks()
1089 src.sector = chunk_to_sector(s->store, new_chunk); in snapshot_merge_next_chunks()
1808 dest.sector = chunk_to_sector(s->store, pe->e.new_chunk); in start_copy()
[all …]
H A Ddm-snap-transient.c51 e->new_chunk = sector_to_chunk(store, tc->next_free); in transient_prepare_exception()
H A Draid5.c8841 int new_chunk = mddev->new_chunk_sectors; in raid5_check_reshape() local
8845 if (new_chunk > 0) { in raid5_check_reshape()
8846 if (!is_power_of_2(new_chunk)) in raid5_check_reshape()
8848 if (new_chunk < (PAGE_SIZE>>9)) in raid5_check_reshape()
8863 if (new_chunk > 0) { in raid5_check_reshape()
8864 conf->chunk_sectors = new_chunk ; in raid5_check_reshape()
8865 mddev->chunk_sectors = new_chunk; in raid5_check_reshape()
8875 int new_chunk = mddev->new_chunk_sectors; in raid6_check_reshape() local
8879 if (new_chunk > 0) { in raid6_check_reshape()
8880 if (!is_power_of_2(new_chunk)) in raid6_check_reshape()
[all …]
H A Dmd.c1311 mddev->new_chunk_sectors = sb->new_chunk >> 9; in super_90_validate()
1455 sb->new_chunk = mddev->new_chunk_sectors << 9; in super_90_sync()
1847 mddev->new_chunk_sectors = le32_to_cpu(sb->new_chunk); in super_1_validate()
2060 sb->new_chunk = cpu_to_le32(mddev->new_chunk_sectors); in super_1_sync()
/openbmc/linux/include/uapi/linux/raid/
H A Dmd_p.h186 __u32 new_chunk; /* 17 new chunk size (bytes) */ member
264 __le32 new_chunk; /* new chunk size (512byte sectors) */ member
/openbmc/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()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_guts.c2388 int new_chunk; in yaffs_gc_process_chunk() local
2499 new_chunk = in yaffs_gc_process_chunk()
2502 new_chunk = in yaffs_gc_process_chunk()
2506 if (new_chunk < 0) { in yaffs_gc_process_chunk()
2514 object->hdr_chunk = new_chunk; in yaffs_gc_process_chunk()
2519 new_chunk, 0); in yaffs_gc_process_chunk()