Searched refs:cur_len (Results 1 – 6 of 6) sorted by relevance
/fs/ext4/ |
D | move_extent.c | 624 int unwritten, cur_len; in ext4_move_extents() local 632 cur_len = ext4_ext_get_actual_len(ex); in ext4_move_extents() 634 if (cur_blk + cur_len - 1 < o_start) { in ext4_move_extents() 652 cur_len += cur_blk - o_start; in ext4_move_extents() 655 if (o_end - o_start < cur_len) in ext4_move_extents() 656 cur_len = o_end - o_start; in ext4_move_extents() 663 if (cur_len > blocks_per_page- offset_in_page) in ext4_move_extents() 664 cur_len = blocks_per_page - offset_in_page; in ext4_move_extents() 676 offset_in_page, cur_len, in ext4_move_extents() 681 o_start += cur_len; in ext4_move_extents() [all …]
|
/fs/cifs/ |
D | file.c | 2809 size_t get_numpages(const size_t wsize, const size_t len, size_t *cur_len) in get_numpages() argument 2817 if (cur_len) in get_numpages() 2818 *cur_len = clen; in get_numpages() 2862 size_t save_len, copied, bytes, cur_len = *len; in wdata_fill_from_iovec() local 2865 save_len = cur_len; in wdata_fill_from_iovec() 2867 bytes = min_t(const size_t, cur_len, PAGE_SIZE); in wdata_fill_from_iovec() 2869 cur_len -= copied; in wdata_fill_from_iovec() 2880 cur_len = save_len - cur_len; in wdata_fill_from_iovec() 2881 *len = cur_len; in wdata_fill_from_iovec() 2889 if (!cur_len) in wdata_fill_from_iovec() [all …]
|
D | cifssmb.c | 1893 unsigned int j, nr_pages, wsize, tailsz, cur_len; in cifs_writev_requeue() local 1902 cur_len = nr_pages * PAGE_SIZE; in cifs_writev_requeue() 1906 cur_len = rest_len; in cifs_writev_requeue() 1927 wdata2->bytes = cur_len; in cifs_writev_requeue() 1959 rest_len -= cur_len; in cifs_writev_requeue()
|
/fs/xfs/libxfs/ |
D | xfs_alloc.c | 738 xfs_extlen_t cur_len;/* current search length */ member 763 acur->cur_len = args->maxlen; in xfs_alloc_cur_setup() 956 xfs_extlen_t len, cur_len; in xfs_alloc_cntbt_iter() local 964 cur_len = acur->cur_len; in xfs_alloc_cntbt_iter() 965 error = xfs_alloc_lookup_ge(cur, args->agbno, cur_len, &i); in xfs_alloc_cntbt_iter() 978 ASSERT(len >= acur->cur_len); in xfs_alloc_cntbt_iter() 979 acur->cur_len = len; in xfs_alloc_cntbt_iter() 992 if (!error && i && len == acur->cur_len) in xfs_alloc_cntbt_iter() 1006 cur_len <<= 1; in xfs_alloc_cntbt_iter() 1007 if (!acur->len || acur->cur_len >= cur_len) in xfs_alloc_cntbt_iter() [all …]
|
/fs/reiserfs/ |
D | journal.c | 1786 unsigned long cur_len; in flush_used_journal_lists() local 1805 cur_len = atomic_read(&tjl->j_nonzerolen); in flush_used_journal_lists() 1806 if (cur_len > 0) { in flush_used_journal_lists() 1809 len += cur_len; in flush_used_journal_lists()
|
/fs/btrfs/ |
D | send.c | 4985 unsigned cur_len = min_t(unsigned, len, in put_file_data() local 5022 pg_offset, cur_len); in put_file_data() 5027 len -= cur_len; in put_file_data() 5028 sctx->send_size += cur_len; in put_file_data()
|