Home
last modified time | relevance | path

Searched refs:nd_gen_sb (Results 1 – 6 of 6) sorted by relevance

/drivers/nvdimm/
Dclaim.c186 u64 nd_sb_checksum(struct nd_gen_sb *nd_gen_sb) in nd_sb_checksum() argument
193 BUILD_BUG_ON(sizeof(struct nd_gen_sb) != SZ_4K); in nd_sb_checksum()
195 sum_save = nd_gen_sb->checksum; in nd_sb_checksum()
196 nd_gen_sb->checksum = 0; in nd_sb_checksum()
197 sum = nd_fletcher64(nd_gen_sb, sizeof(*nd_gen_sb), 1); in nd_sb_checksum()
198 nd_gen_sb->checksum = sum_save; in nd_sb_checksum()
Dnd.h188 struct nd_gen_sb { struct
193 u64 nd_sb_checksum(struct nd_gen_sb *sb); argument
Dbtt_devs.c247 if (checksum != nd_sb_checksum((struct nd_gen_sb *) super)) in nd_btt_arena_is_valid()
Dpfn_devs.c256 if (checksum != nd_sb_checksum((struct nd_gen_sb *) pfn_sb)) in nd_pfn_validate()
Dpmem.c279 checksum = nd_sb_checksum((struct nd_gen_sb *) pfn_sb); in nd_pfn_init()
Dbtt.c770 sum = nd_sb_checksum((struct nd_gen_sb *) super); in btt_arena_write_layout()