Home
last modified time | relevance | path

Searched refs:btt_sb (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/drivers/nvdimm/
A Dbtt_devs.c276 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 Dbtt.h95 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 Dbtt.c74 sizeof(struct btt_sb), 0); in btt_info_write()
79 sizeof(struct btt_sb), 0); in btt_info_write()
85 sizeof(struct btt_sb), 0); in btt_info_read()
850 struct btt_sb *super; in discover_arenas()
973 struct btt_sb *super; in btt_arena_write_layout()
985 super = kzalloc(sizeof(struct btt_sb), GFP_NOIO); in btt_arena_write_layout()
1000 super->infosize = cpu_to_le32(sizeof(struct btt_sb)); in btt_arena_write_layout()
1649 struct btt_sb *btt_sb; in nvdimm_namespace_attach_btt() local
1659 btt_sb = devm_kzalloc(&nd_btt->dev, sizeof(*btt_sb), GFP_KERNEL); in nvdimm_namespace_attach_btt()
1660 if (!btt_sb) in nvdimm_namespace_attach_btt()
[all …]
A Dclaim.c240 BUILD_BUG_ON(sizeof(struct btt_sb) != SZ_4K); in nd_sb_checksum()

Completed in 19 milliseconds