Lines Matching refs:ret

2035 	long ret;  in adpt_unlocked_ioctl()  local
2040 ret = adpt_ioctl(inode, file, cmd, arg); in adpt_unlocked_ioctl()
2043 return ret; in adpt_unlocked_ioctl()
2051 long ret; in compat_adpt_ioctl() local
2067 ret = adpt_ioctl(inode, file, cmd, arg); in compat_adpt_ioctl()
2070 ret = -ENOIOCTLCMD; in compat_adpt_ioctl()
2075 return ret; in compat_adpt_ioctl()
2985 int ret; in adpt_i2o_lct_get() local
3013 if ((ret=adpt_i2o_post_wait(pHba, msg, sizeof(msg), 360))) { in adpt_i2o_lct_get()
3015 pHba->name, ret); in adpt_i2o_lct_get()
3017 return ret; in adpt_i2o_lct_get()
3226 int ret, size = sizeof(i2o_hrt); in adpt_i2o_hrt_get() local
3245 if ((ret = adpt_i2o_post_wait(pHba, msg, sizeof(msg),20))) { in adpt_i2o_hrt_get()
3246 printk(KERN_ERR "%s: Unable to get HRT (status=%#10x)\n", pHba->name, ret); in adpt_i2o_hrt_get()
3247 return ret; in adpt_i2o_hrt_get()
3371 int ret; in adpt_i2o_quiesce_hba() local
3387 if((ret = adpt_i2o_post_wait(pHba, msg, sizeof(msg), 240))) { in adpt_i2o_quiesce_hba()
3389 pHba->unit, -ret); in adpt_i2o_quiesce_hba()
3395 return ret; in adpt_i2o_quiesce_hba()
3405 int ret; in adpt_i2o_enable_hba() local
3423 if ((ret = adpt_i2o_post_wait(pHba, msg, sizeof(msg), 240))) { in adpt_i2o_enable_hba()
3425 pHba->name, ret); in adpt_i2o_enable_hba()
3431 return ret; in adpt_i2o_enable_hba()
3438 int ret; in adpt_i2o_systab_send() local
3459 if ((ret=adpt_i2o_post_wait(pHba, msg, sizeof(msg), 120))) { in adpt_i2o_systab_send()
3461 pHba->name, ret); in adpt_i2o_systab_send()
3469 return ret; in adpt_i2o_systab_send()