Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/char/ftape/zftape/
Dzftape-read.c192 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
[all …]
Dzftape-write.c310 const __u8 *src_buf, const int req_len, in zft_simple_write() argument
323 *cnt = req_len < space_left ? req_len : space_left; in zft_simple_write()
335 static int check_write_access(int req_len, in check_write_access() argument
343 if ((req_len % zft_blk_sz) != 0) { in check_write_access()
346 req_len, blk_sz); in check_write_access()
391 const char *usr_buf, const int req_len) in fill_deblock_buf() argument
403 req_len, pos->seg_byte_pos); in fill_deblock_buf()
410 usr_buf, req_len, in fill_deblock_buf()
415 usr_buf, req_len, in fill_deblock_buf()
432 int _zft_write(const char* buff, int req_len) in _zft_write() argument
[all …]
Dzftape-init.c93 size_t req_len, loff_t *ppos);
95 size_t req_len, loff_t *ppos);
220 size_t req_len, loff_t *ppos) in zft_read() argument
227 TRACE(ft_t_data_flow, "called with count: %ld", (unsigned long)req_len); in zft_read()
234 result = _zft_read(buff, req_len); in zft_read()
243 size_t req_len, loff_t *ppos) in zft_write() argument
250 TRACE(ft_t_flow, "called with count: %ld", (unsigned long)req_len); in zft_write()
257 result = _zft_write(buff, req_len); in zft_write()
Dzftape-init.h55 const __u8 *src_buf, const int req_len,
58 __u8 *dst_buf, const int req_len,
Dzftape-write.h37 extern int _zft_write(const char *buff, int req_len);
Dzftape-read.h51 extern int _zft_read(char* buff, int req_len);
/linux-2.4.37.9/drivers/char/ftape/compressor/
Dzftape-compress.c82 const __u8 *src_buf, const int req_len,
563 const __u8 *src_buf, const int req_len, in zftc_write() argument
566 int req_len_left = req_len; in zftc_write()
/linux-2.4.37.9/drivers/net/
Dstrip.c1248 static int get_status_info(char *buffer, char **start, off_t req_offset, int req_len) in get_status_info() argument
1255 if (shift_buffer(buffer, req_offset, req_len, &total, &slop, &buf)) goto exit; in get_status_info()
1260 if (shift_buffer(buffer, req_offset, req_len, &total, &slop, &buf)) break; in get_status_info()
1264 return(calc_start_len(buffer, start, req_offset, req_len, total, buf)); in get_status_info()