Lines Matching refs:slot
264 #define NET_PROFILE_ENTER(slot) net_profile_enter(&net_prof_##slot) argument
265 #define NET_PROFILE_LEAVE(slot) net_profile_leave(&net_prof_##slot) argument
266 #define NET_PROFILE_LEAVE_IRQ(slot) net_profile_leave_irq(&net_prof_##slot) argument
276 #define NET_PROFILE_SKB_PASSED(skb, slot) ({ \ argument
280 net_profile_accumulate(&cur_pstamp, &skb->pstamp, &net_prof_##slot.accumulator); \
281 net_prof_##slot.hits++; \
284 #define NET_PROFILE_DECL(slot) \ argument
285 extern struct net_profile_slot net_prof_##slot;
287 #define NET_PROFILE_DEFINE(slot) \ argument
288 struct net_profile_slot net_prof_##slot = { #slot, };
290 #define NET_PROFILE_REGISTER(slot) net_profile_register(&net_prof_##slot) argument
291 #define NET_PROFILE_UNREGISTER(slot) net_profile_unregister(&net_prof_##slot) argument
299 #define NET_PROFILE_ENTER(slot) do { /* nothing */ } while(0) argument
300 #define NET_PROFILE_LEAVE(slot) do { /* nothing */ } while(0) argument
301 #define NET_PROFILE_LEAVE_IRQ(slot) do { /* nothing */ } while(0) argument
304 #define NET_PROFILE_SKB_PASSED(skb, slot) do { /* nothing */ } while(0) argument
305 #define NET_PROFILE_DECL(slot) argument
306 #define NET_PROFILE_DEFINE(slot) argument
307 #define NET_PROFILE_REGISTER(slot) do { /* nothing */ } while(0) argument
308 #define NET_PROFILE_UNREGISTER(slot) do { /* nothing */ } while(0) argument