region_entries_per_slot 48 drivers/md/dm-switch.c unsigned char region_entries_per_slot; /* Number of entries in one region table slot */ region_entries_per_slot 92 drivers/md/dm-switch.c sctx->region_entries_per_slot = (sizeof(region_table_slot_t) * 8) / sctx->region_table_entry_bits; region_entries_per_slot 93 drivers/md/dm-switch.c if (!(sctx->region_entries_per_slot & (sctx->region_entries_per_slot - 1))) region_entries_per_slot 94 drivers/md/dm-switch.c sctx->region_entries_per_slot_bits = __ffs(sctx->region_entries_per_slot); region_entries_per_slot 108 drivers/md/dm-switch.c if (sector_div(nr_slots, sctx->region_entries_per_slot)) region_entries_per_slot 131 drivers/md/dm-switch.c *bit = region_nr & (sctx->region_entries_per_slot - 1); region_entries_per_slot 133 drivers/md/dm-switch.c *region_index = region_nr / sctx->region_entries_per_slot; region_entries_per_slot 134 drivers/md/dm-switch.c *bit = region_nr % sctx->region_entries_per_slot;