Searched refs:btt_sb (Results 1 – 4 of 4) sorted by relevance
| /drivers/nvdimm/ |
| A D | btt_devs.c | 276 struct btt_sb *btt_sb) in nd_btt_version() argument 283 if (nvdimm_read_bytes(ndns, 0, btt_sb, sizeof(*btt_sb), 0)) in nd_btt_version() 285 if (!nd_btt_arena_is_valid(nd_btt, btt_sb)) in nd_btt_version() 288 (le16_to_cpu(btt_sb->version_minor) != 0)) in nd_btt_version() 298 if (nvdimm_read_bytes(ndns, SZ_4K, btt_sb, sizeof(*btt_sb), 0)) in nd_btt_version() 300 if (!nd_btt_arena_is_valid(nd_btt, btt_sb)) in nd_btt_version() 311 struct nd_namespace_common *ndns, struct btt_sb *btt_sb) in __nd_btt_probe() argument 315 if (!btt_sb || !ndns || !nd_btt) in __nd_btt_probe() 321 rc = nd_btt_version(nd_btt, ndns, btt_sb); in __nd_btt_probe() 339 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 | 61 static int btt_info_write(struct arena_info *arena, struct btt_sb *super) in btt_info_write() 76 sizeof(struct btt_sb), 0); in btt_info_write() 81 sizeof(struct btt_sb), 0); in btt_info_write() 84 static int btt_info_read(struct arena_info *arena, struct btt_sb *super) in btt_info_read() 87 sizeof(struct btt_sb), 0); in btt_info_read() 969 struct btt_sb *super; in btt_arena_write_layout() 996 super->infosize = cpu_to_le32(sizeof(struct btt_sb)); in btt_arena_write_layout() 1645 struct btt_sb *btt_sb; in nvdimm_namespace_attach_btt() local 1655 btt_sb = devm_kzalloc(&nd_btt->dev, sizeof(*btt_sb), GFP_KERNEL); in nvdimm_namespace_attach_btt() 1656 if (!btt_sb) in nvdimm_namespace_attach_btt() [all …]
|
| A D | claim.c | 222 BUILD_BUG_ON(sizeof(struct btt_sb) != SZ_4K); in nd_sb_checksum()
|
Completed in 13 milliseconds