/Linux-v6.6/drivers/gpu/host1x/hw/ |
D | cdma_hw.c | 51 cdma->last_pos = cdma->push_buffer.pos; in cdma_start() 98 cdma->last_pos = cdma->push_buffer.pos; in cdma_timeout_restart() 127 cdma->last_pos); in cdma_timeout_restart() 147 if (cdma->push_buffer.pos != cdma->last_pos) { in cdma_flush() 150 cdma->last_pos = cdma->push_buffer.pos; in cdma_flush() 215 cdma->last_pos); in cdma_freeze()
|
/Linux-v6.6/fs/9p/ |
D | vfs_addr.c | 301 loff_t last_pos = pos + copied; in v9fs_write_end() local 320 if (last_pos > inode->i_size) { in v9fs_write_end() 321 inode_add_bytes(inode, last_pos - inode->i_size); in v9fs_write_end() 322 i_size_write(inode, last_pos); in v9fs_write_end() 325 &last_pos); in v9fs_write_end()
|
/Linux-v6.6/lib/zstd/compress/ |
D | zstd_opt.c | 1078 U32 cur, last_pos = 0; in ZSTD_compressBlock_opt_generic() local 1112 last_pos = ZSTD_totalLen(lastSequence); in ZSTD_compressBlock_opt_generic() 1137 last_pos = pos-1; in ZSTD_compressBlock_opt_generic() 1142 for (cur = 1; cur <= last_pos; cur++) { in ZSTD_compressBlock_opt_generic() 1187 if (cur == last_pos) break; in ZSTD_compressBlock_opt_generic() 1221 last_pos = cur + ZSTD_totalLen(lastSequence); in ZSTD_compressBlock_opt_generic() 1240 if ((pos > last_pos) || (price < opt[pos].price)) { in ZSTD_compressBlock_opt_generic() 1243 …while (last_pos < pos) { opt[last_pos+1].price = ZSTD_MAX_PRICE; last_pos++; } /* fill empty pos… in ZSTD_compressBlock_opt_generic() 1256 lastSequence = opt[last_pos]; in ZSTD_compressBlock_opt_generic() 1257 …cur = last_pos > ZSTD_totalLen(lastSequence) ? last_pos - ZSTD_totalLen(lastSequence) : 0; /* sin… in ZSTD_compressBlock_opt_generic() [all …]
|
/Linux-v6.6/fs/udf/ |
D | inode.c | 283 loff_t last_pos; in udf_write_end() local 288 last_pos = pos + copied; in udf_write_end() 289 if (last_pos > inode->i_size) in udf_write_end() 290 i_size_write(inode, last_pos); in udf_write_end() 501 struct extent_position *last_pos, in udf_do_extend_file() argument 541 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 550 udf_write_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 559 udf_next_aext(inode, last_pos, &tmploc, &tmplen, 0); in udf_do_extend_file() 576 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 586 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() [all …]
|
/Linux-v6.6/drivers/gpu/host1x/ |
D | cdma.h | 67 unsigned int last_pos; /* last value written to DMAPUT */ member
|
D | cdma.c | 411 restart_addr = cdma->last_pos; in host1x_cdma_update_sync_queue()
|
/Linux-v6.6/sound/pci/ymfpci/ |
D | ymfpci_main.c | 298 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_interrupt() 299 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_interrupt() 301 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_interrupt() 303 ypcm->last_pos = pos; in snd_ymfpci_pcm_interrupt() 350 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_capture_interrupt() 351 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_capture_interrupt() 353 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_capture_interrupt() 355 ypcm->last_pos = pos; in snd_ymfpci_pcm_capture_interrupt() 667 ypcm->last_pos = 0; in snd_ymfpci_playback_prepare() 701 ypcm->last_pos = 0; in snd_ymfpci_capture_prepare()
|
D | ymfpci.h | 266 u32 last_pos; member
|
/Linux-v6.6/fs/ceph/ |
D | file.c | 1691 u64 last_pos = (write_pos + write_len) - CEPH_FSCRYPT_BLOCK_SIZE; in ceph_sync_write() local 1699 if (first && last_pos == first_pos) in ceph_sync_write() 1707 ci->i_vino, first ? first_pos : last_pos, in ceph_sync_write() 1750 last_pos, CEPH_FSCRYPT_BLOCK_SIZE, in ceph_sync_write() 1765 offset_in_page(last_pos), in ceph_sync_write() 1797 offset_in_page(last_pos), in ceph_sync_write() 1813 offset_in_page(last_pos), in ceph_sync_write() 1828 offset_in_page(last_pos), in ceph_sync_write() 1859 offset_in_page(last_pos), in ceph_sync_write() 1860 last_pos >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_sync_write()
|
/Linux-v6.6/drivers/gpu/drm/exynos/ |
D | exynos_drm_g2d.c | 634 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-v6.6/fs/ext4/ |
D | dir.c | 566 if (info->last_pos != ctx->pos) { in ext4_dx_readdir() 631 info->last_pos = ctx->pos; in ext4_dx_readdir()
|
D | ext4.h | 2535 loff_t last_pos; member
|
/Linux-v6.6/sound/pci/ |
D | intel8x0.c | 320 unsigned int last_pos; member 800 ichdev->last_pos = ichdev->position; in snd_intel8x0_pcm_trigger() 1022 ptr = ichdev->last_pos; in snd_intel8x0_pcm_pointer() 1027 if (ptr < ichdev->last_pos) { in snd_intel8x0_pcm_pointer() 1030 last_base = ichdev->last_pos / ichdev->fragsize1; in snd_intel8x0_pcm_pointer() 1035 ptr = ichdev->last_pos; in snd_intel8x0_pcm_pointer() 1038 ichdev->last_pos = ptr; in snd_intel8x0_pcm_pointer()
|
/Linux-v6.6/fs/orangefs/ |
D | inode.c | 378 loff_t last_pos = pos + copied; in orangefs_write_end() local 384 if (last_pos > inode->i_size) in orangefs_write_end() 385 i_size_write(inode, last_pos); in orangefs_write_end()
|
/Linux-v6.6/fs/gfs2/ |
D | glock.c | 58 loff_t last_pos; /* last position */ member 2533 if (*pos < gi->last_pos) { in gfs2_glock_seq_start() 2538 n = *pos - gi->last_pos; in gfs2_glock_seq_start() 2544 gi->last_pos = *pos; in gfs2_glock_seq_start() 2554 gi->last_pos = *pos; in gfs2_glock_seq_next() 2634 gi->last_pos = -1; in __gfs2_glocks_open()
|
/Linux-v6.6/fs/btrfs/ |
D | file.c | 984 u64 last_pos; in lock_and_cleanup_extent_if_need() local 989 last_pos = round_up(pos + write_bytes, fs_info->sectorsize) - 1; in lock_and_cleanup_extent_if_need() 995 if (!try_lock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 1006 lock_extent(&inode->io_tree, start_pos, last_pos, cached_state); in lock_and_cleanup_extent_if_need() 1010 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need() 1013 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need() 1014 unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 1028 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
|
/Linux-v6.6/mm/ |
D | zswap.c | 1165 unsigned int pos, last_pos = PAGE_SIZE / sizeof(*page) - 1; in zswap_is_page_same_filled() local 1170 if (val != page[last_pos]) in zswap_is_page_same_filled() 1173 for (pos = 1; pos < last_pos; pos++) { in zswap_is_page_same_filled()
|
D | filemap.c | 2628 loff_t last_pos = ra->prev_pos; in filemap_read() local 2679 if (!pos_same_folio(iocb->ki_pos, last_pos - 1, in filemap_read() 2707 last_pos = iocb->ki_pos; in filemap_read() 2721 ra->prev_pos = last_pos; in filemap_read()
|
/Linux-v6.6/fs/ |
D | libfs.c | 865 loff_t last_pos = pos + copied; in simple_write_end() local 880 if (last_pos > inode->i_size) in simple_write_end() 881 i_size_write(inode, last_pos); in simple_write_end()
|
/Linux-v6.6/sound/drivers/ |
D | aloop.c | 577 unsigned long last_pos; in bytepos_delta() local 580 last_pos = byte_pos(dpcm, dpcm->irq_pos); in bytepos_delta() 582 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in bytepos_delta()
|
/Linux-v6.6/drivers/block/zram/ |
D | zram_drv.c | 200 unsigned int pos, last_pos = PAGE_SIZE / sizeof(*page) - 1; in page_same_filled() local 205 if (val != page[last_pos]) in page_same_filled() 208 for (pos = 1; pos < last_pos; pos++) { in page_same_filled()
|
/Linux-v6.6/net/ipv4/ |
D | tcp_ipv4.c | 2561 if (*pos && *pos == st->last_pos) { in tcp_seq_start() 2574 st->last_pos = *pos; in tcp_seq_start() 2605 st->last_pos = *pos; in tcp_seq_next() 2966 st->last_pos = *pos; in bpf_iter_tcp_seq_next()
|
/Linux-v6.6/block/ |
D | bfq-iosched.c | 231 #define BFQ_RQ_SEEKY(bfqd, last_pos, rq) \ argument 232 (get_sdist(last_pos, rq) > \ 2372 static sector_t get_sdist(sector_t last_pos, struct request *rq) in get_sdist() argument 2374 if (last_pos) in get_sdist() 2375 return abs(blk_rq_pos(rq) - last_pos); in get_sdist()
|
/Linux-v6.6/include/net/ |
D | tcp.h | 2068 loff_t last_pos; member
|