/linux-6.12.1/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-6.12.1/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-6.12.1/mm/ |
D | page_io.c | 177 unsigned int pos, last_pos; in is_folio_zero_filled() local 181 last_pos = PAGE_SIZE / sizeof(*data) - 1; in is_folio_zero_filled() 189 if (data[last_pos]) { in is_folio_zero_filled() 193 for (pos = 0; pos < last_pos; pos++) { in is_folio_zero_filled()
|
D | filemap.c | 2621 loff_t last_pos = ra->prev_pos; in filemap_read() local 2672 if (!pos_same_folio(iocb->ki_pos, last_pos - 1, in filemap_read() 2700 last_pos = iocb->ki_pos; in filemap_read() 2714 ra->prev_pos = last_pos; in filemap_read()
|
/linux-6.12.1/fs/udf/ |
D | inode.c | 279 loff_t last_pos; in udf_write_end() local 284 last_pos = pos + copied; in udf_write_end() 285 if (last_pos > inode->i_size) in udf_write_end() 286 i_size_write(inode, last_pos); in udf_write_end() 504 struct extent_position *last_pos, in udf_do_extend_file() argument 544 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 554 udf_write_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 563 err = udf_next_aext(inode, last_pos, &tmploc, &tmplen, in udf_do_extend_file() 584 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 594 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() [all …]
|
/linux-6.12.1/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-6.12.1/fs/bcachefs/ |
D | fsck.c | 780 struct bpos last_pos; member 869 w->last_pos.inode, k.k->p.snapshot, i->snapshot, buf.buf); in lookup_inode_for_snapshot() 890 if (w->last_pos.inode != k.k->p.inode) { in walk_inode() 896 w->last_pos = k.k->p; in walk_inode() 1604 inode->last_pos.inode--; in check_key_has_inode() 1644 count2 = bch2_count_inode_sectors(trans, w->last_pos.inode, i->snapshot); in check_i_sectors_notnested() 1651 w->last_pos.inode, i->snapshot, i->count, count2); in check_i_sectors_notnested() 1658 w->last_pos.inode, i->snapshot, in check_i_sectors_notnested() 1685 struct bpos last_pos; member 1865 if (bpos_eq(extent_ends->last_pos, k.k->p)) in check_overlapping_extents() [all …]
|
D | snapshot.c | 1411 struct bpos *last_pos) in delete_dead_snapshots_process_key() argument 1422 if (!bkey_eq(k.k->p, *last_pos)) in delete_dead_snapshots_process_key() 1429 if (!bpos_eq(*last_pos, k.k->p) && in delete_dead_snapshots_process_key() 1434 *last_pos = k.k->p; in delete_dead_snapshots_process_key() 1636 struct bpos last_pos = POS_MIN; in bch2_delete_dead_snapshots() local 1648 &equiv_seen, &last_pos)); in bch2_delete_dead_snapshots()
|
/linux-6.12.1/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-6.12.1/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-6.12.1/fs/ceph/ |
D | file.c | 1796 u64 last_pos = (write_pos + write_len) - CEPH_FSCRYPT_BLOCK_SIZE; in ceph_sync_write() local 1804 if (first && last_pos == first_pos) in ceph_sync_write() 1812 ci->i_vino, first ? first_pos : last_pos, in ceph_sync_write() 1855 last_pos, CEPH_FSCRYPT_BLOCK_SIZE, in ceph_sync_write() 1870 offset_in_page(last_pos), in ceph_sync_write() 1902 offset_in_page(last_pos), in ceph_sync_write() 1918 offset_in_page(last_pos), in ceph_sync_write() 1933 offset_in_page(last_pos), in ceph_sync_write() 1964 offset_in_page(last_pos), in ceph_sync_write() 1965 last_pos >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_sync_write()
|
/linux-6.12.1/fs/ext4/ |
D | dir.c | 568 if (info->last_pos != ctx->pos) { in ext4_dx_readdir() 633 info->last_pos = ctx->pos; in ext4_dx_readdir()
|
D | ext4.h | 2553 loff_t last_pos; member
|
/linux-6.12.1/sound/pci/ |
D | intel8x0.c | 320 unsigned int last_pos; member 797 ichdev->last_pos = ichdev->position; in snd_intel8x0_pcm_trigger() 1019 ptr = ichdev->last_pos; in snd_intel8x0_pcm_pointer() 1024 if (ptr < ichdev->last_pos) { in snd_intel8x0_pcm_pointer() 1027 last_base = ichdev->last_pos / ichdev->fragsize1; in snd_intel8x0_pcm_pointer() 1032 ptr = ichdev->last_pos; in snd_intel8x0_pcm_pointer() 1035 ichdev->last_pos = ptr; in snd_intel8x0_pcm_pointer()
|
/linux-6.12.1/fs/gfs2/ |
D | glock.c | 58 loff_t last_pos; /* last position */ member 2586 if (*pos < gi->last_pos) { in gfs2_glock_seq_start() 2591 n = *pos - gi->last_pos; in gfs2_glock_seq_start() 2597 gi->last_pos = *pos; in gfs2_glock_seq_start() 2607 gi->last_pos = *pos; in gfs2_glock_seq_next() 2687 gi->last_pos = -1; in __gfs2_glocks_open()
|
/linux-6.12.1/fs/orangefs/ |
D | inode.c | 368 loff_t last_pos = pos + copied; in orangefs_write_end() local 374 if (last_pos > inode->i_size) in orangefs_write_end() 375 i_size_write(inode, last_pos); in orangefs_write_end()
|
/linux-6.12.1/fs/btrfs/ |
D | file.c | 998 u64 last_pos; in lock_and_cleanup_extent_if_need() local 1003 last_pos = round_up(pos + write_bytes, fs_info->sectorsize) - 1; in lock_and_cleanup_extent_if_need() 1009 if (!try_lock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 1020 lock_extent(&inode->io_tree, start_pos, last_pos, cached_state); in lock_and_cleanup_extent_if_need() 1024 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need() 1027 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need() 1028 unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 1042 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
|
/linux-6.12.1/fs/ |
D | libfs.c | 965 loff_t last_pos = pos + copied; in simple_write_end() local 980 if (last_pos > inode->i_size) in simple_write_end() 981 i_size_write(inode, last_pos); in simple_write_end()
|
/linux-6.12.1/sound/drivers/ |
D | aloop.c | 621 unsigned long last_pos; in bytepos_delta() local 624 last_pos = byte_pos(dpcm, dpcm->irq_pos); in bytepos_delta() 626 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in bytepos_delta()
|
/linux-6.12.1/drivers/block/zram/ |
D | zram_drv.c | 209 unsigned int pos, last_pos = PAGE_SIZE / sizeof(*page) - 1; in page_same_filled() local 214 if (val != page[last_pos]) in page_same_filled() 217 for (pos = 1; pos < last_pos; pos++) { in page_same_filled()
|
/linux-6.12.1/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-6.12.1/net/ipv4/ |
D | tcp_ipv4.c | 2798 if (*pos && *pos == st->last_pos) { 2811 st->last_pos = *pos; 2842 st->last_pos = *pos; 3203 st->last_pos = *pos;
|
/linux-6.12.1/include/net/ |
D | tcp.h | 2189 loff_t last_pos; member
|