Searched refs:ncalls (Results 1 – 1 of 1) sorted by relevance
365 static void ep_nested_calls_init(struct nested_calls *ncalls) in ep_nested_calls_init() argument367 INIT_LIST_HEAD(&ncalls->tasks_call_list); in ep_nested_calls_init()368 spin_lock_init(&ncalls->lock); in ep_nested_calls_init()480 static int ep_call_nested(struct nested_calls *ncalls, in ep_call_nested() argument486 struct list_head *lsthead = &ncalls->tasks_call_list; in ep_call_nested()490 spin_lock_irqsave(&ncalls->lock, flags); in ep_call_nested()514 spin_unlock_irqrestore(&ncalls->lock, flags); in ep_call_nested()520 spin_lock_irqsave(&ncalls->lock, flags); in ep_call_nested()523 spin_unlock_irqrestore(&ncalls->lock, flags); in ep_call_nested()