Home
last modified time | relevance | path

Searched refs:flp (Results 1 – 19 of 19) sorted by relevance

/linux-6.3-rc2/include/trace/events/
A Dfib6.h18 TP_ARGS(net, res, table, flp),
43 __entry->oif = flp->flowi6_oif;
44 __entry->iif = flp->flowi6_iif;
45 __entry->tos = ip6_tclass(flp->flowlabel);
46 __entry->scope = flp->flowi6_scope;
47 __entry->flags = flp->flowi6_flags;
50 *in6 = flp->saddr;
53 *in6 = flp->daddr;
55 __entry->proto = flp->flowi6_proto;
58 __entry->sport = ntohs(flp->fl6_sport);
[all …]
A Dfib.h15 TP_PROTO(u32 tb_id, const struct flowi4 *flp,
18 TP_ARGS(tb_id, flp, nhc, err),
46 __entry->oif = flp->flowi4_oif;
47 __entry->iif = flp->flowi4_iif;
48 __entry->tos = flp->flowi4_tos;
49 __entry->scope = flp->flowi4_scope;
50 __entry->flags = flp->flowi4_flags;
53 *p32 = flp->saddr;
56 *p32 = flp->daddr;
58 __entry->proto = flp->flowi4_proto;
[all …]
/linux-6.3-rc2/include/net/
A Dip_fib.h272 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp,
309 static inline int fib_lookup(struct net *net, const struct flowi4 *flp, in fib_lookup() argument
319 err = fib_table_lookup(tb, flp, res, flags | FIB_LOOKUP_NOREF); in fib_lookup()
364 int __fib_lookup(struct net *net, struct flowi4 *flp,
367 static inline int fib_lookup(struct net *net, struct flowi4 *flp, in fib_lookup() argument
375 return __fib_lookup(net, flp, res, flags); in fib_lookup()
383 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup()
390 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup()
540 const struct flowi4 *flp);
A Droute.h128 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *flp,
130 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *flp,
135 struct flowi4 *flp) in __ip_route_output_key() argument
137 return ip_route_output_key_hash(net, flp, NULL); in __ip_route_output_key()
140 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp,
151 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp) in ip_route_output_key() argument
153 return ip_route_output_flow(net, flp, NULL); in ip_route_output_key()
A Dfib_rules.h193 struct flowi *flp, int flags,
196 struct flowi *flp, int flags,
A Dnexthop.h392 const struct flowi4 *flp, in nexthop_get_nhc_lookup() argument
405 if (fib_lookup_good_nhc(&nhi->fib_nhc, fib_flags, flp)) { in nexthop_get_nhc_lookup()
412 if (fib_lookup_good_nhc(&nhi->fib_nhc, fib_flags, flp)) { in nexthop_get_nhc_lookup()
/linux-6.3-rc2/net/ipv6/
A Dfib6_rules.c158 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt() argument
162 struct flowi6 *flp6 = &flp->u.ip6; in fib6_rule_action_alt()
196 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action() argument
200 struct flowi6 *flp6 = &flp->u.ip6; in __fib6_rule_action()
261 struct flowi *flp, int flags, in fib6_rule_action() argument
265 return fib6_rule_action_alt(rule, flp, flags, arg); in fib6_rule_action()
267 return __fib6_rule_action(rule, flp, flags, arg); in fib6_rule_action()
A Dip6_flowlabel.c158 struct ip6_flowlabel __rcu **flp; in ip6_fl_gc() local
160 flp = &fl_ht[i]; in ip6_fl_gc()
161 while ((fl = rcu_dereference_protected(*flp, in ip6_fl_gc()
169 *flp = fl->next; in ip6_fl_gc()
177 flp = &fl->next; in ip6_fl_gc()
195 struct ip6_flowlabel __rcu **flp; in ip6_fl_purge() local
197 flp = &fl_ht[i]; in ip6_fl_purge()
198 while ((fl = rcu_dereference_protected(*flp, in ip6_fl_purge()
202 *flp = fl->next; in ip6_fl_purge()
207 flp = &fl->next; in ip6_fl_purge()
A Dip6mr.c160 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action() argument
187 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match() argument
/linux-6.3-rc2/net/ipv4/
A Dfib_rules.c81 int __fib_lookup(struct net *net, struct flowi4 *flp, in __fib_lookup() argument
91 l3mdev_update_flow(net, flowi4_to_flowi(flp)); in __fib_lookup()
93 err = fib_rules_lookup(net->ipv4.rules_ops, flowi4_to_flowi(flp), 0, &arg); in __fib_lookup()
109 struct flowi *flp, int flags, in fib4_rule_action() argument
136 err = fib_table_lookup(tbl, &flp->u.ip4, in fib4_rule_action()
A Dfib_trie.c1427 const struct flowi4 *flp) in fib_lookup_good_nhc() argument
1437 if (flp->flowi4_oif && flp->flowi4_oif != nhc->nhc_oif) in fib_lookup_good_nhc()
1451 const t_key key = ntohl(flp->daddr); in fib_table_lookup()
1462 trace_fib_table_lookup(tb->tb_id, flp, NULL, -EAGAIN); in fib_table_lookup()
1548 trace_fib_table_lookup(tb->tb_id, flp, in fib_table_lookup()
1583 inet_dscp_to_dsfield(fa->fa_dscp) != flp->flowi4_tos) in fib_table_lookup()
1587 if (fa->fa_info->fib_scope < flp->flowi4_scope) in fib_table_lookup()
1596 trace_fib_table_lookup(tb->tb_id, flp, NULL, err); in fib_table_lookup()
1608 nhc = nexthop_get_nhc_lookup(fi->nh, fib_flags, flp, in fib_table_lookup()
1618 if (!fib_lookup_good_nhc(nhc, fib_flags, flp)) in fib_table_lookup()
[all …]
A Dfib_semantics.c2045 static void fib_select_default(const struct flowi4 *flp, struct fib_result *res) in fib_select_default() argument
2063 fa->fa_dscp != inet_dsfield_to_dscp(flp->flowi4_tos)) in fib_select_default()
A Dipmr.c171 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action() argument
/linux-6.3-rc2/drivers/scsi/libfc/
A Dfc_lport.c794 struct fc_els_flogi *flp; in fc_lport_recv_flogi_req() local
806 flp = fc_frame_payload_get(rx_fp, sizeof(*flp)); in fc_lport_recv_flogi_req()
807 if (!flp) in fc_lport_recv_flogi_req()
854 get_unaligned_be64(&flp->fl_wwnn)); in fc_lport_recv_flogi_req()
1733 struct fc_els_flogi *flp; in fc_lport_flogi_resp() local
1769 flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_lport_flogi_resp()
1770 if (!flp) { in fc_lport_flogi_resp()
1776 mfs = ntohs(flp->fl_csp.sp_bb_data) & in fc_lport_flogi_resp()
1810 &flp->fl_wwpn), in fc_lport_flogi_resp()
1812 &flp->fl_wwnn)); in fc_lport_flogi_resp()
[all …]
A Dfc_rport.c219 static unsigned int fc_plogi_get_maxframe(struct fc_els_flogi *flp, in fc_plogi_get_maxframe() argument
228 mfs = ntohs(flp->fl_csp.sp_bb_data) & FC_SP_BB_DATA_MASK; in fc_plogi_get_maxframe()
231 mfs = ntohs(flp->fl_cssp[3 - 1].cp_rdfs); in fc_plogi_get_maxframe()
858 struct fc_els_flogi *flp; in fc_rport_recv_flogi_req() local
874 flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_rport_recv_flogi_req()
875 if (!flp) { in fc_rport_recv_flogi_req()
937 fp = fc_frame_alloc(lport, sizeof(*flp)); in fc_rport_recv_flogi_req()
942 flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_rport_recv_flogi_req()
943 flp->fl_cmd = ELS_LS_ACC; in fc_rport_recv_flogi_req()
/linux-6.3-rc2/fs/
A Dlocks.c1704 generic_add_lease(struct file *filp, long arg, struct file_lock **flp, void **priv) in generic_add_lease() argument
1709 bool is_deleg = (*flp)->fl_flags & FL_DELEG; in generic_add_lease()
1713 lease = *flp; in generic_add_lease()
1815 *flp = NULL; in generic_add_lease()
1862 int generic_setlease(struct file *filp, long arg, struct file_lock **flp, in generic_setlease() argument
1882 if (!(*flp)->fl_lmops->lm_break) { in generic_setlease()
1887 return generic_add_lease(filp, arg, flp, priv); in generic_setlease()
A Dlibfs.c1277 simple_nosetlease(struct file *filp, long arg, struct file_lock **flp, in simple_nosetlease() argument
/linux-6.3-rc2/tools/lib/bpf/
A Dbtf_dump.c1963 const union float_data *flp = data; in btf_dump_float_data() local
1970 flp = &fl; in btf_dump_float_data()
1975 btf_dump_type_values(d, "%Lf", flp->ld); in btf_dump_float_data()
1978 btf_dump_type_values(d, "%lf", flp->d); in btf_dump_float_data()
1981 btf_dump_type_values(d, "%f", flp->f); in btf_dump_float_data()
/linux-6.3-rc2/include/linux/
A Dfilelock.h310 struct file_lock **flp, void **priv) in generic_setlease() argument

Completed in 61 milliseconds