Searched refs:new_pos (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/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.6.21/kernel/bpf/ |
D | log.c | 146 void bpf_vlog_reset(struct bpf_verifier_log *log, u64 new_pos) in bpf_vlog_reset() argument 151 if (WARN_ON_ONCE(new_pos > log->end_pos)) in bpf_vlog_reset() 161 log->end_pos = new_pos; in bpf_vlog_reset() 171 div_u64_rem(new_pos, log->len_total, &pos); in bpf_vlog_reset()
|
/linux-6.6.21/fs/xfs/scrub/ |
D | xfarray.c | 293 loff_t new_pos; in xfarray_find_data() local 313 new_pos = xfile_seek_data(array->xfile, end_pos); in xfarray_find_data() 314 if (new_pos == -ENXIO) in xfarray_find_data() 316 if (new_pos < 0) in xfarray_find_data() 317 return new_pos; in xfarray_find_data() 318 if (new_pos == end_pos) in xfarray_find_data() 326 new_pos = roundup_64(new_pos, array->obj_size); in xfarray_find_data() 327 *cur = xfarray_idx(array, new_pos); in xfarray_find_data()
|
/linux-6.6.21/kernel/ |
D | kallsyms.c | 706 static void reset_iter(struct kallsym_iter *iter, loff_t new_pos) in reset_iter() argument 709 iter->nameoff = get_symbol_offset(new_pos); in reset_iter() 710 iter->pos = new_pos; in reset_iter() 711 if (new_pos == 0) { in reset_iter()
|
/linux-6.6.21/fs/ceph/ |
D | dir.c | 575 loff_t new_pos = ceph_make_fpos(ceph_frag_value(frag), in ceph_readdir() local 577 if (new_pos > ctx->pos) in ceph_readdir() 578 ctx->pos = new_pos; in ceph_readdir() 636 static bool need_reset_readdir(struct ceph_dir_file_info *dfi, loff_t new_pos) in need_reset_readdir() argument 640 if (new_pos == 0) in need_reset_readdir() 642 if (is_hash_order(new_pos)) { in need_reset_readdir() 645 } else if (dfi->frag != fpos_frag(new_pos)) { in need_reset_readdir() 652 return new_pos < chunk_offset || in need_reset_readdir() 653 is_hash_order(new_pos) != is_hash_order(chunk_offset); in need_reset_readdir()
|
/linux-6.6.21/fs/overlayfs/ |
D | copy_up.c | 239 loff_t new_pos = 0; in ovl_copy_up_file() local 297 old_pos = new_pos = data_pos; in ovl_copy_up_file() 307 new_file, &new_pos, in ovl_copy_up_file() 313 WARN_ON(old_pos != new_pos); in ovl_copy_up_file()
|
/linux-6.6.21/include/linux/ |
D | bpf_verifier.h | 685 void bpf_vlog_reset(struct bpf_verifier_log *log, u64 new_pos);
|
/linux-6.6.21/drivers/md/ |
D | dm-integrity.c | 2292 unsigned int new_pos; in dm_integrity_map_continue() local 2294 new_pos = find_journal_node(ic, dio->range.logical_sector, &next_sector); in dm_integrity_map_continue() 2295 if (unlikely(new_pos != journal_read_pos)) { in dm_integrity_map_continue() 2303 unsigned int new_pos; in dm_integrity_map_continue() local 2305 new_pos = find_journal_node(ic, dio->range.logical_sector, &next_sector); in dm_integrity_map_continue() 2306 if (unlikely(new_pos != NOT_FOUND) || in dm_integrity_map_continue()
|