Home | History | Annotate | Download | only in Uefi

Lines Matching defs:filp

58   struct __filedes    *filp;

62 filp = &gMD->fdarray[fd];
65 retval = (BOOLEAN)((filp->f_iflags != 0) && // TRUE if OPEN
66 FILE_IS_USABLE(filp)); // and Usable (not Larval or Closing)
528 struct __filedes *filp;
534 filp = &gMD->fdarray[fd];
536 CurPos = filp->f_ops->fo_lseek( filp, offset, how);
538 filp->f_offset = CurPos;
665 struct __filedes *filp;
692 filp = &gMD->fdarray[fd];
694 filp->Oflags = oflags;
695 filp->Omode = mode;
697 doresult = Node->OpenFunc(Node, filp, Instance, NewPath, MPath);
699 filp->f_iflags = 0; // Release this FD
707 filp->f_iflags |= OpenMode;
709 if((oflags & O_TTY_INIT) && (filp->f_iflags & _S_ITTY) && (filp->devdata != NULL)) {
711 Termio = &((cIIO *)filp->devdata)->Termio;
719 ++filp->RefCount;
720 FILE_SET_MATURE(filp);
961 filp;
967 filp = &gMD->fdarray[fd];
969 retval = filp->f_ops->fo_rmdir(filp);
970 filp->f_iflags = 0; // Close this FD
971 filp->RefCount = 0; // No one using this FD
1013 struct __filedes *filp;
1016 filp = &gMD->fdarray[fd];
1017 retval = filp->f_ops->fo_stat(filp, statbuf, NULL);
1042 struct __filedes *filp;
1046 filp = &gMD->fdarray[fd];
1047 retval = filp->f_ops->fo_stat( filp, statbuf, NULL);
1085 struct __filedes *filp;
1091 filp = &gMD->fdarray[fd];
1095 filp->f_iflags |= FIF_DELCLOSE;
1100 filp->f_iflags &= ~FIF_DELCLOSE;
1105 retval = filp->f_ops->fo_ioctl(filp, request, argp);
1186 struct __filedes *filp;
1193 filp = &gMD->fdarray[fildes];
1195 IIO = filp->devdata;
1197 BufSize = IIO->Read(filp, nbyte, buf);
1200 BufSize = filp->f_ops->fo_read(filp, &filp->f_offset, nbyte, buf);
1250 struct __filedes *filp;
1257 filp = &gMD->fdarray[fd];
1258 if ((filp->Oflags & O_ACCMODE) != 0) {
1260 IIO = filp->devdata;
1264 BufSize = IIO->Write(filp, buf, nbyte);
1268 BufSize = filp->f_ops->fo_write(filp, &filp->f_offset, nbyte, buf);
1417 struct __filedes *filp;
1425 filp = &gMD->fdarray[fd];
1426 retval = filp->f_ops->fo_ioctl( filp, FIOSETIME, ap);