Lines Matching defs:fip
96 static void fcoe_ctlr_set_state(struct fcoe_ctlr *fip, enum fip_state state) in fcoe_ctlr_set_state()
134 static void fcoe_ctlr_map_dest(struct fcoe_ctlr *fip) in fcoe_ctlr_map_dest()
148 void fcoe_ctlr_init(struct fcoe_ctlr *fip, enum fip_state mode) in fcoe_ctlr_init()
171 struct fcoe_ctlr *fip = new->fip; in fcoe_sysfs_fcf_add() local
244 struct fcoe_ctlr *fip = new->fip; in fcoe_sysfs_fcf_del() local
278 static void fcoe_ctlr_reset_fcfs(struct fcoe_ctlr *fip) in fcoe_ctlr_reset_fcfs()
304 void fcoe_ctlr_destroy(struct fcoe_ctlr *fip) in fcoe_ctlr_destroy()
326 static void fcoe_ctlr_announce(struct fcoe_ctlr *fip) in fcoe_ctlr_announce()
368 static inline u32 fcoe_ctlr_fcoe_size(struct fcoe_ctlr *fip) in fcoe_ctlr_fcoe_size()
384 static void fcoe_ctlr_solicit(struct fcoe_ctlr *fip, struct fcoe_fcf *fcf) in fcoe_ctlr_solicit()
389 struct fip_header fip; in fcoe_ctlr_solicit() member
447 void fcoe_ctlr_link_up(struct fcoe_ctlr *fip) in fcoe_ctlr_link_up()
483 static void fcoe_ctlr_reset(struct fcoe_ctlr *fip) in fcoe_ctlr_reset()
503 int fcoe_ctlr_link_down(struct fcoe_ctlr *fip) in fcoe_ctlr_link_down()
534 static void fcoe_ctlr_send_keep_alive(struct fcoe_ctlr *fip, in fcoe_ctlr_send_keep_alive()
541 struct fip_header fip; in fcoe_ctlr_send_keep_alive() member
608 static int fcoe_ctlr_encaps(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_encaps()
613 struct fip_header fip; in fcoe_ctlr_encaps() member
702 int fcoe_ctlr_els_send(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_els_send()
822 static unsigned long fcoe_ctlr_age_fcfs(struct fcoe_ctlr *fip) in fcoe_ctlr_age_fcfs()
894 static int fcoe_ctlr_parse_adv(struct fcoe_ctlr *fip, in fcoe_ctlr_parse_adv()
1023 static void fcoe_ctlr_recv_adv(struct fcoe_ctlr *fip, struct sk_buff *skb) in fcoe_ctlr_recv_adv()
1138 static void fcoe_ctlr_recv_els(struct fcoe_ctlr *fip, struct sk_buff *skb) in fcoe_ctlr_recv_els()
1314 static void fcoe_ctlr_recv_clr_vlink(struct fcoe_ctlr *fip, in fcoe_ctlr_recv_clr_vlink()
1493 void fcoe_ctlr_recv(struct fcoe_ctlr *fip, struct sk_buff *skb) in fcoe_ctlr_recv()
1510 static int fcoe_ctlr_recv_handler(struct fcoe_ctlr *fip, struct sk_buff *skb) in fcoe_ctlr_recv_handler()
1589 static struct fcoe_fcf *fcoe_ctlr_select(struct fcoe_ctlr *fip) in fcoe_ctlr_select()
1641 static int fcoe_ctlr_flogi_send_locked(struct fcoe_ctlr *fip) in fcoe_ctlr_flogi_send_locked()
1679 static int fcoe_ctlr_flogi_retry(struct fcoe_ctlr *fip) in fcoe_ctlr_flogi_retry()
1710 static void fcoe_ctlr_flogi_send(struct fcoe_ctlr *fip) in fcoe_ctlr_flogi_send()
1750 struct fcoe_ctlr *fip = (struct fcoe_ctlr *)arg; in fcoe_ctlr_timeout() local
1764 struct fcoe_ctlr *fip; in fcoe_ctlr_timer_work() local
1847 struct fcoe_ctlr *fip; in fcoe_ctlr_recv_work() local
1870 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_recv_flogi()
1986 static void fcoe_ctlr_vn_send(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_send()
1993 struct fip_header fip; in fcoe_ctlr_vn_send() member
2095 struct fcoe_ctlr *fip = lport->disc.priv; in fcoe_ctlr_vn_rport_callback() local
2153 struct fcoe_ctlr *fip = lport->disc.priv; in fcoe_ctlr_disc_stop() local
2180 static void fcoe_ctlr_vn_restart(struct fcoe_ctlr *fip) in fcoe_ctlr_vn_restart()
2218 static void fcoe_ctlr_vn_start(struct fcoe_ctlr *fip) in fcoe_ctlr_vn_start()
2234 static int fcoe_ctlr_vn_parse(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_parse()
2361 static void fcoe_ctlr_vn_send_claim(struct fcoe_ctlr *fip) in fcoe_ctlr_vn_send_claim()
2374 static void fcoe_ctlr_vn_probe_req(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_probe_req()
2419 static void fcoe_ctlr_vn_probe_reply(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_probe_reply()
2446 static void fcoe_ctlr_vn_add(struct fcoe_ctlr *fip, struct fc_rport_priv *new) in fcoe_ctlr_vn_add()
2491 static int fcoe_ctlr_vn_lookup(struct fcoe_ctlr *fip, u32 port_id, u8 *mac) in fcoe_ctlr_vn_lookup()
2516 static void fcoe_ctlr_vn_claim_notify(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_claim_notify()
2559 static void fcoe_ctlr_vn_claim_resp(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_claim_resp()
2575 static void fcoe_ctlr_vn_beacon(struct fcoe_ctlr *fip, in fcoe_ctlr_vn_beacon()
2626 static unsigned long fcoe_ctlr_vn_age(struct fcoe_ctlr *fip) in fcoe_ctlr_vn_age()
2663 static int fcoe_ctlr_vn_recv(struct fcoe_ctlr *fip, struct sk_buff *skb) in fcoe_ctlr_vn_recv()
2745 struct fcoe_ctlr *fip = disc->priv; in fcoe_ctlr_disc_start() local
2763 static void fcoe_ctlr_vn_disc(struct fcoe_ctlr *fip) in fcoe_ctlr_vn_disc()
2788 static void fcoe_ctlr_vn_timeout(struct fcoe_ctlr *fip) in fcoe_ctlr_vn_timeout()
2870 static void fcoe_ctlr_mode_set(struct fc_lport *lport, struct fcoe_ctlr *fip, in fcoe_ctlr_mode_set()
2908 int fcoe_libfc_config(struct fc_lport *lport, struct fcoe_ctlr *fip, in fcoe_libfc_config()
2928 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_fcf_get_selected() local