Home
last modified time | relevance | path

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

/linux-6.3-rc2/sound/core/
A 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.3-rc2/kernel/
A Dkallsyms.c762 static void reset_iter(struct kallsym_iter *iter, loff_t new_pos) in reset_iter() argument
765 iter->nameoff = get_symbol_offset(new_pos); in reset_iter()
766 iter->pos = new_pos; in reset_iter()
767 if (new_pos == 0) { in reset_iter()
/linux-6.3-rc2/fs/ceph/
A 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.3-rc2/fs/overlayfs/
A Dcopy_up.c240 loff_t new_pos = 0; in ovl_copy_up_file() local
298 old_pos = new_pos = data_pos; in ovl_copy_up_file()
308 new_file, &new_pos, in ovl_copy_up_file()
314 WARN_ON(old_pos != new_pos); in ovl_copy_up_file()
/linux-6.3-rc2/drivers/md/
A Ddm-integrity.c2242 unsigned int new_pos; in dm_integrity_map_continue() local
2244 new_pos = find_journal_node(ic, dio->range.logical_sector, &next_sector); in dm_integrity_map_continue()
2245 if (unlikely(new_pos != journal_read_pos)) { in dm_integrity_map_continue()
2253 unsigned int new_pos; in dm_integrity_map_continue() local
2255 new_pos = find_journal_node(ic, dio->range.logical_sector, &next_sector); in dm_integrity_map_continue()
2256 if (unlikely(new_pos != NOT_FOUND) || in dm_integrity_map_continue()
/linux-6.3-rc2/kernel/bpf/
A Dverifier.c324 static void bpf_vlog_reset(struct bpf_verifier_log *log, u32 new_pos) in bpf_vlog_reset() argument
331 log->len_used = new_pos; in bpf_vlog_reset()
332 if (put_user(zero, log->ubuf + new_pos)) in bpf_vlog_reset()

Completed in 53 milliseconds