Home
last modified time | relevance | path

Searched refs:rawsize (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/nvdimm/
Dbtt.c851 size_t remaining = btt->rawsize; in discover_arenas()
874 if (remaining == btt->rawsize) { in discover_arenas()
935 size_t remaining = btt->rawsize; in create_arenas()
1587 static struct btt *btt_init(struct nd_btt *nd_btt, unsigned long long rawsize, in btt_init() argument
1600 btt->rawsize = rawsize; in btt_init()
1620 btt->num_arenas = (rawsize / ARENA_MAX_SIZE) + in btt_init()
1621 ((rawsize % ARENA_MAX_SIZE) ? 1 : 0); in btt_init()
1623 btt->num_arenas, rawsize); in btt_init()
1673 size_t size, rawsize; in nvdimm_namespace_attach_btt() local
1698 rawsize = size - nd_btt->initial_offset; in nvdimm_namespace_attach_btt()
[all …]
Dlabel.h91 __le64 rawsize; member
Dbtt.h226 unsigned long long rawsize; member
Dlabel.c404 __le64_to_cpu(nd_label->rawsize)); in nd_label_reserve_dpa()
552 u64 size = __le64_to_cpu(nd_label->rawsize); in nd_label_active_count()
806 nd_label->rawsize = __cpu_to_le64(resource_size(res)); in __pmem_label_update()
884 if (resource_size(res) != __le64_to_cpu(nd_label->rawsize)) in to_resource()
1046 nd_label->rawsize = __cpu_to_le64(resource_size(res)); in __blk_label_update()
Dnamespace_devs.c1927 pmem_end = pmem_start + __le64_to_cpu(nd_label->rawsize); in select_pmem_id()
2040 size += __le64_to_cpu(label0->rawsize); in create_namespace_pmem()