Lines Matching defs:ncalls
303 static void ep_nested_calls_init(struct nested_calls *ncalls)
305 INIT_LIST_HEAD(&ncalls->tasks_call_list);
306 spin_lock_init(&ncalls->lock);
315 * @ncalls: Pointer to the nested_calls structure to be used for this call.
325 static int ep_call_nested(struct nested_calls *ncalls, int max_nests,
331 struct list_head *lsthead = &ncalls->tasks_call_list;
335 spin_lock_irqsave(&ncalls->lock, flags);
359 spin_unlock_irqrestore(&ncalls->lock, flags);
365 spin_lock_irqsave(&ncalls->lock, flags);
368 spin_unlock_irqrestore(&ncalls->lock, flags);