| /linux/lib/zstd/compress/ |
| H A D | zstd_opt.c | 1121 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 D | inode.c | 285 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 D | cdma.h | 67 unsigned int last_pos; /* last value written to DMAPUT */ member
|
| /linux/sound/pci/ymfpci/ |
| H A D | ymfpci_main.c | 286 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 in snd_ymfpci_capture_prepare() [all...] |
| H A D | ymfpci.h | 266 u32 last_pos; member
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_g2d.c | 635 unsigned long bpp, last_pos; in g2d_check_buf_desc_is_valid() 662 last_pos = ((unsigned long)buf_desc->bottom_y - 1) * in g2d_check_buf_desc_is_valid() 668 * that the first_pos < last_pos (first_pos being the position in g2d_check_buf_desc_is_valid() 670 * check if last_pos is smaller then the buffer size. in g2d_check_buf_desc_is_valid() 673 if (last_pos >= size) { in g2d_check_buf_desc_is_valid() 675 "is out of range [%lu]!\n", last_pos, size); in g2d_check_buf_desc_is_valid() 634 unsigned long bpp, last_pos; g2d_check_buf_desc_is_valid() local
|
| /linux/fs/ceph/ |
| H A D | file.c | 1843 u64 last_pos = (write_pos + write_len) - CEPH_FSCRYPT_BLOCK_SIZE; in ceph_sync_write() 1851 if (first && last_pos == first_pos) in ceph_sync_write() 1859 ci->i_vino, first ? first_pos : last_pos, in ceph_sync_write() 1902 last_pos, CEPH_FSCRYPT_BLOCK_SIZE, in ceph_sync_write() 1917 offset_in_page(last_pos), in ceph_sync_write() 1954 offset_in_page(last_pos), in ceph_sync_write() 1970 offset_in_page(last_pos), in ceph_sync_write() 1985 offset_in_page(last_pos), in ceph_sync_write() 2016 offset_in_page(last_pos), in ceph_sync_write() 2017 last_pos >> CEPH_FSCRYPT_BLOCK_SHIF in ceph_sync_write() 1839 u64 last_pos = (write_pos + write_len) - CEPH_FSCRYPT_BLOCK_SIZE; ceph_sync_write() local [all...] |
| /linux/fs/btrfs/ |
| H A D | file.c | 893 u64 last_pos; 897 last_pos = round_up(pos + write_bytes, fs_info->sectorsize) - 1; 904 last_pos, cached_state)) { in lock_and_cleanup_extent_if_need() 910 btrfs_lock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() local 915 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need() 918 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need() 919 btrfs_unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 931 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
|
| /linux/sound/drivers/ |
| H A D | aloop.c | 638 unsigned long last_pos; in bytepos_delta() 641 last_pos = byte_pos(dpcm, dpcm->irq_pos); in bytepos_delta() 643 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in bytepos_delta() 631 unsigned long last_pos; bytepos_delta() local
|
| /linux/mm/ |
| H A D | filemap.c | 2788 loff_t last_pos = ra->prev_pos; in filemap_read() 2841 if (!pos_same_folio(iocb->ki_pos, last_pos - 1, in filemap_read() 2869 last_pos = iocb->ki_pos; in filemap_read() 2887 ra->prev_pos = last_pos; in kiocb_write_and_wait() 2780 loff_t last_pos = ra->prev_pos; filemap_read() local
|
| /linux/block/ |
| H A D | bfq-iosched.c | 231 #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 D | tcp_ipv4.c | 2675 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 D | zram_drv.c | 345 unsigned int pos, last_pos = PAGE_SIZE / sizeof(*page) - 1; in page_same_filled() local 350 if (val != page[last_pos]) in page_same_filled() 353 for (pos = 1; pos < last_pos; pos++) { in page_same_filled()
|
| /linux/include/net/ |
| H A D | tcp.h | 2417 loff_t last_pos; 2442 loff_t last_pos; global() member
|
| /linux/fs/ext4/ |
| H A D | ext4.h | 2706 loff_t last_pos; 2620 loff_t last_pos; global() member
|