/linux/include/trace/events/ |
A D | fib6.h | 18 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 D | fib.h | 15 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/include/net/ |
A D | ip_fib.h | 269 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, 306 static inline int fib_lookup(struct net *net, const struct flowi4 *flp, in fib_lookup() argument 316 err = fib_table_lookup(tb, flp, res, flags | FIB_LOOKUP_NOREF); in fib_lookup() 361 int __fib_lookup(struct net *net, struct flowi4 *flp, 364 static inline int fib_lookup(struct net *net, struct flowi4 *flp, in fib_lookup() argument 372 return __fib_lookup(net, flp, res, flags); in fib_lookup() 380 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup() 387 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup() 537 const struct flowi4 *flp);
|
A D | route.h | 117 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *flp, 119 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *flp, 124 struct flowi4 *flp) in __ip_route_output_key() argument 126 return ip_route_output_key_hash(net, flp, NULL); in __ip_route_output_key() 129 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp, 140 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp) in ip_route_output_key() argument 142 return ip_route_output_flow(net, flp, NULL); in ip_route_output_key()
|
A D | fib_rules.h | 214 struct flowi *flp, int flags, 217 struct flowi *flp, int flags,
|
A D | nexthop.h | 392 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/net/decnet/ |
A D | dn_rules.c | 54 int dn_fib_lookup(struct flowidn *flp, struct dn_fib_res *res) in dn_fib_lookup() argument 62 flowidn_to_flowi(flp), 0, &arg); in dn_fib_lookup() 68 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, in dn_fib_rule_action() argument 71 struct flowidn *fld = &flp->u.dn; in dn_fib_rule_action()
|
A D | dn_route.c | 1243 static int __dn_route_output_key(struct dst_entry **pprt, const struct flowidn *flp, int flags) in __dn_route_output_key() argument 1245 unsigned int hash = dn_hash(flp->saddr, flp->daddr); in __dn_route_output_key() 1252 if ((flp->daddr == rt->fld.daddr) && in __dn_route_output_key() 1253 (flp->saddr == rt->fld.saddr) && in __dn_route_output_key() 1254 (flp->flowidn_mark == rt->fld.flowidn_mark) && in __dn_route_output_key() 1256 (rt->fld.flowidn_oif == flp->flowidn_oif)) { in __dn_route_output_key() 1266 return dn_route_output_slow(pprt, flp, flags); in __dn_route_output_key() 1269 static int dn_route_output_key(struct dst_entry **pprt, struct flowidn *flp, int flags) in dn_route_output_key() argument 1273 err = __dn_route_output_key(pprt, flp, flags); in dn_route_output_key() 1274 if (err == 0 && flp->flowidn_proto) { in dn_route_output_key() [all …]
|
A D | dn_table.c | 790 static int dn_fib_table_lookup(struct dn_fib_table *tb, const struct flowidn *flp, struct dn_fib_re… in dn_fib_table_lookup() argument 799 dn_fib_key_t k = dz_key(flp->daddr, dz); in dn_fib_table_lookup() 814 if (f->fn_scope < flp->flowidn_scope) in dn_fib_table_lookup() 817 err = dn_fib_semantic_match(f->fn_type, DN_FIB_INFO(f), flp, res); in dn_fib_table_lookup()
|
/linux/net/ipv6/ |
A D | fib6_rules.c | 157 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt() argument 161 struct flowi6 *flp6 = &flp->u.ip6; in fib6_rule_action_alt() 195 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action() argument 199 struct flowi6 *flp6 = &flp->u.ip6; in __fib6_rule_action() 260 struct flowi *flp, int flags, in fib6_rule_action() argument 264 return fib6_rule_action_alt(rule, flp, flags, arg); in fib6_rule_action() 266 return __fib6_rule_action(rule, flp, flags, arg); in fib6_rule_action()
|
A D | ip6_flowlabel.c | 158 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 D | ip6mr.c | 153 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action() argument 180 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match() argument
|
/linux/drivers/scsi/libfc/ |
A D | fc_lport.c | 794 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 D | fc_rport.c | 219 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/net/ipv4/ |
A D | fib_rules.c | 80 int __fib_lookup(struct net *net, struct flowi4 *flp, in __fib_lookup() argument 90 l3mdev_update_flow(net, flowi4_to_flowi(flp)); in __fib_lookup() 92 err = fib_rules_lookup(net->ipv4.rules_ops, flowi4_to_flowi(flp), 0, &arg); in __fib_lookup() 108 struct flowi *flp, int flags, in fib4_rule_action() argument 135 err = fib_table_lookup(tbl, &flp->u.ip4, in fib4_rule_action()
|
A D | fib_trie.c | 1412 const struct flowi4 *flp) in fib_lookup_good_nhc() argument 1422 if (!(flp->flowi4_flags & FLOWI_FLAG_SKIP_NH_OIF)) { in fib_lookup_good_nhc() 1423 if (flp->flowi4_oif && in fib_lookup_good_nhc() 1424 flp->flowi4_oif != nhc->nhc_oif) in fib_lookup_good_nhc() 1439 const t_key key = ntohl(flp->daddr); in fib_table_lookup() 1536 trace_fib_table_lookup(tb->tb_id, flp, in fib_table_lookup() 1570 if (fa->fa_tos && fa->fa_tos != flp->flowi4_tos) in fib_table_lookup() 1574 if (fa->fa_info->fib_scope < flp->flowi4_scope) in fib_table_lookup() 1583 trace_fib_table_lookup(tb->tb_id, flp, NULL, err); in fib_table_lookup() 1605 if (!fib_lookup_good_nhc(nhc, fib_flags, flp)) in fib_table_lookup() [all …]
|
A D | fib_semantics.c | 2047 static void fib_select_default(const struct flowi4 *flp, struct fib_result *res) in fib_select_default() argument 2064 if (fa->fa_tos && fa->fa_tos != flp->flowi4_tos) in fib_select_default()
|
A D | ipmr.c | 166 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action() argument
|
/linux/fs/ |
A D | locks.c | 1632 generic_add_lease(struct file *filp, long arg, struct file_lock **flp, void **priv) in generic_add_lease() argument 1637 bool is_deleg = (*flp)->fl_flags & FL_DELEG; in generic_add_lease() 1641 lease = *flp; in generic_add_lease() 1743 *flp = NULL; in generic_add_lease() 1790 int generic_setlease(struct file *filp, long arg, struct file_lock **flp, in generic_setlease() argument 1809 if (!(*flp)->fl_lmops->lm_break) { in generic_setlease() 1814 return generic_add_lease(filp, arg, flp, priv); in generic_setlease()
|
A D | libfs.c | 1271 simple_nosetlease(struct file *filp, long arg, struct file_lock **flp, in simple_nosetlease() argument
|
/linux/tools/lib/bpf/ |
A D | btf_dump.c | 1774 const union float_data *flp = data; in btf_dump_float_data() local 1781 flp = &fl; in btf_dump_float_data() 1786 btf_dump_type_values(d, "%Lf", flp->ld); in btf_dump_float_data() 1789 btf_dump_type_values(d, "%lf", flp->d); in btf_dump_float_data() 1792 btf_dump_type_values(d, "%f", flp->f); in btf_dump_float_data()
|
/linux/include/linux/ |
A D | fs.h | 1323 struct file_lock **flp, void **priv) in generic_setlease() argument
|