| /linux/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 = fc_frame_payload_get(fp, sizeof(*flp)); in fc_lport_flogi_resp() 1776 if (!flp) { in fc_lport_flogi_resp() [all …]
|
| H 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/ipv6/ |
| 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...] |
| H A D | fib6_rules.c | 162 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt() argument 166 struct flowi6 *flp6 = &flp->u.ip6; in fib6_rule_action_alt() 200 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action() argument 204 struct flowi6 *flp6 = &flp->u.ip6; in __fib6_rule_action() 269 struct flowi *flp, int flags, in fib6_rule_action() argument 273 return fib6_rule_action_alt(rule, flp, flags, arg); in fib6_rule_action() 275 return __fib6_rule_action(rule, flp, flags, arg); in fib6_rule_action()
|
| H A D | ip6mr.c | 170 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action() argument 197 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match() argument
|
| /linux/include/net/ |
| H A D | fib_rules.h | 213 struct flowi *flp, int flags, 216 struct flowi *flp, int flags,
|
| H A D | nexthop.h | 424 const struct flowi4 *flp, in nexthop_get_nhc_lookup() 437 if (fib_lookup_good_nhc(&nhi->fib_nhc, fib_flags, flp)) { in nexthop_get_nhc_lookup() 444 if (fib_lookup_good_nhc(&nhi->fib_nhc, fib_flags, flp)) { in nexthop_get_nhc_lookup() 422 nexthop_get_nhc_lookup(const struct nexthop * nh,int fib_flags,const struct flowi4 * flp,int * nhsel) nexthop_get_nhc_lookup() argument
|
| /linux/net/ipv4/ |
| H A D | fib_trie.c | 1403 const struct flowi4 *flp) in fib_lookup_good_nhc() argument 1413 if (flp->flowi4_oif && flp->flowi4_oif != nhc->nhc_oif) in fib_lookup_good_nhc() 1420 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, in fib_table_lookup() argument 1427 const t_key key = ntohl(flp->daddr); in fib_table_lookup() 1438 trace_fib_table_lookup(tb->tb_id, flp, NULL, -EAGAIN); in fib_table_lookup() 1524 trace_fib_table_lookup(tb->tb_id, flp, in fib_table_lookup() 1558 if (fa->fa_dscp && !fib_dscp_masked_match(fa->fa_dscp, flp)) in fib_table_lookup() 1563 if (fa->fa_info->fib_scope < flp->flowi4_scope) in fib_table_lookup() 1572 trace_fib_table_lookup(tb->tb_id, flp, NULL, err); in fib_table_lookup() 1584 nhc = nexthop_get_nhc_lookup(fi->nh, fib_flags, flp, in fib_table_lookup() [all …]
|
| H A D | fib_semantics.c | 1997 static void fib_select_default(const struct flowi4 *flp, struct fib_result *res) in fib_select_default() argument 2014 if (fa->fa_dscp && !fib_dscp_masked_match(fa->fa_dscp, flp)) in fib_select_default()
|
| /linux/fs/ |
| H A D | locks.c | 1795 generic_add_lease(struct file *filp, int arg, struct file_lease **flp, void **priv) in generic_add_lease() argument 1800 bool is_deleg = (*flp)->c.flc_flags & FL_DELEG; in generic_add_lease() 1804 lease = *flp; in generic_add_lease() 1903 *flp = NULL; in generic_add_lease() 1950 int generic_setlease(struct file *filp, int arg, struct file_lease **flp, in generic_setlease() argument 1966 if (!(*flp)->fl_lmops->lm_break) { in generic_setlease() 1971 return generic_add_lease(filp, arg, flp, priv); in generic_setlease()
|