Home
last modified time | relevance | path

Searched refs:new_pos (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/sound/core/
Dpcm_dmaengine.c136 unsigned int new_pos; in dmaengine_pcm_dma_complete() local
140 new_pos = prtd->pos + snd_pcm_lib_period_bytes(substream); in dmaengine_pcm_dma_complete()
141 if (new_pos >= snd_pcm_lib_buffer_bytes(substream)) in dmaengine_pcm_dma_complete()
142 new_pos = 0; in dmaengine_pcm_dma_complete()
143 prtd->pos = new_pos; in dmaengine_pcm_dma_complete()
/linux-6.1.9/kernel/
Dkallsyms.c670 static void reset_iter(struct kallsym_iter *iter, loff_t new_pos) in reset_iter() argument
673 iter->nameoff = get_symbol_offset(new_pos); in reset_iter()
674 iter->pos = new_pos; in reset_iter()
675 if (new_pos == 0) { in reset_iter()
/linux-6.1.9/fs/ceph/
Ddir.c550 loff_t new_pos = ceph_make_fpos(ceph_frag_value(frag), in ceph_readdir() local
552 if (new_pos > ctx->pos) in ceph_readdir()
553 ctx->pos = new_pos; in ceph_readdir()
612 static bool need_reset_readdir(struct ceph_dir_file_info *dfi, loff_t new_pos) in need_reset_readdir() argument
616 if (new_pos == 0) in need_reset_readdir()
618 if (is_hash_order(new_pos)) { in need_reset_readdir()
621 } else if (dfi->frag != fpos_frag(new_pos)) { in need_reset_readdir()
628 return new_pos < chunk_offset || in need_reset_readdir()
629 is_hash_order(new_pos) != is_hash_order(chunk_offset); in need_reset_readdir()
/linux-6.1.9/fs/overlayfs/
Dcopy_up.c202 loff_t new_pos = 0; in ovl_copy_up_file() local
260 old_pos = new_pos = data_pos; in ovl_copy_up_file()
270 new_file, &new_pos, in ovl_copy_up_file()
276 WARN_ON(old_pos != new_pos); in ovl_copy_up_file()
/linux-6.1.9/drivers/md/
Ddm-integrity.c2221 unsigned new_pos = find_journal_node(ic, dio->range.logical_sector, &next_sector); in dm_integrity_map_continue() local
2222 if (unlikely(new_pos != journal_read_pos)) { in dm_integrity_map_continue()
2230 unsigned new_pos = find_journal_node(ic, dio->range.logical_sector, &next_sector); in dm_integrity_map_continue() local
2231 if (unlikely(new_pos != NOT_FOUND) || in dm_integrity_map_continue()
/linux-6.1.9/kernel/bpf/
Dverifier.c319 static void bpf_vlog_reset(struct bpf_verifier_log *log, u32 new_pos) in bpf_vlog_reset() argument
326 log->len_used = new_pos; in bpf_vlog_reset()
327 if (put_user(zero, log->ubuf + new_pos)) in bpf_vlog_reset()