/linux-master/drivers/char/ |
H A D | uv_mmtimer.c | 4 * This file is subject to the terms and conditions of the GNU General Public 5 * License. See the file "COPYING" in the main directory of this archive 41 static long uv_mmtimer_ioctl(struct file *file, unsigned int cmd, 43 static int uv_mmtimer_mmap(struct file *file, struct vm_area_struct *vma); 59 * @file: file structure for the device 84 static long uv_mmtimer_ioctl(struct file *file, unsigne argument 147 uv_mmtimer_mmap(struct file *file, struct vm_area_struct *vma) argument [all...] |
H A D | nsc_gpio.c | 4 National Semiconductor common GPIO device-file/VFS methods. 42 ssize_t nsc_gpio_write(struct file *file, const char __user *data, argument 45 unsigned m = iminor(file_inode(file)); 46 struct nsc_gpio_ops *amp = file->private_data; 105 ssize_t nsc_gpio_read(struct file *file, char __user * buf, argument 108 unsigned m = iminor(file_inode(file)); 110 struct nsc_gpio_ops *amp = file->private_data; 119 /* common file [all...] |
/linux-master/arch/um/drivers/ |
H A D | cow_sys.h | 31 static inline int cow_file_size(char *file, unsigned long long *size_out) argument 33 return os_file_size(file, size_out);
|
/linux-master/drivers/target/ |
H A D | target_core_file.h | 40 struct file *fd_file; 41 struct file *fd_prot_file;
|
/linux-master/include/linux/ |
H A D | sync_file.h | 24 * struct sync_file - sync file to export to the userspace 25 * @file: file representing this fence 26 * @sync_file_list: membership in global file list 36 struct file *file; member in struct:sync_file 40 * Name of the sync file provided by userspace, for merged fences.
|
/linux-master/arch/parisc/math-emu/ |
H A D | hppa.h | 10 PA header file -- do not include this header file for non-PA builds.
|
/linux-master/drivers/scsi/megaraid/ |
H A D | megaraid_sas_debugfs.c | 48 megasas_debugfs_read(struct file *filp, char __user *ubuf, size_t cnt, 60 megasas_debugfs_raidmap_open(struct inode *inode, struct file *file) argument 74 file->private_data = debug; 80 megasas_debugfs_release(struct inode *inode, struct file *file) argument 82 struct megasas_debug_buffer *debug = file->private_data; 87 file->private_data = NULL; 149 "Cannot create raidmap debugfs file\n");
|
/linux-master/arch/sh/mm/ |
H A D | tlb-debugfs.c | 8 * This file is subject to the terms and conditions of the GNU General Public 9 * License. See the file "COPYING" in the main directory of this archive 39 static int tlb_seq_show(struct seq_file *file, void *iter) argument 41 unsigned int tlb_type = (unsigned int)file->private; 50 seq_printf(file, "address translation disabled\n"); 91 seq_printf(file, "entry: vpn ppn asid size valid wired\n"); 125 seq_printf(file, "%2d: 0x%08lx 0x%08lx %5lu %s %s %s\n", 137 static int tlb_debugfs_open(struct inode *inode, struct file *file) argument 139 return single_open(file, tlb_seq_sho [all...] |
/linux-master/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_debugfs.c | 36 * @ppos: Offset in the file 40 _debugfs_iocdump_read(struct file *filp, char __user *ubuf, size_t cnt, 53 * _debugfs_iocdump_open : open the ioc_dump debugfs attribute file 56 _debugfs_iocdump_open(struct inode *inode, struct file *file) argument 67 file->private_data = debug; 74 * @file: File pointer 77 _debugfs_iocdump_release(struct inode *inode, struct file *file) argument 79 struct mpt3sas_debugfs_buffer *debug = file [all...] |
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-ioctl.c | 309 static int ivtv_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) argument 331 static int ivtv_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument 354 static int ivtv_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument 372 static int ivtv_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) 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) argument 457 ivtv_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) argument 462 ivtv_try_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument 485 ivtv_try_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument 490 ivtv_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument 511 ivtv_try_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt) argument 545 ivtv_try_fmt_vid_out_overlay(struct file *file, void *fh, struct v4l2_format *fmt) argument 562 ivtv_s_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) argument 567 ivtv_s_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument 598 ivtv_s_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument 610 ivtv_s_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument 629 ivtv_s_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt) argument 674 ivtv_s_fmt_vid_out_overlay(struct file *file, void *fh, struct v4l2_format *fmt) argument 711 ivtv_g_register(struct file *file, void *fh, struct v4l2_dbg_register *reg) argument 719 ivtv_s_register(struct file *file, void *fh, const struct v4l2_dbg_register *reg) argument 728 ivtv_querycap(struct file *file, void *fh, struct v4l2_capability *vcap) argument 739 ivtv_enumaudio(struct file *file, void *fh, struct v4l2_audio *vin) argument 746 ivtv_g_audio(struct file *file, void *fh, struct v4l2_audio *vin) argument 754 ivtv_s_audio(struct file *file, void *fh, const struct v4l2_audio *vout) argument 767 ivtv_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vin) argument 775 ivtv_g_audout(struct file *file, void *fh, struct v4l2_audioout *vin) argument 783 ivtv_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout) argument 792 ivtv_enum_input(struct file *file, void *fh, struct v4l2_input *vin) argument 800 ivtv_enum_output(struct file *file, void *fh, struct v4l2_output *vout) argument 807 ivtv_g_pixelaspect(struct file *file, void *fh, int type, struct v4l2_fract *f) argument 825 ivtv_s_selection(struct file *file, void *fh, struct v4l2_selection *sel) argument 868 ivtv_g_selection(struct file *file, void *fh, struct v4l2_selection *sel) argument 914 ivtv_enum_fmt_vid_cap(struct file *file, void *fh, struct v4l2_fmtdesc *fmt) argument 941 ivtv_enum_fmt_vid_out(struct file *file, void *fh, struct v4l2_fmtdesc *fmt) argument 968 ivtv_g_input(struct file *file, void *fh, unsigned int *i) argument 977 ivtv_s_input(struct file *file, void *fh, unsigned int inp) argument 1020 ivtv_g_output(struct file *file, void *fh, unsigned int *i) argument 1032 ivtv_s_output(struct file *file, void *fh, unsigned int outp) argument 1054 ivtv_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf) argument 1068 ivtv_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf) argument 1085 ivtv_g_std(struct file *file, void *fh, v4l2_std_id *std) argument 1158 ivtv_s_std(struct file *file, void *fh, v4l2_std_id std) argument 1186 ivtv_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt) argument 1199 ivtv_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) argument 1215 ivtv_g_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_sliced_vbi_cap *cap) argument 1250 ivtv_g_enc_index(struct file *file, void *fh, struct v4l2_enc_idx *idx) argument 1276 ivtv_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *enc) argument 1328 ivtv_try_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *enc) argument 1358 ivtv_g_fbuf(struct file *file, void *fh, struct v4l2_framebuffer *fb) argument 1445 ivtv_s_fbuf(struct file *file, void *fh, const struct v4l2_framebuffer *fb) argument 1466 ivtv_overlay(struct file *file, void *fh, unsigned int on) argument 1493 ivtv_log_status(struct file *file, void *fh) argument 1585 ivtv_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *dec) argument 1594 ivtv_try_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *dec) argument 1645 ivtv_default(struct file *file, void *fh, bool valid_prio, unsigned int cmd, void *arg) argument [all...] |
/linux-master/drivers/bluetooth/ |
H A D | btmrvl_debugfs.c | 21 static ssize_t btmrvl_hscfgcmd_write(struct file *file, argument 24 struct btmrvl_private *priv = file->private_data; 41 static ssize_t btmrvl_hscfgcmd_read(struct file *file, char __user *userbuf, argument 44 struct btmrvl_private *priv = file->private_data; 61 static ssize_t btmrvl_pscmd_write(struct file *file, const char __user *ubuf, argument 64 struct btmrvl_private *priv = file->private_data; 82 static ssize_t btmrvl_pscmd_read(struct file *fil argument 101 btmrvl_hscmd_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument 120 btmrvl_hscmd_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | pkt_access.c | 7 const char *file = "./test_pkt_access.bpf.o"; local 16 err = bpf_prog_test_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd);
|
H A D | xdp_perf.c | 6 const char *file = "./xdp_dummy.bpf.o"; local 18 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd);
|
/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_mman.h | 16 struct file; 21 int i915_gem_mmap(struct file *filp, struct vm_area_struct *vma);
|
/linux-master/fs/orangefs/ |
H A D | file.c | 10 * Linux VFS file operations. 52 int *index_return, struct file *file) 98 * Orangefs has no open, and orangefs checks file permissions 99 * on each file access. Posix requires that file permissions 104 * method. We can see if a file was successfully opened for 105 * read and or for write by looking at file->f_mode. 107 * When writes are flowing from the page cache, file is no 109 * file 49 wait_for_direct_io(enum ORANGEFS_io_type type, struct inode *inode, loff_t *offset, struct iov_iter *iter, size_t total_size, loff_t readahead_size, struct orangefs_write_range *wr, int *index_return, struct file *file) argument 378 struct file *file = vmf->vma->vm_file; local 401 orangefs_file_mmap(struct file *file, struct vm_area_struct *vma) argument 428 orangefs_file_release(struct inode *inode, struct file *file) argument 456 orangefs_fsync(struct file *file, loff_t start, loff_t end, int datasync) argument 497 orangefs_file_llseek(struct file *file, loff_t offset, int origin) argument 552 orangefs_flush(struct file *file, fl_owner_t id) argument [all...] |
/linux-master/drivers/gpu/drm/loongson/ |
H A D | lsdc_gem.h | 17 int lsdc_dumb_map_offset(struct drm_file *file, 22 int lsdc_dumb_create(struct drm_file *file,
|
/linux-master/fs/proc/ |
H A D | task_nommu.c | 4 #include <linux/file.h> 125 * display a single VMA to a sequenced file 131 struct file *file; local 137 file = vma->vm_file; 139 if (file) { 158 if (file) { 160 seq_path(m, file_user_path(file), ""); 252 static int maps_open(struct inode *inode, struct file *file, argument 274 map_release(struct inode *inode, struct file *file) argument 285 pid_maps_open(struct inode *inode, struct file *file) argument [all...] |
/linux-master/fs/debugfs/ |
H A D | file.c | 3 * file.c - part of debugfs, a tiny little debug file system 29 static ssize_t default_read_file(struct file *file, char __user *buf, argument 35 static ssize_t default_write_file(struct file *file, const char __user *buf, argument 50 const struct file_operations *debugfs_real_fops(const struct file *filp) 68 * debugfs_file_get - mark the beginning of file data access 72 * into the file removing functions debugfs_remove() and 74 * file dat 175 debugfs_enter_cancellation(struct file *file, struct debugfs_cancellation *cancellation) argument 212 debugfs_leave_cancellation(struct file *file, struct debugfs_cancellation *cancellation) argument 458 debugfs_attr_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument 473 debugfs_attr_write_xsigned(struct file *file, const char __user *buf, size_t len, loff_t *ppos, bool is_signed) argument 490 debugfs_attr_write(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument 497 debugfs_attr_write_signed(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument 875 debugfs_read_file_bool(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 898 debugfs_write_file_bool(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 960 debugfs_read_file_str(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 996 debugfs_write_file_str(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1087 read_file_blob(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1103 write_file_blob(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1177 u32_array_open(struct inode *inode, struct file *file) argument 1200 u32_array_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument 1209 u32_array_release(struct inode *inode, struct file *file) argument [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.h | 14 int write_cgroup_file(const char *relative_path, const char *file, 16 int write_cgroup_file_parent(const char *relative_path, const char *file,
|
/linux-master/tools/testing/selftests/ftrace/test.d/00basic/ |
H A D | test_ownership.tc | 3 # description: Test file and directory ownership changes for eventfs 26 file=$1 29 owner=`stat -c "%u" $file` 30 group=`stat -c "%g" $file` 32 echo "testing $file $owner=$original_owner and $group=$test_group" 41 echo "test owner $file to $other_owner" 42 chown $other_owner $file 43 owner=`stat -c "%u" $file` 48 chown $original_owner $file 49 owner=`stat -c "%u" $file` [all...] |
/linux-master/fs/bcachefs/ |
H A D | thread_with_file.c | 8 #include <linux/file.h> 26 struct file *file = NULL; local 51 file = anon_inode_getfile(name, fops, thr, fd_flags); 52 ret = PTR_ERR_OR_ZERO(file); 58 fd_install(fd, file); 109 static ssize_t thread_with_stdio_read(struct file *file, char __user *ubuf, argument 113 container_of(file->private_data, struct thread_with_stdio, thr); 118 if (!(file 149 thread_with_stdio_release(struct inode *inode, struct file *file) argument 162 thread_with_stdio_write(struct file *file, const char __user *ubuf, size_t len, loff_t *ppos) argument 215 thread_with_stdio_poll(struct file *file, struct poll_table_struct *wait) argument 234 thread_with_stdout_poll(struct file *file, struct poll_table_struct *wait) argument 250 thread_with_stdio_flush(struct file *file, fl_owner_t id) argument 258 thread_with_stdio_ioctl(struct file *file, unsigned int cmd, unsigned long p) argument [all...] |
/linux-master/tools/bpf/bpftool/skeleton/ |
H A D | pid_iter.bpf.c | 20 struct file *perf_file; 68 struct file *file = ctx->file; local 73 if (!file || !task) 93 if (file->f_op != fops) 98 e.id = get_obj_id(file->private_data, obj_type); 103 struct bpf_link *link = (struct bpf_link *) file->private_data;
|
/linux-master/scripts/ |
H A D | check-variable-fonts.sh | 95 notocjkvffonts=`fc-list : file family variable | \
|
/linux-master/drivers/gpu/drm/lima/ |
H A D | lima_drv.h | 48 to_lima_drm_priv(struct drm_file *file) argument 50 return file->driver_priv;
|
/linux-master/sound/core/ |
H A D | info.c | 102 * file ops for binary proc files 104 static loff_t snd_info_entry_llseek(struct file *file, loff_t offset, int orig) argument 110 data = file->private_data; 116 file, offset, orig); 123 offset += file->f_pos; 137 file->f_pos = offset; 141 static ssize_t snd_info_entry_read(struct file *file, char __user *buffer, argument 144 struct snd_info_private_data *data = file 163 snd_info_entry_write(struct file *file, const char __user *buffer, size_t count, loff_t * offset) argument 185 snd_info_entry_poll(struct file *file, poll_table *wait) argument 202 snd_info_entry_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 214 snd_info_entry_mmap(struct file *file, struct vm_area_struct *vma) argument 230 snd_info_entry_open(struct inode *inode, struct file *file) argument 263 snd_info_entry_release(struct inode *inode, struct file *file) argument 291 snd_info_text_entry_write(struct file *file, const char __user *buffer, size_t count, loff_t *offset) argument 347 snd_info_text_entry_open(struct inode *inode, struct file *file) argument 379 snd_info_text_entry_release(struct inode *inode, struct file *file) argument [all...] |