Home
last modified time | relevance | path

Searched defs:filp (Results 76 – 100 of 620) sorted by relevance

12345678910>>...25

/openbmc/linux/drivers/rpmsg/
H A Drpmsg_char.c135 static int rpmsg_eptdev_open(struct inode *inode, struct file *filp) in rpmsg_eptdev_open()
179 static int rpmsg_eptdev_release(struct inode *inode, struct file *filp) in rpmsg_eptdev_release()
204 struct file *filp = iocb->ki_filp; in rpmsg_eptdev_read_iter() local
252 struct file *filp = iocb->ki_filp; in rpmsg_eptdev_write_iter() local
293 static __poll_t rpmsg_eptdev_poll(struct file *filp, poll_table *wait) in rpmsg_eptdev_poll()
/openbmc/linux/drivers/tty/
H A Dttynull.c17 static int ttynull_open(struct tty_struct *tty, struct file *filp) in ttynull_open()
22 static void ttynull_close(struct tty_struct *tty, struct file *filp) in ttynull_close()
/openbmc/linux/drivers/char/xillybus/
H A Dxillybus_core.c690 static ssize_t xillybus_read(struct file *filp, char __user *userbuf, in xillybus_read()
1177 static int xillybus_flush(struct file *filp, fl_owner_t id) in xillybus_flush()
1202 static ssize_t xillybus_write(struct file *filp, const char __user *userbuf, in xillybus_write()
1427 static int xillybus_open(struct inode *inode, struct file *filp) in xillybus_open()
1564 static int xillybus_release(struct inode *inode, struct file *filp) in xillybus_release()
1665 static loff_t xillybus_llseek(struct file *filp, loff_t offset, int whence) in xillybus_llseek()
1739 static __poll_t xillybus_poll(struct file *filp, poll_table *wait) in xillybus_poll()
/openbmc/linux/drivers/w1/slaves/
H A Dw1_ds28e04.c114 static ssize_t eeprom_read(struct file *filp, struct kobject *kobj, in eeprom_read()
225 static ssize_t eeprom_write(struct file *filp, struct kobject *kobj, in eeprom_write()
281 static ssize_t pio_read(struct file *filp, struct kobject *kobj, in pio_read()
300 static ssize_t pio_write(struct file *filp, struct kobject *kobj, in pio_write()
H A Dw1_ds2413.c27 static ssize_t state_read(struct file *filp, struct kobject *kobj, in state_read()
83 static ssize_t output_write(struct file *filp, struct kobject *kobj, in output_write()
/openbmc/linux/fs/notify/dnotify/
H A Ddnotify.c153 void dnotify_flush(struct file *filp, fl_owner_t id) in dnotify_flush()
231 fl_owner_t id, int fd, struct file *filp, __u32 mask) in attach_dn()
261 int fcntl_dirnotify(int fd, struct file *filp, unsigned int arg) in fcntl_dirnotify()
/openbmc/linux/drivers/vfio/pci/pds/
H A Dlm.c163 static int pds_vfio_release_file(struct inode *inode, struct file *filp) in pds_vfio_release_file()
177 static ssize_t pds_vfio_save_read(struct file *filp, char __user *buf, in pds_vfio_save_read()
276 static ssize_t pds_vfio_restore_write(struct file *filp, const char __user *buf, in pds_vfio_restore_write()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_sysfs.c62 i915_l3_read(struct file *filp, struct kobject *kobj, in i915_l3_read()
90 i915_l3_write(struct file *filp, struct kobject *kobj, in i915_l3_write()
160 static ssize_t error_state_read(struct file *filp, struct kobject *kobj, in error_state_read()
/openbmc/linux/security/selinux/
H A Dselinuxfs.c123 static ssize_t sel_read_enforce(struct file *filp, char __user *buf, in sel_read_enforce()
199 static ssize_t sel_read_handle_unknown(struct file *filp, char __user *buf, in sel_read_handle_unknown()
218 static int sel_open_handle_status(struct inode *inode, struct file *filp) in sel_open_handle_status()
230 static ssize_t sel_read_handle_status(struct file *filp, char __user *buf, in sel_read_handle_status()
242 static int sel_mmap_handle_status(struct file *filp, in sel_mmap_handle_status()
311 static ssize_t sel_read_policyvers(struct file *filp, char __user *buf, in sel_read_policyvers()
345 static ssize_t sel_read_mls(struct file *filp, char __user *buf, in sel_read_mls()
366 static int sel_open_policy(struct inode *inode, struct file *filp) in sel_open_policy()
416 static int sel_release_policy(struct inode *inode, struct file *filp) in sel_release_policy()
431 static ssize_t sel_read_policy(struct file *filp, char __user *buf, in sel_read_policy()
[all …]
/openbmc/linux/arch/arm/mm/
H A Dmmap.c30 arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area()
81 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown()
/openbmc/linux/kernel/trace/
H A Dtrace.c5259 tracing_cpumask_read(struct file *filp, char __user *ubuf, in tracing_cpumask_read()
5909 tracing_readme_read(struct file *filp, char __user *ubuf, in tracing_readme_read()
6686 tracing_thresh_read(struct file *filp, char __user *ubuf, in tracing_thresh_read()
6720 tracing_max_lat_read(struct file *filp, char __user *ubuf, in tracing_max_lat_read()
6882 static int tracing_wait_pipe(struct file *filp) in tracing_wait_pipe()
6922 tracing_read_pipe(struct file *filp, char __user *ubuf, in tracing_read_pipe()
7080 static ssize_t tracing_splice_read_pipe(struct file *filp, in tracing_splice_read_pipe()
7167 tracing_entries_read(struct file *filp, char __user *ubuf, in tracing_entries_read()
8608 tracing_stats_read(struct file *filp, char __user *ubuf, in tracing_stats_read()
9275 rb_simple_read(struct file *filp, char __user *ubuf, in rb_simple_read()
[all …]
/openbmc/linux/kernel/power/
H A Dqos.c340 static int cpu_latency_qos_open(struct inode *inode, struct file *filp) in cpu_latency_qos_open()
354 static int cpu_latency_qos_release(struct inode *inode, struct file *filp) in cpu_latency_qos_release()
366 static ssize_t cpu_latency_qos_read(struct file *filp, char __user *buf, in cpu_latency_qos_read()
383 static ssize_t cpu_latency_qos_write(struct file *filp, const char __user *buf, in cpu_latency_qos_write()
/openbmc/linux/drivers/platform/x86/dell/
H A Ddell_rbu.c477 static ssize_t data_read(struct file *filp, struct kobject *kobj, in data_read()
532 static ssize_t image_type_read(struct file *filp, struct kobject *kobj, in image_type_read()
542 static ssize_t image_type_write(struct file *filp, struct kobject *kobj, in image_type_write()
602 static ssize_t packet_size_read(struct file *filp, struct kobject *kobj, in packet_size_read()
615 static ssize_t packet_size_write(struct file *filp, struct kobject *kobj, in packet_size_write()
/openbmc/linux/include/linux/
H A Dfscrypt.h475 static inline int fscrypt_ioctl_set_policy(struct file *filp, in fscrypt_ioctl_set_policy()
481 static inline int fscrypt_ioctl_get_policy(struct file *filp, void __user *arg) in fscrypt_ioctl_get_policy()
486 static inline int fscrypt_ioctl_get_policy_ex(struct file *filp, in fscrypt_ioctl_get_policy_ex()
492 static inline int fscrypt_ioctl_get_nonce(struct file *filp, void __user *arg) in fscrypt_ioctl_get_nonce()
547 static inline int fscrypt_ioctl_add_key(struct file *filp, void __user *arg) in fscrypt_ioctl_add_key()
552 static inline int fscrypt_ioctl_remove_key(struct file *filp, void __user *arg) in fscrypt_ioctl_remove_key()
557 static inline int fscrypt_ioctl_remove_key_all_users(struct file *filp, in fscrypt_ioctl_remove_key_all_users()
563 static inline int fscrypt_ioctl_get_key_status(struct file *filp, in fscrypt_ioctl_get_key_status()
669 static inline int fscrypt_file_open(struct inode *inode, struct file *filp) in fscrypt_file_open()
/openbmc/linux/drivers/infiniband/core/
H A Duser_mad.c382 static ssize_t ib_umad_read(struct file *filp, char __user *buf, in ib_umad_read()
507 static ssize_t ib_umad_write(struct file *filp, const char __user *buf, in ib_umad_write()
673 static __poll_t ib_umad_poll(struct file *filp, struct poll_table_struct *wait) in ib_umad_poll()
952 static long ib_umad_ioctl(struct file *filp, unsigned int cmd, in ib_umad_ioctl()
970 static long ib_umad_compat_ioctl(struct file *filp, unsigned int cmd, in ib_umad_compat_ioctl()
997 static int ib_umad_open(struct inode *inode, struct file *filp) in ib_umad_open()
1040 static int ib_umad_close(struct inode *inode, struct file *filp) in ib_umad_close()
1088 static int ib_umad_sm_open(struct inode *inode, struct file *filp) in ib_umad_sm_open()
1131 static int ib_umad_sm_close(struct inode *inode, struct file *filp) in ib_umad_sm_close()
/openbmc/linux/arch/sh/mm/
H A Dmmap.c54 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area()
101 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown()
/openbmc/linux/drivers/pci/
H A Dpci-sysfs.c666 static ssize_t pci_read_config(struct file *filp, struct kobject *kobj, in pci_read_config()
741 static ssize_t pci_write_config(struct file *filp, struct kobject *kobj, in pci_write_config()
847 static ssize_t pci_read_legacy_io(struct file *filp, struct kobject *kobj, in pci_read_legacy_io()
872 static ssize_t pci_write_legacy_io(struct file *filp, struct kobject *kobj, in pci_write_legacy_io()
896 static int pci_mmap_legacy_mem(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_mem()
916 static int pci_mmap_legacy_io(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_io()
1064 static int pci_mmap_resource_uc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_uc()
1071 static int pci_mmap_resource_wc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_wc()
1078 static ssize_t pci_resource_io(struct file *filp, struct kobject *kobj, in pci_resource_io()
1264 static ssize_t pci_write_rom(struct file *filp, struct kobject *kobj, in pci_write_rom()
[all …]
/openbmc/linux/security/landlock/
H A Dsyscalls.c109 struct file *const filp) in fop_ruleset_release()
117 static ssize_t fop_dummy_read(struct file *const filp, char __user *const buf, in fop_dummy_read()
124 static ssize_t fop_dummy_write(struct file *const filp, in fop_dummy_write()
/openbmc/linux/drivers/s390/char/
H A Dmonwriter.c187 static int monwrite_open(struct inode *inode, struct file *filp) in monwrite_open()
201 static int monwrite_close(struct inode *inode, struct file *filp) in monwrite_close()
219 static ssize_t monwrite_write(struct file *filp, const char __user *data, in monwrite_write()
H A Dmonreader.c275 static int mon_open(struct inode *inode, struct file *filp) in mon_open()
331 static int mon_close(struct inode *inode, struct file *filp) in mon_close()
361 static ssize_t mon_read(struct file *filp, char __user *data, in mon_read()
425 static __poll_t mon_poll(struct file *filp, struct poll_table_struct *p) in mon_poll()
/openbmc/linux/fs/exfat/
H A Dfile.c346 long exfat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in exfat_ioctl()
359 long exfat_compat_ioctl(struct file *filp, unsigned int cmd, in exfat_compat_ioctl()
366 int exfat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in exfat_file_fsync()
/openbmc/linux/kernel/sched/
H A Ddebug.c124 sched_feat_write(struct file *filp, const char __user *ubuf, in sched_feat_write()
156 static int sched_feat_open(struct inode *inode, struct file *filp) in sched_feat_open()
171 static ssize_t sched_scaling_write(struct file *filp, const char __user *ubuf, in sched_scaling_write()
204 static int sched_scaling_open(struct inode *inode, struct file *filp) in sched_scaling_open()
221 static ssize_t sched_dynamic_write(struct file *filp, const char __user *ubuf, in sched_dynamic_write()
266 static int sched_dynamic_open(struct inode *inode, struct file *filp) in sched_dynamic_open()
287 static ssize_t sched_verbose_write(struct file *filp, const char __user *ubuf, in sched_verbose_write()
324 static int sched_debug_open(struct inode *inode, struct file *filp) in sched_debug_open()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cs.c46 struct drm_file *filp, in amdgpu_cs_parser_init()
1404 int amdgpu_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) in amdgpu_cs_ioctl()
1479 struct drm_file *filp) in amdgpu_cs_wait_ioctl()
1528 struct drm_file *filp, in amdgpu_cs_get_fence()
1554 struct drm_file *filp) in amdgpu_cs_fence_to_handle_ioctl()
1622 struct drm_file *filp, in amdgpu_cs_wait_all_fences()
1667 struct drm_file *filp, in amdgpu_cs_wait_any_fence()
1731 struct drm_file *filp) in amdgpu_cs_wait_fences_ioctl()
/openbmc/linux/drivers/xen/
H A Dgntalloc.c228 static int gntalloc_open(struct inode *inode, struct file *filp) in gntalloc_open()
247 static int gntalloc_release(struct inode *inode, struct file *filp) in gntalloc_release()
426 static long gntalloc_ioctl(struct file *filp, unsigned int cmd, in gntalloc_ioctl()
491 static int gntalloc_mmap(struct file *filp, struct vm_area_struct *vma) in gntalloc_mmap()
/openbmc/linux/drivers/platform/chrome/wilco_ec/
H A Devent.c304 static int event_open(struct inode *inode, struct file *filp) in event_open()
323 static __poll_t event_poll(struct file *filp, poll_table *wait) in event_poll()
352 static ssize_t event_read(struct file *filp, char __user *buf, size_t count, in event_read()
391 static int event_release(struct inode *inode, struct file *filp) in event_release()

12345678910>>...25