Searched refs:nd_btt (Results 1 – 8 of 8) sorted by relevance
27 struct nd_btt *nd_btt = to_nd_btt(dev); in nd_btt_release() local30 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() local52 return nd_btt; in to_nd_btt()62 struct nd_btt *nd_btt = to_nd_btt(dev); in sector_size_show() local64 return nd_sector_size_show(nd_btt->lbasize, btt_lbasize_supported, buf); in sector_size_show()[all …]
39 struct nd_btt *nd_btt = arena->nd_btt; in arena_read_bytes() local40 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() local51 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() local733 const u8 *parent_uuid = nd_dev_to_uuid(&nd_btt->ndns->dev); in btt_arena_write_layout()[all …]
145 struct nd_btt *nd_btt; member175 struct nd_btt *nd_btt; member186 bool nd_btt_arena_is_valid(struct nd_btt *nd_btt, struct btt_sb *super);
101 struct nd_btt *nd_btt = to_nd_btt(dev); in nd_detach_and_reset() local103 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()
3 obj-$(CONFIG_ND_BTT) += nd_btt.o9 nd_btt-y := btt.o
136 struct nd_btt { struct186 struct nd_btt *to_nd_btt(struct device *dev);
93 struct nd_btt *nd_btt = to_nd_btt(dev); in is_uuid_busy() local95 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() local1348 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()
432 struct nd_btt *nd_btt = to_nd_btt(dev); in nd_region_notify_driver_action() local438 if (nd_region->ns_seed == &nd_btt->ndns->dev && in nd_region_notify_driver_action()