Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/md/
H A Ddm-switch.c22 * One region_table_slot_t holds <region_entries_per_slot> region table
25 typedef unsigned long region_table_slot_t; typedef
51 region_table_slot_t *region_table; /* Region table */
88 while (sctx->region_table_entry_bits < sizeof(region_table_slot_t) * 8 && in alloc_region_table()
89 (region_table_slot_t)1 << sctx->region_table_entry_bits < nr_paths) in alloc_region_table()
92 sctx->region_entries_per_slot = (sizeof(region_table_slot_t) * 8) / sctx->region_table_entry_bits; in alloc_region_table()
111 if (nr_slots > ULONG_MAX / sizeof(region_table_slot_t)) { in alloc_region_table()
117 sizeof(region_table_slot_t))); in alloc_region_table()
179 region_table_slot_t pte; in switch_region_table_write()
184 pte &= ~((((region_table_slot_t) in switch_region_table_write()
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-switch.c23 * One region_table_slot_t holds <region_entries_per_slot> region table
26 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) in switch_region_table_write()
[all...]

Completed in 2 milliseconds