Home
last modified time | relevance | path

Searched refs:ncalls (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_tcpnotify_user.c67 return (result->ncalls > 0 && result->ncalls == rx_callbacks ? 0 : 1); in verify_result()
155 g.ncalls, rx_callbacks); in main()
Dtest_tcpnotify.h8 __u32 ncalls; member
/Linux-v5.4/tools/perf/tests/
Dopenat-syscall-all-cpus.c62 unsigned int ncalls = nr_openat_calls + cpu; in test__openat_syscall_event_on_all_cpus() local
81 for (i = 0; i < ncalls; ++i) { in test__openat_syscall_event_on_all_cpus()
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dtest_tcpnotify_kern.c81 g.ncalls++; in bpf_testcb()
/Linux-v5.4/fs/
Deventpoll.c364 static void ep_nested_calls_init(struct nested_calls *ncalls) in ep_nested_calls_init() argument
366 INIT_LIST_HEAD(&ncalls->tasks_call_list); in ep_nested_calls_init()
367 spin_lock_init(&ncalls->lock); in ep_nested_calls_init()
479 static int ep_call_nested(struct nested_calls *ncalls, in ep_call_nested() argument
485 struct list_head *lsthead = &ncalls->tasks_call_list; in ep_call_nested()
489 spin_lock_irqsave(&ncalls->lock, flags); in ep_call_nested()
513 spin_unlock_irqrestore(&ncalls->lock, flags); in ep_call_nested()
519 spin_lock_irqsave(&ncalls->lock, flags); in ep_call_nested()
522 spin_unlock_irqrestore(&ncalls->lock, flags); in ep_call_nested()