Lines Matching refs:nr
23 u32 nr; member
372 entry->nr = stack_trace_save_tsk(task, (unsigned long *)entry->ip, in get_callchain_entry_for_task()
385 for (i = entry->nr - 1; i >= 0; i--) in get_callchain_entry_for_task()
408 if (trace->nr <= skip) in __bpf_get_stackid()
412 trace_nr = trace->nr - skip; in __bpf_get_stackid()
430 new_bucket->nr = trace_nr; in __bpf_get_stackid()
435 if (hash_matches && bucket->nr == trace_nr && in __bpf_get_stackid()
445 if (hash_matches && bucket->nr == trace_nr && in __bpf_get_stackid()
459 new_bucket->nr = trace_nr; in __bpf_get_stackid()
507 while (nr_kernel < trace->nr) { in count_kernel_ip()
543 __u64 nr = trace->nr; in BPF_CALL_3() local
545 trace->nr = nr_kernel; in BPF_CALL_3()
549 trace->nr = nr; in BPF_CALL_3()
624 if (trace->nr < skip) in __bpf_get_stack()
627 trace_nr = trace->nr - skip; in __bpf_get_stack()
722 __u64 nr = trace->nr; in BPF_CALL_4() local
724 trace->nr = nr_kernel; in BPF_CALL_4()
728 trace->nr = nr; in BPF_CALL_4()
777 trace_len = bucket->nr * stack_map_data_size(map); in bpf_stackmap_copy()