Searched refs:file (Results 251 - 275 of 3441) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/wireless/ath/ath9k/
H A Ddebug.c71 static ssize_t ath9k_debugfs_read_buf(struct file *file, char __user *user_buf, argument
74 u8 *buf = file->private_data;
78 static int ath9k_debugfs_release_buf(struct inode *inode, struct file *file) argument
80 vfree(file->private_data);
86 static ssize_t read_file_debug(struct file *file, char __user *user_buf, argument
89 struct ath_softc *sc = file->private_data;
98 static ssize_t write_file_debug(struct file *fil argument
127 read_file_ani(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
182 write_file_ani(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
220 read_file_bt_ant_diversity(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
233 write_file_bt_ant_diversity(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
284 read_file_antenna_diversity(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
389 read_file_dma(struct seq_file *file, void *data) argument
512 read_file_interrupt(struct seq_file *file, void *data) argument
576 read_file_xmit(struct seq_file *file, void *data) argument
608 print_queue(struct ath_softc *sc, struct ath_txq *txq, struct seq_file *file) argument
621 read_file_queues(struct seq_file *file, void *data) argument
643 read_file_misc(struct seq_file *file, void *data) argument
735 read_file_reset(struct seq_file *file, void *data) argument
772 write_file_reset(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
853 read_file_regidx(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
864 write_file_regidx(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
887 read_file_regval(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
903 write_file_regval(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
931 open_file_regdump(struct inode *inode, struct file *file) argument
983 read_file_dump_nfcal(struct seq_file *file, void *data) argument
1013 read_file_btcoex(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1048 read_file_ackto(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1072 read_file_wow(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1096 write_file_wow(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1128 read_file_tpc(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1153 write_file_tpc(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1190 read_file_nf_override(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1207 write_file_nf_override(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/include/linux/
H A Dseq_file.h28 const struct file *file; member in struct:seq_file
109 int seq_open(struct file *, const struct seq_operations *);
110 ssize_t seq_read(struct file *, char __user *, size_t, loff_t *);
112 loff_t seq_lseek(struct file *, loff_t, int);
113 int seq_release(struct inode *, struct file *);
160 int seq_file_path(struct seq_file *, struct file *, const char *);
166 int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
167 int single_open_size(struct file *, int (*)(struct seq_file *, void *), void *, size_t);
168 int single_release(struct inode *, struct file *);
[all...]
/linux-master/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_v4l2.c53 static int sun4i_csi_querycap(struct file *file, void *priv, argument
62 static int sun4i_csi_enum_input(struct file *file, void *priv, argument
74 static int sun4i_csi_g_input(struct file *file, void *fh, argument
82 static int sun4i_csi_s_input(struct file *file, void *fh, argument
131 static int sun4i_csi_try_fmt_vid_cap(struct file *file, voi argument
141 sun4i_csi_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) argument
152 sun4i_csi_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) argument
162 sun4i_csi_enum_fmt_vid_cap(struct file *file, void *priv, struct v4l2_fmtdesc *f) argument
196 sun4i_csi_open(struct file *file) argument
233 sun4i_csi_release(struct file *file) argument
[all...]
/linux-master/drivers/accel/ivpu/
H A Divpu_debugfs.c120 dvfs_mode_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) argument
122 struct ivpu_device *vdev = file->private_data;
155 static int fw_log_fops_open(struct inode *inode, struct file *file) argument
157 return single_open(file, fw_log_show, inode->i_private);
161 fw_log_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) argument
163 struct seq_file *s = file->private_data;
183 fw_profiling_freq_fops_write(struct file *fil argument
210 fw_trace_destination_mask_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) argument
237 fw_trace_hw_comp_mask_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) argument
264 fw_trace_level_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) argument
290 ivpu_force_recovery_fn(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) argument
315 ivpu_reset_engine_fn(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) argument
[all...]
/linux-master/include/trace/events/
H A Dfilemap.h85 TP_PROTO(struct file *file, errseq_t old),
87 TP_ARGS(file, old),
90 __field(struct file *, file)
98 __entry->file = file;
99 __entry->i_ino = file->f_mapping->host->i_ino;
100 if (file->f_mapping->host->i_sb)
102 file
[all...]
/linux-master/arch/x86/kernel/cpu/sgx/
H A Ddriver.c17 static int sgx_open(struct inode *inode, struct file *file) argument
39 file->private_data = encl;
44 static int sgx_release(struct inode *inode, struct file *file) argument
46 struct sgx_encl *encl = file->private_data;
51 * entries for processes, which have closed the enclave file but have
84 static int sgx_mmap(struct file *file, struct vm_area_struct *vma) argument
86 struct sgx_encl *encl = file
104 sgx_get_unmapped_area(struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) argument
[all...]
/linux-master/drivers/char/
H A Dmem.c100 static ssize_t read_mem(struct file *file, char __user *buf, argument
187 static ssize_t write_mem(struct file *file, const char __user *buf, argument
260 int __weak phys_mem_access_prot_allowed(struct file *file, argument
274 static int uncached_access(struct file *file, phys_addr_t addr) argument
278 * file pointer
281 if (file
287 phys_mem_access_prot(struct file *file, unsigned long pfn, unsigned long size, pgprot_t vma_prot) argument
301 get_unmapped_area_mem(struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) argument
313 memory_mmap_capabilities(struct file *file) argument
319 zero_mmap_capabilities(struct file *file) argument
343 mmap_mem(struct file *file, struct vm_area_struct *vma) argument
386 read_port(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
404 write_port(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
428 read_null(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
434 write_null(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
493 read_zero(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
520 mmap_zero(struct file *file, struct vm_area_struct *vma) argument
531 get_unmapped_area_zero(struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) argument
553 write_full(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
564 null_lseek(struct file *file, loff_t offset, int orig) argument
577 memory_lseek(struct file *file, loff_t offset, int orig) argument
[all...]
/linux-master/fs/lockd/
H A Dsvcshare.c28 nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file, argument
35 for (share = file->f_shares; share; share = share->s_next) {
52 share->s_file = file;
56 share->s_next = file->f_shares;
57 file->f_shares = share;
69 nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file, argument
75 for (shpp = &file->f_shares; (share = *shpp) != NULL;
90 * Traverse all shares for a given file, and delete
93 void nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, argument
98 shpp = &file
[all...]
H A Dprocfs.c21 nlm_end_grace_write(struct file *file, const char __user *buf, size_t size, argument
31 data = simple_transaction_get(file, buf, size);
49 nlm_end_grace_read(struct file *file, char __user *buf, size_t size, argument
/linux-master/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.h3 * This file is part of wl1271
26 static ssize_t name## _read(struct file *file, char __user *userbuf, \
29 struct wl1271 *wl = file->private_data; \
54 static ssize_t sub## _ ##name## _read(struct file *file, \
58 struct wl1271 *wl = file->private_data; \
74 static ssize_t sub## _ ##name## _read(struct file *file, \
78 struct wl1271 *wl = file
[all...]
/linux-master/kernel/
H A Dacct.c12 * This file implements BSD-style process accounting. Whenever any
14 * written to the file specified with the acct() system call. It is
21 * the file happened to be read-only. 2) If the accounting was suspended
44 * a struct file opened for write. Fixed. 2/6/2000, AV.
51 #include <linux/file.h>
109 struct file *file; member in struct:bsd_acct_struct
128 if (vfs_statfs(&acct->file->f_path, &sbuf))
205 struct file *file local
214 struct file *file; local
497 struct file *file = acct->file; local
[all...]
/linux-master/drivers/scsi/fnic/
H A Dfnic_debugfs.c35 * file system. If not already created, this routine will create the
65 * When Debugfs is configured this routine removes debugfs file system
82 * or fc_trace_clear debugfs file
83 * @filp: The file pointer to read from.
86 * @ppos: The position in the file to start reading from.
92 * It will start reading file at @ppos and
98 static ssize_t fnic_trace_ctrl_read(struct file *filp,
114 pr_err("fnic: Cannot read to any debugfs file\n");
122 * fc_trace_clear debugfs file
123 * @filp: The file pointe
194 fnic_trace_debugfs_open(struct inode *inode, struct file *file) argument
245 fnic_trace_debugfs_lseek(struct file *file, loff_t offset, int howto) argument
270 fnic_trace_debugfs_read(struct file *file, char __user *ubuf, size_t nbytes, loff_t *pos) argument
296 fnic_trace_debugfs_release(struct inode *inode, struct file *file) argument
432 fnic_reset_stats_open(struct inode *inode, struct file *file) argument
462 fnic_reset_stats_read(struct file *file, char __user *ubuf, size_t cnt, loff_t *ppos) argument
490 fnic_reset_stats_write(struct file *file, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
554 fnic_reset_stats_release(struct inode *inode, struct file *file) argument
575 fnic_stats_debugfs_open(struct inode *inode, struct file *file) argument
618 fnic_stats_debugfs_read(struct file *file, char __user *ubuf, size_t nbytes, loff_t *pos) argument
644 fnic_stats_debugfs_release(struct inode *inode, struct file *file) argument
[all...]
/linux-master/fs/jfs/
H A Djfs_debug.c26 static int jfs_loglevel_proc_open(struct inode *inode, struct file *file) argument
28 return single_open(file, jfs_loglevel_proc_show, NULL);
31 static ssize_t jfs_loglevel_proc_write(struct file *file, argument
/linux-master/arch/um/kernel/
H A Dexitcode.c34 static int exitcode_proc_open(struct inode *inode, struct file *file) argument
36 return single_open(file, exitcode_proc_show, NULL);
39 static ssize_t exitcode_proc_write(struct file *file, argument
/linux-master/sound/core/
H A Dhwdep_compat.c7 /* This file is included from hwdep.c */
39 static long snd_hwdep_ioctl_compat(struct file * file, unsigned int cmd, argument
42 struct snd_hwdep *hw = file->private_data;
48 return snd_hwdep_ioctl(file, cmd, (unsigned long)argp);
53 return hw->ops.ioctl_compat(hw, file, cmd, arg);
/linux-master/drivers/gpu/drm/tegra/
H A Dgem.h64 struct tegra_bo *tegra_bo_create_with_handle(struct drm_file *file,
70 int tegra_bo_dumb_create(struct drm_file *file, struct drm_device *drm,
76 int tegra_drm_mmap(struct file *file, struct vm_area_struct *vma);
83 struct host1x_bo *tegra_gem_lookup(struct drm_file *file, u32 handle);
/linux-master/include/drm/
H A Ddrm_gem_framebuffer_helper.h21 int drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file,
26 struct drm_file *file,
30 drm_gem_fb_create_with_funcs(struct drm_device *dev, struct drm_file *file,
34 drm_gem_fb_create(struct drm_device *dev, struct drm_file *file,
37 drm_gem_fb_create_with_dirty(struct drm_device *dev, struct drm_file *file,
H A Ddrm_ioctl.h42 struct file;
48 * @file_priv: DRM file this ioctl was made on
59 * @filp: file pointer
61 * @arg: DRM file this ioctl was made on
67 typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd,
85 * file descriptor is either for a render node, or if it's a
104 * Anything that could potentially wreak a master file descriptor needs
159 long drm_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
160 long drm_ioctl_kernel(struct file *, drm_ioctl_t, void *, u32);
162 long drm_compat_ioctl(struct file *fil
[all...]
/linux-master/tools/testing/selftests/cgroup/
H A Dwait_inotify.c3 * Wait until an inotify event on the given cgroup file.
20 static char *file; variable
25 fprintf(stderr, msg, file);
48 file = argv[1];
49 fd = open(file, O_RDONLY);
51 fail_message("Cgroup file %s not found!\n");
57 if (inotify_add_watch(fd, file, IN_MODIFY) < 0)
/linux-master/drivers/media/radio/si4713/
H A Dradio-platform-si4713.c45 /* radio_si4713_fops - file operations interface */
58 static int radio_si4713_querycap(struct file *file, void *priv, argument
73 static inline struct v4l2_device *get_v4l2_dev(struct file *file) argument
75 return &((struct radio_si4713_device *)video_drvdata(file))->v4l2_dev;
78 static int radio_si4713_g_modulator(struct file *file, void *p, argument
81 return v4l2_device_call_until_err(get_v4l2_dev(file), 0, tuner,
85 static int radio_si4713_s_modulator(struct file *fil argument
92 radio_si4713_g_frequency(struct file *file, void *p, struct v4l2_frequency *vf) argument
99 radio_si4713_s_frequency(struct file *file, void *p, const struct v4l2_frequency *vf) argument
106 radio_si4713_default(struct file *file, void *p, bool valid_prio, unsigned int cmd, void *arg) argument
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Ddebugfs.h20 static int _##name##_open(struct inode *inode, struct file *s) \
42 ssize_t hfi1_seq_read(struct file *file, char __user *buf, size_t size,
44 loff_t hfi1_seq_lseek(struct file *file, loff_t offset, int whence);
/linux-master/fs/afs/
H A Ddir_silly.c19 afs_check_dir_conflict(op, &op->file[0]);
20 afs_vnode_commit_status(op, &op->file[0]);
25 struct afs_vnode_param *dvp = &op->file[0];
74 op->file[0].dv_delta = 1;
75 op->file[1].dv_delta = 1;
76 op->file[0].modification = true;
77 op->file[1].modification = true;
78 op->file[0].update_ctime = true;
79 op->file[1].update_ctime = true;
93 * file ope
[all...]
/linux-master/fs/btrfs/
H A Dfile.h8 struct file;
23 int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync);
36 int btrfs_release_file(struct inode *inode, struct file *file);
/linux-master/fs/gfs2/
H A Dfile.c47 * gfs2_llseek - seek to a location in a file
48 * @file: the file
52 * SEEK_END requires the glock for the file because it references the
53 * file's size.
58 static loff_t gfs2_llseek(struct file *file, loff_t offset, int whence) argument
60 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
69 error = generic_file_llseek(file, offset, whence);
75 error = gfs2_seek_data(file, offse
105 gfs2_readdir(struct file *file, struct dir_context *ctx) argument
589 gfs2_mmap(struct file *file, struct vm_area_struct *vma) argument
624 gfs2_open_common(struct inode *inode, struct file *file) argument
673 gfs2_open(struct inode *inode, struct file *file) argument
704 gfs2_release(struct inode *inode, struct file *file) argument
740 gfs2_fsync(struct file *file, loff_t start, loff_t end, int datasync) argument
812 struct file *file = iocb->ki_filp; local
875 struct file *file = iocb->ki_filp; local
1012 struct file *file = iocb->ki_filp; local
1099 struct file *file = iocb->ki_filp; local
1249 __gfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len) argument
1365 gfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len) argument
1437 gfs2_lock(struct file *file, int cmd, struct file_lock *fl) argument
1460 __flock_holder_uninit(struct file *file, struct gfs2_holder *fl_gh) argument
1475 do_flock(struct file *file, int cmd, struct file_lock *fl) argument
1535 do_unflock(struct file *file, struct file_lock *fl) argument
1558 gfs2_flock(struct file *file, int cmd, struct file_lock *fl) argument
[all...]
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c531 * request file descriptor.
534 * to avoid signalling the request file descriptor
575 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, argument
586 vq->owner = reqbufs->count ? file->private_data : NULL;
609 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, argument
761 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, argument
764 struct video_device *vdev = video_devdata(file);
800 v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf) argument
818 v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf) argument
837 v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_create_buffers *create) argument
847 v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_exportbuffer *eb) argument
857 v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, enum v4l2_buf_type type) argument
872 v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, enum v4l2_buf_type type) argument
912 v4l2_m2m_poll_for_data(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct poll_table_struct *wait) argument
951 v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct poll_table_struct *wait) argument
985 v4l2_m2m_mmap(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct vm_area_struct *vma) argument
1003 v4l2_m2m_get_unmapped_area(struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) argument
1371 v4l2_m2m_ioctl_reqbufs(struct file *file, void *priv, struct v4l2_requestbuffers *rb) argument
1380 v4l2_m2m_ioctl_create_bufs(struct file *file, void *priv, struct v4l2_create_buffers *create) argument
1389 v4l2_m2m_ioctl_querybuf(struct file *file, void *priv, struct v4l2_buffer *buf) argument
1398 v4l2_m2m_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *buf) argument
1407 v4l2_m2m_ioctl_dqbuf(struct file *file, void *priv, struct v4l2_buffer *buf) argument
1416 v4l2_m2m_ioctl_prepare_buf(struct file *file, void *priv, struct v4l2_buffer *buf) argument
1425 v4l2_m2m_ioctl_expbuf(struct file *file, void *priv, struct v4l2_exportbuffer *eb) argument
1434 v4l2_m2m_ioctl_streamon(struct file *file, void *priv, enum v4l2_buf_type type) argument
1443 v4l2_m2m_ioctl_streamoff(struct file *file, void *priv, enum v4l2_buf_type type) argument
1452 v4l2_m2m_ioctl_try_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *ec) argument
1463 v4l2_m2m_ioctl_try_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *dc) argument
1485 v4l2_m2m_encoder_cmd(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_encoder_cmd *ec) argument
1508 v4l2_m2m_decoder_cmd(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_decoder_cmd *dc) argument
1527 v4l2_m2m_ioctl_encoder_cmd(struct file *file, void *priv, struct v4l2_encoder_cmd *ec) argument
1536 v4l2_m2m_ioctl_decoder_cmd(struct file *file, void *priv, struct v4l2_decoder_cmd *dc) argument
1545 v4l2_m2m_ioctl_stateless_try_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *dc) argument
1557 v4l2_m2m_ioctl_stateless_decoder_cmd(struct file *file, void *priv, struct v4l2_decoder_cmd *dc) argument
1603 v4l2_m2m_fop_mmap(struct file *file, struct vm_area_struct *vma) argument
1611 v4l2_m2m_fop_poll(struct file *file, poll_table *wait) argument
[all...]

Completed in 267 milliseconds

<<11121314151617181920>>