Lines Matching refs:offs
389 pack_bits(c, &addr, &pos, nnode->nbranch[i].offs, in ubifs_pack_nnode()
758 nnode->nbranch[j].offs = boffs; in ubifs_create_dflt_lpt()
763 nnode->nbranch[j].offs = 0; in ubifs_create_dflt_lpt()
1030 nnode->nbranch[i].offs = ubifs_unpack_bits(c, &addr, &pos, in ubifs_unpack_nnode()
1124 int offs = nnode->nbranch[i].offs; in validate_nnode() local
1127 if (offs != 0) in validate_nnode()
1133 if (offs < 0 || offs > max_offs) in validate_nnode()
1208 int err, lnum, offs; in ubifs_read_nnode() local
1213 offs = branch->offs; in ubifs_read_nnode()
1216 offs = c->lpt_offs; in ubifs_read_nnode()
1233 err = ubifs_leb_read(c, lnum, buf, offs, c->nnode_sz, 1); in ubifs_read_nnode()
1257 ubifs_err(c, "error %d reading nnode at %d:%d", err, lnum, offs); in ubifs_read_nnode()
1276 int err, lnum, offs; in read_pnode() local
1280 offs = branch->offs; in read_pnode()
1302 err = ubifs_leb_read(c, lnum, buf, offs, c->pnode_sz, 1); in read_pnode()
1322 ubifs_err(c, "error %d reading pnode at %d:%d", err, lnum, offs); in read_pnode()
1980 err = ubifs_leb_read(c, branch->lnum, buf, branch->offs, in scan_get_nnode()
2048 ubifs_assert(c, branch->offs >= 0 && branch->offs < c->leb_size); in scan_get_pnode()
2049 err = ubifs_leb_read(c, branch->lnum, buf, branch->offs, in scan_get_pnode()