Home
last modified time | relevance | path

Searched defs:file (Results 276 – 300 of 1733) sorted by relevance

1...<<11121314151617181920>>...70

/Linux-v5.4/fs/
Dread_write.c37 static inline bool unsigned_offsets(struct file *file) in unsigned_offsets()
54 loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize) in vfs_setpos()
86 generic_file_llseek_size(struct file *file, loff_t offset, int whence, in generic_file_llseek_size()
144 loff_t generic_file_llseek(struct file *file, loff_t offset, int whence) in generic_file_llseek()
162 loff_t fixed_size_llseek(struct file *file, loff_t offset, int whence, loff_t size) in fixed_size_llseek()
181 loff_t no_seek_end_llseek(struct file *file, loff_t offset, int whence) in no_seek_end_llseek()
201 loff_t no_seek_end_llseek_size(struct file *file, loff_t offset, int whence, loff_t size) in no_seek_end_llseek_size()
224 loff_t noop_llseek(struct file *file, loff_t offset, int whence) in noop_llseek()
230 loff_t no_llseek(struct file *file, loff_t offset, int whence) in no_llseek()
236 loff_t default_llseek(struct file *file, loff_t offset, int whence) in default_llseek()
[all …]
/Linux-v5.4/drivers/input/serio/
Dserio_raw.c55 static int serio_raw_fasync(int fd, struct file *file, int on) in serio_raw_fasync()
74 static int serio_raw_open(struct inode *inode, struct file *file) in serio_raw_open()
124 static int serio_raw_release(struct inode *inode, struct file *file) in serio_raw_release()
157 static ssize_t serio_raw_read(struct file *file, char __user *buffer, in serio_raw_read()
198 static ssize_t serio_raw_write(struct file *file, const char __user *buffer, in serio_raw_write()
239 static __poll_t serio_raw_poll(struct file *file, poll_table *wait) in serio_raw_poll()
/Linux-v5.4/drivers/watchdog/
Dmixcomwd.c128 static int mixcomwd_open(struct inode *inode, struct file *file) in mixcomwd_open()
151 static int mixcomwd_release(struct inode *inode, struct file *file) in mixcomwd_release()
169 static ssize_t mixcomwd_write(struct file *file, const char __user *data, in mixcomwd_write()
192 static long mixcomwd_ioctl(struct file *file, in mixcomwd_ioctl()
Dsbc7240_wdt.c94 static ssize_t fop_write(struct file *file, const char __user *buf, in fop_write()
123 static int fop_open(struct inode *inode, struct file *file) in fop_open()
133 static int fop_close(struct inode *inode, struct file *file) in fop_close()
156 static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in fop_ioctl()
Dsbc60xxwdt.c164 static ssize_t fop_write(struct file *file, const char __user *buf, in fop_write()
194 static int fop_open(struct inode *inode, struct file *file) in fop_open()
208 static int fop_close(struct inode *inode, struct file *file) in fop_close()
221 static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in fop_ioctl()
Dadvantechwdt.c109 static ssize_t advwdt_write(struct file *file, const char __user *buf, in advwdt_write()
131 static long advwdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in advwdt_ioctl()
189 static int advwdt_open(struct inode *inode, struct file *file) in advwdt_open()
201 static int advwdt_close(struct inode *inode, struct file *file) in advwdt_close()
Dpnx833x_wdt.c99 static int pnx833x_wdt_open(struct inode *inode, struct file *file) in pnx833x_wdt_open()
118 static int pnx833x_wdt_release(struct inode *inode, struct file *file) in pnx833x_wdt_release()
129 static ssize_t pnx833x_wdt_write(struct file *file, const char *data, size_t len, loff_t *ppos) in pnx833x_wdt_write()
138 static long pnx833x_wdt_ioctl(struct file *file, unsigned int cmd, in pnx833x_wdt_ioctl()
Dib700wdt.c144 static ssize_t ibwdt_write(struct file *file, const char __user *buf, in ibwdt_write()
167 static long ibwdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ibwdt_ioctl()
228 static int ibwdt_open(struct inode *inode, struct file *file) in ibwdt_open()
240 static int ibwdt_close(struct inode *inode, struct file *file) in ibwdt_close()
Dmtx-1_wdt.c117 static int mtx1_wdt_open(struct inode *inode, struct file *file) in mtx1_wdt_open()
125 static int mtx1_wdt_release(struct inode *inode, struct file *file) in mtx1_wdt_release()
131 static long mtx1_wdt_ioctl(struct file *file, unsigned int cmd, in mtx1_wdt_ioctl()
171 static ssize_t mtx1_wdt_write(struct file *file, const char *buf, in mtx1_wdt_write()
/Linux-v5.4/drivers/usb/musb/
Dmusb_debugfs.c158 static int musb_test_mode_open(struct inode *inode, struct file *file) in musb_test_mode_open()
163 static ssize_t musb_test_mode_write(struct file *file, in musb_test_mode_write()
258 static int musb_softconnect_open(struct inode *inode, struct file *file) in musb_softconnect_open()
263 static ssize_t musb_softconnect_write(struct file *file, in musb_softconnect_write()
/Linux-v5.4/arch/m68k/mvme16x/
Drtc.c38 static long rtc_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in rtc_ioctl()
123 static int rtc_open(struct inode *inode, struct file *file) in rtc_open()
133 static int rtc_release(struct inode *inode, struct file *file) in rtc_release()
/Linux-v5.4/drivers/media/platform/davinci/
Dvpif_display.c582 static int vpif_querycap(struct file *file, void *priv, in vpif_querycap()
595 static int vpif_enum_fmt_vid_out(struct file *file, void *priv, in vpif_enum_fmt_vid_out()
606 static int vpif_g_fmt_vid_out(struct file *file, void *priv, in vpif_g_fmt_vid_out()
623 static int vpif_try_fmt_vid_out(struct file *file, void *priv, in vpif_try_fmt_vid_out()
651 static int vpif_s_fmt_vid_out(struct file *file, void *priv, in vpif_s_fmt_vid_out()
675 static int vpif_s_std(struct file *file, void *priv, v4l2_std_id std_id) in vpif_s_std()
723 static int vpif_g_std(struct file *file, void *priv, v4l2_std_id *std) in vpif_g_std()
743 static int vpif_enum_output(struct file *file, void *fh, in vpif_enum_output()
838 static int vpif_s_output(struct file *file, void *priv, unsigned int i) in vpif_s_output()
857 static int vpif_g_output(struct file *file, void *priv, unsigned int *i) in vpif_g_output()
[all …]
/Linux-v5.4/drivers/media/platform/mtk-jpeg/
Dmtk_jpeg_core.c84 static int mtk_jpeg_querycap(struct file *file, void *priv, in mtk_jpeg_querycap()
118 static int mtk_jpeg_enum_fmt_vid_cap(struct file *file, void *priv, in mtk_jpeg_enum_fmt_vid_cap()
125 static int mtk_jpeg_enum_fmt_vid_out(struct file *file, void *priv, in mtk_jpeg_enum_fmt_vid_out()
263 static int mtk_jpeg_g_fmt_vid_mplane(struct file *file, void *priv, in mtk_jpeg_g_fmt_vid_mplane()
314 static int mtk_jpeg_try_fmt_vid_cap_mplane(struct file *file, void *priv, in mtk_jpeg_try_fmt_vid_cap_mplane()
335 static int mtk_jpeg_try_fmt_vid_out_mplane(struct file *file, void *priv, in mtk_jpeg_try_fmt_vid_out_mplane()
408 static int mtk_jpeg_s_fmt_vid_out_mplane(struct file *file, void *priv, in mtk_jpeg_s_fmt_vid_out_mplane()
420 static int mtk_jpeg_s_fmt_vid_cap_mplane(struct file *file, void *priv, in mtk_jpeg_s_fmt_vid_cap_mplane()
454 static int mtk_jpeg_g_selection(struct file *file, void *priv, in mtk_jpeg_g_selection()
483 static int mtk_jpeg_s_selection(struct file *file, void *priv, in mtk_jpeg_s_selection()
[all …]
/Linux-v5.4/fs/ocfs2/
Dstack_user.c173 static inline void ocfs2_control_set_handshake_state(struct file *file, in ocfs2_control_set_handshake_state()
180 static inline int ocfs2_control_get_handshake_state(struct file *file) in ocfs2_control_get_handshake_state()
255 static ssize_t ocfs2_control_validate_protocol(struct file *file, in ocfs2_control_validate_protocol()
300 static int ocfs2_control_install_private(struct file *file) in ocfs2_control_install_private()
360 static int ocfs2_control_do_setnode_msg(struct file *file, in ocfs2_control_do_setnode_msg()
391 static int ocfs2_control_do_setversion_msg(struct file *file, in ocfs2_control_do_setversion_msg()
441 static int ocfs2_control_do_down_msg(struct file *file, in ocfs2_control_do_down_msg()
473 static ssize_t ocfs2_control_message(struct file *file, in ocfs2_control_message()
508 static ssize_t ocfs2_control_write(struct file *file, in ocfs2_control_write()
543 static ssize_t ocfs2_control_read(struct file *file, in ocfs2_control_read()
[all …]
/Linux-v5.4/drivers/bluetooth/
Dhci_vhci.c247 static ssize_t vhci_read(struct file *file, in vhci_read()
281 struct file *file = iocb->ki_filp; in vhci_write() local
287 static __poll_t vhci_poll(struct file *file, poll_table *wait) in vhci_poll()
307 static int vhci_open(struct inode *inode, struct file *file) in vhci_open()
329 static int vhci_release(struct inode *inode, struct file *file) in vhci_release()
/Linux-v5.4/tools/perf/util/
Ddata.c52 struct perf_data_file *file = &files[i]; in perf_data__create_dir() local
91 struct perf_data_file *file; in perf_data__open_dir() local
143 struct perf_data_file *file = &data->dir.files[i]; in perf_data__update_dir() local
352 ssize_t perf_data_file__write(struct perf_data_file *file, in perf_data_file__write()
413 struct perf_data_file *file = &data->dir.files[i]; in perf_data__size() local
/Linux-v5.4/drivers/gnss/
Dcore.c36 static int gnss_open(struct inode *inode, struct file *file) in gnss_open()
68 static int gnss_release(struct inode *inode, struct file *file) in gnss_release()
88 static ssize_t gnss_read(struct file *file, char __user *buf, in gnss_read()
123 static ssize_t gnss_write(struct file *file, const char __user *buf, in gnss_write()
187 static __poll_t gnss_poll(struct file *file, poll_table *wait) in gnss_poll()
/Linux-v5.4/sound/core/
Dtimer.c1445 static int snd_timer_user_open(struct inode *inode, struct file *file) in snd_timer_user_open()
1469 static int snd_timer_user_release(struct inode *inode, struct file *file) in snd_timer_user_release()
1596 static int snd_timer_user_ginfo(struct file *file, in snd_timer_user_ginfo()
1663 static int snd_timer_user_gparams(struct file *file, in snd_timer_user_gparams()
1673 static int snd_timer_user_gstatus(struct file *file, in snd_timer_user_gstatus()
1708 static int snd_timer_user_tselect(struct file *file, in snd_timer_user_tselect()
1743 static int snd_timer_user_info(struct file *file, in snd_timer_user_info()
1773 static int snd_timer_user_params(struct file *file, in snd_timer_user_params()
1874 static int snd_timer_user_status(struct file *file, in snd_timer_user_status()
1896 static int snd_timer_user_start(struct file *file) in snd_timer_user_start()
[all …]
/Linux-v5.4/drivers/media/platform/qcom/venus/
Dvdec.c190 static int vdec_try_fmt(struct file *file, void *fh, struct v4l2_format *f) in vdec_try_fmt()
233 static int vdec_g_fmt(struct file *file, void *fh, struct v4l2_format *f) in vdec_g_fmt()
270 static int vdec_s_fmt(struct file *file, void *fh, struct v4l2_format *f) in vdec_s_fmt()
329 vdec_g_selection(struct file *file, void *fh, struct v4l2_selection *s) in vdec_g_selection()
371 vdec_querycap(struct file *file, void *fh, struct v4l2_capability *cap) in vdec_querycap()
380 static int vdec_enum_fmt(struct file *file, void *fh, struct v4l2_fmtdesc *f) in vdec_enum_fmt()
397 static int vdec_s_parm(struct file *file, void *fh, struct v4l2_streamparm *a) in vdec_s_parm()
431 static int vdec_enum_framesizes(struct file *file, void *fh, in vdec_enum_framesizes()
484 vdec_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *cmd) in vdec_decoder_cmd()
1314 static int vdec_open(struct file *file) in vdec_open()
[all …]
/Linux-v5.4/drivers/oprofile/
Devent_buffer.c112 static int event_buffer_open(struct inode *inode, struct file *file) in event_buffer_open()
148 static int event_buffer_release(struct inode *inode, struct file *file) in event_buffer_release()
160 static ssize_t event_buffer_read(struct file *file, char __user *buf, in event_buffer_read()
/Linux-v5.4/sound/pci/hda/
Dhda_hwdep.c60 static int hda_hwdep_ioctl(struct snd_hwdep *hw, struct file *file, in hda_hwdep_ioctl()
78 static int hda_hwdep_ioctl_compat(struct snd_hwdep *hw, struct file *file, in hda_hwdep_ioctl_compat()
85 static int hda_hwdep_open(struct snd_hwdep *hw, struct file *file) in hda_hwdep_open()
/Linux-v5.4/arch/m68k/bvme6000/
Drtc.c39 static long rtc_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in rtc_ioctl()
135 static int rtc_open(struct inode *inode, struct file *file) in rtc_open()
144 static int rtc_release(struct inode *inode, struct file *file) in rtc_release()
/Linux-v5.4/security/safesetid/
Dsecurityfs.c30 static int parse_policy_line(struct file *file, char *buf, in parse_policy_line()
110 static ssize_t handle_policy_update(struct file *file, in handle_policy_update()
195 static ssize_t safesetid_file_write(struct file *file, in safesetid_file_write()
209 static ssize_t safesetid_file_read(struct file *file, char __user *buf, in safesetid_file_read()
/Linux-v5.4/drivers/pci/hotplug/
Dcpqphp_sysfs.c131 static int open(struct inode *inode, struct file *file) in open()
154 static loff_t lseek(struct file *file, loff_t off, int whence) in lseek()
160 static ssize_t read(struct file *file, char __user *buf, in read()
167 static int release(struct inode *inode, struct file *file) in release()
/Linux-v5.4/drivers/media/pci/saa7134/
Dsaa7134-empress.c88 static int empress_enum_fmt_vid_cap(struct file *file, void *priv, in empress_enum_fmt_vid_cap()
98 static int empress_g_fmt_vid_cap(struct file *file, void *priv, in empress_g_fmt_vid_cap()
117 static int empress_s_fmt_vid_cap(struct file *file, void *priv, in empress_s_fmt_vid_cap()
136 static int empress_try_fmt_vid_cap(struct file *file, void *priv, in empress_try_fmt_vid_cap()

1...<<11121314151617181920>>...70