Searched refs:fileOps (Results 1 – 2 of 2) sorted by relevance
/kernel/liteos_a/kernel/common/ |
D | virtual_serial.c | 64 const struct file_operations_vfs *fileOps = NULL; in SerialOpen() local 66 ret = GetFilepOps(filep, &privFilep, &fileOps); in SerialOpen() 72 ret = FilepOpen(privFilep, fileOps); in SerialOpen() 108 const struct file_operations_vfs *fileOps = NULL; in SerialRead() local 110 ret = GetFilepOps(filep, &privFilep, &fileOps); in SerialRead() 116 ret = FilepRead(privFilep, fileOps, buffer, bufLen); in SerialRead() 132 const struct file_operations_vfs *fileOps = NULL; in SerialWrite() local 134 ret = GetFilepOps(filep, &privFilep, &fileOps); in SerialWrite() 140 ret = FilepWrite(privFilep, fileOps, buffer, bufLen); in SerialWrite() 155 const struct file_operations_vfs *fileOps = NULL; in SerialIoctl() local [all …]
|
D | console.c | 571 const struct file_operations_vfs *fileOps = NULL; in ConsoleOpen() local 580 ret = GetFilepOps(filep, &privFilep, &fileOps); in ConsoleOpen() 585 ret = FilepOpen(privFilep, fileOps); in ConsoleOpen() 601 const struct file_operations_vfs *fileOps = NULL; in ConsoleClose() local 603 ret = GetFilepOps(filep, &privFilep, &fileOps); in ConsoleClose() 608 ret = FilepClose(privFilep, fileOps); in ConsoleClose() 623 const struct file_operations_vfs *fileOps) in DoRead() argument 629 ret = FilepRead(privFilep, fileOps, buffer, bufLen); in DoRead() 633 ret = UserFilepRead(consoleCB, privFilep, fileOps, buffer, bufLen); in DoRead() 649 const struct file_operations_vfs *fileOps = NULL; in ConsoleRead() local [all …]
|