Home
last modified time | relevance | path

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

/fs/squashfs/
Dcache.c297 int remaining = length; in squashfs_copy_data() local
310 if (bytes >= remaining) { in squashfs_copy_data()
311 memcpy(buffer, buff, remaining); in squashfs_copy_data()
313 remaining = 0; in squashfs_copy_data()
320 remaining -= bytes; in squashfs_copy_data()
324 return length - remaining; in squashfs_copy_data()
/fs/nfsd/
Dnfsctl.c543 int len, num, remaining; in __write_versions() local
601 remaining = SIMPLE_TRANSACTION_LIMIT; in __write_versions()
604 len = snprintf(buf, remaining, "%s%c%d", sep, in __write_versions()
609 if (len >= remaining) in __write_versions()
611 remaining -= len; in __write_versions()
618 len = snprintf(buf, remaining, " %c4.%u", in __write_versions()
624 if (len >= remaining) in __write_versions()
626 remaining -= len; in __write_versions()
631 len = snprintf(buf, remaining, "\n"); in __write_versions()
632 if (len >= remaining) in __write_versions()
/fs/cifs/
Dsmb1ops.c247 int remaining; in check2ndT2() local
273 remaining = total_data_size - data_in_this_rsp; in check2ndT2()
276 remaining); in check2ndT2()
282 return remaining; in check2ndT2()
292 int remaining; in coalesce_t2() local
305 remaining = tgt_total_cnt - total_in_tgt; in coalesce_t2()
307 if (remaining < 0) { in coalesce_t2()
313 if (remaining == 0) { in coalesce_t2()
320 if (remaining < total_in_src) in coalesce_t2()
365 if (remaining != total_in_src) { in coalesce_t2()
Dsmb2pdu.c1285 unsigned int remaining; in parse_lease_state() local
1289 remaining = le32_to_cpu(rsp->CreateContextsLength); in parse_lease_state()
1291 while (remaining >= sizeof(struct create_context)) { in parse_lease_state()
1300 remaining -= next; in parse_lease_state()
Dfile.c2888 size_t remaining = rdata->got_bytes; in cifs_readdata_to_iov() local
2893 size_t copy = min_t(size_t, remaining, PAGE_SIZE); in cifs_readdata_to_iov()
2903 remaining -= written; in cifs_readdata_to_iov()
2907 return remaining ? -EFAULT : 0; in cifs_readdata_to_iov()
Dcifssmb.c1404 int remaining = rfclen + 4 - server->total_read; in discard_remaining_data() local
1406 while (remaining > 0) { in discard_remaining_data()
1410 min_t(unsigned int, remaining, in discard_remaining_data()
1415 remaining -= length; in discard_remaining_data()
/fs/
Dtimerfd.c161 ktime_t remaining; in timerfd_get_remaining() local
164 remaining = alarm_expires_remaining(&ctx->t.alarm); in timerfd_get_remaining()
166 remaining = hrtimer_expires_remaining_adjusted(&ctx->t.tmr); in timerfd_get_remaining()
168 return remaining.tv64 < 0 ? ktime_set(0, 0): remaining; in timerfd_get_remaining()
Ddirect-io.c305 unsigned long remaining; in dio_bio_end_aio() local
312 remaining = --dio->refcount; in dio_bio_end_aio()
313 if (remaining == 1 && dio->waiter) in dio_bio_end_aio()
317 if (remaining == 0) { in dio_bio_end_aio()
Dseq_file.c801 int i, linelen, remaining = len; in seq_hex_dump() local
810 linelen = min(remaining, rowsize); in seq_hex_dump()
811 remaining -= rowsize; in seq_hex_dump()
Dbinfmt_elf.c1565 unsigned count, size, names_ofs, remaining, n; in fill_files_note() local
1585 remaining = size - names_ofs; in fill_files_note()
1594 filename = file_path(file, name_curpos, remaining); in fill_files_note()
1606 n = (name_curpos + remaining) - filename; in fill_files_note()
1607 remaining = filename - name_curpos; in fill_files_note()
/fs/nfs/
Dpnfs.c632 int remaining = 0; in pnfs_mark_matching_lsegs_invalid() local
645 remaining++; in pnfs_mark_matching_lsegs_invalid()
647 dprintk("%s:Return %i\n", __func__, remaining); in pnfs_mark_matching_lsegs_invalid()
648 return remaining; in pnfs_mark_matching_lsegs_invalid()
1914 int remaining = 0; in pnfs_mark_matching_lsegs_return() local
1932 remaining++; in pnfs_mark_matching_lsegs_return()
1936 if (remaining) in pnfs_mark_matching_lsegs_return()
1939 return remaining; in pnfs_mark_matching_lsegs_return()
/fs/xfs/
Dxfs_bmap_util.c822 xfs_fileoff_t remaining = length; in xfs_bmap_punch_delalloc_range() local
877 remaining--; in xfs_bmap_punch_delalloc_range()
878 } while(remaining > 0); in xfs_bmap_punch_delalloc_range()
/fs/cramfs/
DREADME111 The remaining options try to make cramfs more sharable.