Lines Matching defs:bref
139 read_media(FILE *fp, const hammer2_blockref_t *bref, size_t *media_bytes)
145 bytes = (bref->data_off & HAMMER2_OFF_MASK_RADIX);
155 io_off = bref->data_off & ~HAMMER2_OFF_MASK_RADIX;
198 find_pfs(FILE *fp, const hammer2_blockref_t *bref, const char *pfs, bool *res)
206 media = read_media(fp, bref, &bytes);
210 switch (bref->type) {
293 hammer2_blockref_t broot, best, *bref;
323 bref = &vols[best_i]->voldata.sroot_blockset.blockref[0];
324 if (bref->type != HAMMER2_BREF_TYPE_INODE) {
329 media = read_media(fp, bref, &bytes);
367 if (find_pfs(fp, bref, pfs, &res) == 0 && res) {