Lines Matching refs:apply
2179 if (item->apply != NULL) {
2181 item->apply->error = ENOENT;
2182 if (refcount_release(&item->apply->refs)) {
2183 (*item->apply->apply)(item->apply->context,
2184 item->apply->error);
2202 * apply pointer must be or NULL or reference valid struct ng_apply_info.
2232 /* Item was sent once more, postpone apply() call. */
2233 if (item->apply)
2234 refcount_acquire(&item->apply->refs);
2334 /* If was not sent, apply callback here. */
2335 if (item->apply != NULL) {
2337 item->apply->error = error;
2338 if (refcount_release(&item->apply->refs)) {
2339 (*item->apply->apply)(item->apply->context,
2340 item->apply->error);
2352 * If there is apply pointer and we own the last reference, call apply().
2360 struct ng_apply_info *apply;
2372 apply = item->apply;
2489 if (apply != NULL) {
2491 apply->error = error;
2492 if (refcount_release(&apply->refs))
2493 (*apply->apply)(apply->context, apply->error);
3722 * If an optional pitem parameter is supplied, its apply
3744 item->apply = pitem->apply;