Lines Matching defs:hook
146 #define _NG_HOOK_REF(hook) refcount_acquire(&(hook)->hk_refs) argument
147 #define _NG_HOOK_NAME(hook) ((hook)->hk_name) argument
148 #define _NG_HOOK_UNREF(hook) ng_unref_hook(hook) argument
149 #define _NG_HOOK_SET_PRIVATE(hook, val) do {(hook)->hk_private = val;} while (0) argument
150 #define _NG_HOOK_SET_RCVMSG(hook, val) do {(hook)->hk_rcvmsg = val;} while (0) argument
151 #define _NG_HOOK_SET_RCVDATA(hook, val) do {(hook)->hk_rcvdata = val;} while (0) argument
152 #define _NG_HOOK_PRIVATE(hook) ((hook)->hk_private) argument
153 #define _NG_HOOK_NOT_VALID(hook) ((hook)->hk_flags & HK_INVALID) argument
154 #define _NG_HOOK_IS_VALID(hook) (!((hook)->hk_flags & HK_INVALID)) argument
155 #define _NG_HOOK_NODE(hook) ((hook)->hk_node) /* only rvalue! */ argument
156 #define _NG_HOOK_PEER(hook) ((hook)->hk_peer) /* only rvalue! */ argument
157 #define _NG_HOOK_FORCE_WRITER(hook) \ argument
159 #define _NG_HOOK_FORCE_QUEUE(hook) do { hook->hk_flags |= HK_QUEUE; } while (0) argument
160 #define _NG_HOOK_SET_TO_INBOUND(hook) \ argument
162 #define _NG_HOOK_HI_STACK(hook) do { hook->hk_flags |= HK_HI_STACK; } while (0) argument
165 #define NG_PEER_NODE(hook) NG_HOOK_NODE(NG_HOOK_PEER(hook)) argument
166 #define NG_PEER_HOOK_NAME(hook) NG_HOOK_NAME(NG_HOOK_PEER(hook)) argument
167 #define NG_PEER_NODE_NAME(hook) NG_NODE_NAME(NG_PEER_NODE(hook)) argument
195 _chkhook(hook_p hook, char *file, int line) in _chkhook()
206 _ng_hook_ref(hook_p hook, char * file, int line) in _ng_hook_ref()
213 _ng_hook_name(hook_p hook, char * file, int line) in _ng_hook_name()
220 _ng_hook_unref(hook_p hook, char * file, int line) in _ng_hook_unref()
227 _ng_hook_set_private(hook_p hook, void *val, char * file, int line) in _ng_hook_set_private()
234 _ng_hook_set_rcvmsg(hook_p hook, ng_rcvmsg_t *val, char * file, int line) in _ng_hook_set_rcvmsg()
241 _ng_hook_set_rcvdata(hook_p hook, ng_rcvdata_t *val, char * file, int line) in _ng_hook_set_rcvdata()
248 _ng_hook_private(hook_p hook, char * file, int line) in _ng_hook_private()
255 _ng_hook_not_valid(hook_p hook, char * file, int line) in _ng_hook_not_valid()
262 _ng_hook_is_valid(hook_p hook, char * file, int line) in _ng_hook_is_valid()
269 _ng_hook_node(hook_p hook, char * file, int line) in _ng_hook_node()
276 _ng_hook_peer(hook_p hook, char * file, int line) in _ng_hook_peer()
283 _ng_hook_force_writer(hook_p hook, char * file, int line) in _ng_hook_force_writer()
290 _ng_hook_force_queue(hook_p hook, char * file, int line) in _ng_hook_force_queue()
297 _ng_hook_set_to_inbound(hook_p hook, char * file, int line) in _ng_hook_set_to_inbound()
304 _ng_hook_hi_stack(hook_p hook, char * file, int line) in _ng_hook_hi_stack()
310 #define NG_HOOK_REF(hook) _ng_hook_ref(hook, _NN_) argument
311 #define NG_HOOK_NAME(hook) _ng_hook_name(hook, _NN_) argument
312 #define NG_HOOK_UNREF(hook) _ng_hook_unref(hook, _NN_) argument
313 #define NG_HOOK_SET_PRIVATE(hook, val) _ng_hook_set_private(hook, val, _NN_) argument
314 #define NG_HOOK_SET_RCVMSG(hook, val) _ng_hook_set_rcvmsg(hook, val, _NN_) argument
315 #define NG_HOOK_SET_RCVDATA(hook, val) _ng_hook_set_rcvdata(hook, val, _NN_) argument
316 #define NG_HOOK_PRIVATE(hook) _ng_hook_private(hook, _NN_) argument
317 #define NG_HOOK_NOT_VALID(hook) _ng_hook_not_valid(hook, _NN_) argument
318 #define NG_HOOK_IS_VALID(hook) _ng_hook_is_valid(hook, _NN_) argument
319 #define NG_HOOK_NODE(hook) _ng_hook_node(hook, _NN_) argument
320 #define NG_HOOK_PEER(hook) _ng_hook_peer(hook, _NN_) argument
321 #define NG_HOOK_FORCE_WRITER(hook) _ng_hook_force_writer(hook, _NN_) argument
322 #define NG_HOOK_FORCE_QUEUE(hook) _ng_hook_force_queue(hook, _NN_) argument
323 #define NG_HOOK_SET_TO_INBOUND(hook) _ng_hook_set_to_inbound(hook, _NN_) argument
324 #define NG_HOOK_HI_STACK(hook) _ng_hook_hi_stack(hook, _NN_) argument
328 #define NG_HOOK_REF(hook) _NG_HOOK_REF(hook) argument
329 #define NG_HOOK_NAME(hook) _NG_HOOK_NAME(hook) argument
330 #define NG_HOOK_UNREF(hook) _NG_HOOK_UNREF(hook) argument
331 #define NG_HOOK_SET_PRIVATE(hook, val) _NG_HOOK_SET_PRIVATE(hook, val) argument
332 #define NG_HOOK_SET_RCVMSG(hook, val) _NG_HOOK_SET_RCVMSG(hook, val) argument
333 #define NG_HOOK_SET_RCVDATA(hook, val) _NG_HOOK_SET_RCVDATA(hook, val) argument
334 #define NG_HOOK_PRIVATE(hook) _NG_HOOK_PRIVATE(hook) argument
335 #define NG_HOOK_NOT_VALID(hook) _NG_HOOK_NOT_VALID(hook) argument
336 #define NG_HOOK_IS_VALID(hook) _NG_HOOK_IS_VALID(hook) argument
337 #define NG_HOOK_NODE(hook) _NG_HOOK_NODE(hook) argument
338 #define NG_HOOK_PEER(hook) _NG_HOOK_PEER(hook) argument
339 #define NG_HOOK_FORCE_WRITER(hook) _NG_HOOK_FORCE_WRITER(hook) argument
340 #define NG_HOOK_FORCE_QUEUE(hook) _NG_HOOK_FORCE_QUEUE(hook) argument
341 #define NG_HOOK_SET_TO_INBOUND(hook) _NG_HOOK_SET_TO_INBOUND(hook) argument
342 #define NG_HOOK_HI_STACK(hook) _NG_HOOK_HI_STACK(hook) argument
880 #define NG_FWD_ITEM_HOOK_FLAGS(error, item, hook, flags) \ argument
890 #define NG_FWD_ITEM_HOOK(error, item, hook) \ argument
900 #define NG_FWD_NEW_DATA_FLAGS(error, item, hook, m, flags) \ argument
906 #define NG_FWD_NEW_DATA(error, item, hook, m) \ argument
913 #define NG_SEND_DATA_FLAGS(error, hook, m, flags) \ argument
924 #define NG_SEND_DATA_ONLY(error, hook, m) \ argument
927 #define NG_SEND_DATA(error, hook, m, x) \ argument
950 #define NG_SEND_MSG_HOOK(error, here, msg, hook, retaddr) \ argument
1003 #define NG_FWD_MSG_HOOK(error, here, item, hook, retaddr) \ argument