Home
last modified time | relevance | path

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

/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()
1591 static struct btt *btt_init(struct nd_btt *nd_btt, unsigned long long rawsize, in btt_init() argument
1604 btt->rawsize = rawsize; in btt_init()
1624 btt->num_arenas = (rawsize / ARENA_MAX_SIZE) + in btt_init()
1625 ((rawsize % ARENA_MAX_SIZE) ? 1 : 0); in btt_init()
1627 btt->num_arenas, rawsize); in btt_init()
1677 size_t rawsize; in nvdimm_namespace_attach_btt() local
1696 rawsize = nvdimm_namespace_capacity(ndns) - nd_btt->initial_offset; in nvdimm_namespace_attach_btt()
[all …]
Dlabel.h91 __le64 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()
1035 nd_label->rawsize = __cpu_to_le64(resource_size(res)); in __blk_label_update()
Dbtt.h226 unsigned long long rawsize; member
Dnamespace_devs.c1884 pmem_end = pmem_start + __le64_to_cpu(nd_label->rawsize); in select_pmem_id()
1997 size += __le64_to_cpu(label0->rawsize); in create_namespace_pmem()