Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 9 of 9) sorted by relevance

/fs/
Dpipe.c108 size_t *remaining, int atomic) in pipe_iov_copy_from_user() argument
112 while (*remaining > 0) { in pipe_iov_copy_from_user()
115 copy = min_t(unsigned long, *remaining, iov->iov_len); in pipe_iov_copy_from_user()
127 *remaining -= copy; in pipe_iov_copy_from_user()
136 size_t *remaining, int atomic) in pipe_iov_copy_to_user() argument
140 while (*remaining > 0) { in pipe_iov_copy_to_user()
143 copy = min_t(unsigned long, *remaining, iov->iov_len); in pipe_iov_copy_to_user()
155 *remaining -= copy; in pipe_iov_copy_to_user()
391 size_t chars = buf->len, remaining; in pipe_read() local
406 remaining = chars; in pipe_read()
[all …]
Dtimerfd.c149 ktime_t remaining; in timerfd_get_remaining() local
152 remaining = alarm_expires_remaining(&ctx->t.alarm); in timerfd_get_remaining()
154 remaining = hrtimer_expires_remaining(&ctx->t.tmr); in timerfd_get_remaining()
156 return remaining.tv64 < 0 ? ktime_set(0, 0): remaining; in timerfd_get_remaining()
Ddirect-io.c323 unsigned long remaining; in dio_bio_end_aio() local
330 remaining = --dio->refcount; in dio_bio_end_aio()
331 if (remaining == 1 && dio->waiter) in dio_bio_end_aio()
335 if (remaining == 0) { in dio_bio_end_aio()
/fs/squashfs/
Dcache.c301 int remaining = length; in squashfs_copy_data() local
314 if (bytes >= remaining) { in squashfs_copy_data()
315 memcpy(buffer, buff, remaining); in squashfs_copy_data()
316 remaining = 0; in squashfs_copy_data()
322 remaining -= bytes; in squashfs_copy_data()
326 return length - remaining; in squashfs_copy_data()
/fs/nfsd/
Dnfsctl.c499 int len, num, remaining; in __write_versions() local
556 remaining = SIMPLE_TRANSACTION_LIMIT; in __write_versions()
559 len = snprintf(buf, remaining, "%s%c%d", sep, in __write_versions()
564 if (len > remaining) in __write_versions()
566 remaining -= len; in __write_versions()
573 len = snprintf(buf, remaining, " %c4.%u", in __write_versions()
579 if (len > remaining) in __write_versions()
581 remaining -= len; in __write_versions()
586 len = snprintf(buf, remaining, "\n"); in __write_versions()
587 if (len > remaining) in __write_versions()
/fs/cifs/
Dconnect.c394 int remaining; in check2ndT2() local
420 remaining = total_data_size - data_in_this_rsp; in check2ndT2()
423 remaining); in check2ndT2()
429 return remaining; in check2ndT2()
438 int remaining; in coalesce_t2() local
451 remaining = tgt_total_cnt - total_in_tgt; in coalesce_t2()
453 if (remaining < 0) { in coalesce_t2()
459 if (remaining == 0) { in coalesce_t2()
466 if (remaining < total_in_src) in coalesce_t2()
509 if (remaining != total_in_src) { in coalesce_t2()
Dcifssmb.c1444 int remaining = rfclen + 4 - server->total_read; in cifs_readv_discard() local
1447 while (remaining > 0) { in cifs_readv_discard()
1451 min_t(unsigned int, remaining, in cifs_readv_discard()
1456 remaining -= length; in cifs_readv_discard()
1488 unsigned int data_offset, remaining, data_len; in cifs_readv_receive() local
1578 remaining = data_len; in cifs_readv_receive()
1588 if (remaining >= PAGE_CACHE_SIZE) { in cifs_readv_receive()
1598 remaining -= PAGE_CACHE_SIZE; in cifs_readv_receive()
1599 } else if (remaining > 0) { in cifs_readv_receive()
1602 rdata->iov[rdata->nr_iov].iov_len = remaining; in cifs_readv_receive()
[all …]
/fs/cramfs/
DREADME111 The remaining options try to make cramfs more sharable.
/fs/xfs/
Dxfs_bmap.c6100 xfs_fileoff_t remaining = length; in xfs_bmap_punch_delalloc_range() local
6155 remaining--; in xfs_bmap_punch_delalloc_range()
6156 } while(remaining > 0); in xfs_bmap_punch_delalloc_range()