Home
last modified time | relevance | path

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

/drivers/nvdimm/
Dbtt_devs.c27 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_sector_size_show(nd_btt->lbasize, btt_lbasize_supported, buf); in sector_size_show()
[all …]
Dbtt.c39 struct nd_btt *nd_btt = arena->nd_btt; in arena_read_bytes() local
40 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_read_bytes()
50 struct nd_btt *nd_btt = arena->nd_btt; in arena_write_bytes() local
51 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_write_bytes()
241 btt->debugfs_dir = debugfs_create_dir(dev_name(&btt->nd_btt->dev), in btt_debugfs_init()
297 return &arena->nd_btt->dev; in to_dev()
525 arena->nd_btt = btt->nd_btt; in alloc_arena()
638 if (!nd_btt_arena_is_valid(btt->nd_btt, super)) { in discover_arenas()
732 struct nd_btt *nd_btt = arena->nd_btt; in btt_arena_write_layout() local
733 const u8 *parent_uuid = nd_dev_to_uuid(&nd_btt->ndns->dev); in btt_arena_write_layout()
[all …]
Dbtt.h145 struct nd_btt *nd_btt; member
175 struct nd_btt *nd_btt; member
186 bool nd_btt_arena_is_valid(struct nd_btt *nd_btt, struct btt_sb *super);
Dclaim.c101 struct nd_btt *nd_btt = to_nd_btt(dev); in nd_detach_and_reset() local
103 nd_btt->lbasize = 0; in nd_detach_and_reset()
104 kfree(nd_btt->uuid); in nd_detach_and_reset()
105 nd_btt->uuid = NULL; in nd_detach_and_reset()
DMakefile3 obj-$(CONFIG_ND_BTT) += nd_btt.o
9 nd_btt-y := btt.o
Dnd.h136 struct nd_btt { struct
186 struct nd_btt *to_nd_btt(struct device *dev);
Dnamespace_devs.c93 struct nd_btt *nd_btt = to_nd_btt(dev); in is_uuid_busy() local
95 uuid2 = nd_btt->uuid; in is_uuid_busy()
1343 struct nd_btt *nd_btt = is_nd_btt(dev) ? to_nd_btt(dev) : NULL; in nvdimm_namespace_common_probe() local
1348 if (nd_btt || nd_pfn) { in nvdimm_namespace_common_probe()
1351 if (nd_btt) { in nvdimm_namespace_common_probe()
1352 host = &nd_btt->dev; in nvdimm_namespace_common_probe()
1353 ndns = nd_btt->ndns; in nvdimm_namespace_common_probe()
Dregion_devs.c432 struct nd_btt *nd_btt = to_nd_btt(dev); in nd_region_notify_driver_action() local
438 if (nd_region->ns_seed == &nd_btt->ndns->dev && in nd_region_notify_driver_action()