Lines Matching refs:branch

1194 	struct ubifs_nbranch *branch = NULL;  in ubifs_read_nnode()  local
1200 branch = &parent->nbranch[iip]; in ubifs_read_nnode()
1201 lnum = branch->lnum; in ubifs_read_nnode()
1202 offs = branch->offs; in ubifs_read_nnode()
1235 branch->nnode = nnode; in ubifs_read_nnode()
1262 struct ubifs_nbranch *branch; in read_pnode() local
1267 branch = &parent->nbranch[iip]; in read_pnode()
1268 lnum = branch->lnum; in read_pnode()
1269 offs = branch->offs; in read_pnode()
1303 branch->pnode = pnode; in read_pnode()
1398 struct ubifs_nbranch *branch; in ubifs_get_nnode() local
1402 branch = &parent->nbranch[iip]; in ubifs_get_nnode()
1403 nnode = branch->nnode; in ubifs_get_nnode()
1409 return branch->nnode; in ubifs_get_nnode()
1424 struct ubifs_nbranch *branch; in ubifs_get_pnode() local
1428 branch = &parent->nbranch[iip]; in ubifs_get_pnode()
1429 pnode = branch->pnode; in ubifs_get_pnode()
1435 update_cats(c, branch->pnode); in ubifs_get_pnode()
1436 return branch->pnode; in ubifs_get_pnode()
1513 struct ubifs_nbranch *branch = &n->nbranch[i]; in dirty_cow_nnode() local
1515 if (branch->cnode) in dirty_cow_nnode()
1516 branch->cnode->parent = n; in dirty_cow_nnode()
1804 struct ubifs_nbranch *branch; in scan_get_nnode() local
1809 branch = &parent->nbranch[iip]; in scan_get_nnode()
1810 nnode = branch->nnode; in scan_get_nnode()
1820 if (branch->lnum == 0) { in scan_get_nnode()
1830 err = ubifs_leb_read(c, branch->lnum, buf, branch->offs, in scan_get_nnode()
1863 struct ubifs_nbranch *branch; in scan_get_pnode() local
1868 branch = &parent->nbranch[iip]; in scan_get_pnode()
1869 pnode = branch->pnode; in scan_get_pnode()
1879 if (branch->lnum == 0) { in scan_get_pnode()
1896 ubifs_assert(branch->lnum >= c->lpt_first && in scan_get_pnode()
1897 branch->lnum <= c->lpt_last); in scan_get_pnode()
1898 ubifs_assert(branch->offs >= 0 && branch->offs < c->leb_size); in scan_get_pnode()
1899 err = ubifs_leb_read(c, branch->lnum, buf, branch->offs, in scan_get_pnode()