Searched refs:btt_sb (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/nvdimm/ |
| A D | btt_devs.c | 274 struct btt_sb *btt_sb) in nd_btt_version() argument 281 if (nvdimm_read_bytes(ndns, 0, btt_sb, sizeof(*btt_sb), 0)) in nd_btt_version() 283 if (!nd_btt_arena_is_valid(nd_btt, btt_sb)) in nd_btt_version() 286 (le16_to_cpu(btt_sb->version_minor) != 0)) in nd_btt_version() 296 if (nvdimm_read_bytes(ndns, SZ_4K, btt_sb, sizeof(*btt_sb), 0)) in nd_btt_version() 298 if (!nd_btt_arena_is_valid(nd_btt, btt_sb)) in nd_btt_version() 309 struct nd_namespace_common *ndns, struct btt_sb *btt_sb) in __nd_btt_probe() argument 313 if (!btt_sb || !ndns || !nd_btt) in __nd_btt_probe() 319 rc = nd_btt_version(nd_btt, ndns, btt_sb); in __nd_btt_probe() 337 struct btt_sb *btt_sb; in nd_btt_probe() local [all …]
|
| A D | btt.h | 95 struct btt_sb { struct 235 bool nd_btt_arena_is_valid(struct nd_btt *nd_btt, struct btt_sb *super); 237 struct btt_sb *btt_sb);
|
| A D | btt.c | 75 sizeof(struct btt_sb), 0); in btt_info_write() 80 sizeof(struct btt_sb), 0); in btt_info_write() 86 sizeof(struct btt_sb), 0); in btt_info_read() 851 struct btt_sb *super; in discover_arenas() 974 struct btt_sb *super; in btt_arena_write_layout() 986 super = kzalloc(sizeof(struct btt_sb), GFP_NOIO); in btt_arena_write_layout() 1001 super->infosize = cpu_to_le32(sizeof(struct btt_sb)); in btt_arena_write_layout() 1666 struct btt_sb *btt_sb; in nvdimm_namespace_attach_btt() local 1676 btt_sb = devm_kzalloc(&nd_btt->dev, sizeof(*btt_sb), GFP_KERNEL); in nvdimm_namespace_attach_btt() 1677 if (!btt_sb) in nvdimm_namespace_attach_btt() [all …]
|
| A D | claim.c | 240 BUILD_BUG_ON(sizeof(struct btt_sb) != SZ_4K); in nd_sb_checksum()
|
Completed in 11 milliseconds