Lines Matching defs:hook

155 #define	_NG_HOOK_REF(hook)	refcount_acquire(&(hook)->hk_refs)  argument
156 #define _NG_HOOK_NAME(hook) ((hook)->hk_name) argument
157 #define _NG_HOOK_UNREF(hook) ng_unref_hook(hook) argument
158 #define _NG_HOOK_SET_PRIVATE(hook, val) do {(hook)->hk_private = val;} while (0) argument
159 #define _NG_HOOK_SET_RCVMSG(hook, val) do {(hook)->hk_rcvmsg = val;} while (0) argument
160 #define _NG_HOOK_SET_RCVDATA(hook, val) do {(hook)->hk_rcvdata = val;} while (0) argument
161 #define _NG_HOOK_PRIVATE(hook) ((hook)->hk_private) argument
162 #define _NG_HOOK_NOT_VALID(hook) ((hook)->hk_flags & HK_INVALID) argument
163 #define _NG_HOOK_IS_VALID(hook) (!((hook)->hk_flags & HK_INVALID)) argument
164 #define _NG_HOOK_NODE(hook) ((hook)->hk_node) /* only rvalue! */ argument
165 #define _NG_HOOK_PEER(hook) ((hook)->hk_peer) /* only rvalue! */ argument
166 #define _NG_HOOK_FORCE_WRITER(hook) \ argument
168 #define _NG_HOOK_FORCE_QUEUE(hook) do { hook->hk_flags |= HK_QUEUE; } while (0) argument
169 #define _NG_HOOK_SET_TO_INBOUND(hook) \ argument
171 #define _NG_HOOK_HI_STACK(hook) do { hook->hk_flags |= HK_HI_STACK; } while (0) argument
174 #define NG_PEER_NODE(hook) NG_HOOK_NODE(NG_HOOK_PEER(hook)) argument
175 #define NG_PEER_HOOK_NAME(hook) NG_HOOK_NAME(NG_HOOK_PEER(hook)) argument
176 #define NG_PEER_NODE_NAME(hook) NG_NODE_NAME(NG_PEER_NODE(hook)) argument
204 _chkhook(hook_p hook, char *file, int line) in _chkhook()
215 _ng_hook_ref(hook_p hook, char * file, int line) in _ng_hook_ref()
222 _ng_hook_name(hook_p hook, char * file, int line) in _ng_hook_name()
229 _ng_hook_unref(hook_p hook, char * file, int line) in _ng_hook_unref()
236 _ng_hook_set_private(hook_p hook, void *val, char * file, int line) in _ng_hook_set_private()
243 _ng_hook_set_rcvmsg(hook_p hook, ng_rcvmsg_t *val, char * file, int line) in _ng_hook_set_rcvmsg()
250 _ng_hook_set_rcvdata(hook_p hook, ng_rcvdata_t *val, char * file, int line) in _ng_hook_set_rcvdata()
257 _ng_hook_private(hook_p hook, char * file, int line) in _ng_hook_private()
264 _ng_hook_not_valid(hook_p hook, char * file, int line) in _ng_hook_not_valid()
271 _ng_hook_is_valid(hook_p hook, char * file, int line) in _ng_hook_is_valid()
278 _ng_hook_node(hook_p hook, char * file, int line) in _ng_hook_node()
285 _ng_hook_peer(hook_p hook, char * file, int line) in _ng_hook_peer()
292 _ng_hook_force_writer(hook_p hook, char * file, int line) in _ng_hook_force_writer()
299 _ng_hook_force_queue(hook_p hook, char * file, int line) in _ng_hook_force_queue()
306 _ng_hook_set_to_inbound(hook_p hook, char * file, int line) in _ng_hook_set_to_inbound()
313 _ng_hook_hi_stack(hook_p hook, char * file, int line) in _ng_hook_hi_stack()
319 #define NG_HOOK_REF(hook) _ng_hook_ref(hook, _NN_) argument
320 #define NG_HOOK_NAME(hook) _ng_hook_name(hook, _NN_) argument
321 #define NG_HOOK_UNREF(hook) _ng_hook_unref(hook, _NN_) argument
322 #define NG_HOOK_SET_PRIVATE(hook, val) _ng_hook_set_private(hook, val, _NN_) argument
323 #define NG_HOOK_SET_RCVMSG(hook, val) _ng_hook_set_rcvmsg(hook, val, _NN_) argument
324 #define NG_HOOK_SET_RCVDATA(hook, val) _ng_hook_set_rcvdata(hook, val, _NN_) argument
325 #define NG_HOOK_PRIVATE(hook) _ng_hook_private(hook, _NN_) argument
326 #define NG_HOOK_NOT_VALID(hook) _ng_hook_not_valid(hook, _NN_) argument
327 #define NG_HOOK_IS_VALID(hook) _ng_hook_is_valid(hook, _NN_) argument
328 #define NG_HOOK_NODE(hook) _ng_hook_node(hook, _NN_) argument
329 #define NG_HOOK_PEER(hook) _ng_hook_peer(hook, _NN_) argument
330 #define NG_HOOK_FORCE_WRITER(hook) _ng_hook_force_writer(hook, _NN_) argument
331 #define NG_HOOK_FORCE_QUEUE(hook) _ng_hook_force_queue(hook, _NN_) argument
332 #define NG_HOOK_SET_TO_INBOUND(hook) _ng_hook_set_to_inbound(hook, _NN_) argument
333 #define NG_HOOK_HI_STACK(hook) _ng_hook_hi_stack(hook, _NN_) argument
337 #define NG_HOOK_REF(hook) _NG_HOOK_REF(hook) argument
338 #define NG_HOOK_NAME(hook) _NG_HOOK_NAME(hook) argument
339 #define NG_HOOK_UNREF(hook) _NG_HOOK_UNREF(hook) argument
340 #define NG_HOOK_SET_PRIVATE(hook, val) _NG_HOOK_SET_PRIVATE(hook, val) argument
341 #define NG_HOOK_SET_RCVMSG(hook, val) _NG_HOOK_SET_RCVMSG(hook, val) argument
342 #define NG_HOOK_SET_RCVDATA(hook, val) _NG_HOOK_SET_RCVDATA(hook, val) argument
343 #define NG_HOOK_PRIVATE(hook) _NG_HOOK_PRIVATE(hook) argument
344 #define NG_HOOK_NOT_VALID(hook) _NG_HOOK_NOT_VALID(hook) argument
345 #define NG_HOOK_IS_VALID(hook) _NG_HOOK_IS_VALID(hook) argument
346 #define NG_HOOK_NODE(hook) _NG_HOOK_NODE(hook) argument
347 #define NG_HOOK_PEER(hook) _NG_HOOK_PEER(hook) argument
348 #define NG_HOOK_FORCE_WRITER(hook) _NG_HOOK_FORCE_WRITER(hook) argument
349 #define NG_HOOK_FORCE_QUEUE(hook) _NG_HOOK_FORCE_QUEUE(hook) argument
350 #define NG_HOOK_SET_TO_INBOUND(hook) _NG_HOOK_SET_TO_INBOUND(hook) argument
351 #define NG_HOOK_HI_STACK(hook) _NG_HOOK_HI_STACK(hook) argument
889 #define NG_FWD_ITEM_HOOK_FLAGS(error, item, hook, flags) \ argument
899 #define NG_FWD_ITEM_HOOK(error, item, hook) \ argument
909 #define NG_FWD_NEW_DATA_FLAGS(error, item, hook, m, flags) \ argument
915 #define NG_FWD_NEW_DATA(error, item, hook, m) \ argument
922 #define NG_SEND_DATA_FLAGS(error, hook, m, flags) \ argument
933 #define NG_SEND_DATA_ONLY(error, hook, m) \ argument
936 #define NG_SEND_DATA(error, hook, m, x) \ argument
959 #define NG_SEND_MSG_HOOK(error, here, msg, hook, retaddr) \ argument
1012 #define NG_FWD_MSG_HOOK(error, here, item, hook, retaddr) \ argument