Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wan/
Dsdla.c183 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
[all …]
Ddlci.c202 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
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dfib6.h16 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->flowi6_proto;
[all …]
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 …]
/kernel/linux/linux-5.10/include/net/
Dip_fib.h268 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp,
305 static inline int fib_lookup(struct net *net, const struct flowi4 *flp, in fib_lookup() argument
315 err = fib_table_lookup(tb, flp, res, flags | FIB_LOOKUP_NOREF); in fib_lookup()
360 int __fib_lookup(struct net *net, struct flowi4 *flp,
363 static inline int fib_lookup(struct net *net, struct flowi4 *flp, in fib_lookup() argument
371 return __fib_lookup(net, flp, res, flags); in fib_lookup()
379 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup()
386 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup()
493 const struct flowi4 *flp);
Droute.h117 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()
Dnexthop.h278 const struct flowi4 *flp, in nexthop_get_nhc_lookup() argument
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()
Dfib_rules.h214 struct flowi *flp, int flags,
217 struct flowi *flp, int flags,
/kernel/linux/linux-5.10/net/ipv6/
Dfib6_rules.c157 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()
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()
Dip6mr.c153 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
/kernel/linux/linux-5.10/drivers/scsi/libfc/
Dfc_lport.c791 struct fc_els_flogi *flp; in fc_lport_recv_flogi_req() local
803 flp = fc_frame_payload_get(rx_fp, sizeof(*flp)); in fc_lport_recv_flogi_req()
804 if (!flp) in fc_lport_recv_flogi_req()
806 remote_wwpn = get_unaligned_be64(&flp->fl_wwpn); in fc_lport_recv_flogi_req()
831 fp = fc_frame_alloc(lport, sizeof(*flp)); in fc_lport_recv_flogi_req()
833 new_flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_lport_recv_flogi_req()
851 get_unaligned_be64(&flp->fl_wwnn)); in fc_lport_recv_flogi_req()
1686 struct fc_els_flogi *flp; in fc_lport_flogi_resp() local
1722 flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_lport_flogi_resp()
1723 if (!flp) { in fc_lport_flogi_resp()
[all …]
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()
/kernel/linux/linux-5.10/net/ipv4/
Dfib_rules.c80 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()
Dfib_trie.c1377 const struct flowi4 *flp) in fib_lookup_good_nhc() argument
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()
1539 if (fa->fa_info->fib_scope < flp->flowi4_scope) in fib_table_lookup()
[all …]
Dfib_semantics.c2061 static void fib_select_default(const struct flowi4 *flp, struct fib_result *res) in fib_select_default() argument
2078 if (fa->fa_tos && fa->fa_tos != flp->flowi4_tos) in fib_select_default()
Dipmr.c166 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action() argument
/kernel/linux/linux-5.10/fs/
Dlocks.c1836 generic_add_lease(struct file *filp, long arg, struct file_lock **flp, void **priv) in generic_add_lease() argument
1841 bool is_deleg = (*flp)->fl_flags & FL_DELEG; in generic_add_lease()
1845 lease = *flp; in generic_add_lease()
1947 *flp = NULL; in generic_add_lease()
1994 int generic_setlease(struct file *filp, long arg, struct file_lock **flp, in generic_setlease() argument
2013 if (!(*flp)->fl_lmops->lm_break) { in generic_setlease()
2018 return generic_add_lease(filp, arg, flp, priv); in generic_setlease()
Dlibfs.c1278 simple_nosetlease(struct file *filp, long arg, struct file_lock **flp, in simple_nosetlease() argument
/kernel/linux/linux-5.10/include/linux/
Dfs.h1284 struct file_lock **flp, void **priv) in generic_setlease() argument