| /linux-6.15/drivers/gpu/host1x/hw/ |
| H A 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.15/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() 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() 1324 last_pos++; in ZSTD_compressBlock_opt_generic() 1341 lastStretch = opt[last_pos]; in ZSTD_compressBlock_opt_generic() 1343 cur = last_pos - lastStretch.mlen; in ZSTD_compressBlock_opt_generic() 1347 assert(last_pos >= lastStretch.mlen); in ZSTD_compressBlock_opt_generic() 1353 ip += last_pos; in ZSTD_compressBlock_opt_generic() [all …]
|
| /linux-6.15/mm/ |
| H A D | page_io.c | 176 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 D | filemap.c | 2676 loff_t last_pos = ra->prev_pos; in filemap_read() local 2729 if (!pos_same_folio(iocb->ki_pos, last_pos - 1, in filemap_read() 2757 last_pos = iocb->ki_pos; in filemap_read() 2775 ra->prev_pos = last_pos; in filemap_read()
|
| /linux-6.15/fs/bcachefs/ |
| H A D | fsck.c | 804 struct bpos last_pos; member 916 if (w->last_pos.inode != k.k->p.inode) { in walk_inode() 922 w->last_pos = k.k->p; in walk_inode() 1461 inode->last_pos.inode--; in check_key_has_inode() 1508 w->last_pos.inode, i->snapshot, i->count, count2); in check_i_sectors_notnested() 1515 w->last_pos.inode, i->snapshot, in check_i_sectors_notnested() 1542 struct bpos last_pos; member 1724 if (bpos_eq(extent_ends->last_pos, k.k->p)) in check_overlapping_extents() 1727 if (extent_ends->last_pos.inode != k.k->p.inode) in check_overlapping_extents() 1749 extent_ends->last_pos = k.k->p; in check_overlapping_extents() [all …]
|
| /linux-6.15/fs/udf/ |
| H A 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 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() 605 last_pos->offset -= sizeof(struct short_ad); in udf_do_extend_file() 607 last_pos->offset -= sizeof(struct long_ad); in udf_do_extend_file() 621 struct extent_position *last_pos, in udf_do_extend_final_block() argument [all …]
|
| /linux-6.15/drivers/gpu/host1x/ |
| H A D | cdma.h | 67 unsigned int last_pos; /* last value written to DMAPUT */ member
|
| H A D | cdma.c | 411 restart_addr = cdma->last_pos; in host1x_cdma_update_sync_queue()
|
| /linux-6.15/sound/pci/ymfpci/ |
| H A 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()
|
| H A D | ymfpci.h | 266 u32 last_pos; member
|
| /linux-6.15/drivers/gpu/drm/exynos/ |
| H A 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.15/fs/ceph/ |
| H A D | file.c | 1795 u64 last_pos = (write_pos + write_len) - CEPH_FSCRYPT_BLOCK_SIZE; in ceph_sync_write() local 1803 if (first && last_pos == first_pos) in ceph_sync_write() 1811 ci->i_vino, first ? first_pos : last_pos, in ceph_sync_write() 1854 last_pos, CEPH_FSCRYPT_BLOCK_SIZE, in ceph_sync_write() 1869 offset_in_page(last_pos), in ceph_sync_write() 1901 offset_in_page(last_pos), in ceph_sync_write() 1917 offset_in_page(last_pos), in ceph_sync_write() 1932 offset_in_page(last_pos), in ceph_sync_write() 1963 offset_in_page(last_pos), in ceph_sync_write() 1964 last_pos >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_sync_write()
|
| /linux-6.15/fs/ext4/ |
| H A D | dir.c | 570 if (info->last_pos != ctx->pos) { in ext4_dx_readdir() 635 info->last_pos = ctx->pos; in ext4_dx_readdir()
|
| H A D | ext4.h | 2564 loff_t last_pos; member
|
| /linux-6.15/fs/btrfs/ |
| H A D | file.c | 917 u64 last_pos; in lock_and_cleanup_extent_if_need() local 921 last_pos = round_up(pos + write_bytes, fs_info->sectorsize) - 1; in lock_and_cleanup_extent_if_need() 927 if (!try_lock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 934 lock_extent(&inode->io_tree, start_pos, last_pos, cached_state); in lock_and_cleanup_extent_if_need() 938 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need() 941 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need() 942 unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 954 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
|
| /linux-6.15/sound/pci/ |
| H A 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.15/fs/orangefs/ |
| H A D | inode.c | 348 loff_t last_pos = pos + copied; in orangefs_write_end() local 354 if (last_pos > inode->i_size) in orangefs_write_end() 355 i_size_write(inode, last_pos); in orangefs_write_end()
|
| /linux-6.15/fs/gfs2/ |
| H A D | glock.c | 58 loff_t last_pos; /* last position */ member 2568 if (*pos < gi->last_pos) { in gfs2_glock_seq_start() 2573 n = *pos - gi->last_pos; in gfs2_glock_seq_start() 2579 gi->last_pos = *pos; in gfs2_glock_seq_start() 2589 gi->last_pos = *pos; in gfs2_glock_seq_next() 2669 gi->last_pos = -1; in __gfs2_glocks_open()
|
| /linux-6.15/fs/ |
| H A D | libfs.c | 962 loff_t last_pos = pos + copied; in simple_write_end() local 977 if (last_pos > inode->i_size) in simple_write_end() 978 i_size_write(inode, last_pos); in simple_write_end()
|
| /linux-6.15/sound/drivers/ |
| H A 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.15/drivers/block/zram/ |
| H A D | zram_drv.c | 348 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-6.15/block/ |
| H A D | bfq-iosched.c | 231 #define BFQ_RQ_SEEKY(bfqd, last_pos, rq) \ argument 232 (get_sdist(last_pos, rq) > \ 2383 static sector_t get_sdist(sector_t last_pos, struct request *rq) in get_sdist() argument 2385 if (last_pos) in get_sdist() 2386 return abs(blk_rq_pos(rq) - last_pos); in get_sdist()
|
| /linux-6.15/net/ipv4/ |
| H A D | tcp_ipv4.c | 2812 if (*pos && *pos == st->last_pos) { 2825 st->last_pos = *pos; 2856 st->last_pos = *pos; 3219 st->last_pos = *pos;
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7925/ |
| H A D | mcu.c | 3192 u8 *pos, *last_pos; in __mt7925_mcu_set_clc() local 3199 last_pos = clc->data + le32_to_cpu(*(__le32 *)(clc->data + 4)); in __mt7925_mcu_set_clc() 3200 while (pos < last_pos) { in __mt7925_mcu_set_clc()
|
| /linux-6.15/include/net/ |
| H A D | tcp.h | 2261 loff_t last_pos; member
|