• Home
  • Raw
  • Download

Lines Matching refs:nr

1347 	u32 nr;  in perf_event_pid_type()  local
1354 nr = __task_pid_nr_ns(p, type, event->ns); in perf_event_pid_type()
1356 if (!nr && !pid_alive(p)) in perf_event_pid_type()
1357 nr = -1; in perf_event_pid_type()
1358 return nr; in perf_event_pid_type()
1819 int nr = 1; in __perf_event_read_size() local
1834 nr += nr_siblings; in __perf_event_read_size()
1842 return size + nr * entry; in __perf_event_read_size()
3697 itrs[heap->nr] = event; in __heap_add()
3698 heap->nr++; in __heap_add()
3719 .nr = 0, in visit_groups_merge()
3732 .nr = 0, in visit_groups_merge()
3749 while (event_heap.nr) { in visit_groups_merge()
7145 size += data->callchain->nr; in perf_output_sample()
7187 size = data->br_stack->nr in perf_output_sample()
7190 perf_output_put(handle, data->br_stack->nr); in perf_output_sample()
7198 u64 nr = 0; in perf_output_sample() local
7199 perf_output_put(handle, nr); in perf_output_sample()
7408 static struct perf_callchain_entry __empty_callchain = { .nr = 0, };
7458 size += data->callchain->nr; in perf_prepare_sample()
7495 size += data->br_stack->nr in perf_prepare_sample()
9452 u64 nr, offset; in perf_swevent_set_period() local
9462 nr = div64_u64(period + val, period); in perf_swevent_set_period()
9463 offset = nr * period; in perf_swevent_set_period()
9468 return nr; in perf_swevent_set_period()
9497 static void perf_swevent_event(struct perf_event *event, u64 nr, in perf_swevent_event() argument
9503 local64_add(nr, &event->count); in perf_swevent_event()
9512 data->period = nr; in perf_swevent_event()
9517 if (nr == 1 && hwc->sample_period == 1 && !event->attr.freq) in perf_swevent_event()
9520 if (local64_add_negative(nr, &hwc->period_left)) in perf_swevent_event()
9611 u64 nr, in do_perf_sw_event() argument
9626 perf_swevent_event(event, nr, data, regs); in do_perf_sw_event()
9649 void ___perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr) in ___perf_sw_event() argument
9657 do_perf_sw_event(PERF_TYPE_SOFTWARE, event_id, nr, &data, regs); in ___perf_sw_event()
9660 void __perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr) in __perf_sw_event() argument
9669 ___perf_sw_event(event_id, nr, regs, addr); in __perf_sw_event()