Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/nvdimm/
Dbtt.h106 __le32 internal_nlba; member
172 u32 internal_nlba; member
Dblk.c248 u64 internal_nlba; in nsblk_attach_disk() local
250 internal_nlba = div_u64(nsblk->size, nsblk_internal_lbasize(nsblk)); in nsblk_attach_disk()
251 available_disk_size = internal_nlba * nsblk_sector_size(nsblk); in nsblk_attach_disk()
Dbtt.c235 debugfs_create_x32("internal_nlba", S_IRUGO, d, &a->internal_nlba); in arena_debugfs_init()
782 arena->internal_nlba = div_u64(available - BTT_PG_SIZE, in alloc_arena()
784 arena->external_nlba = arena->internal_nlba - arena->nfree; in alloc_arena()
823 arena->internal_nlba = le32_to_cpu(super->internal_nlba); in parse_arena_meta()
998 super->internal_nlba = cpu_to_le32(arena->internal_nlba); in btt_arena_write_layout()
1360 if (new_postmap >= arena->internal_nlba) { in btt_write_pg()
1381 if (old_postmap >= arena->internal_nlba) { in btt_write_pg()