Home
last modified time | relevance | path

Searched defs:filep (Results 1 – 25 of 86) sorted by relevance

1234

/kernel/liteos_a/drivers/char/mem/src/
Dmem.c36 static int MemOpen(struct file *filep) in MemOpen()
41 static int MemClose(struct file *filep) in MemClose()
46 static ssize_t MemRead(struct file *filep, char *buffer, size_t buflen) in MemRead()
51 static ssize_t MemWrite(struct file *filep, const char *buffer, size_t buflen) in MemWrite()
56 static ssize_t MemMap(struct file *filep, LosVmMapRegion *region) in MemMap()
/kernel/liteos_a/fs/vfs/operation/
Dvfs_force_umount.c235 static int ErrorFopOpen(struct file *filep) in ErrorFopOpen()
241 static int ErrorFopClose(struct file *filep) in ErrorFopClose()
248 static ssize_t ErrorFopRead(struct file *filep, char *buffer, size_t buflen) in ErrorFopRead()
256 static ssize_t ErrorFopWrite(struct file *filep, const char *buffer, size_t buflen) in ErrorFopWrite()
264 static off_t ErrorFopSeek(struct file *filep, off_t offset, int whence) in ErrorFopSeek()
272 static int ErrorFopIoctl(struct file *filep, int cmd, unsigned long arg) in ErrorFopIoctl()
280 static int ErrorFopMmap(struct file* filep, struct VmMapRegion *region) in ErrorFopMmap()
287 static int ErrorFopPoll(struct file *filep, poll_table *fds) in ErrorFopPoll()
294 static int ErrorFopStat(struct file *filep, struct stat* st) in ErrorFopStat()
301 static int ErrorFopFallocate(struct file* filep, int mode, off_t offset, off_t len) in ErrorFopFallocate()
[all …]
Dvfs_fallocate.c49 static ssize_t file_fallocate(struct file *filep, int mode, off_t offset, off_t len) in file_fallocate()
108 struct file *filep = NULL; in fallocate() local
Dvfs_fallocate64.c49 ssize_t file_fallocate64(struct file *filep, int mode, off64_t offset, off64_t len) in file_fallocate64()
111 struct file *filep = NULL; in fallocate64() local
/kernel/liteos_a/drivers/char/random/src/
Drandom_hw.c48 static int RandomHwOpen(struct file *filep) in RandomHwOpen()
57 static int RandomHwClose(struct file *filep) in RandomHwClose()
66 static int RandomHwIoctl(struct file *filep, int cmd, unsigned long arg) in RandomHwIoctl()
78 static ssize_t RandomHwRead(struct file *filep, char *buffer, size_t buflen) in RandomHwRead()
93 static ssize_t RandomMap(struct file *filep, LosVmMapRegion *region) in RandomMap()
Drandom.c55 int RanOpen(struct file *filep) in RanOpen()
61 static int RanClose(struct file *filep) in RanClose()
66 int RanIoctl(struct file *filep, int cmd, unsigned long arg) in RanIoctl()
72 ssize_t RanRead(struct file *filep, char *buffer, size_t buflen) in RanRead()
95 static ssize_t RanMap(struct file *filep, LosVmMapRegion *region) in RanMap()
/kernel/liteos_a/drivers/char/perf/src/
Dperf.c48 static int PerfOpen(struct file *filep) in PerfOpen()
54 static int PerfClose(struct file *filep) in PerfClose()
60 static ssize_t PerfRead(struct file *filep, char *buffer, size_t buflen) in PerfRead()
91 static ssize_t PerfConfig(struct file *filep, const char *buffer, size_t buflen) in PerfConfig()
117 static int PerfIoctl(struct file *filep, int cmd, unsigned long arg) in PerfIoctl()
/kernel/liteos_a/kernel/common/
Dvirtual_serial.c60 STATIC INT32 SerialOpen(struct file *filep) in SerialOpen()
88 STATIC INT32 SerialClose(struct file *filep) in SerialClose()
104 STATIC ssize_t SerialRead(struct file *filep, CHAR *buffer, size_t bufLen) in SerialRead()
128 STATIC ssize_t SerialWrite(struct file *filep, const CHAR *buffer, size_t bufLen) in SerialWrite()
151 STATIC INT32 SerialIoctl(struct file *filep, INT32 cmd, unsigned long arg) in SerialIoctl()
174 STATIC INT32 SerialPoll(struct file *filep, poll_table *fds) in SerialPoll()
Dconsole.c82 INT32 GetFilepOps(const struct file *filep, struct file **privFilep, const struct file_operations_v… in GetFilepOps()
113 struct file *filep = NULL; in ConsoleTcGetAttr() local
132 struct file *filep = NULL; in ConsoleTcSetAttr() local
324 INT32 FilepOpen(struct file *filep, const struct file_operations_vfs *fops) in FilepOpen()
339 STATIC INLINE VOID UserEndOfRead(CONSOLE_CB *consoleCB, struct file *filep, in UserEndOfRead()
403 STATIC VOID EchoToTerminal(CONSOLE_CB *consoleCB, struct file *filep, const struct file_operations_… in EchoToTerminal()
443 STATIC INT32 UserFilepRead(CONSOLE_CB *consoleCB, struct file *filep, const struct file_operations_… in UserFilepRead()
499 INT32 FilepRead(struct file *filep, const struct file_operations_vfs *fops, CHAR *buffer, size_t bu… in FilepRead()
514 INT32 FilepWrite(struct file *filep, const struct file_operations_vfs *fops, const CHAR *buffer, si… in FilepWrite()
525 INT32 FilepClose(struct file *filep, const struct file_operations_vfs *fops) in FilepClose()
[all …]
/kernel/linux/linux-5.10/drivers/ntb/test/
Dntb_tool.c412 static ssize_t tool_port_read(struct file *filep, char __user *ubuf, in tool_port_read()
428 static ssize_t tool_peer_port_read(struct file *filep, char __user *ubuf, in tool_peer_port_read()
469 static ssize_t tool_link_write(struct file *filep, const char __user *ubuf, in tool_link_write()
495 static ssize_t tool_peer_link_read(struct file *filep, char __user *ubuf, in tool_peer_link_read()
516 static ssize_t tool_peer_link_event_write(struct file *filep, in tool_peer_link_event_write()
548 static ssize_t tool_mw_read(struct file *filep, char __user *ubuf, in tool_mw_read()
560 static ssize_t tool_mw_write(struct file *filep, const char __user *ubuf, in tool_mw_write()
644 static ssize_t tool_mw_trans_read(struct file *filep, char __user *ubuf, in tool_mw_trans_read()
706 static ssize_t tool_mw_trans_write(struct file *filep, const char __user *ubuf, in tool_mw_trans_write()
731 static ssize_t tool_peer_mw_read(struct file *filep, char __user *ubuf, in tool_peer_mw_read()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c109 static int kfd_open(struct inode *inode, struct file *filep) in kfd_open()
147 static int kfd_release(struct inode *inode, struct file *filep) in kfd_release()
157 static int kfd_ioctl_get_version(struct file *filep, struct kfd_process *p, in kfd_ioctl_get_version()
274 static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p, in kfd_ioctl_create_queue()
469 static int kfd_ioctl_get_queue_wave_state(struct file *filep, in kfd_ioctl_get_queue_wave_state()
487 static int kfd_ioctl_set_memory_policy(struct file *filep, in kfd_ioctl_set_memory_policy()
539 static int kfd_ioctl_set_trap_handler(struct file *filep, in kfd_ioctl_set_trap_handler()
571 static int kfd_ioctl_dbg_register(struct file *filep, in kfd_ioctl_dbg_register()
625 static int kfd_ioctl_dbg_unregister(struct file *filep, in kfd_ioctl_dbg_unregister()
663 static int kfd_ioctl_dbg_address_watch(struct file *filep, in kfd_ioctl_dbg_address_watch()
[all …]
Dkfd_smi_events.c60 static __poll_t kfd_smi_ev_poll(struct file *filep, in kfd_smi_ev_poll()
76 static ssize_t kfd_smi_ev_read(struct file *filep, char __user *user, in kfd_smi_ev_read()
120 static ssize_t kfd_smi_ev_write(struct file *filep, const char __user *user, in kfd_smi_ev_write()
136 static int kfd_smi_ev_release(struct inode *inode, struct file *filep) in kfd_smi_ev_release()
/kernel/liteos_a/drivers/char/trace/src/
Dtrace.c52 static int TraceOpen(struct file *filep) in TraceOpen()
57 static int TraceClose(struct file *filep) in TraceClose()
62 static ssize_t TraceRead(struct file *filep, char *buffer, size_t buflen) in TraceRead()
90 static ssize_t TraceWrite(struct file *filep, const char *buffer, size_t buflen) in TraceWrite()
117 static int TraceIoctl(struct file *filep, int cmd, unsigned long arg) in TraceIoctl()
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dtimerdev.c44 mISDN_open(struct inode *ino, struct file *filep) in mISDN_open()
64 mISDN_close(struct inode *ino, struct file *filep) in mISDN_close()
93 mISDN_read(struct file *filep, char __user *buf, size_t count, loff_t *off) in mISDN_read()
136 mISDN_poll(struct file *filep, poll_table *wait) in mISDN_poll()
217 mISDN_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) in mISDN_ioctl()
/kernel/liteos_a/drivers/char/quickstart/src/
Dquickstart.c43 static int QuickstartOpen(struct file *filep) in QuickstartOpen()
48 static int QuickstartClose(struct file *filep) in QuickstartClose()
108 static ssize_t QuickstartIoctl(struct file *filep, int cmd, unsigned long arg) in QuickstartIoctl()
/kernel/liteos_a/compat/posix/src/
Dstdio.c41 struct file *filep = NULL; in _lseek() local
80 struct file *filep = NULL; in _lseek64() local
/kernel/linux/linux-5.10/drivers/misc/uacce/
Duacce.c56 static long uacce_fops_unl_ioctl(struct file *filep, in uacce_fops_unl_ioctl()
94 static long uacce_fops_compat_ioctl(struct file *filep, in uacce_fops_compat_ioctl()
134 static int uacce_fops_open(struct inode *inode, struct file *filep) in uacce_fops_open()
185 static int uacce_fops_release(struct inode *inode, struct file *filep) in uacce_fops_release()
215 static int uacce_fops_mmap(struct file *filep, struct vm_area_struct *vma) in uacce_fops_mmap()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4file.c208 static loff_t nfs4_file_llseek(struct file *filep, loff_t offset, int whence) in nfs4_file_llseek()
224 static long nfs42_fallocate(struct file *filep, int mode, loff_t offset, loff_t len) in nfs42_fallocate()
325 struct file *filep, *res; in __nfs42_ssc_open() local
413 static void __nfs42_ssc_close(struct file *filep) in __nfs42_ssc_close()
/kernel/linux/linux-5.10/drivers/vfio/
Dvfio.c1131 static long vfio_fops_unl_ioctl(struct file *filep, in vfio_fops_unl_ioctl()
1163 static int vfio_fops_open(struct inode *inode, struct file *filep) in vfio_fops_open()
1180 static int vfio_fops_release(struct inode *inode, struct file *filep) in vfio_fops_release()
1195 static ssize_t vfio_fops_read(struct file *filep, char __user *buf, in vfio_fops_read()
1210 static ssize_t vfio_fops_write(struct file *filep, const char __user *buf, in vfio_fops_write()
1225 static int vfio_fops_mmap(struct file *filep, struct vm_area_struct *vma) in vfio_fops_mmap()
1398 struct file *filep; in vfio_group_get_device_fd() local
1457 static long vfio_group_fops_unl_ioctl(struct file *filep, in vfio_group_fops_unl_ioctl()
1524 static int vfio_group_fops_open(struct inode *inode, struct file *filep) in vfio_group_fops_open()
1561 static int vfio_group_fops_release(struct inode *inode, struct file *filep) in vfio_group_fops_release()
[all …]
/kernel/liteos_a/kernel/extended/hilog/
Dlos_hilog.c97 int HiLogOpen(struct file *filep) in HiLogOpen()
103 int HiLogClose(struct file *filep) in HiLogClose()
166 static ssize_t HiLogRead(struct file *filep, char *buffer, size_t bufLen) in HiLogRead()
321 static ssize_t HiLogWrite(struct file *filep, const char *buffer, size_t bufLen) in HiLogWrite()
/kernel/liteos_a/fs/proc/os_adapt/
Dproc_vfs.c120 int VfsProcfsRead(struct file *filep, char *buffer, size_t buflen) in VfsProcfsRead()
141 int VfsProcfsWrite(struct file *filep, const char *buffer, size_t buflen) in VfsProcfsWrite()
362 int VfsProcfsOpen(struct file *filep) in VfsProcfsOpen()
390 int VfsProcfsClose(struct file *filep) in VfsProcfsClose()
/kernel/liteos_a/kernel/extended/hidumper/
Dlos_hidumper.c120 STATIC INT32 HiDumperOpen(struct file *filep) in HiDumperOpen()
126 STATIC INT32 HiDumperClose(struct file *filep) in HiDumperClose()
294 static INT32 HiDumperIoctl(struct file *filep, INT32 cmd, unsigned long arg) in HiDumperIoctl()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_debugfs_crc.c195 static int crtc_crc_open(struct inode *inode, struct file *filep) in crtc_crc_open()
258 static int crtc_crc_release(struct inode *inode, struct file *filep) in crtc_crc_release()
284 static ssize_t crtc_crc_read(struct file *filep, char __user *user_buf, in crtc_crc_read()
/kernel/linux/linux-5.10/fs/cifs/
Dioctl.c38 static long cifs_ioctl_query_info(unsigned int xid, struct file *filep, in cifs_ioctl_query_info()
164 long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) in cifs_ioctl()
/kernel/linux/linux-5.10/drivers/uio/
Duio.c459 static int uio_open(struct inode *inode, struct file *filep) in uio_open()
518 static int uio_fasync(int fd, struct file *filep, int on) in uio_fasync()
526 static int uio_release(struct inode *inode, struct file *filep) in uio_release()
543 static __poll_t uio_poll(struct file *filep, poll_table *wait) in uio_poll()
563 static ssize_t uio_read(struct file *filep, char __user *buf, in uio_read()
618 static ssize_t uio_write(struct file *filep, const char __user *buf, in uio_write()
760 static int uio_mmap(struct file *filep, struct vm_area_struct *vma) in uio_mmap()

1234