• Home
  • Raw
  • Download

Lines Matching refs:nd_btt

39 	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()
748 memcpy(super->uuid, nd_btt->uuid, 16); in btt_arena_write_layout()
1184 dev_info(&btt->nd_btt->dev, in btt_make_request()
1232 struct nd_btt *nd_btt = btt->nd_btt; in btt_blk_init() local
1233 struct nd_namespace_common *ndns = nd_btt->ndns; in btt_blk_init()
1247 btt->btt_disk->driverfs_dev = &btt->nd_btt->dev; in btt_blk_init()
1304 static struct btt *btt_init(struct nd_btt *nd_btt, unsigned long long rawsize, in btt_init() argument
1309 struct device *dev = &nd_btt->dev; in btt_init()
1315 btt->nd_btt = nd_btt; in btt_init()
1388 struct nd_btt *nd_btt = to_nd_btt(ndns->claim); in nvdimm_namespace_attach_btt() local
1393 if (!nd_btt->uuid || !nd_btt->ndns || !nd_btt->lbasize) in nvdimm_namespace_attach_btt()
1400 nd_region = to_nd_region(nd_btt->dev.parent); in nvdimm_namespace_attach_btt()
1401 btt = btt_init(nd_btt, rawsize, nd_btt->lbasize, nd_btt->uuid, in nvdimm_namespace_attach_btt()
1405 nd_btt->btt = btt; in nvdimm_namespace_attach_btt()
1413 struct nd_btt *nd_btt = to_nd_btt(ndns->claim); in nvdimm_namespace_detach_btt() local
1414 struct btt *btt = nd_btt->btt; in nvdimm_namespace_detach_btt()
1417 nd_btt->btt = NULL; in nvdimm_namespace_detach_btt()