Home
last modified time | relevance | path

Searched refs:last_pos (Results 1 – 22 of 22) sorted by relevance

/Linux-v4.19/lib/zstd/
Dzstd_opt.h202 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-v4.19/drivers/gpu/host1x/hw/
Dcdma_hw.c75 cdma->last_pos = cdma->push_buffer.pos; in cdma_start()
111 cdma->last_pos = cdma->push_buffer.pos; in cdma_timeout_restart()
132 cdma->last_pos); in cdma_timeout_restart()
152 if (cdma->push_buffer.pos != cdma->last_pos) { in cdma_flush()
155 cdma->last_pos = cdma->push_buffer.pos; in cdma_flush()
220 cdma->last_pos); in cdma_freeze()
/Linux-v4.19/fs/9p/
Dvfs_addr.c308 loff_t last_pos = pos + copied; in v9fs_write_end() local
325 if (last_pos > inode->i_size) { in v9fs_write_end()
326 inode_add_bytes(inode, last_pos - inode->i_size); in v9fs_write_end()
327 i_size_write(inode, last_pos); in v9fs_write_end()
/Linux-v4.19/fs/udf/
Dfile.c119 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()
Dinode.c475 struct extent_position *last_pos, in udf_do_extend_file() argument
530 udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
537 udf_write_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
543 udf_next_aext(inode, last_pos, &tmploc, &tmplen, 0); in udf_do_extend_file()
560 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
569 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
579 err = udf_add_aext(inode, last_pos, &prealloc_loc, in udf_do_extend_file()
590 last_pos->offset -= sizeof(struct short_ad); in udf_do_extend_file()
592 last_pos->offset -= sizeof(struct long_ad); in udf_do_extend_file()
/Linux-v4.19/drivers/gpu/host1x/
Dcdma.h77 unsigned int last_pos; /* last value written to DMAPUT */ member
Dcdma.c371 restart_addr = cdma->last_pos; in host1x_cdma_update_sync_queue()
/Linux-v4.19/sound/pci/ymfpci/
Dymfpci_main.c316 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_interrupt()
317 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_interrupt()
319 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_interrupt()
321 ypcm->last_pos = pos; in snd_ymfpci_pcm_interrupt()
368 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_capture_interrupt()
369 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_capture_interrupt()
371 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_capture_interrupt()
373 ypcm->last_pos = pos; in snd_ymfpci_pcm_capture_interrupt()
687 ypcm->last_pos = 0; in snd_ymfpci_playback_prepare()
727 ypcm->last_pos = 0; in snd_ymfpci_capture_prepare()
Dymfpci.h281 u32 last_pos; member
/Linux-v4.19/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c636 unsigned long bpp, last_pos; in g2d_check_buf_desc_is_valid() local
662 last_pos = ((unsigned long)buf_desc->bottom_y - 1) * 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()
/Linux-v4.19/fs/gfs2/
Dglock.c58 loff_t last_pos; /* last position */ member
1970 if (*pos < gi->last_pos) { in gfs2_glock_seq_start()
1975 n = *pos - gi->last_pos; in gfs2_glock_seq_start()
1981 gi->last_pos = *pos; in gfs2_glock_seq_start()
1991 gi->last_pos = *pos; in gfs2_glock_seq_next()
2071 gi->last_pos = -1; in __gfs2_glocks_open()
/Linux-v4.19/fs/ext4/
Ddir.c545 if (info->last_pos != ctx->pos) { in ext4_dx_readdir()
610 info->last_pos = ctx->pos; in ext4_dx_readdir()
Dext4.h2096 loff_t last_pos; member
/Linux-v4.19/fs/btrfs/
Dfile.c1471 u64 last_pos; in lock_and_cleanup_extent_if_need() local
1476 last_pos = start_pos in lock_and_cleanup_extent_if_need()
1483 lock_extent_bits(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
1486 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need()
1489 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need()
1491 last_pos, cached_state); in lock_and_cleanup_extent_if_need()
1503 clear_extent_bit(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
1508 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
/Linux-v4.19/fs/
Dlibfs.c478 loff_t last_pos = pos + copied; in simple_write_end() local
493 if (last_pos > inode->i_size) in simple_write_end()
494 i_size_write(inode, last_pos); in simple_write_end()
/Linux-v4.19/sound/pci/
Dintel8x0.c363 unsigned int last_pos; member
857 ichdev->last_pos = ichdev->position; in snd_intel8x0_pcm_trigger()
1095 ptr = ichdev->last_pos; in snd_intel8x0_pcm_pointer()
1100 if (ptr < ichdev->last_pos) { in snd_intel8x0_pcm_pointer()
1103 last_base = ichdev->last_pos / ichdev->fragsize1; in snd_intel8x0_pcm_pointer()
1108 ptr = ichdev->last_pos; in snd_intel8x0_pcm_pointer()
1111 ichdev->last_pos = ptr; in snd_intel8x0_pcm_pointer()
/Linux-v4.19/sound/drivers/
Daloop.c450 unsigned long last_pos; in bytepos_delta() local
453 last_pos = byte_pos(dpcm, dpcm->irq_pos); in bytepos_delta()
455 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in bytepos_delta()
/Linux-v4.19/fs/exofs/
Dinode.c917 loff_t last_pos = pos + copied; in exofs_write_end() local
927 if (last_pos > inode->i_size) { in exofs_write_end()
928 i_size_write(inode, last_pos); in exofs_write_end()
/Linux-v4.19/net/ipv4/
Dtcp_ipv4.c2208 if (*pos && *pos == st->last_pos) { in tcp_seq_start()
2221 st->last_pos = *pos; in tcp_seq_start()
2252 st->last_pos = *pos; in tcp_seq_next()
/Linux-v4.19/sound/soc/intel/haswell/
Dsst-haswell-ipc.c268 u32 last_pos; member
713 stream->last_pos = stream->curr_pos; in hsw_log_message()
/Linux-v4.19/block/
Dbfq-iosched.c1748 static sector_t get_sdist(sector_t last_pos, struct request *rq) in get_sdist() argument
1750 if (last_pos) in get_sdist()
1751 return abs(blk_rq_pos(rq) - last_pos); in get_sdist()
/Linux-v4.19/include/net/
Dtcp.h1822 loff_t last_pos; member