Lines Matching refs:apply
2185 if (item->apply != NULL) { in ng_flush_input_queue()
2187 item->apply->error = ENOENT; in ng_flush_input_queue()
2188 if (refcount_release(&item->apply->refs)) { in ng_flush_input_queue()
2189 (*item->apply->apply)(item->apply->context, in ng_flush_input_queue()
2190 item->apply->error); in ng_flush_input_queue()
2239 if (item->apply) in ng_snd_item()
2240 refcount_acquire(&item->apply->refs); in ng_snd_item()
2341 if (item->apply != NULL) { in ng_snd_item()
2343 item->apply->error = error; in ng_snd_item()
2344 if (refcount_release(&item->apply->refs)) { in ng_snd_item()
2345 (*item->apply->apply)(item->apply->context, in ng_snd_item()
2346 item->apply->error); in ng_snd_item()
2366 struct ng_apply_info *apply; in ng_apply_item() local
2378 apply = item->apply; in ng_apply_item()
2495 if (apply != NULL) { in ng_apply_item()
2497 apply->error = error; in ng_apply_item()
2498 if (refcount_release(&apply->refs)) in ng_apply_item()
2499 (*apply->apply)(apply->context, apply->error); in ng_apply_item()
3746 item->apply = pitem->apply; in ng_send_fn2()