Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/tests/
Dopenat-syscall-all-cpus.c59 unsigned int ncalls = nr_openat_calls + cpu; in test__openat_syscall_event_on_all_cpus() local
78 for (i = 0; i < ncalls; ++i) { in test__openat_syscall_event_on_all_cpus()
/Linux-v4.19/fs/
Deventpoll.c368 static void ep_nested_calls_init(struct nested_calls *ncalls) in ep_nested_calls_init() argument
370 INIT_LIST_HEAD(&ncalls->tasks_call_list); in ep_nested_calls_init()
371 spin_lock_init(&ncalls->lock); in ep_nested_calls_init()
483 static int ep_call_nested(struct nested_calls *ncalls, int max_nests, in ep_call_nested() argument
489 struct list_head *lsthead = &ncalls->tasks_call_list; in ep_call_nested()
493 spin_lock_irqsave(&ncalls->lock, flags); in ep_call_nested()
517 spin_unlock_irqrestore(&ncalls->lock, flags); in ep_call_nested()
523 spin_lock_irqsave(&ncalls->lock, flags); in ep_call_nested()
526 spin_unlock_irqrestore(&ncalls->lock, flags); in ep_call_nested()