Lines Matching defs:stat
1272 int stat;
1286 stat = i->f->vport_disable(vport, ((*buf == '0') ? false : true));
1287 return stat ? stat : count;
1767 int stat;
1779 stat = fc_parse_wwn(&buf[0], &vid.port_name);
1780 if (stat)
1781 return stat;
1783 stat = fc_parse_wwn(&buf[17], &vid.node_name);
1784 if (stat)
1785 return stat;
1793 stat = fc_vport_setup(shost, 0, &shost->shost_gendev, &vid, &vport);
1794 return stat ? stat : count;
1816 int stat, match;
1826 stat = fc_parse_wwn(&buf[0], &wwpn);
1827 if (stat)
1828 return stat;
1830 stat = fc_parse_wwn(&buf[17], &wwnn);
1831 if (stat)
1832 return stat;
1852 stat = fc_vport_terminate(vport);
1853 return stat ? stat : count;
3373 int stat;
3376 stat = fc_vport_setup(shost, channel, &shost->shost_gendev,
3378 return stat ? NULL : vport;
3400 int stat;
3403 stat = i->f->vport_delete(vport);
3405 stat = -ENOENT;
3409 if (!stat) {
3417 if (stat)
3418 return stat;
3446 int stat;
3448 stat = fc_vport_terminate(vport);
3449 if (stat)
3454 vport->channel, stat);