Lines Matching refs:branch

1198 	struct ubifs_nbranch *branch = NULL;  in ubifs_read_nnode()  local
1204 branch = &parent->nbranch[iip]; in ubifs_read_nnode()
1205 lnum = branch->lnum; in ubifs_read_nnode()
1206 offs = branch->offs; in ubifs_read_nnode()
1239 branch->nnode = nnode; in ubifs_read_nnode()
1266 struct ubifs_nbranch *branch; in read_pnode() local
1271 branch = &parent->nbranch[iip]; in read_pnode()
1272 lnum = branch->lnum; in read_pnode()
1273 offs = branch->offs; in read_pnode()
1307 branch->pnode = pnode; in read_pnode()
1400 struct ubifs_nbranch *branch; in ubifs_get_nnode() local
1404 branch = &parent->nbranch[iip]; in ubifs_get_nnode()
1405 nnode = branch->nnode; in ubifs_get_nnode()
1411 return branch->nnode; in ubifs_get_nnode()
1426 struct ubifs_nbranch *branch; in ubifs_get_pnode() local
1430 branch = &parent->nbranch[iip]; in ubifs_get_pnode()
1431 pnode = branch->pnode; in ubifs_get_pnode()
1437 update_cats(c, branch->pnode); in ubifs_get_pnode()
1438 return branch->pnode; in ubifs_get_pnode()
1514 struct ubifs_nbranch *branch = &n->nbranch[i]; in dirty_cow_nnode() local
1516 if (branch->cnode) in dirty_cow_nnode()
1517 branch->cnode->parent = n; in dirty_cow_nnode()
1802 struct ubifs_nbranch *branch; in scan_get_nnode() local
1807 branch = &parent->nbranch[iip]; in scan_get_nnode()
1808 nnode = branch->nnode; in scan_get_nnode()
1818 if (branch->lnum == 0) { in scan_get_nnode()
1828 err = ubifs_leb_read(c, branch->lnum, buf, branch->offs, in scan_get_nnode()
1861 struct ubifs_nbranch *branch; in scan_get_pnode() local
1866 branch = &parent->nbranch[iip]; in scan_get_pnode()
1867 pnode = branch->pnode; in scan_get_pnode()
1877 if (branch->lnum == 0) { in scan_get_pnode()
1894 ubifs_assert(c, branch->lnum >= c->lpt_first && in scan_get_pnode()
1895 branch->lnum <= c->lpt_last); in scan_get_pnode()
1896 ubifs_assert(c, branch->offs >= 0 && branch->offs < c->leb_size); in scan_get_pnode()
1897 err = ubifs_leb_read(c, branch->lnum, buf, branch->offs, in scan_get_pnode()