Searched refs:premap (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/nvdimm/ |
D | btt.c | 1068 static int lba_to_arena(struct btt *btt, sector_t sector, __u32 *premap, in lba_to_arena() argument 1077 *premap = lba; in lba_to_arena() 1090 static void lock_map(struct arena_info *arena, u32 premap) in lock_map() argument 1093 u32 idx = (premap * MAP_ENT_SIZE / L1_CACHE_BYTES) % arena->nfree; in lock_map() 1098 static void unlock_map(struct arena_info *arena, u32 premap) in unlock_map() argument 1101 u32 idx = (premap * MAP_ENT_SIZE / L1_CACHE_BYTES) % arena->nfree; in unlock_map() 1202 u32 lane = 0, premap, postmap; in btt_read_pg() local 1209 ret = lba_to_arena(btt, sector, &premap, &arena); in btt_read_pg() 1215 ret = btt_map_read(arena, premap, &postmap, &t_flag, &e_flag, in btt_read_pg() 1246 ret = btt_map_read(arena, premap, &new_map, &new_t, in btt_read_pg() [all …]
|
/linux-6.6.21/Documentation/driver-api/nvdimm/ |
D | btt.rst | 119 premap ABA is 256G. We now refer to the map, and find out the mapping for block 132 lba The premap ABA that is being written to
|