Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/nvdimm/
Dbtt.c97 u64 ns_off = arena->mapoff + (lba * MAP_ENT_SIZE); in __btt_map_write()
103 return arena_write_bytes(arena, ns_off, &mapping, MAP_ENT_SIZE, flags); in __btt_map_write()
156 u64 ns_off = arena->mapoff + (lba * MAP_ENT_SIZE); in btt_map_read()
163 ret = arena_read_bytes(arena, ns_off, &in, MAP_ENT_SIZE, rwb_flags); in btt_map_read()
783 arena->internal_lbasize + MAP_ENT_SIZE); in alloc_arena()
786 mapsize = roundup((arena->external_nlba * MAP_ENT_SIZE), BTT_PG_SIZE); in alloc_arena()
1093 u32 idx = (premap * MAP_ENT_SIZE / L1_CACHE_BYTES) % arena->nfree; in lock_map()
1101 u32 idx = (premap * MAP_ENT_SIZE / L1_CACHE_BYTES) % arena->nfree; in unlock_map()
Dbtt.h14 #define MAP_ENT_SIZE 4 macro