Home
last modified time | relevance | path

Searched refs:fileOps (Results 1 – 4 of 4) sorted by relevance

/kernel/liteos_a/kernel/common/
Dvirtual_serial.c64 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 …]
Dconsole.c571 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 …]
/kernel/liteos_a/fs/proc/os_adapt/
Dsys_user.c44 const struct ProcFileOperations *fileOps; member
136 .fileOps = &SYS_USER_OPT
145 .fileOps = &SYS_USER_OPT
153 .fileOps = &SYS_USER_OPT
162 .fileOps = &SYS_USER_OPT
171 .fileOps = &SYS_USER_OPT
180 .fileOps = &SYS_USER_OPT
188 .fileOps = &SYS_USER_OPT
200 …DirEntry *userFile = ProcCreateData(sysUser->name, sysUser->mode, parent, sysUser->fileOps, &parm); in ProcCreateSysUser()
Dprocess_proc.c60 const struct ProcFileOperations *fileOps; member
501 .fileOps = &PID_FOPS
508 .fileOps = &PID_FOPS
515 .fileOps = &PID_FOPS
524 .fileOps = &PID_CONTAINER_FOPS
532 .fileOps = &PID_CONTAINER_FOPS
538 .fileOps = &PID_CONTAINER_FOPS
546 .fileOps = &PID_CONTAINER_FOPS
554 .fileOps = &PID_CONTAINER_FOPS
562 .fileOps = &PID_CONTAINER_FOPS
[all …]