Home
last modified time | relevance | path

Searched refs:newblk (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/fs/
Dquota_v2.c354 uint newblk; in do_insert_tree() local
373 newblk = le32_to_cpu(ref[GETIDINDEX(dquot->dq_id, depth)]); in do_insert_tree()
374 if (!newblk) in do_insert_tree()
378 if (newblk) { in do_insert_tree()
384 newblk = find_free_dqentry(dquot, &ret); in do_insert_tree()
387 ret = do_insert_tree(dquot, &newblk, depth+1); in do_insert_tree()
389 ref[GETIDINDEX(dquot->dq_id, depth)] = cpu_to_le32(newblk); in do_insert_tree()
497 uint newblk; in remove_tree() local
506 newblk = le32_to_cpu(ref[GETIDINDEX(dquot->dq_id, depth)]); in remove_tree()
508 ret = free_dqentry(dquot, newblk); in remove_tree()
[all …]
/linux-2.4.37.9/fs/xfs/
Dxfs_da_btree.c161 xfs_da_state_blk_t *oldblk, *newblk, *addblk; in xfs_da_split() local
180 newblk = &state->altpath.blk[i]; in xfs_da_split()
193 error = xfs_attr_leaf_split(state, oldblk, newblk); in xfs_da_split()
198 addblk = newblk; in xfs_da_split()
211 error = xfs_attr_leaf_split(state, newblk, in xfs_da_split()
216 addblk = newblk; in xfs_da_split()
221 error = xfs_dir_leaf_split(state, oldblk, newblk); in xfs_da_split()
226 addblk = newblk; in xfs_da_split()
239 addblk = newblk; in xfs_da_split()
242 error = xfs_dir_leaf_split(state, newblk, in xfs_da_split()
[all …]
Dxfs_dir2_node.c1076 xfs_da_state_blk_t *newblk) /* newly created block */ in xfs_dir2_leafn_split() argument
1098 &newblk->bp, XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_leafn_split()
1102 newblk->blkno = blkno; in xfs_dir2_leafn_split()
1103 newblk->magic = XFS_DIR2_LEAFN_MAGIC; in xfs_dir2_leafn_split()
1108 xfs_dir2_leafn_rebalance(state, oldblk, newblk); in xfs_dir2_leafn_split()
1109 error = xfs_da_blk_link(state, oldblk, newblk); in xfs_dir2_leafn_split()
1119 error = xfs_dir2_leafn_add(newblk->bp, args, newblk->index); in xfs_dir2_leafn_split()
1124 newblk->hashval = xfs_dir2_leafn_lasthash(newblk->bp, NULL); in xfs_dir2_leafn_split()
1126 xfs_dir2_leafn_check(args->dp, newblk->bp); in xfs_dir2_leafn_split()
Dxfs_dir2_node.h133 struct xfs_da_state_blk *newblk);
Dxfs_dir_leaf.c820 xfs_da_state_blk_t *newblk) in xfs_dir_leaf_split() argument
835 error = xfs_dir_leaf_create(args, blkno, &newblk->bp); in xfs_dir_leaf_split()
838 newblk->blkno = blkno; in xfs_dir_leaf_split()
839 newblk->magic = XFS_DIR_LEAF_MAGIC; in xfs_dir_leaf_split()
844 xfs_dir_leaf_rebalance(state, oldblk, newblk); in xfs_dir_leaf_split()
845 error = xfs_da_blk_link(state, oldblk, newblk); in xfs_dir_leaf_split()
855 error = xfs_dir_leaf_add(newblk->bp, args, newblk->index); in xfs_dir_leaf_split()
862 newblk->hashval = xfs_dir_leaf_lasthash(newblk->bp, NULL); in xfs_dir_leaf_split()
Dxfs_dir_leaf.h214 struct xfs_da_state_blk *newblk);
Dxfs_attr_leaf.h268 struct xfs_da_state_blk *newblk);
Dxfs_attr_leaf.c821 xfs_da_state_blk_t *newblk) in xfs_attr_leaf_split() argument
833 error = xfs_attr_leaf_create(state->args, blkno, &newblk->bp); in xfs_attr_leaf_split()
836 newblk->blkno = blkno; in xfs_attr_leaf_split()
837 newblk->magic = XFS_ATTR_LEAF_MAGIC; in xfs_attr_leaf_split()
843 xfs_attr_leaf_rebalance(state, oldblk, newblk); in xfs_attr_leaf_split()
844 error = xfs_da_blk_link(state, oldblk, newblk); in xfs_attr_leaf_split()
858 error = xfs_attr_leaf_add(newblk->bp, state->args); in xfs_attr_leaf_split()
864 newblk->hashval = xfs_attr_leaf_lasthash(newblk->bp, NULL); in xfs_attr_leaf_split()