Searched refs:max_blks (Results 1 – 2 of 2) sorted by relevance
174 const unsigned int max_blks = req->tbuflen / bsize; in xts_crypt() local181 BUG_ON(max_blks < 1); in xts_crypt()190 nblocks = min(nbytes / bsize, max_blks); in xts_crypt()222 nblocks = min(nbytes / bsize, max_blks); in xts_crypt()232 nblocks = min(nbytes / bsize, max_blks); in xts_crypt()
222 const unsigned int max_blks = req->tbuflen / bsize; in lrw_crypt() local230 BUG_ON(max_blks < 1); in lrw_crypt()239 nblocks = min(walk.nbytes / bsize, max_blks); in lrw_crypt()279 nblocks = min(nbytes / bsize, max_blks); in lrw_crypt()287 nblocks = min(nbytes / bsize, max_blks); in lrw_crypt()