Lines Matching refs:pFilp
104 static int VBoxDrvLinuxCreateSys(struct inode *pInode, struct file *pFilp);
105 static int VBoxDrvLinuxCreateUsr(struct inode *pInode, struct file *pFilp);
106 static int VBoxDrvLinuxClose(struct inode *pInode, struct file *pFilp);
108 static long VBoxDrvLinuxIOCtl(struct file *pFilp, unsigned int uCmd, unsigned long ulArg);
110 static int VBoxDrvLinuxIOCtl(struct inode *pInode, struct file *pFilp, unsigned int uCmd, unsigned long ulArg);
112 static int VBoxDrvLinuxIOCtlSlow(struct file *pFilp, unsigned int uCmd, unsigned long ulArg, PSUPDRVSESSION pSession);
514 * @param pFilp Associated file pointer.
517 static int vboxdrvLinuxCreateCommon(struct inode *pInode, struct file *pFilp, bool fUnrestricted)
521 Log(("VBoxDrvLinuxCreate: pFilp=%p pid=%d/%d %s\n", pFilp, RTProcSelf(), current->pid, current->comm));
545 pFilp->private_data = pSession;
555 static int VBoxDrvLinuxCreateSys(struct inode *pInode, struct file *pFilp)
557 return vboxdrvLinuxCreateCommon(pInode, pFilp, true);
562 static int VBoxDrvLinuxCreateUsr(struct inode *pInode, struct file *pFilp)
564 return vboxdrvLinuxCreateCommon(pInode, pFilp, false);
572 * @param pFilp Associated file pointer.
574 static int VBoxDrvLinuxClose(struct inode *pInode, struct file *pFilp)
576 Log(("VBoxDrvLinuxClose: pFilp=%p pSession=%p pid=%d/%d %s\n",
577 pFilp, pFilp->private_data, RTProcSelf(), current->pid, current->comm));
578 supdrvSessionRelease((PSUPDRVSESSION)pFilp->private_data);
579 pFilp->private_data = NULL;
640 * @param pFilp Associated file pointer.
645 static long VBoxDrvLinuxIOCtl(struct file *pFilp, unsigned int uCmd, unsigned long ulArg)
647 static int VBoxDrvLinuxIOCtl(struct inode *pInode, struct file *pFilp, unsigned int uCmd, unsigned long ulArg)
650 PSUPDRVSESSION pSession = (PSUPDRVSESSION)pFilp->private_data;
668 return VBoxDrvLinuxIOCtlSlow(pFilp, uCmd, ulArg, pSession);
678 rc = VBoxDrvLinuxIOCtlSlow(pFilp, uCmd, ulArg, pSession);
688 * @param pFilp Associated file pointer.
693 static int VBoxDrvLinuxIOCtlSlow(struct file *pFilp, unsigned int uCmd, unsigned long ulArg, PSUPDRVSESSION pSession)
700 Log6(("VBoxDrvLinuxIOCtl: pFilp=%p uCmd=%#x ulArg=%p pid=%d/%d\n", pFilp, uCmd, (void *)ulArg, RTProcSelf(), current->pid));
772 Log(("VBoxDrvLinuxIOCtl: pFilp=%p uCmd=%#x ulArg=%p failed, rc=%d\n", pFilp, uCmd, (void *)ulArg, rc));