Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-switch.c26 typedef unsigned long region_table_slot_t; typedef
52 region_table_slot_t *region_table; /* Region table */
89 while (sctx->region_table_entry_bits < sizeof(region_table_slot_t) * 8 && in alloc_region_table()
90 (region_table_slot_t)1 << sctx->region_table_entry_bits < nr_paths) in alloc_region_table()
93 sctx->region_entries_per_slot = (sizeof(region_table_slot_t) * 8) / sctx->region_table_entry_bits; in alloc_region_table()
112 if (nr_slots > ULONG_MAX / sizeof(region_table_slot_t)) { in alloc_region_table()
118 sizeof(region_table_slot_t))); in alloc_region_table()
180 region_table_slot_t pte; in switch_region_table_write()
185 pte &= ~((((region_table_slot_t)1 << sctx->region_table_entry_bits) - 1) << bit); in switch_region_table_write()
186 pte |= (region_table_slot_t)value << bit; in switch_region_table_write()