Home
last modified time | relevance | path

Searched refs:privFilep (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/kernel/common/
Dvirtual_serial.c63 struct file *privFilep = NULL; in SerialOpen() local
66 ret = GetFilepOps(filep, &privFilep, &fileOps); in SerialOpen()
72 ret = FilepOpen(privFilep, fileOps); in SerialOpen()
107 struct file *privFilep = NULL; in SerialRead() local
110 ret = GetFilepOps(filep, &privFilep, &fileOps); in SerialRead()
116 ret = FilepRead(privFilep, fileOps, buffer, bufLen); in SerialRead()
131 struct file *privFilep = NULL; in SerialWrite() local
134 ret = GetFilepOps(filep, &privFilep, &fileOps); in SerialWrite()
140 ret = FilepWrite(privFilep, fileOps, buffer, bufLen); in SerialWrite()
154 struct file *privFilep = NULL; in SerialIoctl() local
[all …]
Dconsole.c82 INT32 GetFilepOps(const struct file *filep, struct file **privFilep, const struct file_operations_v… in GetFilepOps() argument
93 *privFilep = (struct file *)drv->priv; in GetFilepOps()
94 if (((*privFilep)->f_vnode == NULL) || ((*privFilep)->f_vnode->data == NULL)) { in GetFilepOps()
101 drv = (struct drv_data *)(*privFilep)->f_vnode->data; in GetFilepOps()
570 struct file *privFilep = NULL; in ConsoleOpen() local
580 ret = GetFilepOps(filep, &privFilep, &fileOps); in ConsoleOpen()
585 ret = FilepOpen(privFilep, fileOps); in ConsoleOpen()
600 struct file *privFilep = NULL; in ConsoleClose() local
603 ret = GetFilepOps(filep, &privFilep, &fileOps); in ConsoleClose()
608 ret = FilepClose(privFilep, fileOps); in ConsoleClose()
[all …]
Dconsole.h122 extern INT32 GetFilepOps(const struct file *filep, struct file **privFilep, const struct file_opera…