Searched refs:privFilep (Results 1 – 3 of 3) sorted by relevance
/kernel/liteos_a/kernel/common/ |
D | virtual_serial.c | 63 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 …]
|
D | console.c | 82 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 …]
|
D | console.h | 122 extern INT32 GetFilepOps(const struct file *filep, struct file **privFilep, const struct file_opera…
|