Home
last modified time | relevance | path

Searched refs:last_pos (Results 1 – 14 of 14) 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/fs/udf/
H A Dinode.c285 loff_t last_pos; in udf_write_end() local
290 last_pos = pos + copied; in udf_write_end()
291 if (last_pos > inode->i_size) in udf_write_end()
292 i_size_write(inode, last_pos); in udf_write_end()
510 struct extent_position *last_pos, in udf_do_extend_file() argument
550 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
560 udf_write_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
569 err = udf_next_aext(inode, last_pos, &tmploc, &tmplen, in udf_do_extend_file()
590 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
600 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/sound/pci/ymfpci/
H A Dymfpci_main.c286 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_interrupt()
287 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_interrupt()
289 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_interrupt()
291 ypcm->last_pos = pos; in snd_ymfpci_pcm_interrupt()
337 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_capture_interrupt()
338 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_capture_interrupt()
340 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_capture_interrupt()
342 ypcm->last_pos = pos; in snd_ymfpci_pcm_capture_interrupt()
645 ypcm->last_pos = 0; in snd_ymfpci_playback_prepare()
679 ypcm->last_pos = 0; in snd_ymfpci_capture_prepare()
H A Dymfpci.h266 u32 last_pos; member
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_g2d.c634 unsigned long bpp, last_pos; in g2d_check_buf_desc_is_valid() local
661 last_pos = ((unsigned long)buf_desc->bottom_y - 1) * in g2d_check_buf_desc_is_valid()
672 if (last_pos >= size) { in g2d_check_buf_desc_is_valid()
674 "is out of range [%lu]!\n", last_pos, size); in g2d_check_buf_desc_is_valid()
/linux/fs/ceph/
H A Dfile.c1839 u64 last_pos = (write_pos + write_len) - CEPH_FSCRYPT_BLOCK_SIZE; in ceph_sync_write() local
1847 if (first && last_pos == first_pos) in ceph_sync_write()
1855 ci->i_vino, first ? first_pos : last_pos, in ceph_sync_write()
1898 last_pos, CEPH_FSCRYPT_BLOCK_SIZE, in ceph_sync_write()
1913 offset_in_page(last_pos), in ceph_sync_write()
1950 offset_in_page(last_pos), in ceph_sync_write()
1966 offset_in_page(last_pos), in ceph_sync_write()
1981 offset_in_page(last_pos), in ceph_sync_write()
2012 offset_in_page(last_pos), in ceph_sync_write()
2013 last_pos >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_sync_write()
/linux/sound/drivers/
H A Daloop.c640 unsigned long last_pos; in bytepos_delta()
643 last_pos = byte_pos(dpcm, dpcm->irq_pos); in bytepos_delta()
645 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in bytepos_delta()
631 unsigned long last_pos; bytepos_delta() local
/linux/mm/
H A Dfilemap.c2780 loff_t last_pos = ra->prev_pos; in filemap_read() local
2833 if (!pos_same_folio(iocb->ki_pos, last_pos - 1, in filemap_read()
2861 last_pos = iocb->ki_pos; in filemap_read()
2879 ra->prev_pos = last_pos; in filemap_read()
/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/net/ipv4/
H A Dtcp_ipv4.c2675 if (*pos && *pos == st->last_pos) {
2688 st->last_pos = *pos;
2718 st->last_pos = *pos;
3208 /* Keeping st->last_pos consistent in tcp_iter_state.
3209 * bpf iter does not do lseek, so st->last_pos always equals to *pos.
3211 st->last_pos = *pos;
/linux/drivers/block/zram/
H A Dzram_drv.c344 unsigned int pos, last_pos = PAGE_SIZE / sizeof(*page) - 1; in page_same_filled() local
349 if (val != page[last_pos]) in page_same_filled()
352 for (pos = 1; pos < last_pos; pos++) { in page_same_filled()
/linux/include/net/
H A Dtcp.h2441 loff_t last_pos; member
/linux/fs/ext4/
H A Dext4.h2620 loff_t last_pos; member