Home
last modified time | relevance | path

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

/fs/quota/
Dquota_tree.c303 uint newblk; in do_insert_tree() local
323 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in do_insert_tree()
324 if (!newblk) in do_insert_tree()
328 if (newblk) { in do_insert_tree()
337 newblk = find_free_dqentry(info, dquot, &ret); in do_insert_tree()
339 ret = do_insert_tree(info, dquot, &newblk, depth+1); in do_insert_tree()
343 cpu_to_le32(newblk); in do_insert_tree()
478 uint newblk; in remove_tree() local
489 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in remove_tree()
491 ret = free_dqentry(info, dquot, newblk); in remove_tree()
[all …]
/fs/xfs/libxfs/
Dxfs_da_btree.c356 struct xfs_da_state_blk *newblk; in xfs_da3_split() local
380 newblk = &state->altpath.blk[i]; in xfs_da3_split()
390 error = xfs_attr3_leaf_split(state, oldblk, newblk); in xfs_da3_split()
395 addblk = newblk; in xfs_da3_split()
412 error = xfs_attr3_leaf_split(state, newblk, in xfs_da3_split()
417 addblk = newblk; in xfs_da3_split()
420 error = xfs_dir2_leafn_split(state, oldblk, newblk); in xfs_da3_split()
423 addblk = newblk; in xfs_da3_split()
426 error = xfs_da3_node_split(state, oldblk, newblk, addblk, in xfs_da3_split()
435 addblk = newblk; in xfs_da3_split()
[all …]
Dxfs_dir2_node.c1362 xfs_da_state_blk_t *newblk) /* newly created block */ in xfs_dir2_leafn_split() argument
1383 &newblk->bp, XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_leafn_split()
1387 newblk->blkno = blkno; in xfs_dir2_leafn_split()
1388 newblk->magic = XFS_DIR2_LEAFN_MAGIC; in xfs_dir2_leafn_split()
1393 xfs_dir2_leafn_rebalance(state, oldblk, newblk); in xfs_dir2_leafn_split()
1394 error = xfs_da3_blk_link(state, oldblk, newblk); in xfs_dir2_leafn_split()
1404 error = xfs_dir2_leafn_add(newblk->bp, args, newblk->index); in xfs_dir2_leafn_split()
1409 newblk->hashval = xfs_dir2_leafn_lasthash(dp, newblk->bp, NULL); in xfs_dir2_leafn_split()
1411 xfs_dir3_leaf_check(dp, newblk->bp); in xfs_dir2_leafn_split()
Dxfs_attr_leaf.h72 struct xfs_da_state_blk *newblk);
Dxfs_attr_leaf.c1092 struct xfs_da_state_blk *newblk) in xfs_attr3_leaf_split() argument
1106 error = xfs_attr3_leaf_create(state->args, blkno, &newblk->bp); in xfs_attr3_leaf_split()
1109 newblk->blkno = blkno; in xfs_attr3_leaf_split()
1110 newblk->magic = XFS_ATTR_LEAF_MAGIC; in xfs_attr3_leaf_split()
1116 xfs_attr3_leaf_rebalance(state, oldblk, newblk); in xfs_attr3_leaf_split()
1117 error = xfs_da3_blk_link(state, oldblk, newblk); in xfs_attr3_leaf_split()
1133 error = xfs_attr3_leaf_add(newblk->bp, state->args); in xfs_attr3_leaf_split()
1140 newblk->hashval = xfs_attr_leaf_lasthash(newblk->bp, NULL); in xfs_attr3_leaf_split()
Dxfs_dir2_priv.h105 struct xfs_da_state_blk *oldblk, struct xfs_da_state_blk *newblk);