Lines Matching refs:req_len
192 static int check_read_access(int *req_len, in check_read_access() argument
233 if ((*req_len % (*volume)->blk_sz) != 0) { in check_read_access()
239 *req_len, (*volume)->blk_sz); in check_read_access()
246 remaining -= *req_len; in check_read_access()
250 *req_len, (int)(*req_len + remaining)); in check_read_access()
251 *req_len += remaining; in check_read_access()
264 static int empty_deblock_buf(__u8 *usr_buf, const int req_len, in empty_deblock_buf() argument
277 usr_buf, req_len, in empty_deblock_buf()
282 usr_buf, req_len, in empty_deblock_buf()
305 int _zft_read(char* buff, int req_len) in _zft_read() argument
314 zft_resid = req_len; in _zft_read()
315 result = check_read_access(&req_len, &volume, in _zft_read()
329 while (req_len > 0) { in _zft_read()
353 req_len, in _zft_read()
362 req_len -= result; /* what's left from req_len */ in _zft_read()