Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 25 of 28) sorted by relevance

12

/include/rv/
Dinstrumentation.h16 #define rv_attach_trace_probe(monitor, tp, rv_handler) \ argument
18 check_trace_callback_type_##tp(rv_handler); \
19 WARN_ONCE(register_trace_##tp(rv_handler, NULL), \
20 "fail attaching " #monitor " " #tp "handler"); \
26 #define rv_detach_trace_probe(monitor, tp, rv_handler) \ argument
28 unregister_trace_##tp(rv_handler, NULL); \
/include/uapi/linux/
Datmsvc.h52 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : \ argument
53 (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : \
54 (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR)
Dcan.h246 struct { canid_t rx_id, tx_id; } tp; member
Dtcp.h70 #define tcp_flag_word(tp) (((union tcp_word_hdr *)(tp))->words[3]) argument
/include/net/
Dtc_wrapper.h144 const struct tcf_proto *tp, \
157 static inline int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, in tc_classify() argument
164 if (tp->classify == cls_bpf_classify) in tc_classify()
165 return cls_bpf_classify(skb, tp, res); in tc_classify()
168 if (tp->classify == u32_classify) in tc_classify()
169 return u32_classify(skb, tp, res); in tc_classify()
172 if (tp->classify == fl_classify) in tc_classify()
173 return fl_classify(skb, tp, res); in tc_classify()
176 if (tp->classify == fw_classify) in tc_classify()
177 return fw_classify(skb, tp, res); in tc_classify()
[all …]
Dtcp.h394 void tcp_clear_retrans(struct tcp_sock *tp);
592 void tcp_mark_push(struct tcp_sock *tp, struct sk_buff *skb);
651 static inline int tcp_bound_to_half_wnd(struct tcp_sock *tp, int pktsize) in tcp_bound_to_half_wnd() argument
662 if (tp->max_window > TCP_MSS_DEFAULT) in tcp_bound_to_half_wnd()
663 cutoff = (tp->max_window >> 1); in tcp_bound_to_half_wnd()
665 cutoff = tp->max_window; in tcp_bound_to_half_wnd()
668 return max_t(int, cutoff, 68U - tp->tcp_header_len); in tcp_bound_to_half_wnd()
695 static inline u32 __tcp_set_rto(const struct tcp_sock *tp) in __tcp_set_rto() argument
697 return usecs_to_jiffies((tp->srtt_us >> 3) + tp->rttvar_us); in __tcp_set_rto()
700 static inline void __tcp_fast_path_on(struct tcp_sock *tp, u32 snd_wnd) in __tcp_fast_path_on() argument
[all …]
Dnetlink.h378 #define __NLA_IS_UINT_TYPE(tp) \ argument
379 (tp == NLA_U8 || tp == NLA_U16 || tp == NLA_U32 || \
380 tp == NLA_U64 || tp == NLA_BE16 || tp == NLA_BE32)
381 #define __NLA_IS_SINT_TYPE(tp) \ argument
382 (tp == NLA_S8 || tp == NLA_S16 || tp == NLA_S32 || tp == NLA_S64)
385 #define NLA_ENSURE_UINT_TYPE(tp) \ argument
386 (__NLA_ENSURE(__NLA_IS_UINT_TYPE(tp)) + tp)
387 #define NLA_ENSURE_UINT_OR_BINARY_TYPE(tp) \ argument
388 (__NLA_ENSURE(__NLA_IS_UINT_TYPE(tp) || \
389 tp == NLA_MSECS || \
[all …]
Dpkt_cls.h51 struct tcf_proto *tp);
63 int police, struct tcf_proto *tp, u32 handle, bool used_action_miss);
83 const struct tcf_proto *tp, struct tcf_result *res,
86 static inline bool tc_cls_stats_dump(struct tcf_proto *tp, in tc_cls_stats_dump() argument
90 if (arg->count >= arg->skip && arg->fn(tp, filter, arg) < 0) { in tc_cls_stats_dump()
143 const struct tcf_proto *tp, in tcf_classify() argument
169 tcf_bind_filter(struct tcf_proto *tp, struct tcf_result *r, unsigned long base) in tcf_bind_filter() argument
171 struct Qdisc *q = tp->chain->block->q; in tcf_bind_filter()
193 tcf_unbind_filter(struct tcf_proto *tp, struct tcf_result *r) in tcf_unbind_filter() argument
195 struct Qdisc *q = tp->chain->block->q; in tcf_unbind_filter()
[all …]
Dsch_generic.h357 void (*destroy)(struct tcf_proto *tp, bool rtnl_held,
361 void (*put)(struct tcf_proto *tp, void *f);
367 int (*delete)(struct tcf_proto *tp, void *arg,
370 bool (*delete_empty)(struct tcf_proto *tp);
371 void (*walk)(struct tcf_proto *tp,
373 int (*reoffload)(struct tcf_proto *tp, bool add,
376 void (*hw_add)(struct tcf_proto *tp,
378 void (*hw_del)(struct tcf_proto *tp,
391 struct tcf_exts * (*get_exts)(const struct tcf_proto *tp,
399 struct tcf_proto *tp, void *fh,
[all …]
Dact_api.h120 struct tcf_proto *tp,
206 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla,
213 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp,
263 int tcf_action_check_ctrlact(int action, struct tcf_proto *tp,
Dflow_dissector.h191 struct flow_dissector_key_ports tp; member
Dmptcp.h148 void mptcp_write_options(struct tcphdr *th, __be32 *ptr, struct tcp_sock *tp,
/include/linux/
Dtracepoint-defs.h51 struct tracepoint *tp; member
81 #define DECLARE_TRACEPOINT(tp) \ argument
82 extern struct tracepoint __tracepoint_##tp
85 # define tracepoint_enabled(tp) \ argument
86 static_key_false(&(__tracepoint_##tp).key)
Dtorture.h92 void torture_shuffle_task_register(struct task_struct *tp);
112 char *f, struct task_struct **tp, void (*cbf)(struct task_struct *tp));
113 void _torture_stop_kthread(char *m, struct task_struct **tp);
115 #define torture_create_kthread(n, arg, tp) \ argument
117 "Failed to create " #n, &(tp), NULL)
118 #define torture_create_kthread_cb(n, arg, tp, cbf) \ argument
120 "Failed to create " #n, &(tp), cbf)
121 #define torture_stop_kthread(n, tp) \ argument
122 _torture_stop_kthread("Stopping " #n " task", &(tp))
Dtracepoint.h39 tracepoint_probe_register(struct tracepoint *tp, void *probe, void *data);
41 tracepoint_probe_register_prio(struct tracepoint *tp, void *probe, void *data,
44 tracepoint_probe_register_prio_may_exist(struct tracepoint *tp, void *probe, void *data,
47 tracepoint_probe_unregister(struct tracepoint *tp, void *probe, void *data);
49 tracepoint_probe_register_may_exist(struct tracepoint *tp, void *probe, in tracepoint_probe_register_may_exist() argument
52 return tracepoint_probe_register_prio_may_exist(tp, probe, data, in tracepoint_probe_register_may_exist()
56 for_each_kernel_tracepoint(void (*fct)(struct tracepoint *tp, void *priv),
Dtcp.h525 static inline void tcp_move_syn(struct tcp_sock *tp, in tcp_move_syn() argument
528 tp->saved_syn = req->saved_syn; in tcp_move_syn()
532 static inline void tcp_saved_syn_free(struct tcp_sock *tp) in tcp_saved_syn_free() argument
534 kfree(tp->saved_syn); in tcp_saved_syn_free()
535 tp->saved_syn = NULL; in tcp_saved_syn_free()
548 static inline u16 tcp_mss_clamp(const struct tcp_sock *tp, u16 mss) in tcp_mss_clamp() argument
553 u16 user_mss = READ_ONCE(tp->rx_opt.user_mss); in tcp_mss_clamp()
Dtrace_events.h374 struct tracepoint *tp; member
468 return call->tp ? call->tp->name : NULL; in trace_event_name()
/include/trace/
Dtrace_custom_events.h209 static inline int trace_custom_event_##call##_update(struct tracepoint *tp) \
211 if (tp->name && strcmp(tp->name, #call) == 0) { \
212 custom_event_##call.tp = tp; \
Dtrace_events.h443 .tp = &__tracepoint_##call, \
460 .tp = &__tracepoint_##call, \
Dbpf_probe.h74 .tp = &__tracepoint_##call, \
/include/trace/events/
Dtcp.h266 const struct tcp_sock *tp = tcp_sk(sk);
280 __entry->snd_nxt = tp->snd_nxt;
281 __entry->snd_una = tp->snd_una;
282 __entry->snd_cwnd = tcp_snd_cwnd(tp);
283 __entry->snd_wnd = tp->snd_wnd;
284 __entry->rcv_wnd = tp->rcv_wnd;
286 __entry->srtt = tp->srtt_us >> 3;
/include/trace/hooks/
Dogki_honor.h72 TP_PROTO(struct tcp_sock *tp, u32 sample, int win_dep), TP_ARGS(tp, sample, win_dep));
Dvendor_hooks.h18 int android_rvh_probe_register(struct tracepoint *tp, void *probe, void *data);
/include/net/netfilter/
Dnf_tables_offload.h50 struct flow_dissector_key_ports tp; member
/include/linux/mfd/
Dsi476x-core.h327 bool tp; member

12