Lines Matching defs:bref
68 read_media(FILE *fp, const hammer2_blockref_t *bref, size_t *media_bytes)
74 bytes = (bref->data_off & HAMMER2_OFF_MASK_RADIX);
84 io_off = bref->data_off & ~HAMMER2_OFF_MASK_RADIX;
113 find_pfs(FILE *fp, const hammer2_blockref_t *bref, const char *pfs, bool *res)
121 media = read_media(fp, bref, &bytes);
125 switch (bref->type) {
206 hammer2_blockref_t broot, best, *bref;
232 bref = &vols[best_i]->voldata.sroot_blockset.blockref[0];
233 if (bref->type != HAMMER2_BREF_TYPE_INODE) {
238 media = read_media(fp, bref, &bytes);
248 if (find_pfs(fp, bref, pfs, &res) == 0 && res) {