Searched refs:nd_btt (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/drivers/nvdimm/ |
D | btt_devs.c | 18 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 …]
|
D | btt.c | 29 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 …]
|
D | btt.h | 190 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,
|
D | claim.c | 121 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()
|
D | Makefile | 4 obj-$(CONFIG_ND_BTT) += nd_btt.o 11 nd_btt-y := btt.o
|
D | pmem.c | 705 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()
|
D | nd.h | 448 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);
|
D | bus.c | 939 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()
|
D | namespace_devs.c | 47 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()
|
D | region_devs.c | 850 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/ |
D | Kbuild | 29 obj-$(CONFIG_ND_BTT) += nd_btt.o 49 nd_btt-y := $(NVDIMM_SRC)/btt.o 50 nd_btt-y += config_check.o
|