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

/linux-4.1.27/tools/perf/tests/
H A Dopen-syscall-all-cpus.c49 unsigned int ncalls = nr_open_calls + cpu; test__open_syscall_event_on_all_cpus() local
68 for (i = 0; i < ncalls; ++i) { test__open_syscall_event_on_all_cpus()
/linux-4.1.27/fs/
H A Deventpoll.c363 static void ep_nested_calls_init(struct nested_calls *ncalls) ep_nested_calls_init() argument
365 INIT_LIST_HEAD(&ncalls->tasks_call_list); ep_nested_calls_init()
366 spin_lock_init(&ncalls->lock); ep_nested_calls_init()
388 * @ncalls: Pointer to the nested_calls structure to be used for this call.
398 static int ep_call_nested(struct nested_calls *ncalls, int max_nests, ep_call_nested() argument
404 struct list_head *lsthead = &ncalls->tasks_call_list; ep_call_nested()
408 spin_lock_irqsave(&ncalls->lock, flags); ep_call_nested()
432 spin_unlock_irqrestore(&ncalls->lock, flags);
438 spin_lock_irqsave(&ncalls->lock, flags);
441 spin_unlock_irqrestore(&ncalls->lock, flags);

Completed in 135 milliseconds