/kernel/linux/linux-5.10/drivers/net/wan/ |
H A D | sdla.c | 183 struct frad_local *flp; in sdla_stop() local 185 flp = netdev_priv(dev); in sdla_stop() 186 switch(flp->type) in sdla_stop() 190 flp->state = SDLA_HALT; in sdla_stop() 195 flp->state = SDLA_S502E_ENABLE; in sdla_stop() 198 flp->state &= ~SDLA_CPUEN; in sdla_stop() 199 outb(flp->state, dev->base_addr + SDLA_REG_CONTROL); in sdla_stop() 202 flp->state &= ~SDLA_CPUEN; in sdla_stop() 203 outb(flp->state, dev->base_addr + SDLA_REG_CONTROL); in sdla_stop() 210 struct frad_local *flp; in sdla_start() local 430 struct frad_local *flp; sdla_cmd() local 511 struct frad_local *flp; sdla_activate() local 533 struct frad_local *flp; sdla_deactivate() local 555 struct frad_local *flp; sdla_assoc() local 591 struct frad_local *flp; sdla_deassoc() local 619 struct frad_local *flp; sdla_dlci_conf() local 659 struct frad_local *flp; sdla_transmit() local 751 struct frad_local *flp; sdla_receive() local 879 struct frad_local *flp; sdla_isr() local 929 struct frad_local *flp = from_timer(flp, t, timer); sdla_poll() local 941 struct frad_local *flp; sdla_close() local 1000 struct frad_local *flp; sdla_open() local 1096 struct frad_local *flp; sdla_config() local 1226 struct frad_local *flp; sdla_reconfig() local 1250 struct frad_local *flp; sdla_ioctl() local 1328 struct frad_local *flp; sdla_set_config() local 1597 struct frad_local *flp = netdev_priv(dev); setup_sdla() local 1641 struct frad_local *flp = netdev_priv(sdla); exit_sdla() local [all...] |
H A D | dlci.c | 202 struct frad_local *flp; in dlci_config() local 207 flp = netdev_priv(dlp->slave); in dlci_config() 219 err = (*flp->dlci_conf)(dlp->slave, dev, get); in dlci_config() 273 struct frad_local *flp; in dlci_open() local 284 flp = netdev_priv(dlp->slave); in dlci_open() 285 err = (*flp->activate)(dlp->slave, dev); in dlci_open() 297 struct frad_local *flp; in dlci_close() local 303 flp = netdev_priv(dlp->slave); in dlci_close() 304 (*flp->deactivate)(dlp->slave, dev); in dlci_close() 313 struct frad_local *flp; in dlci_add() local 375 struct frad_local *flp; dlci_del() local [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H 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 [all...] |
H A D | fib6.h | 16 struct fib6_table *table, const struct flowi6 *flp), 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 [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | fib.h | 15 TP_PROTO(u32 tb_id, const struct flowi4 *flp, 18 TP_ARGS(tb_id, flp, nhc, err), 45 __entry->oif = flp->flowi4_oif; 46 __entry->iif = flp->flowi4_iif; 47 __entry->tos = flp->flowi4_tos; 48 __entry->scope = flp->flowi4_scope; 49 __entry->flags = flp->flowi4_flags; 52 *p32 = flp->saddr; 55 *p32 = flp->daddr; 57 __entry->proto = flp [all...] |
H A D | fib6.h | 16 struct fib6_table *table, const struct flowi6 *flp), 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 [all...] |
/kernel/linux/linux-5.10/include/net/ |
H 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() 494 const struct flowi4 *flp);
|
H 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() 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() 123 __ip_route_output_key(struct net *net, struct flowi4 *flp) __ip_route_output_key() argument
|
H A D | fib_rules.h | 214 struct flowi *flp, int flags, 217 struct flowi *flp, int flags,
|
H A D | nexthop.h | 278 const struct flowi4 *flp, in nexthop_get_nhc_lookup() 291 if (fib_lookup_good_nhc(&nhi->fib_nhc, fib_flags, flp)) { in nexthop_get_nhc_lookup() 298 if (fib_lookup_good_nhc(&nhi->fib_nhc, fib_flags, flp)) { in nexthop_get_nhc_lookup() 276 nexthop_get_nhc_lookup(const struct nexthop *nh, int fib_flags, const struct flowi4 *flp, int *nhsel) nexthop_get_nhc_lookup() argument
|
/kernel/linux/linux-6.6/include/net/ |
H A D | ip_fib.h | 273 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, 310 static inline int fib_lookup(struct net *net, const struct flowi4 *flp, in fib_lookup() argument 320 err = fib_table_lookup(tb, flp, res, flags | FIB_LOOKUP_NOREF); in fib_lookup() 365 int __fib_lookup(struct net *net, struct flowi4 *flp, 368 static inline int fib_lookup(struct net *net, struct flowi4 *flp, in fib_lookup() argument 376 return __fib_lookup(net, flp, res, flags); in fib_lookup() 384 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup() 391 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup() 544 const struct flowi4 *flp);
|
H A D | route.h | 125 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *flp, 127 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *flp, 132 struct flowi4 *flp) in __ip_route_output_key() 134 return ip_route_output_key_hash(net, flp, NULL); in __ip_route_output_key() 137 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp, 148 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp) in ip_route_output_key() argument 150 return ip_route_output_flow(net, flp, NULL); in ip_route_output_key() 131 __ip_route_output_key(struct net *net, struct flowi4 *flp) __ip_route_output_key() argument
|
H A D | fib_rules.h | 193 struct flowi *flp, int flags, 196 struct flowi *flp, int flags,
|
H A D | nexthop.h | 392 const struct flowi4 *flp, in nexthop_get_nhc_lookup() 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() 390 nexthop_get_nhc_lookup(const struct nexthop *nh, int fib_flags, const struct flowi4 *flp, int *nhsel) nexthop_get_nhc_lookup() argument
|
/kernel/linux/linux-5.10/net/ipv6/ |
H 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() 264 struct flowi *flp, int flags, in fib6_rule_action() 268 return fib6_rule_action_alt(rule, flp, flags, arg); in fib6_rule_action() 270 return __fib6_rule_action(rule, flp, flags, arg); in fib6_rule_action() 263 fib6_rule_action(struct fib_rule *rule, struct flowi *flp, int flags, struct fib_lookup_arg *arg) fib6_rule_action() argument
|
H 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 in ip6_fl_purge() [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | fib6_rules.c | 158 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() 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() 260 fib6_rule_action(struct fib_rule *rule, struct flowi *flp, int flags, struct fib_lookup_arg *arg) fib6_rule_action() argument
|
H 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 in ip6_fl_purge() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
H A D | fc_lport.c | 797 struct fc_els_flogi *flp; in fc_lport_recv_flogi_req() local 809 flp = fc_frame_payload_get(rx_fp, sizeof(*flp)); in fc_lport_recv_flogi_req() 810 if (!flp) in fc_lport_recv_flogi_req() 812 remote_wwpn = get_unaligned_be64(&flp->fl_wwpn); in fc_lport_recv_flogi_req() 837 fp = fc_frame_alloc(lport, sizeof(*flp)); in fc_lport_recv_flogi_req() 839 new_flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_lport_recv_flogi_req() 857 get_unaligned_be64(&flp->fl_wwnn)); in fc_lport_recv_flogi_req() 1692 struct fc_els_flogi *flp; in fc_lport_flogi_resp() local 1728 flp in fc_lport_flogi_resp() [all...] |
H A D | fc_rport.c | 215 * @flp: The FLOGI or PLOGI payload 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 in fc_rport_recv_flogi_req() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_lport.c | 800 struct fc_els_flogi *flp; in fc_lport_recv_flogi_req() local 812 flp = fc_frame_payload_get(rx_fp, sizeof(*flp)); in fc_lport_recv_flogi_req() 813 if (!flp) in fc_lport_recv_flogi_req() 815 remote_wwpn = get_unaligned_be64(&flp->fl_wwpn); in fc_lport_recv_flogi_req() 840 fp = fc_frame_alloc(lport, sizeof(*flp)); in fc_lport_recv_flogi_req() 842 new_flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_lport_recv_flogi_req() 860 get_unaligned_be64(&flp->fl_wwnn)); in fc_lport_recv_flogi_req() 1739 struct fc_els_flogi *flp; in fc_lport_flogi_resp() local 1775 flp in fc_lport_flogi_resp() [all...] |
H A D | fc_rport.c | 215 * @flp: The FLOGI or PLOGI payload 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 in fc_rport_recv_flogi_req() [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H 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() 135 err = fib_table_lookup(tbl, &flp->u.ip4, in fib4_rule_action() 107 fib4_rule_action(struct fib_rule *rule, struct flowi *flp, int flags, struct fib_lookup_arg *arg) fib4_rule_action() argument
|
H A D | fib_trie.c | 1377 const struct flowi4 *flp) in fib_lookup_good_nhc() 1387 if (!(flp->flowi4_flags & FLOWI_FLAG_SKIP_NH_OIF)) { in fib_lookup_good_nhc() 1388 if (flp->flowi4_oif && in fib_lookup_good_nhc() 1389 flp->flowi4_oif != nhc->nhc_oif) in fib_lookup_good_nhc() 1397 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, in fib_table_lookup() argument 1404 const t_key key = ntohl(flp->daddr); in fib_table_lookup() 1415 trace_fib_table_lookup(tb->tb_id, flp, NULL, -EAGAIN); in fib_table_lookup() 1501 trace_fib_table_lookup(tb->tb_id, flp, in fib_table_lookup() 1535 if (fa->fa_tos && fa->fa_tos != flp->flowi4_tos) in fib_table_lookup() 1540 if (fa->fa_info->fib_scope < flp in fib_table_lookup() 1376 fib_lookup_good_nhc(const struct fib_nh_common *nhc, int fib_flags, const struct flowi4 *flp) fib_lookup_good_nhc() argument [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | fib_rules.c | 81 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() 136 err = fib_table_lookup(tbl, &flp->u.ip4, in fib4_rule_action() 108 fib4_rule_action(struct fib_rule *rule, struct flowi *flp, int flags, struct fib_lookup_arg *arg) fib4_rule_action() argument
|