Lines Matching refs:bref

39 static void h2pfs_check(int fd, hammer2_blockref_t *bref,
156 info_callback1(const void *path, hammer2_blockref_t *bref, int fd) in info_callback1() argument
163 h2pfs_check(fd, bref, info_callback2); in info_callback1()
178 hammer2_blockref_t *bref __unused, int fd __unused) in info_callback2()
261 mount_callback1(const void *devpath, hammer2_blockref_t *bref, int fd) in mount_callback1() argument
267 h2pfs_check(fd, bref, mount_callback2); in mount_callback1()
274 hammer2_blockref_t *bref __unused, int fd) in mount_callback2()
381 h2pfs_check(int fd, hammer2_blockref_t *bref, cmd_callback callback2) in h2pfs_check() argument
395 bytes = (bref->data_off & HAMMER2_OFF_MASK_RADIX); in h2pfs_check()
399 io_off = bref->data_off & ~HAMMER2_OFF_MASK_RADIX; in h2pfs_check()
412 if (bref->type != HAMMER2_BREF_TYPE_DATA) { in h2pfs_check()
431 if (bref->type != HAMMER2_BREF_TYPE_DATA || VerboseOpt >= 1) { in h2pfs_check()
432 switch(HAMMER2_DEC_CHECK(bref->methods)) { in h2pfs_check()
439 if (bref->check.iscsi32.value != cv) { in h2pfs_check()
441 bref->methods, in h2pfs_check()
442 bref->check.iscsi32.value, in h2pfs_check()
448 if (bref->check.xxhash64.value != cv64) { in h2pfs_check()
450 bref->methods, in h2pfs_check()
451 bref->check.xxhash64.value, in h2pfs_check()
459 if (bref->check.freemap.icrc32 != cv) { in h2pfs_check()
461 bref->methods, in h2pfs_check()
462 bref->check.freemap.icrc32, in h2pfs_check()
469 switch(bref->type) { in h2pfs_check()
478 callback2(&media.ipdata, bref, fd); in h2pfs_check()