Lines Matching refs:if_info
515 struct be_cmd_get_if_info_resp *if_info) in beiscsi_if_clr_ip() argument
534 req->ip_params.ip_record.ip_addr.ip_type = if_info->ip_addr.ip_type; in beiscsi_if_clr_ip()
536 if_info->ip_addr.addr, in beiscsi_if_clr_ip()
537 sizeof(if_info->ip_addr.addr)); in beiscsi_if_clr_ip()
539 if_info->ip_addr.subnet_mask, in beiscsi_if_clr_ip()
540 sizeof(if_info->ip_addr.subnet_mask)); in beiscsi_if_clr_ip()
599 struct be_cmd_get_if_info_resp *if_info; in beiscsi_if_en_static() local
604 rc = beiscsi_if_get_info(phba, ip_type, &if_info); in beiscsi_if_en_static()
608 if (if_info->dhcp_state) { in beiscsi_if_en_static()
630 if (!beiscsi_if_zero_ip(if_info->ip_addr.addr, ip_type)) { in beiscsi_if_en_static()
631 rc = beiscsi_if_clr_ip(phba, if_info); in beiscsi_if_en_static()
640 kfree(if_info); in beiscsi_if_en_static()
647 struct be_cmd_get_if_info_resp *if_info; in beiscsi_if_en_dhcp() local
653 rc = beiscsi_if_get_info(phba, ip_type, &if_info); in beiscsi_if_en_dhcp()
657 if (if_info->dhcp_state) { in beiscsi_if_en_dhcp()
664 if (!beiscsi_if_zero_ip(if_info->ip_addr.addr, ip_type)) { in beiscsi_if_en_dhcp()
665 rc = beiscsi_if_clr_ip(phba, if_info); in beiscsi_if_en_dhcp()
673 rc = beiscsi_if_get_gw(phba, if_info->ip_addr.ip_type, &gw_resp); in beiscsi_if_en_dhcp()
680 if (!beiscsi_if_zero_ip(gw, if_info->ip_addr.ip_type)) { in beiscsi_if_en_dhcp()
682 if_info->ip_addr.ip_type, gw); in beiscsi_if_en_dhcp()
704 kfree(if_info); in beiscsi_if_en_dhcp()
745 struct be_cmd_get_if_info_resp **if_info) in beiscsi_if_get_info() argument
769 *if_info = kzalloc(ioctl_size, GFP_KERNEL); in beiscsi_if_get_info()
770 if (!*if_info) { in beiscsi_if_get_info()
780 rc = beiscsi_exec_nemb_cmd(phba, &nonemb_cmd, NULL, *if_info, in beiscsi_if_get_info()
793 kfree(*if_info); in beiscsi_if_get_info()