Lines Matching refs:ret_val
61 int32_t ret_val;
94 ret_val = door_call(handle->sm_door, &door_args);
95 if (ret_val < 0) {
118 int32_t ret_val;
168 ret_val = door_call(handle->sm_door, &door_args);
169 if (ret_val < 0) {
241 int32_t ret_val;
261 ret_val = remap_shared_buf(handle, r_p->size, r_p->buffer);
262 if (ret_val != 0) goto error;
274 ret_val = door_call(handle->sm_door, &door_args);
275 if (ret_val < 0) {
300 int32_t ret_val, bytes_read;
322 ret_val = remap_shared_buf(handle, r_p->size, r_p->buffer);
323 if (ret_val != 0) goto error;
335 ret_val = door_call(handle->sm_door, &door_args);
336 if (ret_val < 0) {
366 int32_t ret_val;
395 ret_val = door_call(handle->sm_door, &door_args);
396 if (ret_val < 0) {
417 int32_t ret_val;
443 ret_val = door_call(handle->sm_door, &door_args);
444 if (ret_val < 0) {
467 int32_t ret_val;
493 ret_val = door_call(handle->sm_door, &door_args);
494 if (ret_val < 0) {
513 int32_t ret_val;
541 ret_val = door_call(handle->sm_door, &door_args);
542 if (ret_val < 0) {
599 int32_t ret_val;
628 ret_val = door_call(handle->sm_door, &door_args);
629 if (ret_val < 0) {
648 int32_t ret_val;
702 ret_val = remap_shared_buf(handle, ucmd->uscsi_buflen,
704 if (ret_val != 0) {
734 ret_val = door_call(handle->sm_door, &door_args);
735 if (ret_val < 0) {
792 int ret_val, fd;
806 ret_val = munmap(handle->sm_buf, handle->sm_bufsize);
807 if (ret_val != 0) {
831 ret_val = unlink(fname);
832 if (ret_val == -1) {
846 ret_val = write(fd, buffer, buf_size);
847 if (ret_val != buf_size) {
873 ret_val = door_call(handle->sm_door, &door_args);
874 if (ret_val < 0) {