| /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/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/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
|
| /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 loopback_jiffies_timer_pos_update() 689 last_pos = byte_pos(dpcm, dpcm->irq_pos); in loopback_jiffies_timer_pos_update() 691 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in loopback_jiffies_timer_pos_update() 631 unsigned long last_pos; bytepos_delta() local
|
| /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;
|