Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/md/
Dmd-bitmap.c441 pg_index += bitmap->cluster_slot * in filemap_write_page()
641 if (bitmap->cluster_slot >= 0) { in md_bitmap_read_sb()
650 offset = bitmap->cluster_slot * (bm_blocks << 3); in md_bitmap_read_sb()
652 bitmap->cluster_slot, offset); in md_bitmap_read_sb()
737 if (err == 0 && nodes && (bitmap->cluster_slot < 0)) { in md_bitmap_read_sb()
746 bitmap->cluster_slot = md_cluster_ops->slot_number(bitmap->mddev); in md_bitmap_read_sb()
763 if (bitmap->cluster_slot < 0) in md_bitmap_read_sb()
956 node_offset = bitmap->cluster_slot * store->file_pages; in md_bitmap_file_set_bit()
986 node_offset = bitmap->cluster_slot * store->file_pages; in md_bitmap_file_clear_bit()
1142 node_offset = bitmap->cluster_slot * (DIV_ROUND_UP(store->bytes, PAGE_SIZE)); in md_bitmap_init_from_disk()
[all …]
Dmd-bitmap.h234 int cluster_slot; /* Slot offset for clustered env */ member