Searched refs:ncalls (Results 1 – 1 of 1) sorted by relevance
359 static void ep_nested_calls_init(struct nested_calls *ncalls) in ep_nested_calls_init() argument361 INIT_LIST_HEAD(&ncalls->tasks_call_list); in ep_nested_calls_init()362 spin_lock_init(&ncalls->lock); in ep_nested_calls_init()394 static int ep_call_nested(struct nested_calls *ncalls, int max_nests, in ep_call_nested() argument400 struct list_head *lsthead = &ncalls->tasks_call_list; in ep_call_nested()404 spin_lock_irqsave(&ncalls->lock, flags); in ep_call_nested()428 spin_unlock_irqrestore(&ncalls->lock, flags); in ep_call_nested()434 spin_lock_irqsave(&ncalls->lock, flags); in ep_call_nested()437 spin_unlock_irqrestore(&ncalls->lock, flags); in ep_call_nested()