Lines Matching refs:branch
1205 struct ubifs_nbranch *branch = NULL; in ubifs_read_nnode() local
1211 branch = &parent->nbranch[iip]; in ubifs_read_nnode()
1212 lnum = branch->lnum; in ubifs_read_nnode()
1213 offs = branch->offs; in ubifs_read_nnode()
1246 branch->nnode = nnode; in ubifs_read_nnode()
1273 struct ubifs_nbranch *branch; in read_pnode() local
1278 branch = &parent->nbranch[iip]; in read_pnode()
1279 lnum = branch->lnum; in read_pnode()
1280 offs = branch->offs; in read_pnode()
1314 branch->pnode = pnode; in read_pnode()
1407 struct ubifs_nbranch *branch; in ubifs_get_nnode() local
1411 branch = &parent->nbranch[iip]; in ubifs_get_nnode()
1412 nnode = branch->nnode; in ubifs_get_nnode()
1418 return branch->nnode; in ubifs_get_nnode()
1433 struct ubifs_nbranch *branch; in ubifs_get_pnode() local
1437 branch = &parent->nbranch[iip]; in ubifs_get_pnode()
1438 pnode = branch->pnode; in ubifs_get_pnode()
1444 update_cats(c, branch->pnode); in ubifs_get_pnode()
1445 return branch->pnode; in ubifs_get_pnode()
1537 struct ubifs_nbranch *branch = &n->nbranch[i]; in dirty_cow_nnode() local
1539 if (branch->cnode) in dirty_cow_nnode()
1540 branch->cnode->parent = n; in dirty_cow_nnode()
1954 struct ubifs_nbranch *branch; in scan_get_nnode() local
1959 branch = &parent->nbranch[iip]; in scan_get_nnode()
1960 nnode = branch->nnode; in scan_get_nnode()
1970 if (branch->lnum == 0) { in scan_get_nnode()
1980 err = ubifs_leb_read(c, branch->lnum, buf, branch->offs, in scan_get_nnode()
2013 struct ubifs_nbranch *branch; in scan_get_pnode() local
2018 branch = &parent->nbranch[iip]; in scan_get_pnode()
2019 pnode = branch->pnode; in scan_get_pnode()
2029 if (branch->lnum == 0) { in scan_get_pnode()
2046 ubifs_assert(c, branch->lnum >= c->lpt_first && in scan_get_pnode()
2047 branch->lnum <= c->lpt_last); in scan_get_pnode()
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()