Lines Matching defs:retval

50     @retval TRUE  fd is VALID
51 @retval FALSE fd is INVALID
57 BOOLEAN retval = FALSE;
61 retval = TRUE;
63 retval = (BOOLEAN)((filp->f_iflags != 0) && // TRUE if OPEN
66 retval = (BOOLEAN)!retval; // We want TRUE if CLOSED
70 return retval;
105 int retval = 0;
112 retval = -1;
114 return retval;
120 @retval 1 fildes is associated with a terminal.
121 @retval 0 fildes is not associated with a terminal. errno is set to
127 int retval = 0;
132 retval = Fp->f_iflags & _S_ITTY;
137 return retval;
144 @retval TRUE fd is a duplicate of another fd.
145 @retval FALSE fd is unique.
177 @retval 0 The operation completed successfully.
178 @retval -1 The operation failed. Further information is in errno.
184 int retval = 0;
196 retval = Fp->f_ops->fo_delete(Fp);
200 retval = Fp->f_ops->fo_close( Fp);
212 retval = -1;
215 return retval;
224 @retval 0 Successful completion.
225 @retval -1 An error occurred and errno is set to identify the error.
240 int retval = -1;
249 retval = Fp->f_ops->fo_delete(Fp);
254 return retval;
338 int retval = -1;
360 retval = temp;
368 retval = MyFd->Oflags; // Get original value
371 temp |= retval & O_SETMASK;
376 retval = MyFd->f_iflags;
379 // retval = MyFd->SocProc;
383 retval = MyFd->f_iflags;
386 retval = MyFd->Oflags;
389 // retval = MyFd->SocProc;
401 return retval;;
443 int retval = -1;
446 retval = fildes2;
456 retval = -1;
463 return retval;
527 @retval 0 The directory was created successfully.
528 @retval -1 An error occurred and error codes are stored in errno and EFIerrno.
538 int retval = 0;
545 retval = -1;
549 retval = ((GenericInstance *)GenI)->Abstraction.fo_mkdir( path, perms);
554 retval = -1;
556 return retval;
842 int retval = -1;
849 retval = -1;
853 retval = ((GenericInstance *)GenI)->Abstraction.fo_rename( from, to);
857 return retval;
869 int retval = -1;
875 retval = filp->f_ops->fo_rmdir(filp);
879 return retval;
911 @retval 0 Successful Completion.
912 @retval -1 An error has occurred and errno has been set to
918 int retval = -1;
923 retval = filp->f_ops->fo_stat(filp, statbuf, NULL);
928 return retval;
936 @retval 0 Successful Completion.
937 @retval -1 An error has occurred and errno has been set to
944 int retval = -1;
950 retval = filp->f_ops->fo_stat( filp, statbuf, NULL);
953 return retval;
972 int retval = -1;
984 retval = 0;
989 retval = 0;
993 retval = filp->f_ops->fo_ioctl(filp, request, argp);
1001 return retval;
1140 @retval NULL The function failed. The value in errno provides
1147 @retval buf The function completed successfully.
1180 @retval 0 Operation completed successfully.
1181 @retval -1 Function failed. The value in errno provides more
1248 int retval = -1;
1254 retval = filp->f_ops->fo_ioctl( filp, FIOSETIME, ap);
1258 return retval;