Searched refs:new_pos (Results 1 – 12 of 12) sorted by relevance
| /linux/tools/perf/scripts/python/ |
| H A D | parallel-perf.py | 459 new_pos = 0 462 while pos < len(time_ranges) and new_pos < len(new_time_ranges): 464 if new_time_ranges[new_pos][1] < time_ranges[pos][0]: 465 del new_time_ranges[new_pos] 468 if new_time_ranges[new_pos][0] > time_ranges[pos][1]: 473 while new_pos < len(new_time_ranges): 474 del new_time_ranges[new_pos] 478 if new_time_ranges[new_pos][0] < time_ranges[pos][0]: 479 new_time_ranges[new_pos][0] = time_ranges[pos][0] 481 if new_time_ranges[new_pos][1] > time_ranges[pos][1]: [all …]
|
| /linux/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | proc.c | 96 const char *new_pos = strchr(pos, ' '); in netstat_read_type() local 99 if (new_pos == NULL) in netstat_read_type() 100 new_pos = strchr(pos, '\n'); in netstat_read_type() 102 nc->name = strndup(pos, new_pos - pos); in netstat_read_type() 110 pos = new_pos + 1; in netstat_read_type()
|
| /linux/sound/core/ |
| H A D | pcm_dmaengine.c | 138 unsigned int new_pos; in dmaengine_pcm_dma_complete() local 142 new_pos = prtd->pos + snd_pcm_lib_period_bytes(substream); in dmaengine_pcm_dma_complete() 143 if (new_pos >= snd_pcm_lib_buffer_bytes(substream)) in dmaengine_pcm_dma_complete() 144 new_pos = 0; in dmaengine_pcm_dma_complete() 145 prtd->pos = new_pos; in dmaengine_pcm_dma_complete()
|
| /linux/fs/xfs/scrub/ |
| H A 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/kernel/ |
| H A D | kallsyms.c | 687 static void reset_iter(struct kallsym_iter *iter, loff_t new_pos) in reset_iter() argument 690 iter->nameoff = get_symbol_offset(new_pos); in reset_iter() 691 iter->pos = new_pos; in reset_iter() 692 if (new_pos == 0) { in reset_iter()
|
| /linux/fs/overlayfs/ |
| H A D | copy_up.c | 267 loff_t new_pos = 0; in ovl_copy_up_file() local 291 error = rw_verify_area(WRITE, new_file, &new_pos, len); in ovl_copy_up_file() 336 old_pos = new_pos = data_pos; in ovl_copy_up_file() 345 error = ovl_verify_area(old_pos, new_pos, this_len, len); in ovl_copy_up_file() 350 new_file, &new_pos, in ovl_copy_up_file() 356 WARN_ON(old_pos != new_pos); in ovl_copy_up_file()
|
| /linux/kernel/bpf/ |
| H A D | log.c | 149 void bpf_vlog_reset(struct bpf_verifier_log *log, u64 new_pos) in bpf_vlog_reset() argument 154 if (WARN_ON_ONCE(new_pos > log->end_pos)) in bpf_vlog_reset() 164 log->end_pos = new_pos; in bpf_vlog_reset() 174 div_u64_rem(new_pos, log->len_total, &pos); in bpf_vlog_reset()
|
| /linux/drivers/md/ |
| H A D | md-bitmap.h | 105 sector_t new_pos);
|
| H A D | md-llbitmap.c | 2071 sector_t new_pos) in llbitmap_reshape_mark() argument 2079 if (!llbitmap || old_pos == new_pos) in llbitmap_reshape_mark() 2082 lo = min(old_pos, new_pos); in llbitmap_reshape_mark() 2083 hi = max(old_pos, new_pos); in llbitmap_reshape_mark()
|
| H A D | dm-integrity.c | 2472 unsigned int new_pos; in dm_integrity_map_continue() local 2474 new_pos = find_journal_node(ic, dio->range.logical_sector, &next_sector); in dm_integrity_map_continue() 2475 if (unlikely(new_pos != journal_read_pos)) { in dm_integrity_map_continue() 2483 unsigned int new_pos; in dm_integrity_map_continue() local 2485 new_pos = find_journal_node(ic, dio->range.logical_sector, &next_sector); in dm_integrity_map_continue() 2486 if (unlikely(new_pos != NOT_FOUND) || in dm_integrity_map_continue()
|
| /linux/tools/sched_ext/ |
| H A D | scx_qmap.bpf.c | 1698 s32 nr_shared, old_pos, new_pos; in rr_advance() local 1719 new_pos = (old_pos + 1) % nr_rr; in rr_advance() 1721 new_cgid = qa.part.rr_slots[new_pos]; in rr_advance() 1722 qa.part.rr_pos = new_pos; in rr_advance()
|
| /linux/include/linux/ |
| H A D | bpf_verifier.h | 1090 void bpf_vlog_reset(struct bpf_verifier_log *log, u64 new_pos);
|