Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_attr_remote.c392 int blkcnt = args->rmtblkcnt; in xfs_attr_rmtval_get() local
405 blkcnt, map, &nmap, in xfs_attr_rmtval_get()
433 blkcnt -= map[i].br_blockcount; in xfs_attr_rmtval_get()
451 int blkcnt; in xfs_attr_rmt_find_hole() local
459 blkcnt = xfs_attr3_rmt_blocks(mp, args->rmtvaluelen); in xfs_attr_rmt_find_hole()
460 error = xfs_bmap_first_unused(args->trans, args->dp, blkcnt, &lfileoff, in xfs_attr_rmt_find_hole()
466 args->rmtblkcnt = blkcnt; in xfs_attr_rmt_find_hole()
480 int blkcnt; in xfs_attr_rmtval_set_value() local
493 blkcnt = args->rmtblkcnt; in xfs_attr_rmtval_set_value()
500 ASSERT(blkcnt > 0); in xfs_attr_rmtval_set_value()
[all …]
/linux-6.1.9/fs/xfs/
Dxfs_attr_inactive.c37 int blkcnt) in xfs_attr3_rmt_stale() argument
47 while (blkcnt > 0) { in xfs_attr3_rmt_stale()
52 error = xfs_bmapi_read(dp, (xfs_fileoff_t)blkno, blkcnt, in xfs_attr3_rmt_stale()
69 blkcnt -= map.br_blockcount; in xfs_attr3_rmt_stale()
103 int blkcnt; in xfs_attr3_leaf_inactive() local
112 blkcnt = xfs_attr3_rmt_blocks(dp->i_mount, in xfs_attr3_leaf_inactive()
115 be32_to_cpu(name_rmt->valueblk), blkcnt); in xfs_attr3_leaf_inactive()
Dxfs_qm.c902 xfs_filblks_t blkcnt, in xfs_qm_reset_dqcounts_all() argument
909 ASSERT(blkcnt > 0); in xfs_qm_reset_dqcounts_all()
920 while (blkcnt--) { in xfs_qm_reset_dqcounts_all()
/linux-6.1.9/drivers/mtd/
Dmtdpstore.c243 u32 blkcnt = (u32)div_u64(cxt->mtd->size, cxt->mtd->erasesize); in mtdpstore_security() local
255 while (blkcnt--) { in mtdpstore_security()
502 u32 blkcnt = (u32)div_u64(mtd->size, mtd->erasesize); in mtdpstore_flush_removed() local
504 for (off = 0; blkcnt > 0; blkcnt--, off += mtd->erasesize) { in mtdpstore_flush_removed()
/linux-6.1.9/fs/affs/
Dfile.c865 u32 last_blk, blkcnt, blk; in affs_truncate() local
920 blkcnt = AFFS_I(inode)->i_blkcnt; in affs_truncate()
930 if (size > blkcnt - blk + i) in affs_truncate()
931 size = blkcnt - blk + i; in affs_truncate()
968 if (size > blkcnt - blk) in affs_truncate()
969 size = blkcnt - blk; in affs_truncate()
/linux-6.1.9/fs/f2fs/
Dsegment.c3313 block_t blkaddr, unsigned int blkcnt) in f2fs_update_device_state() argument
3332 if (blkcnt <= blks) in f2fs_update_device_state()
3334 blkcnt -= blks; in f2fs_update_device_state()
Ddata.c3796 unsigned int blkcnt) in f2fs_migrate_blocks() argument
3802 unsigned int end_sec = secidx + blkcnt / blk_per_sec; in f2fs_migrate_blocks()
Df2fs.h3688 block_t blkaddr, unsigned int blkcnt);