Home
last modified time | relevance | path

Searched refs:nd_btt (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/nvdimm/
Dbtt_devs.c18 struct nd_btt *nd_btt = to_nd_btt(dev); in nd_btt_release() local
21 nd_detach_ndns(&nd_btt->dev, &nd_btt->ndns); in nd_btt_release()
22 ida_simple_remove(&nd_region->btt_ida, nd_btt->id); in nd_btt_release()
23 kfree(nd_btt->uuid); in nd_btt_release()
24 kfree(nd_btt); in nd_btt_release()
27 struct nd_btt *to_nd_btt(struct device *dev) in to_nd_btt()
29 struct nd_btt *nd_btt = container_of(dev, struct nd_btt, dev); in to_nd_btt() local
32 return nd_btt; in to_nd_btt()
42 struct nd_btt *nd_btt = to_nd_btt(dev); in sector_size_show() local
44 return nd_size_select_show(nd_btt->lbasize, btt_lbasize_supported, buf); in sector_size_show()
[all …]
Dbtt.c29 return &arena->nd_btt->dev; in to_dev()
32 static u64 adjust_initial_offset(struct nd_btt *nd_btt, u64 offset) in adjust_initial_offset() argument
34 return offset + nd_btt->initial_offset; in adjust_initial_offset()
40 struct nd_btt *nd_btt = arena->nd_btt; in arena_read_bytes() local
41 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_read_bytes()
44 offset = adjust_initial_offset(nd_btt, offset); in arena_read_bytes()
51 struct nd_btt *nd_btt = arena->nd_btt; in arena_write_bytes() local
52 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_write_bytes()
55 offset = adjust_initial_offset(nd_btt, offset); in arena_write_bytes()
260 btt->debugfs_dir = debugfs_create_dir(dev_name(&btt->nd_btt->dev), in btt_debugfs_init()
[all …]
Dbtt.h190 struct nd_btt *nd_btt; member
223 struct nd_btt *nd_btt; member
235 bool nd_btt_arena_is_valid(struct nd_btt *nd_btt, struct btt_sb *super);
236 int nd_btt_version(struct nd_btt *nd_btt, struct nd_namespace_common *ndns,
Dclaim.c121 struct nd_btt *nd_btt = to_nd_btt(dev); in nd_detach_and_reset() local
123 nd_btt->lbasize = 0; in nd_detach_and_reset()
124 kfree(nd_btt->uuid); in nd_detach_and_reset()
125 nd_btt->uuid = NULL; in nd_detach_and_reset()
DMakefile4 obj-$(CONFIG_ND_BTT) += nd_btt.o
11 nd_btt-y := btt.o
Dpmem.c705 struct nd_btt *nd_btt = to_nd_btt(dev); in pmem_revalidate_poison() local
707 ndns = nd_btt->ndns; in pmem_revalidate_poison()
746 struct nd_btt *nd_btt = to_nd_btt(dev); in pmem_revalidate_region() local
747 struct btt *btt = nd_btt->btt; in pmem_revalidate_region()
Dnd.h448 struct nd_btt { struct
534 struct nd_btt *to_nd_btt(struct device *dev);
642 int nvdimm_namespace_detach_btt(struct nd_btt *nd_btt);
Dbus.c939 struct nd_btt *nd_btt = is_nd_btt(dev) ? to_nd_btt(dev) : NULL; in nd_pmem_forget_poison_check() local
952 if (nd_btt || nd_pfn || nd_dax) { in nd_pmem_forget_poison_check()
953 if (nd_btt) in nd_pmem_forget_poison_check()
954 ndns = nd_btt->ndns; in nd_pmem_forget_poison_check()
Dnamespace_devs.c47 struct nd_btt *nd_btt = to_nd_btt(dev); in is_uuid_busy() local
49 uuid2 = nd_btt->uuid; in is_uuid_busy()
1430 struct nd_btt *nd_btt = is_nd_btt(dev) ? to_nd_btt(dev) : NULL; in nvdimm_namespace_common_probe() local
1436 if (nd_btt || nd_pfn || nd_dax) { in nvdimm_namespace_common_probe()
1437 if (nd_btt) in nvdimm_namespace_common_probe()
1438 ndns = nd_btt->ndns; in nvdimm_namespace_common_probe()
Dregion_devs.c850 struct nd_btt *nd_btt = to_nd_btt(dev); in nd_region_advance_seeds() local
854 if (nd_region->ns_seed == &nd_btt->ndns->dev) in nd_region_advance_seeds()
/linux-6.1.9/tools/testing/nvdimm/
DKbuild29 obj-$(CONFIG_ND_BTT) += nd_btt.o
49 nd_btt-y := $(NVDIMM_SRC)/btt.o
50 nd_btt-y += config_check.o