Lines Matching defs:hook

142 #define	_NG_HOOK_REF(hook)	refcount_acquire(&(hook)->hk_refs)  argument
143 #define _NG_HOOK_NAME(hook) ((hook)->hk_name) argument
144 #define _NG_HOOK_UNREF(hook) ng_unref_hook(hook) argument
145 #define _NG_HOOK_SET_PRIVATE(hook, val) do {(hook)->hk_private = val;} while (0) argument
146 #define _NG_HOOK_SET_RCVMSG(hook, val) do {(hook)->hk_rcvmsg = val;} while (0) argument
147 #define _NG_HOOK_SET_RCVDATA(hook, val) do {(hook)->hk_rcvdata = val;} while (0) argument
148 #define _NG_HOOK_PRIVATE(hook) ((hook)->hk_private) argument
149 #define _NG_HOOK_NOT_VALID(hook) ((hook)->hk_flags & HK_INVALID) argument
150 #define _NG_HOOK_IS_VALID(hook) (!((hook)->hk_flags & HK_INVALID)) argument
151 #define _NG_HOOK_NODE(hook) ((hook)->hk_node) /* only rvalue! */ argument
152 #define _NG_HOOK_PEER(hook) ((hook)->hk_peer) /* only rvalue! */ argument
153 #define _NG_HOOK_FORCE_WRITER(hook) \ argument
155 #define _NG_HOOK_FORCE_QUEUE(hook) do { hook->hk_flags |= HK_QUEUE; } while (0) argument
156 #define _NG_HOOK_SET_TO_INBOUND(hook) \ argument
158 #define _NG_HOOK_HI_STACK(hook) do { hook->hk_flags |= HK_HI_STACK; } while (0) argument
161 #define NG_PEER_NODE(hook) NG_HOOK_NODE(NG_HOOK_PEER(hook)) argument
162 #define NG_PEER_HOOK_NAME(hook) NG_HOOK_NAME(NG_HOOK_PEER(hook)) argument
163 #define NG_PEER_NODE_NAME(hook) NG_NODE_NAME(NG_PEER_NODE(hook)) argument
191 _chkhook(hook_p hook, char *file, int line) in _chkhook()
202 _ng_hook_ref(hook_p hook, char * file, int line) in _ng_hook_ref()
209 _ng_hook_name(hook_p hook, char * file, int line) in _ng_hook_name()
216 _ng_hook_unref(hook_p hook, char * file, int line) in _ng_hook_unref()
223 _ng_hook_set_private(hook_p hook, void *val, char * file, int line) in _ng_hook_set_private()
230 _ng_hook_set_rcvmsg(hook_p hook, ng_rcvmsg_t *val, char * file, int line) in _ng_hook_set_rcvmsg()
237 _ng_hook_set_rcvdata(hook_p hook, ng_rcvdata_t *val, char * file, int line) in _ng_hook_set_rcvdata()
244 _ng_hook_private(hook_p hook, char * file, int line) in _ng_hook_private()
251 _ng_hook_not_valid(hook_p hook, char * file, int line) in _ng_hook_not_valid()
258 _ng_hook_is_valid(hook_p hook, char * file, int line) in _ng_hook_is_valid()
265 _ng_hook_node(hook_p hook, char * file, int line) in _ng_hook_node()
272 _ng_hook_peer(hook_p hook, char * file, int line) in _ng_hook_peer()
279 _ng_hook_force_writer(hook_p hook, char * file, int line) in _ng_hook_force_writer()
286 _ng_hook_force_queue(hook_p hook, char * file, int line) in _ng_hook_force_queue()
293 _ng_hook_set_to_inbound(hook_p hook, char * file, int line) in _ng_hook_set_to_inbound()
300 _ng_hook_hi_stack(hook_p hook, char * file, int line) in _ng_hook_hi_stack()
307 #define NG_HOOK_REF(hook) _ng_hook_ref(hook, _NN_) argument
308 #define NG_HOOK_NAME(hook) _ng_hook_name(hook, _NN_) argument
309 #define NG_HOOK_UNREF(hook) _ng_hook_unref(hook, _NN_) argument
310 #define NG_HOOK_SET_PRIVATE(hook, val) _ng_hook_set_private(hook, val, _NN_) argument
311 #define NG_HOOK_SET_RCVMSG(hook, val) _ng_hook_set_rcvmsg(hook, val, _NN_) argument
312 #define NG_HOOK_SET_RCVDATA(hook, val) _ng_hook_set_rcvdata(hook, val, _NN_) argument
313 #define NG_HOOK_PRIVATE(hook) _ng_hook_private(hook, _NN_) argument
314 #define NG_HOOK_NOT_VALID(hook) _ng_hook_not_valid(hook, _NN_) argument
315 #define NG_HOOK_IS_VALID(hook) _ng_hook_is_valid(hook, _NN_) argument
316 #define NG_HOOK_NODE(hook) _ng_hook_node(hook, _NN_) argument
317 #define NG_HOOK_PEER(hook) _ng_hook_peer(hook, _NN_) argument
318 #define NG_HOOK_FORCE_WRITER(hook) _ng_hook_force_writer(hook, _NN_) argument
319 #define NG_HOOK_FORCE_QUEUE(hook) _ng_hook_force_queue(hook, _NN_) argument
320 #define NG_HOOK_SET_TO_INBOUND(hook) _ng_hook_set_to_inbound(hook, _NN_) argument
321 #define NG_HOOK_HI_STACK(hook) _ng_hook_hi_stack(hook, _NN_) argument
325 #define NG_HOOK_REF(hook) _NG_HOOK_REF(hook) argument
326 #define NG_HOOK_NAME(hook) _NG_HOOK_NAME(hook) argument
327 #define NG_HOOK_UNREF(hook) _NG_HOOK_UNREF(hook) argument
328 #define NG_HOOK_SET_PRIVATE(hook, val) _NG_HOOK_SET_PRIVATE(hook, val) argument
329 #define NG_HOOK_SET_RCVMSG(hook, val) _NG_HOOK_SET_RCVMSG(hook, val) argument
330 #define NG_HOOK_SET_RCVDATA(hook, val) _NG_HOOK_SET_RCVDATA(hook, val) argument
331 #define NG_HOOK_PRIVATE(hook) _NG_HOOK_PRIVATE(hook) argument
332 #define NG_HOOK_NOT_VALID(hook) _NG_HOOK_NOT_VALID(hook) argument
333 #define NG_HOOK_IS_VALID(hook) _NG_HOOK_IS_VALID(hook) argument
334 #define NG_HOOK_NODE(hook) _NG_HOOK_NODE(hook) argument
335 #define NG_HOOK_PEER(hook) _NG_HOOK_PEER(hook) argument
336 #define NG_HOOK_FORCE_WRITER(hook) _NG_HOOK_FORCE_WRITER(hook) argument
337 #define NG_HOOK_FORCE_QUEUE(hook) _NG_HOOK_FORCE_QUEUE(hook) argument
338 #define NG_HOOK_SET_TO_INBOUND(hook) _NG_HOOK_SET_TO_INBOUND(hook) argument
339 #define NG_HOOK_HI_STACK(hook) _NG_HOOK_HI_STACK(hook) argument
571 hook_p hook; in _ng_node_foreach_hook() local
883 #define NG_FWD_ITEM_HOOK_FLAGS(error, item, hook, flags) \ argument
893 #define NG_FWD_ITEM_HOOK(error, item, hook) \ argument
903 #define NG_FWD_NEW_DATA_FLAGS(error, item, hook, m, flags) \ argument
909 #define NG_FWD_NEW_DATA(error, item, hook, m) \ argument
916 #define NG_SEND_DATA_FLAGS(error, hook, m, flags) \ argument
927 #define NG_SEND_DATA_ONLY(error, hook, m) \ argument
930 #define NG_SEND_DATA(error, hook, m, x) \ argument
953 #define NG_SEND_MSG_HOOK(error, here, msg, hook, retaddr) \ argument
1006 #define NG_FWD_MSG_HOOK(error, here, item, hook, retaddr) \ argument