Home
last modified time | relevance | path

Searched refs:cluster_slot (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/md/
Dmd-bitmap.c606 if (bitmap->cluster_slot >= 0) { in md_bitmap_read_sb()
615 offset = bitmap->mddev->bitmap_info.offset + (bitmap->cluster_slot * (bm_blocks << 3)); in md_bitmap_read_sb()
617 bitmap->cluster_slot, offset); in md_bitmap_read_sb()
704 if (err == 0 && nodes && (bitmap->cluster_slot < 0)) { in md_bitmap_read_sb()
713 bitmap->cluster_slot = md_cluster_ops->slot_number(bitmap->mddev); in md_bitmap_read_sb()
730 if (bitmap->cluster_slot < 0) in md_bitmap_read_sb()
935 node_offset = bitmap->cluster_slot * store->file_pages; in md_bitmap_file_set_bit()
964 node_offset = bitmap->cluster_slot * store->file_pages; in md_bitmap_file_clear_bit()
1103 node_offset = bitmap->cluster_slot * (DIV_ROUND_UP(store->bytes, PAGE_SIZE)); in md_bitmap_init_from_disk()
1746 bitmap->cluster_slot == md_cluster_ops->slot_number(bitmap->mddev)) in md_bitmap_free()
[all …]
Dmd-bitmap.h233 int cluster_slot; /* Slot offset for clustered env */ member