Home
last modified time | relevance | path

Searched refs:blknum (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/fs/qnx4/
Ddir.c60 unsigned long blknum; in qnx4_readdir() local
68 blknum = qnx4_block_map(inode, ctx->pos >> QNX4_BLOCK_SIZE_BITS); in qnx4_readdir()
69 bh = sb_bread(inode->i_sb, blknum); in qnx4_readdir()
71 printk(KERN_ERR "qnx4_readdir: bread failed (%ld)\n", blknum); in qnx4_readdir()
87 ino = blknum * QNX4_INODES_PER_BLOCK + ix - 1; in qnx4_readdir()
/linux-6.6.21/drivers/mtd/
Dmtdpstore.c31 u64 blknum; in mtdpstore_block_isbad() local
34 blknum = div_u64(off, mtd->erasesize); in mtdpstore_block_isbad()
36 if (test_bit(blknum, cxt->badmap)) in mtdpstore_block_isbad()
43 set_bit(blknum, cxt->badmap); in mtdpstore_block_isbad()
53 u64 blknum; in mtdpstore_panic_block_isbad() local
56 blknum = div_u64(off, mtd->erasesize); in mtdpstore_panic_block_isbad()
57 return test_bit(blknum, cxt->badmap); in mtdpstore_panic_block_isbad()
100 u64 blknum = div_u64(off, cxt->mtd->erasesize); in mtdpstore_is_used() local
102 if (test_bit(blknum, cxt->badmap)) in mtdpstore_is_used()
/linux-6.6.21/fs/reiserfs/
Dibalance.c650 RFALSE(tb->blknum[h] > 1, in balance_internal_when_delete()
651 "tb->blknum[%d]=%d when insert_size < 0", h, tb->blknum[h]); in balance_internal_when_delete()
656 if (tb->blknum[h] == 0) { in balance_internal_when_delete()
990 RFALSE(tb->blknum[h] > 2, "blknum can not be > 2 for internal level"); in balance_internal()
991 RFALSE(tb->blknum[h] < 0, "blknum can not be < 0"); in balance_internal()
993 if (!tb->blknum[h]) { /* node S[h] is empty now */ in balance_internal()
1007 if (tb->blknum[h] != 1) in balance_internal()
1041 if (tb->blknum[h] == 2) { in balance_internal()
Ddo_balan.c247 RFALSE(tb->blknum[0] > 1, in balance_leaf_when_delete()
248 "PAP-12005: tb->blknum == %d, can not be > 1", tb->blknum[0]); in balance_leaf_when_delete()
249 RFALSE(!tb->blknum[0] && !PATH_H_PPARENT(tb->tb_path, 0), in balance_leaf_when_delete()
1228 for (i = tb->blknum[0] - 2; i >= 0; i--) { in balance_leaf_new_nodes()
1418 RFALSE(tb->blknum[0] > 3, in balance_leaf()
1419 "PAP-12180: blknum can not be %d. It must be <= 3", tb->blknum[0]); in balance_leaf()
1420 RFALSE(tb->blknum[0] < 0, in balance_leaf()
1421 "PAP-12185: blknum can not be %d. It must be >= 0", tb->blknum[0]); in balance_leaf()
1428 if (tb->blknum[0] == 0) { /* node S[0] is empty now */ in balance_leaf()
Dfix_node.c627 tb->blknum[h] = blk_num; in set_parameters()
860 (tb->blknum[counter]) ? (tb->blknum[counter] - in get_empty_nodes()
865 amount_needed = (Sh) ? (tb->blknum[h] - 1) : 1; in get_empty_nodes()
2673 RFALSE(tb->blknum[h] != 1, in fix_nodes()
2685 if (tb->blknum[h] > 1) { in fix_nodes()
2692 KEY_SIZE) * (tb->blknum[h] - 1) + in fix_nodes()
2698 (DC_SIZE + KEY_SIZE) * (tb->blknum[h] - 1); in fix_nodes()
Dprints.c694 tb->rbytes, tb->blknum[0], tb->s0num, tb->snum[0], in store_print_tb()
705 tb->blknum[h]); in store_print_tb()
Dreiserfs.h2469 int blknum[MAX_HEIGHT]; member
/linux-6.6.21/Documentation/admin-guide/device-mapper/
Ddm-dust.rst230 Operations on blocks (requires a <blknum> argument)::
232 addbadblock <blknum>
233 queryblock <blknum>
234 removebadblock <blknum>
236 ...where <blknum> is a block number within range of the device
/linux-6.6.21/fs/nilfs2/
Dmdt.c118 __u64 blknum = 0; in nilfs_mdt_submit_block() local
142 ret = nilfs_bmap_lookup(NILFS_I(inode)->i_bmap, blkoff, &blknum); in nilfs_mdt_submit_block()
147 map_bh(bh, inode->i_sb, (sector_t)blknum); in nilfs_mdt_submit_block()
Dalloc.c438 __u64 blknum; in nilfs_palloc_count_desc_blocks() local
441 ret = nilfs_bmap_last_key(NILFS_I(inode)->i_bmap, &blknum); in nilfs_palloc_count_desc_blocks()
444 (unsigned long)blknum, in nilfs_palloc_count_desc_blocks()
Dinode.c80 __u64 blknum = 0; in nilfs_get_block() local
85 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
88 map_bh(bh_result, inode->i_sb, blknum); in nilfs_get_block()
/linux-6.6.21/drivers/mmc/host/
Dmtk-sd.c346 u32 blknum; member