Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wan/
Dsdla.c187 struct frad_local *flp; in sdla_stop() local
189 flp = netdev_priv(dev); in sdla_stop()
190 switch(flp->type) in sdla_stop()
194 flp->state = SDLA_HALT; in sdla_stop()
199 flp->state = SDLA_S502E_ENABLE; in sdla_stop()
202 flp->state &= ~SDLA_CPUEN; in sdla_stop()
203 outb(flp->state, dev->base_addr + SDLA_REG_CONTROL); in sdla_stop()
206 flp->state &= ~SDLA_CPUEN; in sdla_stop()
207 outb(flp->state, dev->base_addr + SDLA_REG_CONTROL); in sdla_stop()
214 struct frad_local *flp; in sdla_start() local
[all …]
Ddlci.c206 struct frad_local *flp; in dlci_config() local
211 flp = netdev_priv(dlp->slave); in dlci_config()
223 err = (*flp->dlci_conf)(dlp->slave, dev, get); in dlci_config()
277 struct frad_local *flp; in dlci_open() local
288 flp = netdev_priv(dlp->slave); in dlci_open()
289 err = (*flp->activate)(dlp->slave, dev); in dlci_open()
301 struct frad_local *flp; in dlci_close() local
308 flp = netdev_priv(dlp->slave); in dlci_close()
309 err = (*flp->deactivate)(dlp->slave, dev); in dlci_close()
318 struct frad_local *flp; in dlci_add() local
[all …]
/Linux-v4.19/include/trace/events/
Dfib.h15 TP_PROTO(u32 tb_id, const struct flowi4 *flp,
18 TP_ARGS(tb_id, flp, nh, err),
43 __entry->oif = flp->flowi4_oif;
44 __entry->iif = flp->flowi4_iif;
45 __entry->tos = flp->flowi4_tos;
46 __entry->scope = flp->flowi4_scope;
47 __entry->flags = flp->flowi4_flags;
50 *p32 = flp->saddr;
53 *p32 = flp->daddr;
55 __entry->proto = flp->flowi4_proto;
[all …]
Dfib6.h16 struct fib6_table *table, const struct flowi6 *flp),
18 TP_ARGS(net, f6i, 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 …]
/Linux-v4.19/include/net/
Dip_fib.h225 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp,
262 static inline int fib_lookup(struct net *net, const struct flowi4 *flp, in fib_lookup() argument
272 err = fib_table_lookup(tb, flp, res, flags | FIB_LOOKUP_NOREF); in fib_lookup()
311 int __fib_lookup(struct net *net, struct flowi4 *flp,
314 static inline int fib_lookup(struct net *net, struct flowi4 *flp, in fib_lookup() argument
322 return __fib_lookup(net, flp, res, flags); in fib_lookup()
330 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup()
337 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup()
Droute.h115 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *flp,
117 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *flp,
122 struct flowi4 *flp) in __ip_route_output_key() argument
124 return ip_route_output_key_hash(net, flp, NULL); in __ip_route_output_key()
127 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp,
132 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp) in ip_route_output_key() argument
134 return ip_route_output_flow(net, flp, NULL); in ip_route_output_key()
/Linux-v4.19/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.c1248 static int __dn_route_output_key(struct dst_entry **pprt, const struct flowidn *flp, int flags) in __dn_route_output_key() argument
1250 unsigned int hash = dn_hash(flp->saddr, flp->daddr); in __dn_route_output_key()
1257 if ((flp->daddr == rt->fld.daddr) && in __dn_route_output_key()
1258 (flp->saddr == rt->fld.saddr) && in __dn_route_output_key()
1259 (flp->flowidn_mark == rt->fld.flowidn_mark) && in __dn_route_output_key()
1261 (rt->fld.flowidn_oif == flp->flowidn_oif)) { in __dn_route_output_key()
1271 return dn_route_output_slow(pprt, flp, flags); in __dn_route_output_key()
1274 static int dn_route_output_key(struct dst_entry **pprt, struct flowidn *flp, int flags) in dn_route_output_key() argument
1278 err = __dn_route_output_key(pprt, flp, flags); in dn_route_output_key()
1279 if (err == 0 && flp->flowidn_proto) { in dn_route_output_key()
[all …]
Ddn_table.c789 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
798 dn_fib_key_t k = dz_key(flp->daddr, dz); in dn_fib_table_lookup()
813 if (f->fn_scope < flp->flowidn_scope) in dn_fib_table_lookup()
816 err = dn_fib_semantic_match(f->fn_type, DN_FIB_INFO(f), flp, res); in dn_fib_table_lookup()
/Linux-v4.19/net/ipv6/
Dfib6_rules.c157 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt() argument
160 struct flowi6 *flp6 = &flp->u.ip6; in fib6_rule_action_alt()
197 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()
258 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action() argument
262 return fib6_rule_action_alt(rule, flp, flags, arg); in fib6_rule_action()
264 return __fib6_rule_action(rule, flp, flags, arg); in fib6_rule_action()
Dip6_flowlabel.c140 struct ip6_flowlabel __rcu **flp; in ip6_fl_gc() local
142 flp = &fl_ht[i]; in ip6_fl_gc()
143 while ((fl = rcu_dereference_protected(*flp, in ip6_fl_gc()
151 *flp = fl->next; in ip6_fl_gc()
159 flp = &fl->next; in ip6_fl_gc()
177 struct ip6_flowlabel __rcu **flp; in ip6_fl_purge() local
179 flp = &fl_ht[i]; in ip6_fl_purge()
180 while ((fl = rcu_dereference_protected(*flp, in ip6_fl_purge()
184 *flp = fl->next; in ip6_fl_purge()
189 flp = &fl->next; in ip6_fl_purge()
Dip6mr.c149 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action() argument
174 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match() argument
/Linux-v4.19/drivers/scsi/libfc/
Dfc_lport.c803 struct fc_els_flogi *flp; in fc_lport_recv_flogi_req() local
815 flp = fc_frame_payload_get(rx_fp, sizeof(*flp)); in fc_lport_recv_flogi_req()
816 if (!flp) in fc_lport_recv_flogi_req()
818 remote_wwpn = get_unaligned_be64(&flp->fl_wwpn); in fc_lport_recv_flogi_req()
843 fp = fc_frame_alloc(lport, sizeof(*flp)); in fc_lport_recv_flogi_req()
845 new_flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_lport_recv_flogi_req()
863 get_unaligned_be64(&flp->fl_wwnn)); in fc_lport_recv_flogi_req()
1696 struct fc_els_flogi *flp; in fc_lport_flogi_resp() local
1732 flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_lport_flogi_resp()
1733 if (!flp) { in fc_lport_flogi_resp()
[all …]
Dfc_rport.c227 static unsigned int fc_plogi_get_maxframe(struct fc_els_flogi *flp, in fc_plogi_get_maxframe() argument
236 mfs = ntohs(flp->fl_csp.sp_bb_data) & FC_SP_BB_DATA_MASK; in fc_plogi_get_maxframe()
239 mfs = ntohs(flp->fl_cssp[3 - 1].cp_rdfs); in fc_plogi_get_maxframe()
864 struct fc_els_flogi *flp; in fc_rport_recv_flogi_req() local
881 flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_rport_recv_flogi_req()
882 if (!flp) { in fc_rport_recv_flogi_req()
944 fp = fc_frame_alloc(lport, sizeof(*flp)); in fc_rport_recv_flogi_req()
949 flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_rport_recv_flogi_req()
950 flp->fl_cmd = ELS_LS_ACC; in fc_rport_recv_flogi_req()
/Linux-v4.19/net/ipv4/
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()
108 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, in fib4_rule_action() argument
135 err = fib_table_lookup(tbl, &flp->u.ip4, in fib4_rule_action()
Dfib_trie.c1316 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, in fib_table_lookup() argument
1323 const t_key key = ntohl(flp->daddr); in fib_table_lookup()
1334 trace_fib_table_lookup(tb->tb_id, flp, NULL, -EAGAIN); in fib_table_lookup()
1420 trace_fib_table_lookup(tb->tb_id, flp, in fib_table_lookup()
1453 if (fa->fa_tos && fa->fa_tos != flp->flowi4_tos) in fib_table_lookup()
1457 if (fa->fa_info->fib_scope < flp->flowi4_scope) in fib_table_lookup()
1465 trace_fib_table_lookup(tb->tb_id, flp, NULL, err); in fib_table_lookup()
1481 if (!(flp->flowi4_flags & FLOWI_FLAG_SKIP_NH_OIF)) { in fib_table_lookup()
1482 if (flp->flowi4_oif && in fib_table_lookup()
1483 flp->flowi4_oif != nh->nh_oif) in fib_table_lookup()
[all …]
Dfib_semantics.c1596 static void fib_select_default(const struct flowi4 *flp, struct fib_result *res) in fib_select_default() argument
1612 if (fa->fa_tos && fa->fa_tos != flp->flowi4_tos) in fib_select_default()
Dipmr.c168 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action() argument
/Linux-v4.19/fs/
Dlocks.c1660 generic_add_lease(struct file *filp, long arg, struct file_lock **flp, void **priv) in generic_add_lease() argument
1666 bool is_deleg = (*flp)->fl_flags & FL_DELEG; in generic_add_lease()
1670 lease = *flp; in generic_add_lease()
1772 *flp = NULL; in generic_add_lease()
1819 int generic_setlease(struct file *filp, long arg, struct file_lock **flp, in generic_setlease() argument
1838 if (!(*flp)->fl_lmops->lm_break) { in generic_setlease()
1843 return generic_add_lease(filp, arg, flp, priv); in generic_setlease()
Dlibfs.c1163 simple_nosetlease(struct file *filp, long arg, struct file_lock **flp, in simple_nosetlease() argument
/Linux-v4.19/include/linux/
Dfs.h1231 struct file_lock **flp, void **priv) in generic_setlease() argument