Lines Matching refs:apply
2192 if (item->apply != NULL) { in ng_flush_input_queue()
2194 item->apply->error = ENOENT; in ng_flush_input_queue()
2195 if (refcount_release(&item->apply->refs)) { in ng_flush_input_queue()
2196 (*item->apply->apply)(item->apply->context, in ng_flush_input_queue()
2197 item->apply->error); in ng_flush_input_queue()
2249 if (item->apply) in ng_snd_item()
2250 refcount_acquire(&item->apply->refs); in ng_snd_item()
2359 if (item->apply != NULL) { in ng_snd_item()
2361 item->apply->error = error; in ng_snd_item()
2362 if (refcount_release(&item->apply->refs)) { in ng_snd_item()
2363 (*item->apply->apply)(item->apply->context, in ng_snd_item()
2364 item->apply->error); in ng_snd_item()
2384 struct ng_apply_info *apply; in ng_apply_item() local
2396 apply = item->apply; in ng_apply_item()
2515 if (apply != NULL) { in ng_apply_item()
2517 apply->error = error; in ng_apply_item()
2518 if (refcount_release(&apply->refs)) in ng_apply_item()
2519 (*apply->apply)(apply->context, apply->error); in ng_apply_item()
3780 item->apply = pitem->apply; in ng_send_fn2()