Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/nvdimm/
Dbtt.c98 u64 ns_off = arena->mapoff + (lba * MAP_ENT_SIZE); in __btt_map_write()
104 return arena_write_bytes(arena, ns_off, &mapping, MAP_ENT_SIZE, flags); in __btt_map_write()
157 u64 ns_off = arena->mapoff + (lba * MAP_ENT_SIZE); in btt_map_read()
164 ret = arena_read_bytes(arena, ns_off, &in, MAP_ENT_SIZE, rwb_flags); in btt_map_read()
784 arena->internal_lbasize + MAP_ENT_SIZE); in alloc_arena()
787 mapsize = roundup((arena->external_nlba * MAP_ENT_SIZE), BTT_PG_SIZE); in alloc_arena()
1094 u32 idx = (premap * MAP_ENT_SIZE / L1_CACHE_BYTES) % arena->nfree; in lock_map()
1102 u32 idx = (premap * MAP_ENT_SIZE / L1_CACHE_BYTES) % arena->nfree; in unlock_map()
Dbtt.h14 #define MAP_ENT_SIZE 4 macro