Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/lib/
Drheap.c373 rh_block_t *blk, *newblk; in rh_detach_region() local
427 newblk = get_slot(info); in rh_detach_region()
428 newblk->start = e; in rh_detach_region()
429 newblk->size = be - e; in rh_detach_region()
431 list_add(&newblk->list, &blk->list); in rh_detach_region()
446 rh_block_t *newblk; in rh_alloc_align() local
477 newblk = blk; in rh_alloc_align()
491 newblk = get_slot(info); in rh_alloc_align()
492 newblk->start = start; in rh_alloc_align()
493 newblk->size = size; in rh_alloc_align()
[all …]
/linux-2.6.39/fs/quota/
Dquota_tree.c296 uint newblk; in do_insert_tree() local
316 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in do_insert_tree()
317 if (!newblk) in do_insert_tree()
321 if (newblk) { in do_insert_tree()
330 newblk = find_free_dqentry(info, dquot, &ret); in do_insert_tree()
332 ret = do_insert_tree(info, dquot, &newblk, depth+1); in do_insert_tree()
336 cpu_to_le32(newblk); in do_insert_tree()
464 uint newblk; in remove_tree() local
475 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in remove_tree()
477 ret = free_dqentry(info, dquot, newblk); in remove_tree()
[all …]
/linux-2.6.39/fs/xfs/
Dxfs_da_btree.c141 xfs_da_state_blk_t *oldblk, *newblk, *addblk; in xfs_da_split() local
160 newblk = &state->altpath.blk[i]; in xfs_da_split()
170 error = xfs_attr_leaf_split(state, oldblk, newblk); in xfs_da_split()
175 addblk = newblk; in xfs_da_split()
188 error = xfs_attr_leaf_split(state, newblk, in xfs_da_split()
193 addblk = newblk; in xfs_da_split()
196 error = xfs_dir2_leafn_split(state, oldblk, newblk); in xfs_da_split()
199 addblk = newblk; in xfs_da_split()
202 error = xfs_da_node_split(state, oldblk, newblk, addblk, in xfs_da_split()
212 addblk = newblk; in xfs_da_split()
[all …]
Dxfs_dir2_node.c1125 xfs_da_state_blk_t *newblk) /* newly created block */ in xfs_dir2_leafn_split() argument
1147 &newblk->bp, XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_leafn_split()
1151 newblk->blkno = blkno; in xfs_dir2_leafn_split()
1152 newblk->magic = XFS_DIR2_LEAFN_MAGIC; in xfs_dir2_leafn_split()
1157 xfs_dir2_leafn_rebalance(state, oldblk, newblk); in xfs_dir2_leafn_split()
1158 error = xfs_da_blk_link(state, oldblk, newblk); in xfs_dir2_leafn_split()
1168 error = xfs_dir2_leafn_add(newblk->bp, args, newblk->index); in xfs_dir2_leafn_split()
1173 newblk->hashval = xfs_dir2_leafn_lasthash(newblk->bp, NULL); in xfs_dir2_leafn_split()
1175 xfs_dir2_leafn_check(args->dp, newblk->bp); in xfs_dir2_leafn_split()
Dxfs_dir2_node.h88 struct xfs_da_state_blk *newblk);
Dxfs_attr_leaf.h237 struct xfs_da_state_blk *newblk);
Dxfs_attr_leaf.c941 xfs_da_state_blk_t *newblk) in xfs_attr_leaf_split() argument
953 error = xfs_attr_leaf_create(state->args, blkno, &newblk->bp); in xfs_attr_leaf_split()
956 newblk->blkno = blkno; in xfs_attr_leaf_split()
957 newblk->magic = XFS_ATTR_LEAF_MAGIC; in xfs_attr_leaf_split()
963 xfs_attr_leaf_rebalance(state, oldblk, newblk); in xfs_attr_leaf_split()
964 error = xfs_da_blk_link(state, oldblk, newblk); in xfs_attr_leaf_split()
978 error = xfs_attr_leaf_add(newblk->bp, state->args); in xfs_attr_leaf_split()
984 newblk->hashval = xfs_attr_leaf_lasthash(newblk->bp, NULL); in xfs_attr_leaf_split()
/linux-2.6.39/drivers/staging/keucr/
Dms.c523 WORD PhyBlock, newblk, i; in MS_LibScanLogicalBlockNumber() local
574 if ((newblk = MS_LibConv2Physical(us, extdat.logadr)) != MS_LB_NOT_USED) in MS_LibScanLogicalBlockNumber()
581 MS_LibSetLogicalPair(us, extdat.logadr, newblk); in MS_LibScanLogicalBlockNumber()
586 MS_LibReadExtra(us, newblk, 0, &extdat); in MS_LibScanLogicalBlockNumber()
593 MS_LibErasePhyBlock(us, newblk); in MS_LibScanLogicalBlockNumber()