Lines Matching refs:oleaf
963 struct gfs2_leaf *nleaf, *oleaf; in dir_split_leaf() local
982 oleaf = (struct gfs2_leaf *)obh->b_data; in dir_split_leaf()
983 if (dip->i_depth == be16_to_cpu(oleaf->lf_depth)) { in dir_split_leaf()
990 nleaf = new_leaf(inode, &nbh, be16_to_cpu(oleaf->lf_depth) + 1); in dir_split_leaf()
998 len = 1 << (dip->i_depth - be16_to_cpu(oleaf->lf_depth)); in dir_split_leaf()
1002 dip->i_depth, be16_to_cpu(oleaf->lf_depth), index); in dir_split_leaf()
1064 if (!oleaf->lf_entries) in dir_split_leaf()
1066 be16_add_cpu(&oleaf->lf_entries, -1); in dir_split_leaf()
1078 oleaf->lf_depth = nleaf->lf_depth; in dir_split_leaf()
1625 struct gfs2_leaf *leaf, *oleaf; in dir_new_leaf() local
1637 oleaf = (struct gfs2_leaf *)obh->b_data; in dir_new_leaf()
1638 bn = be64_to_cpu(oleaf->lf_next); in dir_new_leaf()
1649 leaf = new_leaf(inode, &bh, be16_to_cpu(oleaf->lf_depth)); in dir_new_leaf()
1655 oleaf->lf_next = cpu_to_be64(bh->b_blocknr); in dir_new_leaf()