Home
last modified time | relevance | path

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

/linux-2.6.39/fs/
Deventpoll.c312 static void ep_nested_calls_init(struct nested_calls *ncalls) in ep_nested_calls_init() argument
314 INIT_LIST_HEAD(&ncalls->tasks_call_list); in ep_nested_calls_init()
315 spin_lock_init(&ncalls->lock); in ep_nested_calls_init()
347 static int ep_call_nested(struct nested_calls *ncalls, int max_nests, in ep_call_nested() argument
353 struct list_head *lsthead = &ncalls->tasks_call_list; in ep_call_nested()
357 spin_lock_irqsave(&ncalls->lock, flags); in ep_call_nested()
381 spin_unlock_irqrestore(&ncalls->lock, flags); in ep_call_nested()
387 spin_lock_irqsave(&ncalls->lock, flags); in ep_call_nested()
390 spin_unlock_irqrestore(&ncalls->lock, flags); in ep_call_nested()
/linux-2.6.39/tools/perf/
Dbuiltin-test.c376 unsigned int ncalls = nr_open_calls + cpu; in test__open_syscall_event_on_all_cpus() local
395 for (i = 0; i < ncalls; ++i) { in test__open_syscall_event_on_all_cpus()