| /linux/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() 1201 for (cur = 1; cur <= last_pos; cur++) { 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() 1301 last_pos = cur + longestML; in ZSTD_compressBlock_opt_generic() 1319 if ((pos > last_pos) || (price < opt[pos].price)) { in ZSTD_compressBlock_opt_generic() 1322 while (last_pos < pos) { in ZSTD_compressBlock_opt_generic() 1324 last_pos++; in ZSTD_compressBlock_opt_generic() [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
| H A D | regd.c | 186 u8 *pos, *last_pos; in mt7921_regd_query_regdb() local 193 last_pos = pos + le32_to_cpu(clc->len) - sizeof(struct mt7921_clc); in mt7921_regd_query_regdb() 194 while (pos < last_pos) { in mt7921_regd_query_regdb() 200 if (pos + sizeof(*regd_cc) > last_pos) in mt7921_regd_query_regdb() 211 if (pos + sizeof(*regd_cc) + rules_len + sign_len > last_pos) in mt7921_regd_query_regdb()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
| H A D | regd.c | 232 u8 *pos, *last_pos; in mt7925_regd_query_regdb() local 239 last_pos = pos + le32_to_cpu(clc->len) - sizeof(struct mt7925_clc); in mt7925_regd_query_regdb() 240 while (pos < last_pos) { in mt7925_regd_query_regdb() 246 if (pos + sizeof(*regd_cc) > last_pos) in mt7925_regd_query_regdb() 257 if (pos + sizeof(*regd_cc) + rules_len + sign_len > last_pos) in mt7925_regd_query_regdb()
|
| H A D | mcu.c | 3653 u8 *pos, *last_pos; in __mt7925_mcu_set_clc() local 3660 last_pos = clc->data + le32_to_cpu(*(__le32 *)(clc->data + 4)); in __mt7925_mcu_set_clc() 3661 while (pos < last_pos) { in __mt7925_mcu_set_clc()
|
| /linux/mm/ |
| H A D | page_io.c | 130 unsigned int pos, last_pos; in is_folio_zero_filled() local 134 last_pos = PAGE_SIZE / sizeof(*data) - 1; in is_folio_zero_filled() 142 if (data[last_pos]) { in is_folio_zero_filled() 146 for (pos = 0; pos < last_pos; pos++) { in is_folio_zero_filled()
|
| H A D | filemap.c | 2798 loff_t last_pos = ra->prev_pos; in filemap_read() local 2851 if (!pos_same_folio(iocb->ki_pos, last_pos - 1, in filemap_read() 2879 last_pos = iocb->ki_pos; in filemap_read() 2897 ra->prev_pos = last_pos; in filemap_read()
|
| /linux/fs/udf/ |
| H A D | inode.c | 283 loff_t last_pos; in udf_write_end() local 288 last_pos = pos + copied; in udf_write_end() 289 if (last_pos > inode->i_size) in udf_write_end() 290 i_size_write(inode, last_pos); in udf_write_end() 519 struct extent_position *last_pos, in udf_do_extend_file() argument 559 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 569 udf_write_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 578 err = udf_next_aext(inode, last_pos, &tmploc, &tmplen, in udf_do_extend_file() 599 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() 609 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, in udf_do_extend_file() [all …]
|
| /linux/drivers/gpu/host1x/ |
| H A D | cdma.h | 67 unsigned int last_pos; /* last value written to DMAPUT */ member
|
| /linux/sound/pci/ymfpci/ |
| H A D | ymfpci_main.c | 286 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_interrupt() 287 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_interrupt() 289 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_interrupt() 291 ypcm->last_pos = pos; in snd_ymfpci_pcm_interrupt() 337 if (pos < ypcm->last_pos) in snd_ymfpci_pcm_capture_interrupt() 338 delta = pos + (ypcm->buffer_size - ypcm->last_pos); in snd_ymfpci_pcm_capture_interrupt() 340 delta = pos - ypcm->last_pos; in snd_ymfpci_pcm_capture_interrupt() 342 ypcm->last_pos = pos; in snd_ymfpci_pcm_capture_interrupt() 645 ypcm->last_pos = 0; in snd_ymfpci_playback_prepare() 679 ypcm->last_pos in snd_ymfpci_capture_prepare() [all...] |
| H A D | ymfpci.h | 266 u32 last_pos; member
|
| /linux/fs/ceph/ |
| H A D | file.c | 1845 u64 last_pos = (write_pos + write_len) - CEPH_FSCRYPT_BLOCK_SIZE; in ceph_sync_write() local 1853 if (first && last_pos == first_pos) in ceph_sync_write() 1861 ci->i_vino, first ? first_pos : last_pos, in ceph_sync_write() 1904 last_pos, CEPH_FSCRYPT_BLOCK_SIZE, in ceph_sync_write() 1919 offset_in_page(last_pos), in ceph_sync_write() 1956 offset_in_page(last_pos), in ceph_sync_write() 1972 offset_in_page(last_pos), in ceph_sync_write() 1987 offset_in_page(last_pos), in ceph_sync_write() 2018 offset_in_page(last_pos), in ceph_sync_write() 2019 last_pos >> CEPH_FSCRYPT_BLOCK_SHIFT); in ceph_sync_write()
|
| /linux/fs/ext4/ |
| H A D | dir.c | 586 if (info->last_pos != ctx->pos) { in ext4_dx_readdir() 651 info->last_pos = ctx->pos; in ext4_dx_readdir()
|
| H A D | ext4.h | 2728 loff_t last_pos; member
|
| /linux/fs/proc/ |
| H A D | internal.h | 398 loff_t last_pos; member
|
| H A D | task_mmu.c | 185 loff_t last_pos) in get_next_vma() argument 194 vma = lock_next_vma(lock_ctx->mm, &priv->iter, last_pos); in get_next_vma() 260 loff_t last_pos) in get_next_vma() argument 292 priv->last_pos = *ppos; in proc_get_vma() 343 *ppos = last_addr = priv->last_pos; in m_start()
|
| /linux/fs/orangefs/ |
| H A 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/fs/btrfs/ |
| H A D | file.c | 893 u64 last_pos; in lock_and_cleanup_extent() local 896 last_pos = round_up(pos + write_bytes, fs_info->sectorsize) - 1; in lock_and_cleanup_extent() 900 last_pos, cached_state)) { in lock_and_cleanup_extent() 906 btrfs_lock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent() 911 last_pos - start_pos + 1); in lock_and_cleanup_extent() 914 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent() 915 btrfs_unlock_extent(&inode->io_tree, start_pos, last_pos, in lock_and_cleanup_extent() 927 *lockend = last_pos; in lock_and_cleanup_extent()
|
| /linux/sound/drivers/ |
| H A D | aloop.c | 686 unsigned long last_pos; in bytepos_delta() local 689 last_pos = byte_pos(dpcm, dpcm->irq_pos); in bytepos_delta() 691 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in bytepos_delta()
|
| /linux/block/ |
| H A D | bfq-iosched.c | 231 #define BFQ_RQ_SEEKY(bfqd, last_pos, rq) \ argument 232 (get_sdist(last_pos, rq) > \ 2374 static sector_t get_sdist(sector_t last_pos, struct request *rq) in get_sdist() argument 2376 if (last_pos) in get_sdist() 2377 return abs(blk_rq_pos(rq) - last_pos); in get_sdist()
|
| /linux/net/ipv4/ |
| H A D | tcp_ipv4.c | 2680 if (*pos && *pos == st->last_pos) { 2693 st->last_pos = *pos; 2723 st->last_pos = *pos; 3221 /* Keeping st->last_pos consistent in tcp_iter_state. 3222 * bpf iter does not do lseek, so st->last_pos always equals to *pos. 3224 st->last_pos = *pos;
|
| /linux/drivers/block/zram/ |
| H A D | zram_drv.c | 337 unsigned int pos, last_pos = PAGE_SIZE / sizeof(*page) - 1; in page_same_filled() local 342 if (val != page[last_pos]) in page_same_filled() 345 for (pos = 1; pos < last_pos; pos++) { in page_same_filled()
|
| /linux/include/net/ |
| H A D | tcp.h | 2423 loff_t last_pos; member
|