Home
last modified time | relevance | path

Searched refs:last_pos (Results 1 – 16 of 16) sorted by relevance

/linux/lib/zstd/compress/
H A Dzstd_opt.c1121 U32 cur, last_pos = 0; in ZSTD_compressBlock_opt_generic() local
1168 last_pos = maxML; in ZSTD_compressBlock_opt_generic()
1195 last_pos = pos-1; in ZSTD_compressBlock_opt_generic()
1201 for (cur = 1; cur <= last_pos; cur++) { in ZSTD_compressBlock_opt_generic()
1243 if (last_pos < cur+1) last_pos = cur+1; in ZSTD_compressBlock_opt_generic()
1267 if (cur == last_pos) break; in ZSTD_compressBlock_opt_generic()
1301 last_pos = cur + longestML; in ZSTD_compressBlock_opt_generic()
1319 if ((pos > last_pos) || (price < opt[pos].price)) { in ZSTD_compressBlock_opt_generic()
1322 while (last_pos < pos) { in ZSTD_compressBlock_opt_generic()
1324 last_pos++; in ZSTD_compressBlock_opt_generic()
[all …]
/linux/mm/
H A Dpage_io.c176 unsigned int pos, last_pos; in is_folio_zero_filled() local
180 last_pos = PAGE_SIZE / sizeof(*data) - 1; in is_folio_zero_filled()
188 if (data[last_pos]) { in is_folio_zero_filled()
192 for (pos = 0; pos < last_pos; pos++) { in is_folio_zero_filled()
H A Dfilemap.c2774 loff_t last_pos = ra->prev_pos; in filemap_read() local
2827 if (!pos_same_folio(iocb->ki_pos, last_pos - 1, in filemap_read()
2855 last_pos = iocb->ki_pos; in filemap_read()
2873 ra->prev_pos = last_pos; in filemap_read()
/linux/fs/udf/
H A Dinode.c286 loff_t last_pos; in udf_write_end() local
291 last_pos = pos + copied; in udf_write_end()
292 if (last_pos > inode->i_size) in udf_write_end()
293 i_size_write(inode, last_pos); in udf_write_end()
511 struct extent_position *last_pos, in udf_do_extend_file() argument
551 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
561 udf_write_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
570 err = udf_next_aext(inode, last_pos, &tmploc, &tmplen, in udf_do_extend_file()
591 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
601 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
[all …]
/linux/drivers/gpu/host1x/
H A Dcdma.h67 unsigned int last_pos; /* last value written to DMAPUT */ member
/linux/fs/ceph/
H A Dfile.c1789 u64 last_pos = (write_pos + write_len) - CEPH_FSCRYPT_BLOCK_SIZE; in ceph_sync_write() local
1797 if (first && last_pos == first_pos) in ceph_sync_write()
1805 ci->i_vino, first ? first_pos : last_pos, in ceph_sync_write()
1848 last_pos, CEPH_FSCRYPT_BLOCK_SIZE, in ceph_sync_write()
1863 offset_in_page(last_pos), in ceph_sync_write()
1895 offset_in_page(last_pos), in ceph_sync_write()
1911 offset_in_page(last_pos), in ceph_sync_write()
1926 offset_in_page(last_pos), in ceph_sync_write()
1957 offset_in_page(last_pos), in ceph_sync_write()
1958 last_pos >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_sync_write()
/linux/sound/pci/ymfpci/
H A Dymfpci.h266 u32 last_pos; member
/linux/fs/proc/
H A Dinternal.h395 loff_t last_pos; member
H A Dtask_mmu.c183 loff_t last_pos) in get_next_vma() argument
192 vma = lock_next_vma(lock_ctx->mm, &priv->iter, last_pos); in get_next_vma()
230 loff_t last_pos) in get_next_vma() argument
259 priv->last_pos = *ppos; in proc_get_vma()
310 *ppos = last_addr = priv->last_pos; in m_start()
/linux/fs/orangefs/
H A Dinode.c350 loff_t last_pos = pos + copied; in orangefs_write_end() local
356 if (last_pos > inode->i_size) in orangefs_write_end()
357 i_size_write(inode, last_pos); in orangefs_write_end()
/linux/fs/btrfs/
H A Dfile.c906 u64 last_pos; in lock_and_cleanup_extent_if_need() local
910 last_pos = round_up(pos + write_bytes, fs_info->sectorsize) - 1; in lock_and_cleanup_extent_if_need()
917 last_pos, cached_state)) { in lock_and_cleanup_extent_if_need()
923 btrfs_lock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
928 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need()
931 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need()
932 btrfs_unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
944 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
/linux/fs/
H A Dlibfs.c994 loff_t last_pos = pos + copied; in simple_write_end() local
1009 if (last_pos > inode->i_size) in simple_write_end()
1010 i_size_write(inode, last_pos); in simple_write_end()
/linux/sound/drivers/
H A Daloop.c631 unsigned long last_pos; in bytepos_delta() local
634 last_pos = byte_pos(dpcm, dpcm->irq_pos); in bytepos_delta()
636 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in bytepos_delta()
/linux/block/
H A Dbfq-iosched.c231 #define BFQ_RQ_SEEKY(bfqd, last_pos, rq) \ argument
232 (get_sdist(last_pos, rq) > \
2374 static sector_t get_sdist(sector_t last_pos, struct request *rq) in get_sdist() argument
2376 if (last_pos) in get_sdist()
2377 return abs(blk_rq_pos(rq) - last_pos); in get_sdist()
/linux/drivers/block/zram/
H A Dzram_drv.c348 unsigned int pos, last_pos = PAGE_SIZE / sizeof(*page) - 1; in page_same_filled() local
353 if (val != page[last_pos]) in page_same_filled()
356 for (pos = 1; pos < last_pos; pos++) { in page_same_filled()
/linux/include/net/
H A Dtcp.h2306 loff_t last_pos; member