Searched refs:file (Results 401 - 425 of 1322) sorted by relevance

<<11121314151617181920>>

/drivers/usb/misc/
H A Dldusb.c311 static int ld_usb_open(struct inode *inode, struct file *file) argument
318 nonseekable_open(inode, file);
370 /* save device in the file's private structure */
371 file->private_data = dev;
382 static int ld_usb_release(struct inode *inode, struct file *file) argument
387 dev = file->private_data;
404 /* the device was unplugged before the file was released */
427 static unsigned int ld_usb_poll(struct file *fil argument
451 ld_usb_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) argument
533 ld_usb_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument
[all...]
/drivers/watchdog/
H A Driowd.c77 static int riowd_open(struct inode *inode, struct file *filp)
83 static int riowd_release(struct inode *inode, struct file *filp)
88 static long riowd_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
148 static ssize_t riowd_write(struct file *file, const char __user *buf, argument
/drivers/char/
H A Dhpet.c260 static int hpet_open(struct inode *inode, struct file *file) argument
266 if (file->f_mode & FMODE_WRITE)
287 file->private_data = devp;
299 hpet_read(struct file *file, char __user *buf, size_t count, loff_t * ppos) argument
306 devp = file->private_data;
325 else if (file->f_flags & O_NONBLOCK) {
345 static unsigned int hpet_poll(struct file *file, poll_tabl argument
382 hpet_mmap(struct file *file, struct vm_area_struct *vma) argument
400 hpet_mmap(struct file *file, struct vm_area_struct *vma) argument
406 hpet_fasync(int fd, struct file *file, int on) argument
418 hpet_release(struct inode *inode, struct file *file) argument
671 hpet_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
696 hpet_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
/drivers/staging/lustre/lustre/ptlrpc/
H A Dlproc_ptlrpc.c14 * in the LICENSE file that accompanied this code).
33 * This file is part of Lustre, http://www.lustre.org/
287 ptlrpc_lprocfs_req_history_max_seq_write(struct file *file, const char *buffer, argument
290 struct ptlrpc_service *svc = ((struct seq_file *)file->private_data)->private;
332 ptlrpc_lprocfs_threads_min_seq_write(struct file *file, const char *buffer, argument
335 struct ptlrpc_service *svc = ((struct seq_file *)file->private_data)->private;
384 ptlrpc_lprocfs_threads_max_seq_write(struct file *file, cons argument
634 ptlrpc_lprocfs_nrs_seq_write(struct file *file, const char __user *buffer, size_t count, loff_t *off) argument
969 ptlrpc_lprocfs_svc_req_history_open(struct inode *inode, struct file *file) argument
1029 ptlrpc_lprocfs_hp_ratio_seq_write(struct file *file, const char *buffer, size_t count, loff_t *off) argument
1180 lprocfs_wr_evict_client(struct file *file, const char *buffer, size_t count, loff_t *off) argument
1228 lprocfs_wr_ping(struct file *file, const char *buffer, size_t count, loff_t *off) argument
1256 lprocfs_wr_import(struct file *file, const char *buffer, size_t count, loff_t *off) argument
1336 lprocfs_wr_pinger_recov(struct file *file, const char *buffer, size_t count, loff_t *off) argument
[all...]
/drivers/media/v4l2-core/
H A Dvideobuf2-core.c841 dprintk(1, "file io in progress\n");
1696 dprintk(1, "file io in progress\n");
1879 dprintk(1, "file io in progress\n");
2088 * would be passing (file->f_flags & O_NONBLOCK) here
2105 dprintk(1, "file io in progress\n");
2260 dprintk(1, "file io in progress\n");
2308 dprintk(1, "file io in progress\n");
2345 * vb2_expbuf() - Export a buffer as a file descriptor
2393 dprintk(1, "expbuf: file io in progress\n");
2425 * @vma: vma passed to the mmap file operatio
2564 vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait) argument
3256 vb2_queue_is_busy(struct video_device *vdev, struct file *file) argument
3263 vb2_ioctl_reqbufs(struct file *file, void *priv, struct v4l2_requestbuffers *p) argument
3282 vb2_ioctl_create_bufs(struct file *file, void *priv, struct v4l2_create_buffers *p) argument
3304 vb2_ioctl_prepare_buf(struct file *file, void *priv, struct v4l2_buffer *p) argument
3315 vb2_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *p) argument
3324 vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p) argument
3334 vb2_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *p) argument
3344 vb2_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type i) argument
3354 vb2_ioctl_streamoff(struct file *file, void *priv, enum v4l2_buf_type i) argument
3364 vb2_ioctl_expbuf(struct file *file, void *priv, struct v4l2_exportbuffer *p) argument
3376 vb2_fop_mmap(struct file *file, struct vm_area_struct *vma) argument
3384 _vb2_fop_release(struct file *file, struct mutex *lock) argument
3400 vb2_fop_release(struct file *file) argument
3409 vb2_fop_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
3431 vb2_fop_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
3453 vb2_fop_poll(struct file *file, poll_table *wait) argument
3495 vb2_fop_get_unmapped_area(struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) argument
[all...]
/drivers/media/usb/as102/
H A Das102_usb_drv.c33 static int as102_open(struct inode *inode, struct file *file);
34 static int as102_release(struct inode *inode, struct file *file);
427 static int as102_open(struct inode *inode, struct file *file) argument
452 /* save our device object in the file's private structure */
453 file->private_data = dev;
462 static int as102_release(struct inode *inode, struct file *file) argument
[all...]
/drivers/staging/comedi/
H A Dcomedi_fops.c777 struct file *file)
779 const unsigned minor = iminor(file_inode(file));
824 struct comedi_subdinfo __user *arg, void *file)
857 if (s->busy == file)
861 if (s->lock == file)
959 struct comedi_bufinfo __user *arg, void *file)
991 if (s->busy != file)
1088 unsigned int *data, void *file)
1174 if (s->lock && s->lock != file) {
775 do_devinfo_ioctl(struct comedi_device *dev, struct comedi_devinfo __user *arg, struct file *file) argument
823 do_subdinfo_ioctl(struct comedi_device *dev, struct comedi_subdinfo __user *arg, void *file) argument
958 do_bufinfo_ioctl(struct comedi_device *dev, struct comedi_bufinfo __user *arg, void *file) argument
1087 parse_insn(struct comedi_device *dev, struct comedi_insn *insn, unsigned int *data, void *file) argument
1282 do_insnlist_ioctl(struct comedi_device *dev, struct comedi_insnlist __user *arg, void *file) argument
1368 do_insn_ioctl(struct comedi_device *dev, struct comedi_insn __user *arg, void *file) argument
1483 do_cmd_ioctl(struct comedi_device *dev, struct comedi_cmd __user *arg, void *file) argument
1591 do_cmdtest_ioctl(struct comedi_device *dev, struct comedi_cmd __user *arg, void *file) argument
1647 do_lock_ioctl(struct comedi_device *dev, unsigned long arg, void *file) argument
1684 do_unlock_ioctl(struct comedi_device *dev, unsigned long arg, void *file) argument
1719 do_cancel_ioctl(struct comedi_device *dev, unsigned long arg, void *file) argument
1756 do_poll_ioctl(struct comedi_device *dev, unsigned long arg, void *file) argument
1777 comedi_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
1901 comedi_mmap(struct file *file, struct vm_area_struct *vma) argument
1992 comedi_poll(struct file *file, poll_table *wait) argument
2030 comedi_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *offset) argument
2166 comedi_read(struct file *file, char __user *buf, size_t nbytes, loff_t *offset) argument
2294 comedi_open(struct inode *inode, struct file *file) argument
2336 comedi_fasync(int fd, struct file *file, int on) argument
2343 comedi_close(struct inode *inode, struct file *file) argument
[all...]
/drivers/net/wireless/iwlwifi/mvm/
H A Ddebugfs.c3 * This file is provided under a dual BSD/GPLv2 license. When using or
4 * redistributing this file, you may do so under either license.
26 * in the file called COPYING.
124 static int iwl_dbgfs_fw_error_dump_open(struct inode *inode, struct file *file) argument
138 file->private_data = mvm->fw_error_dump;
147 static ssize_t iwl_dbgfs_fw_error_dump_read(struct file *file, argument
151 struct iwl_mvm_dump_ptrs *dump_ptrs = (void *)file->private_data;
185 struct file *fil
184 iwl_dbgfs_fw_error_dump_release(struct inode *inode, struct file *file) argument
196 iwl_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
262 iwl_dbgfs_set_nic_temperature_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
329 iwl_dbgfs_nic_temp_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
352 iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
381 iwl_dbgfs_disable_power_off_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
555 iwl_dbgfs_bt_notif_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
615 iwl_dbgfs_bt_cmd_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
734 iwl_dbgfs_fw_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
932 iwl_dbgfs_drv_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
976 iwl_dbgfs_scan_ant_rxchain_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1018 iwl_dbgfs_bcast_filters_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1124 iwl_dbgfs_bcast_filters_macs_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1211 iwl_dbgfs_d3_sram_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1262 iwl_dbgfs_d0i3_refs_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1343 iwl_dbgfs_prph_reg_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/drivers/media/pci/bt8xx/
H A Dbttv-driver.c1724 static int bttv_s_std(struct file *file, void *priv, v4l2_std_id id) argument
1747 static int bttv_g_std(struct file *file, void *priv, v4l2_std_id *id) argument
1756 static int bttv_querystd(struct file *file, void *f, v4l2_std_id *id) argument
1768 static int bttv_enum_input(struct file *file, void *priv, argument
1808 static int bttv_g_input(struct file *file, voi argument
1818 bttv_s_input(struct file *file, void *priv, unsigned int i) argument
1830 bttv_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *t) argument
1849 bttv_g_frequency(struct file *file, void *priv, struct v4l2_frequency *f) argument
1884 bttv_s_frequency(struct file *file, void *priv, const struct v4l2_frequency *f) argument
1897 bttv_log_status(struct file *file, void *f) argument
1909 bttv_g_register(struct file *file, void *f, struct v4l2_dbg_register *reg) argument
1923 bttv_s_register(struct file *file, void *f, const struct v4l2_dbg_register *reg) argument
2310 bttv_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) argument
2324 bttv_g_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_format *f) argument
2335 bttv_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) argument
2392 bttv_try_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_format *f) argument
2403 bttv_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) argument
2450 bttv_s_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_format *f) argument
2464 bttv_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
2539 bttv_enum_fmt_vid_cap(struct file *file, void *priv, struct v4l2_fmtdesc *f) argument
2550 bttv_enum_fmt_vid_overlay(struct file *file, void *priv, struct v4l2_fmtdesc *f) argument
2571 bttv_g_fbuf(struct file *file, void *f, struct v4l2_framebuffer *fb) argument
2585 bttv_overlay(struct file *file, void *f, unsigned int on) argument
2622 bttv_s_fbuf(struct file *file, void *f, const struct v4l2_framebuffer *fb) argument
2691 bttv_reqbufs(struct file *file, void *priv, struct v4l2_requestbuffers *p) argument
2698 bttv_querybuf(struct file *file, void *priv, struct v4l2_buffer *b) argument
2705 bttv_qbuf(struct file *file, void *priv, struct v4l2_buffer *b) argument
2717 bttv_dqbuf(struct file *file, void *priv, struct v4l2_buffer *b) argument
2724 bttv_streamon(struct file *file, void *priv, enum v4l2_buf_type type) argument
2737 bttv_streamoff(struct file *file, void *priv, enum v4l2_buf_type type) argument
2753 bttv_g_parm(struct file *file, void *f, struct v4l2_streamparm *parm) argument
2768 bttv_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t) argument
2791 bttv_cropcap(struct file *file, void *priv, struct v4l2_cropcap *cap) argument
2806 bttv_g_crop(struct file *file, void *f, struct v4l2_crop *crop) argument
2824 bttv_s_crop(struct file *file, void *f, const struct v4l2_crop *crop) argument
2900 bttv_read(struct file *file, char __user *data, size_t count, loff_t *ppos) argument
2934 bttv_poll(struct file *file, poll_table *wait) argument
2990 bttv_open(struct file *file) argument
3061 bttv_release(struct file *file) argument
3108 bttv_mmap(struct file *file, struct vm_area_struct *vma) argument
3183 radio_open(struct file *file) argument
3209 radio_release(struct file *file) argument
3229 radio_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t) argument
3248 radio_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *t) argument
3262 radio_read(struct file *file, char __user *data, size_t count, loff_t *ppos) argument
3281 radio_poll(struct file *file, poll_table *wait) argument
[all...]
/drivers/media/usb/hackrf/
H A Dhackrf.c583 static int hackrf_querycap(struct file *file, void *fh, argument
586 struct hackrf_dev *dev = video_drvdata(file);
600 static int hackrf_s_fmt_sdr_cap(struct file *file, void *priv, argument
603 struct hackrf_dev *dev = video_drvdata(file);
631 static int hackrf_g_fmt_sdr_cap(struct file *file, void *priv, argument
634 struct hackrf_dev *dev = video_drvdata(file);
646 static int hackrf_try_fmt_sdr_cap(struct file *fil argument
669 hackrf_enum_fmt_sdr_cap(struct file *file, void *priv, struct v4l2_fmtdesc *f) argument
685 hackrf_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *v) argument
703 hackrf_g_tuner(struct file *file, void *priv, struct v4l2_tuner *v) argument
731 hackrf_s_frequency(struct file *file, void *priv, const struct v4l2_frequency *f) argument
779 hackrf_g_frequency(struct file *file, void *priv, struct v4l2_frequency *f) argument
802 hackrf_enum_freq_bands(struct file *file, void *priv, struct v4l2_frequency_band *band) argument
[all...]
/drivers/media/platform/davinci/
H A Dvpif_display.c571 * @file: file ptr
572 * @priv: file handle
575 static int vpif_querycap(struct file *file, void *priv, argument
590 static int vpif_enum_fmt_vid_out(struct file *file, void *priv, argument
604 static int vpif_g_fmt_vid_out(struct file *file, void *priv, argument
607 struct video_device *vdev = video_devdata(file);
621 vpif_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *fmt) argument
649 vpif_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *fmt) argument
673 vpif_s_std(struct file *file, void *priv, v4l2_std_id std_id) argument
721 vpif_g_std(struct file *file, void *priv, v4l2_std_id *std) argument
741 vpif_enum_output(struct file *file, void *fh, struct v4l2_output *output) argument
836 vpif_s_output(struct file *file, void *priv, unsigned int i) argument
855 vpif_g_output(struct file *file, void *priv, unsigned int *i) argument
872 vpif_enum_dv_timings(struct file *file, void *priv, struct v4l2_enum_dv_timings *timings) argument
904 vpif_s_dv_timings(struct file *file, void *priv, struct v4l2_dv_timings *timings) argument
1008 vpif_g_dv_timings(struct file *file, void *priv, struct v4l2_dv_timings *timings) argument
[all...]
/drivers/usb/mon/
H A Dmon_bin.c125 /* per file statistic */
178 * This gets associated with an open file struct.
219 static int mon_bin_wait_event(struct file *file, struct mon_reader_bin *rp);
670 static int mon_bin_open(struct inode *inode, struct file *file) argument
715 file->private_data = rp;
733 static int mon_bin_get_event(struct file *file, struct mon_reader_bin *rp, argument
745 if ((rc = mon_bin_wait_event(file, r
774 mon_bin_release(struct inode *inode, struct file *file) argument
796 mon_bin_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
894 mon_bin_fetch(struct file *file, struct mon_reader_bin *rp, u32 __user *vec, unsigned int max) argument
980 mon_bin_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
1121 mon_bin_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
1189 mon_bin_poll(struct file *file, struct poll_table_struct *wait) argument
1271 mon_bin_wait_event(struct file *file, struct mon_reader_bin *rp) argument
[all...]
/drivers/media/pci/cx25821/
H A Dcx25821-audio-upstream.c34 #include <linux/file.h>
224 pr_fmt("No audio file is currently running so return!\n"));
262 struct file *file; local
274 file = filp_open(dev->_audiofilename, O_RDONLY | O_LARGEFILE, 0);
275 if (IS_ERR(file)) {
276 pr_err("%s(): ERROR opening file(%s) with errno = %ld!\n",
277 __func__, dev->_audiofilename, -PTR_ERR(file));
278 return PTR_ERR(file);
285 int n = kernel_read(file, file_offse
325 struct file *file; local
[all...]
/drivers/media/radio/
H A Dradio-mr800.c268 static int vidioc_querycap(struct file *file, void *priv, argument
271 struct amradio_device *radio = video_drvdata(file);
283 static int vidioc_g_tuner(struct file *file, void *priv, argument
286 struct amradio_device *radio = video_drvdata(file);
311 static int vidioc_s_tuner(struct file *file, void *priv, argument
314 struct amradio_device *radio = video_drvdata(file);
329 static int vidioc_s_frequency(struct file *fil argument
340 vidioc_g_frequency(struct file *file, void *priv, struct v4l2_frequency *f) argument
353 vidioc_s_hw_freq_seek(struct file *file, void *priv, const struct v4l2_hw_freq_seek *seek) argument
[all...]
/drivers/staging/lustre/lustre/llite/
H A Dlproc_llite.c14 * in the LICENSE file that accompanied this code).
33 * This file is part of Lustre, http://www.lustre.org/
230 static ssize_t ll_max_readahead_mb_seq_write(struct file *file, const char *buffer, argument
233 struct super_block *sb = ((struct seq_file *)file->private_data)->private;
243 CERROR("can't set file readahead more than %lu MB\n",
271 static ssize_t ll_max_readahead_per_file_mb_seq_write(struct file *file, argument
275 struct super_block *sb = ((struct seq_file *)file->private_data)->private;
286 CERROR("can't set file readahea
315 ll_max_read_ahead_whole_mb_seq_write(struct file *file, const char *buffer, size_t count, loff_t *off) argument
370 ll_max_cached_mb_seq_write(struct file *file, const char __user *buffer, size_t count, loff_t *off) argument
472 ll_checksum_seq_write(struct file *file, const char *buffer, size_t count, loff_t *off) argument
507 ll_max_rw_chunk_seq_write(struct file *file, const char *buffer, size_t count, loff_t *off) argument
559 ll_track_pid_seq_write(struct file *file, const char *buffer, size_t count, loff_t *off) argument
572 ll_track_ppid_seq_write(struct file *file, const char *buffer, size_t count, loff_t *off) argument
585 ll_track_gid_seq_write(struct file *file, const char *buffer, size_t count, loff_t *off) argument
601 ll_statahead_max_seq_write(struct file *file, const char *buffer, size_t count, loff_t *off) argument
631 ll_statahead_agl_seq_write(struct file *file, const char *buffer, size_t count, loff_t *off) argument
675 ll_lazystatfs_seq_write(struct file *file, const char *buffer, size_t count, loff_t *off) argument
790 ll_xattr_cache_seq_write(struct file *file, const char *buffer, size_t count, loff_t *off) argument
1185 ll_rw_extents_stats_pp_seq_write(struct file *file, const char __user *buf, size_t len, loff_t *off) argument
1260 ll_rw_extents_stats_seq_write(struct file *file, const char __user *buf, size_t len, loff_t *off) argument
1306 ll_rw_stats_tally(struct ll_sb_info *sbi, pid_t pid, struct ll_file_data *file, loff_t pos, size_t count, int rw) argument
1463 ll_rw_offset_stats_seq_write(struct file *file, const char __user *buf, size_t len, loff_t *off) argument
[all...]
/drivers/media/platform/s5p-g2d/
H A Dg2d.c239 static int g2d_open(struct file *file) argument
241 struct g2d_dev *dev = video_drvdata(file);
264 v4l2_fh_init(&ctx->fh, video_devdata(file));
265 file->private_data = &ctx->fh;
280 static int g2d_release(struct file *file) argument
282 struct g2d_dev *dev = video_drvdata(file);
283 struct g2d_ctx *ctx = fh2ctx(file->private_data);
294 static int vidioc_querycap(struct file *fil argument
311 vidioc_enum_fmt(struct file *file, void *prv, struct v4l2_fmtdesc *f) argument
322 vidioc_g_fmt(struct file *file, void *prv, struct v4l2_format *f) argument
344 vidioc_try_fmt(struct file *file, void *prv, struct v4l2_format *f) argument
374 vidioc_s_fmt(struct file *file, void *prv, struct v4l2_format *f) argument
414 vidioc_cropcap(struct file *file, void *priv, struct v4l2_cropcap *cr) argument
432 vidioc_g_crop(struct file *file, void *prv, struct v4l2_crop *cr) argument
448 vidioc_try_crop(struct file *file, void *prv, const struct v4l2_crop *cr) argument
467 vidioc_s_crop(struct file *file, void *prv, const struct v4l2_crop *cr) argument
[all...]
/drivers/target/
H A Dtarget_core_file.c4 * This file contains the Storage Engine <-> FILEIO transport specific functions
108 struct file *file; local
137 file = filp_open(fd_dev->fd_dev_name, flags, 0600);
138 if (IS_ERR(file)) {
140 ret = PTR_ERR(file);
143 fd_dev->fd_file = file;
145 * If using a block backend with this struct file, we extract
150 inode = file->f_mapping->host;
160 dev_size = (i_size_read(file
549 struct file *file = priv; local
589 struct file *file = fd_dev->fd_file; local
610 struct file *file = FD_DEV(cmd->se_dev)->fd_file; local
830 struct file *prot_file, *file = fd_dev->fd_file; local
[all...]
/drivers/base/regmap/
H A Dregmap-debugfs.c39 static ssize_t regmap_name_read_file(struct file *file, argument
43 struct regmap *map = file->private_data;
255 static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf, argument
258 struct regmap *map = file->private_data;
272 static ssize_t regmap_map_write_file(struct file *file, argument
280 struct regmap *map = file->private_data;
315 static ssize_t regmap_range_read_file(struct file *fil argument
331 regmap_reg_ranges_read_file(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
404 regmap_access_read_file(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/drivers/i2c/
H A Di2c-dev.c41 * with a character special file which is accessed by user mode drivers.
120 * After opening an instance of this character special file, a file
129 * To use read()/write() system calls on that file descriptor, or to use
136 static ssize_t i2cdev_read(struct file *file, char __user *buf, size_t count, argument
142 struct i2c_client *client = file->private_data;
152 iminor(file_inode(file)), count);
161 static ssize_t i2cdev_write(struct file *file, cons argument
413 i2cdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
484 i2cdev_open(struct inode *inode, struct file *file) argument
519 i2cdev_release(struct inode *inode, struct file *file) argument
[all...]
/drivers/net/wireless/ath/ath10k/
H A Dspectral.c281 static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf, argument
284 struct ath10k *ar = file->private_data;
309 static ssize_t write_file_spec_scan_ctl(struct file *file, argument
313 struct ath10k *ar = file->private_data;
372 static ssize_t read_file_spectral_count(struct file *file, argument
376 struct ath10k *ar = file->private_data;
389 static ssize_t write_file_spectral_count(struct file *fil argument
424 read_file_spectral_bins(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
444 write_file_spectral_bins(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/drivers/s390/char/
H A Dzcore.c3 * dumps on SCSI disks (zfcpdump). The "zcore/mem" debugfs file shows the same
302 static ssize_t zcore_read(struct file *file, char __user *buf, size_t count, argument
372 static int zcore_open(struct inode *inode, struct file *filp)
380 static int zcore_release(struct inode *inode, struct file *filep)
387 static loff_t zcore_lseek(struct file *file, loff_t offset, int orig) argument
394 file->f_pos = offset;
395 rc = file->f_pos;
398 file
[all...]
/drivers/tty/
H A Dn_hdlc.c180 static ssize_t n_hdlc_tty_read(struct tty_struct *tty, struct file *file,
182 static ssize_t n_hdlc_tty_write(struct tty_struct *tty, struct file *file,
184 static int n_hdlc_tty_ioctl(struct tty_struct *tty, struct file *file,
186 static unsigned int n_hdlc_tty_poll(struct tty_struct *tty, struct file *filp,
572 * @file - pointer to open file object
578 static ssize_t n_hdlc_tty_read(struct tty_struct *tty, struct file *fil argument
662 n_hdlc_tty_write(struct tty_struct *tty, struct file *file, const unsigned char *data, size_t count) argument
746 n_hdlc_tty_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
/drivers/media/pci/ttpci/
H A Dav7110_av.c938 * DVB device file operations
941 static unsigned int dvb_video_poll(struct file *file, poll_table *wait) argument
943 struct dvb_device *dvbdev = file->private_data;
949 if ((file->f_flags & O_ACCMODE) != O_RDONLY)
950 poll_wait(file, &av7110->avout.queue, wait);
952 poll_wait(file, &av7110->video_events.wait_queue, wait);
957 if ((file->f_flags & O_ACCMODE) != O_RDONLY) {
970 static ssize_t dvb_video_write(struct file *file, cons argument
993 dvb_audio_poll(struct file *file, poll_table *wait) argument
1012 dvb_audio_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
1097 dvb_video_ioctl(struct file *file, unsigned int cmd, void *parg) argument
1309 dvb_audio_ioctl(struct file *file, unsigned int cmd, void *parg) argument
1459 dvb_video_open(struct inode *inode, struct file *file) argument
1484 dvb_video_release(struct inode *inode, struct file *file) argument
1498 dvb_audio_open(struct inode *inode, struct file *file) argument
1513 dvb_audio_release(struct inode *inode, struct file *file) argument
[all...]
/drivers/gpu/drm/udl/
H A Dudl_gem.c4 * This file is subject to the terms and conditions of the GNU General Public
5 * License v2. See the file COPYING in the main directory of this archive for
32 udl_gem_create(struct drm_file *file, argument
47 ret = drm_gem_handle_create(file, &obj->base, &handle);
59 int udl_dumb_create(struct drm_file *file, argument
65 return udl_gem_create(file, dev,
69 int udl_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)
193 int udl_gem_mmap(struct drm_file *file, struct drm_device *dev, argument
201 obj = drm_gem_object_lookup(dev, file, handle);
/drivers/input/misc/
H A Duinput.c291 static int uinput_open(struct inode *inode, struct file *file) argument
305 file->private_data = newdev;
306 nonseekable_open(inode, file);
464 static ssize_t uinput_write(struct file *file, const char __user *buffer, argument
467 struct uinput_device *udev = file->private_data;
522 static ssize_t uinput_read(struct file *file, char __user *buffer, argument
525 struct uinput_device *udev = file
558 uinput_poll(struct file *file, poll_table *wait) argument
570 uinput_release(struct inode *inode, struct file *file) argument
703 uinput_ioctl_handler(struct file *file, unsigned int cmd, unsigned long arg, void __user *p) argument
892 uinput_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
898 uinput_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]

Completed in 5948 milliseconds

<<11121314151617181920>>