Home | History | Annotate | Download | only in Uefi

Lines Matching defs:Fp

132   struct __filedes *Fp;

135 Fp = &gMD->fdarray[fd];
136 retval = (Fp->f_iflags & _S_ITTY) ? 1 : 0;
188 struct __filedes *Fp;
193 Fp = &gMD->fdarray[fd];
195 if(Fp->RefCount == 1) { // There should be no other users
198 if(Fp->f_iflags & FIF_DELCLOSE) {
200 if(Fp->f_ops->fo_delete != NULL) {
201 retval = Fp->f_ops->fo_delete(Fp);
205 retval = Fp->f_ops->fo_close( Fp);
208 Fp->f_iflags = NewState; // Close this FD or reserve it
209 Fp->RefCount = 0; // No one using this FD
212 --Fp->RefCount; /* One less user of this FD */
252 struct __filedes *Fp;
260 Fp = &gMD->fdarray[fd];
262 if(Fp->f_ops->fo_delete != NULL) {
263 retval = Fp->f_ops->fo_delete(Fp);
265 Fp->f_iflags = 0; // Close this FD
266 Fp->RefCount = 0; // No one using this FD