Home
last modified time | relevance | path

Searched refs:new_block (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.15/fs/omfs/
Dfile.c123 u64 new_block = 0; in omfs_grow_extent() local
145 new_block = be64_to_cpu(entry->e_cluster) + in omfs_grow_extent()
148 if (omfs_allocate_block(inode->i_sb, new_block)) { in omfs_grow_extent()
163 &new_block, &new_count); in omfs_grow_extent()
172 entry->e_cluster = cpu_to_be64(new_block); in omfs_grow_extent()
182 *ret_block = new_block; in omfs_grow_extent()
223 u64 new_block; in omfs_get_block() local
273 ret = omfs_grow_extent(inode, oe, &new_block); in omfs_get_block()
278 clus_to_blk(sbi, new_block)); in omfs_get_block()
Dinode.c36 u64 new_block; in omfs_new_inode() local
46 &new_block, &len); in omfs_new_inode()
50 inode->i_ino = new_block; in omfs_new_inode()
/Linux-v5.15/drivers/md/persistent-data/
Ddm-transaction-manager.c239 dm_block_t new_block; in dm_tm_new_block() local
244 r = dm_sm_new_block(tm->sm, &new_block); in dm_tm_new_block()
248 r = dm_bm_write_lock_zero(tm->bm, new_block, v, result); in dm_tm_new_block()
250 dm_sm_dec_block(tm->sm, new_block); in dm_tm_new_block()
258 insert_shadow(tm, new_block); in dm_tm_new_block()
Ddm-space-map.h55 int (*new_block)(struct dm_space_map *sm, dm_block_t *b); member
142 return sm->new_block(sm, b); in dm_sm_new_block()
Ddm-btree-internal.h54 int new_block(struct dm_btree_info *info, struct dm_block **result);
Ddm-btree.c132 r = new_block(info, &b); in dm_btree_empty()
653 r = new_block(s->info, &right); in split_one_into_two()
752 r = new_block(s->info, &middle); in split_two_into_three()
843 r = new_block(s->info, &left); in btree_split_beneath()
858 r = new_block(s->info, &right); in btree_split_beneath()
Ddm-btree-spine.c113 int new_block(struct dm_btree_info *info, struct dm_block **result) in new_block() function
Ddm-space-map-disk.c209 .new_block = sm_disk_new_block,
Ddm-space-map-metadata.c569 .new_block = sm_metadata_new_block,
706 .new_block = sm_bootstrap_new_block,
/Linux-v5.15/fs/udf/
Dpartition.c152 int udf_relocate_blocks(struct super_block *sb, long old_block, long *new_block) in udf_relocate_blocks() argument
209 *new_block = le32_to_cpu( in udf_relocate_blocks()
217 *new_block = le32_to_cpu( in udf_relocate_blocks()
255 *new_block = in udf_relocate_blocks()
Dfile.c184 long old_block, new_block; in udf_ioctl() local
210 old_block, &new_block); in udf_ioctl()
212 result = put_user(new_block, (long __user *)arg); in udf_ioctl()
Dinode.c2068 udf_pblk_t new_block; in udf_add_aext() local
2070 new_block = udf_new_block(sb, NULL, in udf_add_aext()
2073 if (!new_block) in udf_add_aext()
2076 err = udf_setup_indirect_aext(inode, new_block, epos); in udf_add_aext()
/Linux-v5.15/fs/xfs/libxfs/
Dxfs_btree_staging.c376 struct xfs_btree_block *new_block; in xfs_btree_bload_prep_block() local
411 ret = xfs_btree_get_buf_block(cur, &new_ptr, &new_block, &new_bp); in xfs_btree_bload_prep_block()
425 xfs_btree_set_sibling(cur, new_block, ptrp, XFS_BB_LEFTSIB); in xfs_btree_bload_prep_block()
429 *blockp = new_block; in xfs_btree_bload_prep_block()
/Linux-v5.15/include/linux/
Ddm-bufio.h130 void dm_bufio_release_move(struct dm_buffer *b, sector_t new_block);
/Linux-v5.15/drivers/md/
Ddm-bufio.c1399 void dm_bufio_release_move(struct dm_buffer *b, sector_t new_block) in dm_bufio_release_move() argument
1409 new = __find(c, new_block); in dm_bufio_release_move()
1436 __link_buffer(b, new_block, LIST_DIRTY); in dm_bufio_release_move()
1450 __link_buffer(b, new_block, b->list_mode); in dm_bufio_release_move()
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c1267 struct dpaa2_switch_filter_block *new_block; in dpaa2_switch_port_block_unbind() local
1290 new_block = dpaa2_switch_filter_block_get_unused(ethsw); in dpaa2_switch_port_block_unbind()
1291 new_block->in_use = true; in dpaa2_switch_port_block_unbind()
1292 return dpaa2_switch_port_acl_tbl_bind(port_priv, new_block); in dpaa2_switch_port_block_unbind()
/Linux-v5.15/fs/ocfs2/
Drefcounttree.c2910 u64 new_block = ocfs2_clusters_to_blocks(sb, new_cluster); in ocfs2_duplicate_clusters_by_page() local
2984 page, 0, &new_block); in ocfs2_duplicate_clusters_by_page()
3008 u64 new_block = ocfs2_clusters_to_blocks(sb, new_cluster); in ocfs2_duplicate_clusters_by_jbd() local
3016 for (i = 0; i < blocks; i++, old_block++, new_block++) { in ocfs2_duplicate_clusters_by_jbd()
3017 new_bh = sb_getblk(osb->sb, new_block); in ocfs2_duplicate_clusters_by_jbd()
/Linux-v5.15/drivers/staging/rts5208/
Dsd.c1618 bool new_block; local
1632 new_block = true;
1636 if (new_block) {
1637 new_block = false;
1645 new_block = true;