Searched refs:max_blks (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/crypto/
H A Dlrw.c222 const unsigned int max_blks = req->tbuflen / bsize; lrw_crypt() local
230 BUG_ON(max_blks < 1); lrw_crypt()
239 nblocks = min(walk.nbytes / bsize, max_blks); lrw_crypt()
279 nblocks = min(nbytes / bsize, max_blks); lrw_crypt()
287 nblocks = min(nbytes / bsize, max_blks); lrw_crypt()
H A Dxts.c174 const unsigned int max_blks = req->tbuflen / bsize; xts_crypt() local
181 BUG_ON(max_blks < 1); xts_crypt()
190 nblocks = min(nbytes / bsize, max_blks); xts_crypt()
222 nblocks = min(nbytes / bsize, max_blks); xts_crypt()
232 nblocks = min(nbytes / bsize, max_blks); xts_crypt()
/linux-4.1.27/arch/tile/gxio/
H A Diorpc_mpipe.c479 unsigned int max_blks; member in struct:config_edma_ring_blks_param
485 unsigned int ering, unsigned int max_blks, gxio_mpipe_config_edma_ring_blks()
492 params->max_blks = max_blks; gxio_mpipe_config_edma_ring_blks()
484 gxio_mpipe_config_edma_ring_blks(gxio_mpipe_context_t *context, unsigned int ering, unsigned int max_blks, unsigned int min_snf_blks, unsigned int db) gxio_mpipe_config_edma_ring_blks() argument
/linux-4.1.27/fs/gfs2/
H A Dfile.c807 loff_t bytes, max_bytes, max_blks = UINT_MAX; __gfs2_fallocate() local
858 * us to write. Check if this reduces max_blks */ __gfs2_fallocate()
859 if (ap.allowed && ap.allowed < max_blks) __gfs2_fallocate()
860 max_blks = ap.allowed; __gfs2_fallocate()
866 /* check if the selected rgrp limits our max_blks further */ __gfs2_fallocate()
867 if (ap.allowed && ap.allowed < max_blks) __gfs2_fallocate()
868 max_blks = ap.allowed; __gfs2_fallocate()
871 * max_blks. We also recompute max_bytes, data_blocks and __gfs2_fallocate()
874 &ind_blocks, max_blks); __gfs2_fallocate()
/linux-4.1.27/fs/ext3/
H A Dballoc.c2094 ext3_fsblk_t max_blks = le32_to_cpu(es->s_blocks_count); ext3_trim_fs() local
2102 start >= max_blks || ext3_trim_fs()
2105 if (end >= max_blks) ext3_trim_fs()
2106 end = max_blks - 1; ext3_trim_fs()
/linux-4.1.27/arch/tile/include/gxio/
H A Dmpipe.h840 /* Set the "max_blks", "min_snf_blks", and "db" fields of
852 * @param max_blks The number of blocks to dedicate to the ring
863 unsigned int max_blks,
/linux-4.1.27/drivers/net/ethernet/ti/
H A Dnetcp_ethss.c333 u32 max_blks; /* 2U */ member in struct:gbenu_port_regs
521 u32 max_blks; member in struct:gbe_port_regs
H A Dcpsw.c295 u32 max_blks; member in struct:cpsw_host_regs
/linux-4.1.27/fs/ext4/
H A Dmballoc.c5167 ext4_fsblk_t max_blks = ext4_blocks_count(EXT4_SB(sb)->s_es); ext4_trim_fs() local
5176 start >= max_blks || ext4_trim_fs()
5179 if (end >= max_blks) ext4_trim_fs()
5180 end = max_blks - 1; ext4_trim_fs()

Completed in 741 milliseconds