Lines Matching refs:ret
2289 int ret = -ENOMEM; in aac_send_wellness_command() local
2329 ret = aac_fib_send(ScsiPortCommand64, fibptr, sizeof(struct aac_srb), in aac_send_wellness_command()
2338 if (ret >= 0) in aac_send_wellness_command()
2345 if (ret != -ERESTARTSYS) in aac_send_wellness_command()
2349 return ret; in aac_send_wellness_command()
2361 int ret = -ENODEV; in aac_send_safw_hostttime() local
2378 ret = aac_send_wellness_command(dev, wellness_str, datasize); in aac_send_safw_hostttime()
2381 return ret; in aac_send_safw_hostttime()
2386 int ret = -ENOMEM; in aac_send_hosttime() local
2397 ret = aac_fib_send(SendHostTime, fibptr, sizeof(*info), FsaNormal, in aac_send_hosttime()
2404 if (ret >= 0) in aac_send_hosttime()
2411 if (ret != -ERESTARTSYS) in aac_send_hosttime()
2415 return ret; in aac_send_hosttime()
2469 int ret; in aac_command_thread() local
2472 ret = aac_adapter_check_health(dev); in aac_command_thread()
2473 if (ret || !dev->queues) in aac_command_thread()
2490 ret = in aac_command_thread()
2493 ret = aac_send_hosttime(dev, &now); in aac_command_thread()
2527 int ret = 0; in aac_acquire_irq() local
2542 ret = -1; in aac_acquire_irq()
2556 ret = -1; in aac_acquire_irq()
2559 return ret; in aac_acquire_irq()