Home
last modified time | relevance | path

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

/Linux-v5.4/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
304 flp = netdev_priv(dlp->slave); in dlci_close()
305 err = (*flp->deactivate)(dlp->slave, dev); in dlci_close()
314 struct frad_local *flp; in dlci_add() local
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/include/net/
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,
134 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp) in ip_route_output_key() argument
136 return ip_route_output_flow(net, flp, NULL); in ip_route_output_key()
Dip_fib.h256 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp,
293 static inline int fib_lookup(struct net *net, const struct flowi4 *flp, in fib_lookup() argument
303 err = fib_table_lookup(tb, flp, res, flags | FIB_LOOKUP_NOREF); in fib_lookup()
342 int __fib_lookup(struct net *net, struct flowi4 *flp,
345 static inline int fib_lookup(struct net *net, struct flowi4 *flp, in fib_lookup() argument
353 return __fib_lookup(net, flp, res, flags); in fib_lookup()
361 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup()
368 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup()
/Linux-v5.4/net/decnet/
Ddn_rules.c54 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()
Ddn_route.c1240 static int __dn_route_output_key(struct dst_entry **pprt, const struct flowidn *flp, int flags) in __dn_route_output_key() argument
1242 unsigned int hash = dn_hash(flp->saddr, flp->daddr); in __dn_route_output_key()
1249 if ((flp->daddr == rt->fld.daddr) && in __dn_route_output_key()
1250 (flp->saddr == rt->fld.saddr) && in __dn_route_output_key()
1251 (flp->flowidn_mark == rt->fld.flowidn_mark) && in __dn_route_output_key()
1253 (rt->fld.flowidn_oif == flp->flowidn_oif)) { in __dn_route_output_key()
1263 return dn_route_output_slow(pprt, flp, flags); in __dn_route_output_key()
1266 static int dn_route_output_key(struct dst_entry **pprt, struct flowidn *flp, int flags) in dn_route_output_key() argument
1270 err = __dn_route_output_key(pprt, flp, flags); in dn_route_output_key()
1271 if (err == 0 && flp->flowidn_proto) { in dn_route_output_key()
[all …]
Ddn_table.c790 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-v5.4/net/ipv6/
Dfib6_rules.c153 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt() argument
157 struct flowi6 *flp6 = &flp->u.ip6; in fib6_rule_action_alt()
191 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action() argument
195 struct flowi6 *flp6 = &flp->u.ip6; in __fib6_rule_action()
254 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action() argument
258 return fib6_rule_action_alt(rule, flp, flags, arg); in fib6_rule_action()
260 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.c151 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action() argument
178 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match() argument
/Linux-v5.4/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()
1684 struct fc_els_flogi *flp; in fc_lport_flogi_resp() local
1720 flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_lport_flogi_resp()
1721 if (!flp) { in fc_lport_flogi_resp()
[all …]
Dfc_rport.c217 static unsigned int fc_plogi_get_maxframe(struct fc_els_flogi *flp, in fc_plogi_get_maxframe() argument
226 mfs = ntohs(flp->fl_csp.sp_bb_data) & FC_SP_BB_DATA_MASK; in fc_plogi_get_maxframe()
229 mfs = ntohs(flp->fl_cssp[3 - 1].cp_rdfs); in fc_plogi_get_maxframe()
853 struct fc_els_flogi *flp; in fc_rport_recv_flogi_req() local
869 flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_rport_recv_flogi_req()
870 if (!flp) { in fc_rport_recv_flogi_req()
932 fp = fc_frame_alloc(lport, sizeof(*flp)); in fc_rport_recv_flogi_req()
937 flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_rport_recv_flogi_req()
938 flp->fl_cmd = ELS_LS_ACC; in fc_rport_recv_flogi_req()
/Linux-v5.4/net/ipv4/
Dfib_rules.c78 int __fib_lookup(struct net *net, struct flowi4 *flp, in __fib_lookup() argument
88 l3mdev_update_flow(net, flowi4_to_flowi(flp)); in __fib_lookup()
90 err = fib_rules_lookup(net->ipv4.rules_ops, flowi4_to_flowi(flp), 0, &arg); in __fib_lookup()
105 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, in fib4_rule_action() argument
132 err = fib_table_lookup(tbl, &flp->u.ip4, in fib4_rule_action()
Dfib_trie.c1312 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, in fib_table_lookup() argument
1319 const t_key key = ntohl(flp->daddr); in fib_table_lookup()
1330 trace_fib_table_lookup(tb->tb_id, flp, NULL, -EAGAIN); in fib_table_lookup()
1416 trace_fib_table_lookup(tb->tb_id, flp, in fib_table_lookup()
1449 if (fa->fa_tos && fa->fa_tos != flp->flowi4_tos) in fib_table_lookup()
1453 if (fa->fa_info->fib_scope < flp->flowi4_scope) in fib_table_lookup()
1462 trace_fib_table_lookup(tb->tb_id, flp, NULL, err); in fib_table_lookup()
1482 if (!(flp->flowi4_flags & FLOWI_FLAG_SKIP_NH_OIF)) { in fib_table_lookup()
1483 if (flp->flowi4_oif && in fib_table_lookup()
1484 flp->flowi4_oif != nhc->nhc_oif) in fib_table_lookup()
[all …]
Dfib_semantics.c1989 static void fib_select_default(const struct flowi4 *flp, struct fib_result *res) in fib_select_default() argument
2006 if (fa->fa_tos && fa->fa_tos != flp->flowi4_tos) in fib_select_default()
Dipmr.c164 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action() argument
/Linux-v5.4/fs/
Dlocks.c1806 generic_add_lease(struct file *filp, long arg, struct file_lock **flp, void **priv) in generic_add_lease() argument
1811 bool is_deleg = (*flp)->fl_flags & FL_DELEG; in generic_add_lease()
1815 lease = *flp; in generic_add_lease()
1917 *flp = NULL; in generic_add_lease()
1964 int generic_setlease(struct file *filp, long arg, struct file_lock **flp, in generic_setlease() argument
1983 if (!(*flp)->fl_lmops->lm_break) { in generic_setlease()
1988 return generic_add_lease(filp, arg, flp, priv); in generic_setlease()
Dlibfs.c1186 simple_nosetlease(struct file *filp, long arg, struct file_lock **flp, in simple_nosetlease() argument
/Linux-v5.4/include/linux/
Dfs.h1294 struct file_lock **flp, void **priv) in generic_setlease() argument