Home
last modified time | relevance | path

Searched full:file (Results 101 – 125 of 13163) sorted by relevance

12345678910>>...527

/linux/include/linux/
H A Dsplice.h38 struct file *file; /* file to read/write */ member
42 loff_t pos; /* file position */
71 ssize_t splice_from_pipe(struct pipe_inode_info *pipe, struct file *out,
79 ssize_t vfs_splice_read(struct file *in, loff_t *ppos,
82 ssize_t splice_direct_to_actor(struct file *file, struct splice_desc *sd,
84 ssize_t do_splice(struct file *in, loff_t *off_in, struct file *ou
[all...]
H A Dbacking-file.h11 #include <linux/file.h>
17 void (*accessed)(struct file *file);
21 struct file *backing_file_open(const struct path *user_path, int flags,
24 struct file *backing_tmpfile_open(const struct path *user_path, int flags,
27 ssize_t backing_file_read_iter(struct file *file, struct iov_iter *iter,
30 ssize_t backing_file_write_iter(struct file *file, struct iov_iter *iter,
33 ssize_t backing_file_splice_read(struct file *i
[all...]
/linux/drivers/infiniband/hw/hfi1/
H A Ddebugfs.c25 #define private2dd(file) (file_inode(file)->i_private) argument
26 #define private2ppd(file) (file_inode(file)->i_private) argument
389 static ssize_t dev_counters_read(struct file *file, char __user *buf, in dev_counters_read() argument
397 dd = private2dd(file); in dev_counters_read()
404 static ssize_t dev_names_read(struct file *file, char __user *buf, in dev_names_read() argument
412 dd = private2dd(file); in dev_names_read()
429 portnames_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) portnames_read() argument
444 portcntrs_debugfs_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) portcntrs_debugfs_read() argument
472 asic_flags_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) asic_flags_read() argument
521 asic_flags_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) asic_flags_write() argument
567 dc8051_memory_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) dc8051_memory_read() argument
607 debugfs_lcb_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) debugfs_lcb_read() argument
641 debugfs_lcb_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) debugfs_lcb_write() argument
677 qsfp_debugfs_dump(struct file * file,char __user * buf,size_t count,loff_t * ppos) qsfp_debugfs_dump() argument
697 __i2c_debugfs_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos,u32 target) __i2c_debugfs_write() argument
737 i2c1_debugfs_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) i2c1_debugfs_write() argument
744 i2c2_debugfs_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) i2c2_debugfs_write() argument
751 __i2c_debugfs_read(struct file * file,char __user * buf,size_t count,loff_t * ppos,u32 target) __i2c_debugfs_read() argument
797 i2c1_debugfs_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) i2c1_debugfs_read() argument
804 i2c2_debugfs_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) i2c2_debugfs_read() argument
811 __qsfp_debugfs_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos,u32 target) __qsfp_debugfs_write() argument
844 qsfp1_debugfs_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) qsfp1_debugfs_write() argument
851 qsfp2_debugfs_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) qsfp2_debugfs_write() argument
858 __qsfp_debugfs_read(struct file * file,char __user * buf,size_t count,loff_t * ppos,u32 target) __qsfp_debugfs_read() argument
902 qsfp1_debugfs_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) qsfp1_debugfs_read() argument
909 qsfp2_debugfs_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) qsfp2_debugfs_read() argument
1018 exprom_wp_debugfs_read(struct file * file,char __user * buf,size_t count,loff_t * ppos) exprom_wp_debugfs_read() argument
1024 exprom_wp_debugfs_write(struct file * file,const char __user * buf,size_t count,loff_t * ppos) exprom_wp_debugfs_write() argument
[all...]
/linux/include/sound/
H A Dhwdep.h15 /* hwdep file ops; all ops can be NULL */
17 long long (*llseek)(struct snd_hwdep *hw, struct file *file,
23 int (*open)(struct snd_hwdep *hw, struct file * file);
24 int (*release)(struct snd_hwdep *hw, struct file * file);
25 __poll_t (*poll)(struct snd_hwdep *hw, struct file *file,
27 int (*ioctl)(struct snd_hwdep *hw, struct file *fil
[all...]
/linux/tools/objtool/
H A Dobjtool.c21 static struct objtool_file file; variable
25 if (file.elf) { in objtool_open_read()
26 ERROR("won't handle more than one file at a time"); in objtool_open_read()
30 file.elf = elf_open_read(filename, O_RDWR); in objtool_open_read()
31 if (!file.elf) in objtool_open_read()
34 hash_init(file.insn_hash); in objtool_open_read()
35 INIT_LIST_HEAD(&file.retpoline_call_list); in objtool_open_read()
36 INIT_LIST_HEAD(&file.return_thunk_list); in objtool_open_read()
37 INIT_LIST_HEAD(&file.static_call_list); in objtool_open_read()
38 INIT_LIST_HEAD(&file in objtool_open_read()
[all...]
/linux/tools/testing/selftests/exec/
H A Dnon-regular.c14 /* Remove a file, ignoring the result if it didn't exist. */
36 FIXTURE(file) { in FIXTURE() argument
41 FIXTURE_VARIANT(file) in FIXTURE_VARIANT() argument
47 FIXTURE_DATA(file) *self, in FIXTURE_VARIANT()
48 const FIXTURE_VARIANT(file) *variant); in FIXTURE_VARIANT()
53 FIXTURE_DATA(file) *self, in setup_link()
54 const FIXTURE_VARIANT(file) *variant) in setup_link()
73 FIXTURE_VARIANT_ADD(file, S_IFLNK) in FIXTURE_VARIANT_ADD() argument
81 FIXTURE_DATA(file) *self, in setup_dir()
82 const FIXTURE_VARIANT(file) *varian in setup_dir()
87 FIXTURE_VARIANT_ADD(file,S_IFDIR) FIXTURE_VARIANT_ADD() argument
111 FIXTURE_VARIANT_ADD(file,S_IFBLK) FIXTURE_VARIANT_ADD() argument
122 FIXTURE_VARIANT_ADD(file,S_IFCHR) FIXTURE_VARIANT_ADD() argument
140 FIXTURE_VARIANT_ADD(file,S_IFIFO) FIXTURE_VARIANT_ADD() argument
147 FIXTURE_SETUP(file) FIXTURE_SETUP() argument
156 FIXTURE_TEARDOWN(file) FIXTURE_TEARDOWN() argument
161 TEST_F(file,exec_errno) TEST_F() argument
[all...]
/linux/Documentation/trace/coresight/
H A Dcoresight-etm4x-reference.rst22 :File: ``mode`` (rw)
39 :File: ``reset`` (wo)
49 :File: ``enable_source`` (wo)
62 :File: ``cpu`` (ro)
74 :File: ``ts_source`` (ro)
88 :File: ``addr_idx`` (rw)
101 :File: ``addr_range`` (rw)
124 :File: ``addr_single`` (rw)
137 :File: ``addr_start`` (rw)
149 :File
[all...]
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_debugfs.c12 static int nfp_rx_q_show(struct seq_file *file, void *data) in nfp_rx_q_show() argument
14 struct nfp_net_r_vector *r_vec = file->private; in nfp_rx_q_show()
36 seq_printf(file, "RX[%02d,%02d]: cnt=%u dma=%pad host=%p H_RD=%u H_WR=%u FL_RD=%u FL_WR=%u\n", in nfp_rx_q_show()
43 seq_printf(file, "%04d: 0x%08x 0x%08x", i, in nfp_rx_q_show()
49 seq_printf(file, " frag=%p", frag); in nfp_rx_q_show()
52 seq_printf(file, " dma_addr=%pad", in nfp_rx_q_show()
56 seq_printf(file, " dma_addr=%pad", in nfp_rx_q_show()
61 seq_puts(file, " H_RD "); in nfp_rx_q_show()
63 seq_puts(file, " H_WR "); in nfp_rx_q_show()
65 seq_puts(file, " FL_R in nfp_rx_q_show()
80 __nfp_tx_q_show(struct seq_file * file,void * data,bool is_xdp) __nfp_tx_q_show() argument
118 nfp_tx_q_show(struct seq_file * file,void * data) nfp_tx_q_show() argument
123 nfp_xdp_q_show(struct seq_file * file,void * data) nfp_xdp_q_show() argument
[all...]
/linux/fs/
H A Deventpoll.c13 #include <linux/file.h>
63 * insertion does not create a cycle of epoll file descriptors, which
72 * before e2->mtx). Since we disallow cycles of epoll file
75 * of epoll file descriptors, we use the current recursion depth as
103 struct file *file; member
116 * Wait queue item that will be linked to the target file wait
126 * Each file descriptor added to the eventpoll interface will
148 /* The file descriptor information this item refers to */
152 * Protected by file
216 struct file *file; global() member
289 list_file(struct file * file) list_file() argument
351 ep_set_ffd(struct epoll_filefd * ffd,struct file * file,int fd) ep_set_ffd() argument
503 ep_eventpoll_bp_ioctl(struct file * file,unsigned int cmd,unsigned long arg) ep_eventpoll_bp_ioctl() argument
573 ep_eventpoll_bp_ioctl(struct file * file,unsigned int cmd,unsigned long arg) ep_eventpoll_bp_ioctl() argument
835 struct file *file = epi->ffd.file; __ep_remove() local
940 ep_eventpoll_ioctl(struct file * file,unsigned int cmd,unsigned long arg) ep_eventpoll_ioctl() argument
961 ep_eventpoll_release(struct inode * inode,struct file * file) ep_eventpoll_release() argument
973 __ep_eventpoll_poll(struct file * file,poll_table * wait,int depth) __ep_eventpoll_poll() argument
1031 struct file *file; epi_fget() local
1047 struct file *file = epi_fget(epi); ep_item_poll() local
1066 ep_eventpoll_poll(struct file * file,poll_table * wait) ep_eventpoll_poll() argument
1112 eventpoll_release_file(struct file * file) eventpoll_release_file() argument
1174 ep_find(struct eventpoll * ep,struct file * file,int fd) ep_find() argument
1218 get_epoll_tfile_raw_ptr(struct file * file,int tfd,unsigned long toff) get_epoll_tfile_raw_ptr() argument
1445 ep_ptable_queue_proc(struct file * file,wait_queue_head_t * whead,poll_table * pt) ep_ptable_queue_proc() argument
1614 attach_epitem(struct file * file,struct epitem * epi) attach_epitem() argument
2257 struct file *file; do_epoll_create() local
2493 ep_check_params(struct file * file,struct epoll_event __user * evs,int maxevents) ep_check_params() argument
2514 epoll_sendevents(struct file * file,struct epoll_event __user * events,int maxevents) epoll_sendevents() argument
[all...]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-firmware5 Description: The data sysfs file is used for firmware-fallback and for
6 firmware uploads. Cat a firmware image to this sysfs file
7 after you echo 1 to the loading sysfs file. When the firmware
8 image write is complete, echo 0 to the loading sysfs file. This
17 Description: Write-only. For firmware uploads, write a "1" to this file to
30 for the status sysfs file and <ERROR> will be one of the
32 "invalid-file-size", "read-write-error", "flash-wearout". The
33 error sysfs file is only meaningful when the current firmware
34 upload status is "idle". If this file is read while a firmware
41 Description: The loading sysfs file i
[all...]
H A Dsysfs-kernel-slab19 The aliases file is read-only and specifies how many caches
28 The align file is read-only and specifies the cache's object
37 The alloc_calls file is read-only and lists the kernel code
39 The alloc_calls file only contains information if debugging is
49 The alloc_fastpath file shows how many objects have been
60 The alloc_from_partial file shows how many times a cpu slab has
72 The alloc_refill file shows how many times the per-cpu freelist
83 The alloc_slab file is shows how many times a new slab had to
94 The alloc_slowpath file shows how many objects have been
106 The cache_dma file i
[all...]
/linux/fs/udf/
H A Ddir.c13 * 10/05/98 dgb Split directory operations into its own file
35 static int udf_readdir(struct file *file, struct dir_context *ctx) in udf_readdir() argument
37 struct inode *dir = file_inode(file); in udf_readdir()
47 if (!dir_emit_dot(file, ctx)) in udf_readdir()
63 if (!inode_eq_iversion(dir, *(u64 *)file->private_data)) { in udf_readdir()
86 /* Update file position only if we got past the current one */ in udf_readdir()
101 if (!dir_emit_dotdot(file, ctx)) in udf_readdir()
125 *(u64 *)file->private_data = inode_query_iversion(dir); in udf_readdir()
131 static int udf_dir_open(struct inode *inode, struct file *fil argument
139 udf_dir_release(struct inode * inode,struct file * file) udf_dir_release() argument
145 udf_dir_llseek(struct file * file,loff_t offset,int whence) udf_dir_llseek() argument
[all...]
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00debug.c51 * - driver file
52 * - chipset file
53 * - device state flags file
54 * - device capability flags file
55 * - hardware restart file
63 * - frame dump file
64 * - queue stats file
65 * - crypto stats file
70 * The frame dump file only allows a single reader,
185 * Verify that the file ha in rt2x00debug_dump_frame()
192 rt2x00debug_file_open(struct inode * inode,struct file * file) rt2x00debug_file_open() argument
204 rt2x00debug_file_release(struct inode * inode,struct file * file) rt2x00debug_file_release() argument
213 rt2x00debug_open_queue_dump(struct inode * inode,struct file * file) rt2x00debug_open_queue_dump() argument
230 rt2x00debug_release_queue_dump(struct inode * inode,struct file * file) rt2x00debug_release_queue_dump() argument
241 rt2x00debug_read_queue_dump(struct file * file,char __user * buf,size_t length,loff_t * offset) rt2x00debug_read_queue_dump() argument
275 rt2x00debug_poll_queue_dump(struct file * file,poll_table * wait) rt2x00debug_poll_queue_dump() argument
297 rt2x00debug_read_queue_stats(struct file * file,char __user * buf,size_t length,loff_t * offset) rt2x00debug_read_queue_stats() argument
356 rt2x00debug_read_crypto_stats(struct file * file,char __user * buf,size_t length,loff_t * offset) rt2x00debug_read_crypto_stats() argument
501 rt2x00debug_read_dev_flags(struct file * file,char __user * buf,size_t length,loff_t * offset) rt2x00debug_read_dev_flags() argument
526 rt2x00debug_read_cap_flags(struct file * file,char __user * buf,size_t length,loff_t * offset) rt2x00debug_read_cap_flags() argument
551 rt2x00debug_write_restart_hw(struct file * file,const char __user * buf,size_t length,loff_t * offset) rt2x00debug_write_restart_hw() argument
[all...]
/linux/drivers/media/v4l2-core/
H A Dv4l2-ioctl.c923 static int check_fmt(struct file *file, enum v4l2_buf_type type) in check_fmt() argument
932 struct video_device *vfd = video_devdata(file); in check_fmt()
1093 struct file *file, void *fh, void *arg) in v4l_querycap() argument
1096 struct video_device *vfd = video_devdata(file); in v4l_querycap()
1106 ret = ops->vidioc_querycap(file, fh, cap); in v4l_querycap()
1127 struct file *file, void *fh, void *arg) in v4l_g_input() argument
1129 struct video_device *vfd = video_devdata(file); in v4l_g_input()
1140 v4l_g_output(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_g_output() argument
1153 v4l_s_input(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_input() argument
1169 v4l_s_output(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_output() argument
1180 v4l_g_priority(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_g_priority() argument
1191 v4l_s_priority(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_priority() argument
1205 v4l_enuminput(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_enuminput() argument
1231 v4l_enumoutput(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_enumoutput() argument
1593 v4l_enum_fmt(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_enum_fmt() argument
1684 v4l_g_fmt(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_g_fmt() argument
1743 v4l_s_fmt(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_fmt() argument
1854 v4l_try_fmt(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_try_fmt() argument
1962 v4l_streamon(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_streamon() argument
1968 v4l_streamoff(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_streamoff() argument
1974 v4l_g_tuner(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_g_tuner() argument
1989 v4l_s_tuner(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_tuner() argument
2004 v4l_g_modulator(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_g_modulator() argument
2020 v4l_s_modulator(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_modulator() argument
2032 v4l_g_frequency(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_g_frequency() argument
2046 v4l_s_frequency(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_frequency() argument
2069 v4l_enumstd(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_enumstd() argument
2078 v4l_s_std(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_std() argument
2096 v4l_querystd(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_querystd() argument
2118 v4l_s_hw_freq_seek(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_hw_freq_seek() argument
2140 v4l_s_fbuf(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_fbuf() argument
2149 v4l_overlay(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_overlay() argument
2155 v4l_reqbufs(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_reqbufs() argument
2174 v4l_querybuf(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_querybuf() argument
2183 v4l_qbuf(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_qbuf() argument
2192 v4l_dqbuf(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_dqbuf() argument
2201 v4l_create_bufs(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_create_bufs() argument
2228 v4l_prepare_buf(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_prepare_buf() argument
2237 v4l_remove_bufs(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_remove_bufs() argument
2248 v4l_g_parm(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_g_parm() argument
2271 v4l_s_parm(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_parm() argument
2295 v4l_queryctrl(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_queryctrl() argument
2321 v4l_query_ext_ctrl(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_query_ext_ctrl() argument
2338 v4l_querymenu(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_querymenu() argument
2355 v4l_g_ctrl(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_g_ctrl() argument
2387 v4l_s_ctrl(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_ctrl() argument
2417 v4l_g_ext_ctrls(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_g_ext_ctrls() argument
2438 v4l_s_ext_ctrls(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_ext_ctrls() argument
2459 v4l_try_ext_ctrls(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_try_ext_ctrls() argument
2489 v4l_g_selection(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_g_selection() argument
2505 v4l_s_selection(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_selection() argument
2521 v4l_g_crop(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_g_crop() argument
2551 v4l_s_crop(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_s_crop() argument
2576 v4l_cropcap(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_cropcap() argument
2642 v4l_log_status(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_log_status() argument
2658 v4l_dbg_g_register(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_dbg_g_register() argument
2686 v4l_dbg_s_register(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_dbg_s_register() argument
2714 v4l_dbg_g_chip_info(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_dbg_g_chip_info() argument
2757 v4l_dqevent(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_dqevent() argument
2763 v4l_subscribe_event(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_subscribe_event() argument
2769 v4l_unsubscribe_event(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_unsubscribe_event() argument
2775 v4l_g_sliced_vbi_cap(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_g_sliced_vbi_cap() argument
2790 v4l_enum_freq_bands(const struct v4l2_ioctl_ops * ops,struct file * file,void * fh,void * arg) v4l_enum_freq_bands() argument
3065 __video_do_ioctl(struct file * file,unsigned int cmd,void * arg) __video_do_ioctl() argument
3423 video_usercopy(struct file * file,unsigned int orig_cmd,unsigned long arg,v4l2_kioctl func) video_usercopy() argument
3533 video_ioctl2(struct file * file,unsigned int cmd,unsigned long arg) video_ioctl2() argument
[all...]
H A Dv4l2-mem2mem.c531 * request file descriptor. in v4l2_m2m_buf_done_and_job_finish()
534 * to avoid signalling the request file descriptor in v4l2_m2m_buf_done_and_job_finish()
575 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_reqbufs() argument
586 vq->owner = reqbufs->count ? file->private_data : NULL; in v4l2_m2m_reqbufs()
609 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_querybuf() argument
761 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_qbuf() argument
764 struct video_device *vdev = video_devdata(file); in v4l2_m2m_qbuf()
800 v4l2_m2m_dqbuf(struct file * file,struct v4l2_m2m_ctx * m2m_ctx,struct v4l2_buffer * buf) v4l2_m2m_dqbuf() argument
818 v4l2_m2m_prepare_buf(struct file * file,struct v4l2_m2m_ctx * m2m_ctx,struct v4l2_buffer * buf) v4l2_m2m_prepare_buf() argument
837 v4l2_m2m_create_bufs(struct file * file,struct v4l2_m2m_ctx * m2m_ctx,struct v4l2_create_buffers * create) v4l2_m2m_create_bufs() argument
847 v4l2_m2m_expbuf(struct file * file,struct v4l2_m2m_ctx * m2m_ctx,struct v4l2_exportbuffer * eb) v4l2_m2m_expbuf() argument
857 v4l2_m2m_streamon(struct file * file,struct v4l2_m2m_ctx * m2m_ctx,enum v4l2_buf_type type) v4l2_m2m_streamon() argument
872 v4l2_m2m_streamoff(struct file * file,struct v4l2_m2m_ctx * m2m_ctx,enum v4l2_buf_type type) v4l2_m2m_streamoff() argument
912 v4l2_m2m_poll_for_data(struct file * file,struct v4l2_m2m_ctx * m2m_ctx,struct poll_table_struct * wait) v4l2_m2m_poll_for_data() argument
951 v4l2_m2m_poll(struct file * file,struct v4l2_m2m_ctx * m2m_ctx,struct poll_table_struct * wait) v4l2_m2m_poll() argument
985 v4l2_m2m_mmap(struct file * file,struct v4l2_m2m_ctx * m2m_ctx,struct vm_area_struct * vma) v4l2_m2m_mmap() argument
1003 v4l2_m2m_get_unmapped_area(struct file * file,unsigned long addr,unsigned long len,unsigned long pgoff,unsigned long flags) v4l2_m2m_get_unmapped_area() argument
1371 v4l2_m2m_ioctl_reqbufs(struct file * file,void * priv,struct v4l2_requestbuffers * rb) v4l2_m2m_ioctl_reqbufs() argument
1380 v4l2_m2m_ioctl_create_bufs(struct file * file,void * priv,struct v4l2_create_buffers * create) v4l2_m2m_ioctl_create_bufs() argument
1389 v4l2_m2m_ioctl_remove_bufs(struct file * file,void * priv,struct v4l2_remove_buffers * remove) v4l2_m2m_ioctl_remove_bufs() argument
1404 v4l2_m2m_ioctl_querybuf(struct file * file,void * priv,struct v4l2_buffer * buf) v4l2_m2m_ioctl_querybuf() argument
1413 v4l2_m2m_ioctl_qbuf(struct file * file,void * priv,struct v4l2_buffer * buf) v4l2_m2m_ioctl_qbuf() argument
1422 v4l2_m2m_ioctl_dqbuf(struct file * file,void * priv,struct v4l2_buffer * buf) v4l2_m2m_ioctl_dqbuf() argument
1431 v4l2_m2m_ioctl_prepare_buf(struct file * file,void * priv,struct v4l2_buffer * buf) v4l2_m2m_ioctl_prepare_buf() argument
1440 v4l2_m2m_ioctl_expbuf(struct file * file,void * priv,struct v4l2_exportbuffer * eb) v4l2_m2m_ioctl_expbuf() argument
1449 v4l2_m2m_ioctl_streamon(struct file * file,void * priv,enum v4l2_buf_type type) v4l2_m2m_ioctl_streamon() argument
1458 v4l2_m2m_ioctl_streamoff(struct file * file,void * priv,enum v4l2_buf_type type) v4l2_m2m_ioctl_streamoff() argument
1467 v4l2_m2m_ioctl_try_encoder_cmd(struct file * file,void * fh,struct v4l2_encoder_cmd * ec) v4l2_m2m_ioctl_try_encoder_cmd() argument
1478 v4l2_m2m_ioctl_try_decoder_cmd(struct file * file,void * fh,struct v4l2_decoder_cmd * dc) v4l2_m2m_ioctl_try_decoder_cmd() argument
1500 v4l2_m2m_encoder_cmd(struct file * file,struct v4l2_m2m_ctx * m2m_ctx,struct v4l2_encoder_cmd * ec) v4l2_m2m_encoder_cmd() argument
1523 v4l2_m2m_decoder_cmd(struct file * file,struct v4l2_m2m_ctx * m2m_ctx,struct v4l2_decoder_cmd * dc) v4l2_m2m_decoder_cmd() argument
1542 v4l2_m2m_ioctl_encoder_cmd(struct file * file,void * priv,struct v4l2_encoder_cmd * ec) v4l2_m2m_ioctl_encoder_cmd() argument
1551 v4l2_m2m_ioctl_decoder_cmd(struct file * file,void * priv,struct v4l2_decoder_cmd * dc) v4l2_m2m_ioctl_decoder_cmd() argument
1560 v4l2_m2m_ioctl_stateless_try_decoder_cmd(struct file * file,void * fh,struct v4l2_decoder_cmd * dc) v4l2_m2m_ioctl_stateless_try_decoder_cmd() argument
1572 v4l2_m2m_ioctl_stateless_decoder_cmd(struct file * file,void * priv,struct v4l2_decoder_cmd * dc) v4l2_m2m_ioctl_stateless_decoder_cmd() argument
1618 v4l2_m2m_fop_mmap(struct file * file,struct vm_area_struct * vma) v4l2_m2m_fop_mmap() argument
1626 v4l2_m2m_fop_poll(struct file * file,poll_table * wait) v4l2_m2m_fop_poll() argument
[all...]
/linux/Documentation/power/
H A Dswsusp-and-swap-files.rst11 (2) the header of a swap file is not in the first block of the partition that
16 In principle the location of a swap file's header may be determined with the
18 filesystem holding the swap file to be mounted, and if this filesystem is
20 identify a swap file swsusp uses the name of the partition that holds the file
21 and the offset from the beginning of the partition at which the swap file's
25 In order to use a swap file with swsusp, you need to:
27 1) Create the swap file and make it active, eg.::
33 2) Use an application that will bmap the swap file with the help of the
34 FIBMAP ioctl and determine the location of the file'
[all...]
/linux/sound/core/
H A Dtimer_compat.c7 /* This file included from timer.c */
34 static int snd_timer_user_gparams_compat(struct file *file, in snd_timer_user_gparams_compat() argument
47 static int snd_timer_user_info_compat(struct file *file, in snd_timer_user_info_compat() argument
54 tu = file->private_data; in snd_timer_user_info_compat()
79 static long __snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd, in __snd_timer_user_ioctl_compat() argument
101 return __snd_timer_user_ioctl(file, cmd, (unsigned long)argp, true); in __snd_timer_user_ioctl_compat()
103 return snd_timer_user_gparams_compat(file, arg in __snd_timer_user_ioctl_compat()
114 snd_timer_user_ioctl_compat(struct file * file,unsigned int cmd,unsigned long arg) snd_timer_user_ioctl_compat() argument
[all...]
H A Dinfo.c102 * file ops for binary proc files
104 static loff_t snd_info_entry_llseek(struct file *file, loff_t offset, int orig) in snd_info_entry_llseek() argument
110 data = file->private_data; in snd_info_entry_llseek()
116 file, offset, orig); in snd_info_entry_llseek()
123 offset += file->f_pos; in snd_info_entry_llseek()
137 file->f_pos = offset; in snd_info_entry_llseek()
141 static ssize_t snd_info_entry_read(struct file *file, char __user *buffer, in snd_info_entry_read() argument
144 struct snd_info_private_data *data = file in snd_info_entry_read()
163 snd_info_entry_write(struct file * file,const char __user * buffer,size_t count,loff_t * offset) snd_info_entry_write() argument
185 snd_info_entry_poll(struct file * file,poll_table * wait) snd_info_entry_poll() argument
202 snd_info_entry_ioctl(struct file * file,unsigned int cmd,unsigned long arg) snd_info_entry_ioctl() argument
214 snd_info_entry_mmap(struct file * file,struct vm_area_struct * vma) snd_info_entry_mmap() argument
230 snd_info_entry_open(struct inode * inode,struct file * file) snd_info_entry_open() argument
263 snd_info_entry_release(struct inode * inode,struct file * file) snd_info_entry_release() argument
291 snd_info_text_entry_write(struct file * file,const char __user * buffer,size_t count,loff_t * offset) snd_info_text_entry_write() argument
347 snd_info_text_entry_open(struct inode * inode,struct file * file) snd_info_text_entry_open() argument
379 snd_info_text_entry_release(struct inode * inode,struct file * file) snd_info_text_entry_release() argument
[all...]
/linux/scripts/
H A Dcleanfile4 # Clean a text file -- or directory of text files -- of stealth whitespace.
10 use File::Basename;
101 print STDERR "$f: not a file\n";
105 if (!open(FILE, '+<', $f)) {
106 print STDERR "$name: Cannot open file: $f: $!\n";
110 binmode FILE;
112 # First, verify that it is not a binary file; consider any file
113 # with a zero byte to be a binary file. Is there any better, or
117 while (read(FILE,
[all...]
/linux/tools/testing/ktest/examples/bootconfigs/
H A Dverify-boottrace.sh6 file="$1"
8 content=`cat $file`
10 echo "FAILED: $file has '$content', expected '$val'"
16 file="$1"
18 content=`cat $file | sed -ne "/^$val/p"`
20 echo "FAILED: $file does not contain '$val'"
21 cat $file
27 file=$1
30 if ! grep -q "$val" $file ; then
31 echo "FAILED: $file doe
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Ddebugfs.c19 static int type_show(struct seq_file *file, void *priv) in type_show() argument
21 struct mlx5_core_dev *dev = file->private; in type_show()
32 seq_printf(file, "%s\n", mode); in type_show()
37 static int port_sel_mode_show(struct seq_file *file, void *priv) in port_sel_mode_show() argument
39 struct mlx5_core_dev *dev = file->private; in port_sel_mode_show()
54 seq_printf(file, "%s\n", mode); in port_sel_mode_show()
58 static int state_show(struct seq_file *file, void *priv) in state_show() argument
60 struct mlx5_core_dev *dev = file->private; in state_show()
68 seq_printf(file, "%s\n", active ? "active" : "disabled"); in state_show()
72 static int flags_show(struct seq_file *file, voi argument
101 mapping_show(struct seq_file * file,void * priv) mapping_show() argument
139 members_show(struct seq_file * file,void * priv) members_show() argument
[all...]
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-vbi-cap.h15 int vidioc_g_fmt_vbi_cap(struct file *file, void *priv,
17 int vidioc_s_fmt_vbi_cap(struct file *file, void *priv,
19 int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
20 int vidioc_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
21 int vidioc_s_fmt_sliced_vbi_cap(struct file *file, voi
[all...]
/linux/fs/verity/
H A Dmeasure.c3 * Ioctl to get a verity file's digest
16 * fsverity_ioctl_measure() - get a verity file's digest
17 * @filp: file to get digest of
20 * Retrieve the file digest that the kernel is enforcing for reads from a verity
21 * file. See the "FS_IOC_MEASURE_VERITY" section of
26 int fsverity_ioctl_measure(struct file *filp, void __user *_uarg) in fsverity_ioctl_measure()
36 return -ENODATA; /* not a verity file */ in fsverity_ioctl_measure()
65 * fsverity_get_digest() - get a verity file's digest
67 * @raw_digest: (out) the raw file digest
71 * Retrieves the fsverity digest of the given file
121 bpf_get_fsverity_digest(struct file * file,struct bpf_dynptr * digest_p) bpf_get_fsverity_digest() argument
[all...]
/linux/drivers/media/pci/ivtv/
H A Divtv-ioctl.c309 static int ivtv_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_sliced_vbi_out() argument
331 static int ivtv_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vid_cap() argument
354 static int ivtv_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_vbi_cap() argument
372 static int ivtv_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_sliced_vbi_cap() argument
395 static int ivtv_g_fmt_vid_out(struct file *file, voi argument
435 ivtv_g_fmt_vid_out_overlay(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_g_fmt_vid_out_overlay() argument
457 ivtv_try_fmt_sliced_vbi_out(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_try_fmt_sliced_vbi_out() argument
462 ivtv_try_fmt_vid_cap(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_try_fmt_vid_cap() argument
485 ivtv_try_fmt_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_try_fmt_vbi_cap() argument
490 ivtv_try_fmt_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_try_fmt_sliced_vbi_cap() argument
511 ivtv_try_fmt_vid_out(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_try_fmt_vid_out() argument
545 ivtv_try_fmt_vid_out_overlay(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_try_fmt_vid_out_overlay() argument
562 ivtv_s_fmt_sliced_vbi_out(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_s_fmt_sliced_vbi_out() argument
567 ivtv_s_fmt_vid_cap(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_s_fmt_vid_cap() argument
598 ivtv_s_fmt_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_s_fmt_vbi_cap() argument
610 ivtv_s_fmt_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_s_fmt_sliced_vbi_cap() argument
629 ivtv_s_fmt_vid_out(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_s_fmt_vid_out() argument
674 ivtv_s_fmt_vid_out_overlay(struct file * file,void * fh,struct v4l2_format * fmt) ivtv_s_fmt_vid_out_overlay() argument
711 ivtv_g_register(struct file * file,void * fh,struct v4l2_dbg_register * reg) ivtv_g_register() argument
719 ivtv_s_register(struct file * file,void * fh,const struct v4l2_dbg_register * reg) ivtv_s_register() argument
728 ivtv_querycap(struct file * file,void * fh,struct v4l2_capability * vcap) ivtv_querycap() argument
739 ivtv_enumaudio(struct file * file,void * fh,struct v4l2_audio * vin) ivtv_enumaudio() argument
746 ivtv_g_audio(struct file * file,void * fh,struct v4l2_audio * vin) ivtv_g_audio() argument
754 ivtv_s_audio(struct file * file,void * fh,const struct v4l2_audio * vout) ivtv_s_audio() argument
767 ivtv_enumaudout(struct file * file,void * fh,struct v4l2_audioout * vin) ivtv_enumaudout() argument
775 ivtv_g_audout(struct file * file,void * fh,struct v4l2_audioout * vin) ivtv_g_audout() argument
783 ivtv_s_audout(struct file * file,void * fh,const struct v4l2_audioout * vout) ivtv_s_audout() argument
792 ivtv_enum_input(struct file * file,void * fh,struct v4l2_input * vin) ivtv_enum_input() argument
800 ivtv_enum_output(struct file * file,void * fh,struct v4l2_output * vout) ivtv_enum_output() argument
807 ivtv_g_pixelaspect(struct file * file,void * fh,int type,struct v4l2_fract * f) ivtv_g_pixelaspect() argument
825 ivtv_s_selection(struct file * file,void * fh,struct v4l2_selection * sel) ivtv_s_selection() argument
868 ivtv_g_selection(struct file * file,void * fh,struct v4l2_selection * sel) ivtv_g_selection() argument
914 ivtv_enum_fmt_vid_cap(struct file * file,void * fh,struct v4l2_fmtdesc * fmt) ivtv_enum_fmt_vid_cap() argument
941 ivtv_enum_fmt_vid_out(struct file * file,void * fh,struct v4l2_fmtdesc * fmt) ivtv_enum_fmt_vid_out() argument
968 ivtv_g_input(struct file * file,void * fh,unsigned int * i) ivtv_g_input() argument
977 ivtv_s_input(struct file * file,void * fh,unsigned int inp) ivtv_s_input() argument
1020 ivtv_g_output(struct file * file,void * fh,unsigned int * i) ivtv_g_output() argument
1032 ivtv_s_output(struct file * file,void * fh,unsigned int outp) ivtv_s_output() argument
1054 ivtv_g_frequency(struct file * file,void * fh,struct v4l2_frequency * vf) ivtv_g_frequency() argument
1068 ivtv_s_frequency(struct file * file,void * fh,const struct v4l2_frequency * vf) ivtv_s_frequency() argument
1085 ivtv_g_std(struct file * file,void * fh,v4l2_std_id * std) ivtv_g_std() argument
1158 ivtv_s_std(struct file * file,void * fh,v4l2_std_id std) ivtv_s_std() argument
1186 ivtv_s_tuner(struct file * file,void * fh,const struct v4l2_tuner * vt) ivtv_s_tuner() argument
1199 ivtv_g_tuner(struct file * file,void * fh,struct v4l2_tuner * vt) ivtv_g_tuner() argument
1215 ivtv_g_sliced_vbi_cap(struct file * file,void * fh,struct v4l2_sliced_vbi_cap * cap) ivtv_g_sliced_vbi_cap() argument
1250 ivtv_g_enc_index(struct file * file,void * fh,struct v4l2_enc_idx * idx) ivtv_g_enc_index() argument
1276 ivtv_encoder_cmd(struct file * file,void * fh,struct v4l2_encoder_cmd * enc) ivtv_encoder_cmd() argument
1328 ivtv_try_encoder_cmd(struct file * file,void * fh,struct v4l2_encoder_cmd * enc) ivtv_try_encoder_cmd() argument
1358 ivtv_g_fbuf(struct file * file,void * fh,struct v4l2_framebuffer * fb) ivtv_g_fbuf() argument
1445 ivtv_s_fbuf(struct file * file,void * fh,const struct v4l2_framebuffer * fb) ivtv_s_fbuf() argument
1466 ivtv_overlay(struct file * file,void * fh,unsigned int on) ivtv_overlay() argument
1493 ivtv_log_status(struct file * file,void * fh) ivtv_log_status() argument
1585 ivtv_decoder_cmd(struct file * file,void * fh,struct v4l2_decoder_cmd * dec) ivtv_decoder_cmd() argument
1594 ivtv_try_decoder_cmd(struct file * file,void * fh,struct v4l2_decoder_cmd * dec) ivtv_try_decoder_cmd() argument
1645 ivtv_default(struct file * file,void * fh,bool valid_prio,unsigned int cmd,void * arg) ivtv_default() argument
[all...]
/linux/net/9p/
H A Derror.c44 {"No such file or directory", ENOENT},
46 {"file not found", ENOENT},
51 {"Bad file descriptor", EBADF},
58 {"File exists", EEXIST},
66 {"Text file busy", ETXTBSY},
67 {"File too large", EFBIG},
70 {"Read-only file system", EROFS},
76 {"File name too long", ENAMETOOLONG},
91 {"File descriptor in bad state", EBADFD},
116 {"Is a named type file", EISNA
[all...]

12345678910>>...527