Searched refs:nd_btt (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/nvdimm/ |
D | btt_devs.c | 27 struct nd_btt *nd_btt = to_nd_btt(dev); in nd_btt_release() local 30 nd_detach_ndns(&nd_btt->dev, &nd_btt->ndns); in nd_btt_release() 31 ida_simple_remove(&nd_region->btt_ida, nd_btt->id); in nd_btt_release() 32 kfree(nd_btt->uuid); in nd_btt_release() 33 kfree(nd_btt); in nd_btt_release() 47 struct nd_btt *to_nd_btt(struct device *dev) in to_nd_btt() 49 struct nd_btt *nd_btt = container_of(dev, struct nd_btt, dev); in to_nd_btt() local 52 return nd_btt; in to_nd_btt() 62 struct nd_btt *nd_btt = to_nd_btt(dev); in sector_size_show() local 64 return nd_size_select_show(nd_btt->lbasize, btt_lbasize_supported, buf); in sector_size_show() [all …]
|
D | btt.c | 37 return &arena->nd_btt->dev; in to_dev() 40 static u64 adjust_initial_offset(struct nd_btt *nd_btt, u64 offset) in adjust_initial_offset() argument 42 return offset + nd_btt->initial_offset; in adjust_initial_offset() 48 struct nd_btt *nd_btt = arena->nd_btt; in arena_read_bytes() local 49 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_read_bytes() 52 offset = adjust_initial_offset(nd_btt, offset); in arena_read_bytes() 59 struct nd_btt *nd_btt = arena->nd_btt; in arena_write_bytes() local 60 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_write_bytes() 63 offset = adjust_initial_offset(nd_btt, offset); in arena_write_bytes() 268 btt->debugfs_dir = debugfs_create_dir(dev_name(&btt->nd_btt->dev), in btt_debugfs_init() [all …]
|
D | btt.h | 197 struct nd_btt *nd_btt; member 230 struct nd_btt *nd_btt; member 242 bool nd_btt_arena_is_valid(struct nd_btt *nd_btt, struct btt_sb *super); 243 int nd_btt_version(struct nd_btt *nd_btt, struct nd_namespace_common *ndns,
|
D | Makefile | 4 obj-$(CONFIG_ND_BTT) += nd_btt.o 11 nd_btt-y := btt.o
|
D | claim.c | 128 struct nd_btt *nd_btt = to_nd_btt(dev); in nd_detach_and_reset() local 130 nd_btt->lbasize = 0; in nd_detach_and_reset() 131 kfree(nd_btt->uuid); in nd_detach_and_reset() 132 nd_btt->uuid = NULL; in nd_detach_and_reset()
|
D | nd.h | 184 struct nd_btt { struct 251 struct nd_btt *to_nd_btt(struct device *dev); 363 int nvdimm_namespace_detach_btt(struct nd_btt *nd_btt);
|
D | pmem.c | 555 struct nd_btt *nd_btt = to_nd_btt(dev); in nd_pmem_notify() local 557 ndns = nd_btt->ndns; in nd_pmem_notify()
|
D | bus.c | 847 struct nd_btt *nd_btt = is_nd_btt(dev) ? to_nd_btt(dev) : NULL; in nd_pmem_forget_poison_check() local 860 if (nd_btt || nd_pfn || nd_dax) { in nd_pmem_forget_poison_check() 861 if (nd_btt) in nd_pmem_forget_poison_check() 862 ndns = nd_btt->ndns; in nd_pmem_forget_poison_check()
|
D | namespace_devs.c | 98 struct nd_btt *nd_btt = to_nd_btt(dev); in is_uuid_busy() local 100 uuid2 = nd_btt->uuid; in is_uuid_busy() 1675 struct nd_btt *nd_btt = is_nd_btt(dev) ? to_nd_btt(dev) : NULL; in nvdimm_namespace_common_probe() local 1681 if (nd_btt || nd_pfn || nd_dax) { in nvdimm_namespace_common_probe() 1682 if (nd_btt) in nvdimm_namespace_common_probe() 1683 ndns = nd_btt->ndns; in nvdimm_namespace_common_probe()
|
D | region_devs.c | 745 struct nd_btt *nd_btt = to_nd_btt(dev); in nd_region_notify_driver_action() local 751 if (nd_region->ns_seed == &nd_btt->ndns->dev) in nd_region_notify_driver_action()
|
/Linux-v4.19/tools/testing/nvdimm/ |
D | Kbuild | 28 obj-$(CONFIG_ND_BTT) += nd_btt.o 48 nd_btt-y := $(NVDIMM_SRC)/btt.o 49 nd_btt-y += config_check.o
|