Home
last modified time | relevance | path

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

/fs/quota/
Dquota_tree.c339 uint newblk; in do_insert_tree() local
359 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in do_insert_tree()
360 if (!newblk) in do_insert_tree()
364 if (newblk) { in do_insert_tree()
373 newblk = find_free_dqentry(info, dquot, &ret); in do_insert_tree()
375 ret = do_insert_tree(info, dquot, &newblk, depth+1); in do_insert_tree()
379 cpu_to_le32(newblk); in do_insert_tree()
518 uint newblk; in remove_tree() local
529 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in remove_tree()
530 if (newblk < QT_TREEOFF || newblk >= info->dqi_blocks) { in remove_tree()
[all …]
/fs/xfs/libxfs/
Dxfs_da_btree.c475 struct xfs_da_state_blk *newblk; in xfs_da3_split() local
499 newblk = &state->altpath.blk[i]; in xfs_da3_split()
509 error = xfs_attr3_leaf_split(state, oldblk, newblk); in xfs_da3_split()
514 addblk = newblk; in xfs_da3_split()
531 error = xfs_attr3_leaf_split(state, newblk, in xfs_da3_split()
536 addblk = newblk; in xfs_da3_split()
539 error = xfs_dir2_leafn_split(state, oldblk, newblk); in xfs_da3_split()
542 addblk = newblk; in xfs_da3_split()
545 error = xfs_da3_node_split(state, oldblk, newblk, addblk, in xfs_da3_split()
554 addblk = newblk; in xfs_da3_split()
[all …]
Dxfs_dir2_node.c1421 xfs_da_state_blk_t *newblk) /* newly created block */ in xfs_dir2_leafn_split() argument
1442 &newblk->bp, XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_leafn_split()
1446 newblk->blkno = blkno; in xfs_dir2_leafn_split()
1447 newblk->magic = XFS_DIR2_LEAFN_MAGIC; in xfs_dir2_leafn_split()
1452 xfs_dir2_leafn_rebalance(state, oldblk, newblk); in xfs_dir2_leafn_split()
1453 error = xfs_da3_blk_link(state, oldblk, newblk); in xfs_dir2_leafn_split()
1463 error = xfs_dir2_leafn_add(newblk->bp, args, newblk->index); in xfs_dir2_leafn_split()
1468 newblk->hashval = xfs_dir2_leaf_lasthash(dp, newblk->bp, NULL); in xfs_dir2_leafn_split()
1470 xfs_dir3_leaf_check(dp, newblk->bp); in xfs_dir2_leafn_split()
Dxfs_attr_leaf.h78 struct xfs_da_state_blk *newblk);
Dxfs_attr_leaf.c1301 struct xfs_da_state_blk *newblk) in xfs_attr3_leaf_split() argument
1315 error = xfs_attr3_leaf_create(state->args, blkno, &newblk->bp); in xfs_attr3_leaf_split()
1318 newblk->blkno = blkno; in xfs_attr3_leaf_split()
1319 newblk->magic = XFS_ATTR_LEAF_MAGIC; in xfs_attr3_leaf_split()
1325 xfs_attr3_leaf_rebalance(state, oldblk, newblk); in xfs_attr3_leaf_split()
1326 error = xfs_da3_blk_link(state, oldblk, newblk); in xfs_attr3_leaf_split()
1342 error = xfs_attr3_leaf_add(newblk->bp, state->args); in xfs_attr3_leaf_split()
1349 newblk->hashval = xfs_attr_leaf_lasthash(newblk->bp, NULL); in xfs_attr3_leaf_split()
Dxfs_dir2_priv.h145 struct xfs_da_state_blk *oldblk, struct xfs_da_state_blk *newblk);