Searched refs:new_pos (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/sound/core/ |
D | pcm_dmaengine.c | 136 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/ |
D | kallsyms.c | 670 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/ |
D | dir.c | 550 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/ |
D | copy_up.c | 202 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/ |
D | dm-integrity.c | 2221 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/ |
D | verifier.c | 319 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()
|