Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/lib/zstd/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/host1x/hw/
H A Dcdma_hw.c51 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()
/OK3568_Linux_fs/kernel/fs/9p/
H A Dvfs_addr.c295 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()
/OK3568_Linux_fs/buildroot/dl/stressapptest/git/src/
H A Ddisk_blocks.cc107 int last_pos = size_ - 1; in RemoveBlock() local
109 pos_to_addr_[last_pos]); in RemoveBlock()
114 pos_to_addr_[curr_pos] = pos_to_addr_[last_pos]; in RemoveBlock()
/OK3568_Linux_fs/kernel/fs/udf/
H A Dfile.c118 loff_t last_pos = pos + copied; in udf_adinicb_write_end() local
119 if (last_pos > inode->i_size) in udf_adinicb_write_end()
120 i_size_write(inode, last_pos); in udf_adinicb_write_end()
H A Dinode.c483 struct extent_position *last_pos, in udf_do_extend_file() argument
537 udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
544 udf_write_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
553 udf_next_aext(inode, last_pos, &tmploc, &tmplen, 0); in udf_do_extend_file()
569 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
578 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file()
588 err = udf_add_aext(inode, last_pos, &prealloc_loc, in udf_do_extend_file()
599 last_pos->offset -= sizeof(struct short_ad); in udf_do_extend_file()
601 last_pos->offset -= sizeof(struct long_ad); in udf_do_extend_file()
610 struct extent_position *last_pos, in udf_do_extend_final_block() argument
[all …]
/OK3568_Linux_fs/external/mpp/mpp/codec/
H A Dmpp_enc_impl.cpp431 RK_U8 *last_pos = NULL; in mpp_enc_callback() local
456 last_pos = (RK_U8 *)task->part_pos; in mpp_enc_callback()
459 enc_dbg_slice("last_pos %p len %d:%d\n", last_pos, out->length, slice_length); in mpp_enc_callback()
463 enc_dbg_slice("slice pos %p len %5d last\n", last_pos, slice_length); in mpp_enc_callback()
467 impl->pos = last_pos; in mpp_enc_callback()
480 enc_dbg_slice("slice pos %p len %5d\n", last_pos, slice_length); in mpp_enc_callback()
488 impl->pos = last_pos; in mpp_enc_callback()
509 last_pos, slice_length); in mpp_enc_callback()
2071 RK_U8 *last_pos = (RK_U8 *)hal_task->part_pos; in try_proc_low_deley_task() local
2076 last_pos, part_pos, part_length); in try_proc_low_deley_task()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/host1x/
H A Dcdma.h66 unsigned int last_pos; /* last value written to DMAPUT */ member
H A Dcdma.c418 restart_addr = cdma->last_pos; in host1x_cdma_update_sync_queue()
/OK3568_Linux_fs/kernel/sound/pci/ymfpci/
H A Dymfpci_main.c302 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()
670 ypcm->last_pos = 0; in snd_ymfpci_playback_prepare()
704 ypcm->last_pos = 0; in snd_ymfpci_capture_prepare()
H A Dymfpci.h266 u32 last_pos; member
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Ddicttrie.cpp223 size_t last_pos = 0; in load_dict() local
226 splid_le0_index_[splid - kFullSplIdStart] = last_pos; in load_dict()
231 last_pos = i; in load_dict()
237 splid_le0_index_[splid - kFullSplIdStart] = last_pos + 1; in load_dict()
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Dglock.c55 loff_t last_pos; /* last position */ member
2368 if (*pos < gi->last_pos) { in gfs2_glock_seq_start()
2373 n = *pos - gi->last_pos; in gfs2_glock_seq_start()
2379 gi->last_pos = *pos; in gfs2_glock_seq_start()
2389 gi->last_pos = *pos; in gfs2_glock_seq_next()
2469 gi->last_pos = -1; in __gfs2_glocks_open()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/exynos/
H A Dexynos_drm_g2d.c639 unsigned long bpp, last_pos; in g2d_check_buf_desc_is_valid() local
666 last_pos = ((unsigned long)buf_desc->bottom_y - 1) * in g2d_check_buf_desc_is_valid()
677 if (last_pos >= size) { in g2d_check_buf_desc_is_valid()
679 "is out of range [%lu]!\n", last_pos, size); in g2d_check_buf_desc_is_valid()
/OK3568_Linux_fs/kernel/fs/ext4/
H A Ddir.c572 if (info->last_pos != ctx->pos) { in ext4_dx_readdir()
637 info->last_pos = ctx->pos; in ext4_dx_readdir()
/OK3568_Linux_fs/kernel/sound/pci/
H A Dintel8x0.c343 unsigned int last_pos; member
821 ichdev->last_pos = ichdev->position; in snd_intel8x0_pcm_trigger()
1043 ptr = ichdev->last_pos; in snd_intel8x0_pcm_pointer()
1048 if (ptr < ichdev->last_pos) { in snd_intel8x0_pcm_pointer()
1051 last_base = ichdev->last_pos / ichdev->fragsize1; in snd_intel8x0_pcm_pointer()
1056 ptr = ichdev->last_pos; in snd_intel8x0_pcm_pointer()
1059 ichdev->last_pos = ptr; in snd_intel8x0_pcm_pointer()
/OK3568_Linux_fs/kernel/fs/orangefs/
H A Dinode.c416 loff_t last_pos = pos + copied; in orangefs_write_end() local
422 if (last_pos > inode->i_size) in orangefs_write_end()
423 i_size_write(inode, last_pos); in orangefs_write_end()
/OK3568_Linux_fs/kernel/fs/
H A Dlibfs.c573 loff_t last_pos = pos + copied; in simple_write_end() local
588 if (last_pos > inode->i_size) in simple_write_end()
589 i_size_write(inode, last_pos); in simple_write_end()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dfile.c1413 u64 last_pos; in lock_and_cleanup_extent_if_need() local
1418 last_pos = round_up(pos + write_bytes, fs_info->sectorsize) - 1; in lock_and_cleanup_extent_if_need()
1423 lock_extent_bits(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent_if_need()
1426 last_pos - start_pos + 1); in lock_and_cleanup_extent_if_need()
1429 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need()
1431 last_pos, cached_state); in lock_and_cleanup_extent_if_need()
1444 *lockend = last_pos; in lock_and_cleanup_extent_if_need()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/container/
H A Dvector.hpp2829 (size_type first_pos, size_type last_pos, size_type limit_pos, size_type shift_count) in priv_insert_ordered_at_shift_range() argument
2831 BOOST_ASSERT(first_pos <= last_pos); in priv_insert_ordered_at_shift_range()
2832 BOOST_ASSERT(last_pos <= limit_pos); in priv_insert_ordered_at_shift_range()
2836 T* const last_ptr = begin_ptr + last_pos; in priv_insert_ordered_at_shift_range()
2840 if((last_pos + shift_count) <= limit_pos){ in priv_insert_ordered_at_shift_range()
/OK3568_Linux_fs/kernel/sound/drivers/
H A Daloop.c597 unsigned long last_pos; in bytepos_delta() local
600 last_pos = byte_pos(dpcm, dpcm->irq_pos); in bytepos_delta()
602 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in bytepos_delta()
/OK3568_Linux_fs/kernel/drivers/block/zram/
H A Dzram_drv.c216 unsigned int pos, last_pos = PAGE_SIZE / sizeof(*page) - 1; in page_same_filled() local
221 if (val != page[last_pos]) in page_same_filled()
224 for (pos = 1; pos < last_pos; pos++) { in page_same_filled()
/OK3568_Linux_fs/kernel/block/
H A Dbfq-iosched.c231 #define BFQ_RQ_SEEKY(bfqd, last_pos, rq) \ argument
232 (get_sdist(last_pos, rq) > \
2130 static sector_t get_sdist(sector_t last_pos, struct request *rq) in get_sdist() argument
2132 if (last_pos) in get_sdist()
2133 return abs(blk_rq_pos(rq) - last_pos); in get_sdist()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dtcp_ipv4.c2477 if (*pos && *pos == st->last_pos) { in tcp_seq_start()
2490 st->last_pos = *pos; in tcp_seq_start()
2521 st->last_pos = *pos; in tcp_seq_next()
/OK3568_Linux_fs/kernel/include/net/
H A Dtcp.h1962 loff_t last_pos; member

12