Lines Matching refs:oleaf
968 struct gfs2_leaf *nleaf, *oleaf; in dir_split_leaf() local
987 oleaf = (struct gfs2_leaf *)obh->b_data; in dir_split_leaf()
988 if (dip->i_depth == be16_to_cpu(oleaf->lf_depth)) { in dir_split_leaf()
995 nleaf = new_leaf(inode, &nbh, be16_to_cpu(oleaf->lf_depth) + 1); in dir_split_leaf()
1003 len = 1 << (dip->i_depth - be16_to_cpu(oleaf->lf_depth)); in dir_split_leaf()
1007 dip->i_depth, be16_to_cpu(oleaf->lf_depth), index); in dir_split_leaf()
1069 if (!oleaf->lf_entries) in dir_split_leaf()
1071 be16_add_cpu(&oleaf->lf_entries, -1); in dir_split_leaf()
1083 oleaf->lf_depth = nleaf->lf_depth; in dir_split_leaf()
1630 struct gfs2_leaf *leaf, *oleaf; in dir_new_leaf() local
1642 oleaf = (struct gfs2_leaf *)obh->b_data; in dir_new_leaf()
1643 bn = be64_to_cpu(oleaf->lf_next); in dir_new_leaf()
1654 leaf = new_leaf(inode, &bh, be16_to_cpu(oleaf->lf_depth)); in dir_new_leaf()
1660 oleaf->lf_next = cpu_to_be64(bh->b_blocknr); in dir_new_leaf()