/Linux-v5.4/lib/zstd/ |
D | zstd_opt.h | 202 while (last_pos < pos) { \ 203 opt[last_pos + 1].price = ZSTD_MAX_PRICE; \ 204 last_pos++; \ 440 U32 cur, match_num, last_pos, litlen, price; in ZSTD_compressBlock_opt_generic() local 443 last_pos = 0; in ZSTD_compressBlock_opt_generic() 458 last_pos = 1; in ZSTD_compressBlock_opt_generic() 464 if (mlen > last_pos || price < opt[mlen].price) in ZSTD_compressBlock_opt_generic() 474 if (!last_pos && !match_num) { in ZSTD_compressBlock_opt_generic() 483 last_pos = 1; in ZSTD_compressBlock_opt_generic() 488 best_mlen = (last_pos) ? last_pos : minMatch; in ZSTD_compressBlock_opt_generic() [all …]
|
/Linux-v5.4/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-v5.4/fs/9p/ |
D | vfs_addr.c | 295 loff_t last_pos = pos + copied; in v9fs_write_end() local 312 if (last_pos > inode->i_size) { in v9fs_write_end() 313 inode_add_bytes(inode, last_pos - inode->i_size); in v9fs_write_end() 314 i_size_write(inode, last_pos); in v9fs_write_end()
|
/Linux-v5.4/fs/udf/ |
D | file.c | 119 loff_t last_pos = pos + copied; in udf_adinicb_write_end() local 120 if (last_pos > inode->i_size) in udf_adinicb_write_end() 121 i_size_write(inode, last_pos); in udf_adinicb_write_end()
|
D | inode.c | 484 struct extent_position *last_pos, in udf_do_extend_file() argument 538 udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 545 udf_write_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 551 udf_next_aext(inode, last_pos, &tmploc, &tmplen, 0); in udf_do_extend_file() 567 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, 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, &prealloc_loc, in udf_do_extend_file() 597 last_pos->offset -= sizeof(struct short_ad); in udf_do_extend_file() 599 last_pos->offset -= sizeof(struct long_ad); in udf_do_extend_file() 608 struct extent_position *last_pos, in udf_do_extend_final_block() argument [all …]
|
/Linux-v5.4/drivers/gpu/host1x/ |
D | cdma.h | 66 unsigned int last_pos; /* last value written to DMAPUT */ member
|
D | cdma.c | 418 restart_addr = cdma->last_pos; in host1x_cdma_update_sync_queue()
|
/Linux-v5.4/sound/pci/ymfpci/ |
D | ymfpci_main.c | 302 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_interrupt() 303 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_interrupt() 305 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_interrupt() 307 ypcm->last_pos = pos; in snd_ymfpci_pcm_interrupt() 354 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_capture_interrupt() 355 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_capture_interrupt() 357 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_capture_interrupt() 359 ypcm->last_pos = pos; in snd_ymfpci_pcm_capture_interrupt() 673 ypcm->last_pos = 0; in snd_ymfpci_playback_prepare() 713 ypcm->last_pos = 0; in snd_ymfpci_capture_prepare()
|
D | ymfpci.h | 266 u32 last_pos; member
|
/Linux-v5.4/fs/gfs2/ |
D | glock.c | 55 loff_t last_pos; /* last position */ member 2078 if (*pos < gi->last_pos) { in gfs2_glock_seq_start() 2083 n = *pos - gi->last_pos; in gfs2_glock_seq_start() 2089 gi->last_pos = *pos; in gfs2_glock_seq_start() 2099 gi->last_pos = *pos; in gfs2_glock_seq_next() 2179 gi->last_pos = -1; in __gfs2_glocks_open()
|
/Linux-v5.4/fs/ext4/ |
D | dir.c | 545 if (info->last_pos != ctx->pos) { in ext4_dx_readdir() 610 info->last_pos = ctx->pos; in ext4_dx_readdir()
|
D | ext4.h | 2157 loff_t last_pos; member
|
/Linux-v5.4/drivers/gpu/drm/exynos/ |
D | exynos_drm_g2d.c | 638 unsigned long bpp, last_pos; in g2d_check_buf_desc_is_valid() local 665 last_pos = ((unsigned long)buf_desc->bottom_y - 1) * in g2d_check_buf_desc_is_valid() 676 if (last_pos >= size) { in g2d_check_buf_desc_is_valid() 678 "is out of range [%lu]!\n", last_pos, size); in g2d_check_buf_desc_is_valid()
|
/Linux-v5.4/fs/ |
D | libfs.c | 501 loff_t last_pos = pos + copied; in simple_write_end() local 516 if (last_pos > inode->i_size) in simple_write_end() 517 i_size_write(inode, last_pos); in simple_write_end()
|
/Linux-v5.4/sound/pci/ |
D | intel8x0.c | 343 unsigned int last_pos; member 817 ichdev->last_pos = ichdev->position; in snd_intel8x0_pcm_trigger() 1039 ptr = ichdev->last_pos; in snd_intel8x0_pcm_pointer() 1044 if (ptr < ichdev->last_pos) { in snd_intel8x0_pcm_pointer() 1047 last_base = ichdev->last_pos / ichdev->fragsize1; in snd_intel8x0_pcm_pointer() 1052 ptr = ichdev->last_pos; in snd_intel8x0_pcm_pointer() 1055 ichdev->last_pos = ptr; in snd_intel8x0_pcm_pointer()
|
/Linux-v5.4/fs/orangefs/ |
D | inode.c | 450 loff_t last_pos = pos + copied; in orangefs_write_end() local 456 if (last_pos > inode->i_size) in orangefs_write_end() 457 i_size_write(inode, last_pos); in orangefs_write_end()
|
/Linux-v5.4/fs/btrfs/ |
D | file.c | 1489 u64 last_pos; in lock_and_cleanup_extent_if_need() local 1494 last_pos = start_pos in lock_and_cleanup_extent_if_need() 1501 lock_extent_bits(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need() 1504 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need() 1507 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need() 1509 last_pos, cached_state); in lock_and_cleanup_extent_if_need() 1523 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
|
/Linux-v5.4/sound/drivers/ |
D | aloop.c | 436 unsigned long last_pos; in bytepos_delta() local 439 last_pos = byte_pos(dpcm, dpcm->irq_pos); in bytepos_delta() 441 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in bytepos_delta()
|
/Linux-v5.4/block/ |
D | bfq-iosched.c | 230 #define BFQ_RQ_SEEKY(bfqd, last_pos, rq) \ argument 231 (get_sdist(last_pos, rq) > \ 2124 static sector_t get_sdist(sector_t last_pos, struct request *rq) in get_sdist() argument 2126 if (last_pos) in get_sdist() 2127 return abs(blk_rq_pos(rq) - last_pos); in get_sdist()
|
/Linux-v5.4/net/ipv4/ |
D | tcp_ipv4.c | 2331 if (*pos && *pos == st->last_pos) { in tcp_seq_start() 2344 st->last_pos = *pos; in tcp_seq_start() 2375 st->last_pos = *pos; in tcp_seq_next()
|
/Linux-v5.4/sound/soc/intel/haswell/ |
D | sst-haswell-ipc.c | 259 u32 last_pos; member 699 stream->last_pos = stream->curr_pos; in hsw_log_message()
|
/Linux-v5.4/include/net/ |
D | tcp.h | 1892 loff_t last_pos; member
|