Lines Matching refs:apply
2189 if (item->apply != NULL) { in ng_flush_input_queue()
2191 item->apply->error = ENOENT; in ng_flush_input_queue()
2192 if (refcount_release(&item->apply->refs)) { in ng_flush_input_queue()
2193 (*item->apply->apply)(item->apply->context, in ng_flush_input_queue()
2194 item->apply->error); in ng_flush_input_queue()
2243 if (item->apply) in ng_snd_item()
2244 refcount_acquire(&item->apply->refs); in ng_snd_item()
2344 if (item->apply != NULL) { in ng_snd_item()
2346 item->apply->error = error; in ng_snd_item()
2347 if (refcount_release(&item->apply->refs)) { in ng_snd_item()
2348 (*item->apply->apply)(item->apply->context, in ng_snd_item()
2349 item->apply->error); in ng_snd_item()
2369 struct ng_apply_info *apply; in ng_apply_item() local
2381 apply = item->apply; in ng_apply_item()
2498 if (apply != NULL) { in ng_apply_item()
2500 apply->error = error; in ng_apply_item()
2501 if (refcount_release(&apply->refs)) in ng_apply_item()
2502 (*apply->apply)(apply->context, apply->error); in ng_apply_item()
3770 item->apply = pitem->apply; in ng_send_fn2()