/linux-master/fs/proc/ |
H A D | cpuinfo.c | 10 static int cpuinfo_open(struct inode *inode, struct file *file) argument 12 return seq_open(file, &cpuinfo_op);
|
/linux-master/arch/um/drivers/ |
H A D | mmapper_kern.c | 29 static ssize_t mmapper_read(struct file *file, char __user *buf, size_t count, argument 35 static ssize_t mmapper_write(struct file *file, const char __user *buf, argument 44 static long mmapper_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 49 static int mmapper_mmap(struct file *file, struct vm_area_struct *vma) argument 73 static int mmapper_open(struct inode *inode, struct file *file) argument 78 mmapper_release(struct inode *inode, struct file *file) argument [all...] |
H A D | harddog_kern.c | 64 static int harddog_open(struct inode *inode, struct file *file) argument 87 return stream_open(inode, file); 94 static int harddog_release(struct inode *inode, struct file *file) argument 112 static ssize_t harddog_write(struct file *file, const char __user *data, size_t len, argument 123 static int harddog_ioctl_unlocked(struct file *file, argument 147 static long harddog_ioctl(struct file *fil argument [all...] |
/linux-master/security/landlock/ |
H A D | fs.h | 42 * This information is populated when opening a file in hook_file_open, and 44 * of opening the file. Other LSM hooks use these rights in order to authorize 50 * opening the file. This is not necessarily the full set of access 52 * needed to authorize later operations on the open file. 72 landlock_file(const struct file *const file) argument 74 return file->f_security + landlock_blob_sizes.lbs_file;
|
/linux-master/tools/objtool/ |
H A D | sync-check.sh | 48 file=$1 52 check_2 tools/$file $file $*
|
/linux-master/fs/ramfs/ |
H A D | file-mmu.c | 0 /* file-mmu.c: ramfs MMU-based file operations 9 * This file is released under the GPL. 18 * that this file implements the full semantics of 34 static unsigned long ramfs_mmu_get_unmapped_area(struct file *file, argument 38 return current->mm->get_unmapped_area(file, addr, len, pgoff, flags);
|
/linux-master/security/integrity/ |
H A D | iint.c | 18 * integrity_kernel_read - read data from the file 20 * This is a function for reading file content instead of kernel_read(). 25 int integrity_kernel_read(struct file *file, loff_t offset, argument 28 return __kernel_read(file, addr, count, &offset);
|
/linux-master/virt/kvm/ |
H A D | guest_memfd.c | 171 static long kvm_gmem_fallocate(struct file *file, int mode, loff_t offset, argument 186 ret = kvm_gmem_punch_hole(file_inode(file), offset, len); 188 ret = kvm_gmem_allocate(file_inode(file), offset, len); 191 file_modified(file); 195 static int kvm_gmem_release(struct inode *inode, struct file *file) argument 197 struct kvm_gmem *gmem = file->private_data; 204 * reference to the file and thus no new bindings can be created, but 214 rcu_assign_pointer(slot->gmem.file, NUL 332 struct file *file; local 404 struct file *file; local 464 struct file *file; local 492 struct file *file; local [all...] |
/linux-master/kernel/trace/ |
H A D | trace_events_trigger.c | 33 * @file: The trace_event_file associated with the event 58 event_triggers_call(struct trace_event_file *file, argument 66 if (list_empty(&file->triggers)) 69 list_for_each_entry_rcu(data, &file->triggers, list) { 89 bool __trace_trigger_soft_disabled(struct trace_event_file *file) argument 91 unsigned long eflags = file->flags; 94 event_triggers_call(file, NULL, NULL, NULL); 98 return trace_event_ignore_this_pid(file); 105 * @file: The trace_event_file associated with the event 116 event_triggers_post_call(struct trace_event_file *file, argument 143 check_user_trigger(struct trace_event_file *file) argument 206 event_trigger_regex_open(struct inode *inode, struct file *file) argument 247 trigger_process_regex(struct trace_event_file *file, char *buff) argument 275 event_trigger_regex_write(struct file *file, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 315 event_trigger_regex_release(struct inode *inode, struct file *file) argument 342 event_trigger_release(struct inode *inode, struct file *file) argument 473 trace_event_trigger_enable_disable(struct trace_event_file *file, int trigger_enable) argument 509 struct trace_event_file *file; local 532 update_cond_flag(struct trace_event_file *file) argument 566 register_trigger(char *glob, struct event_trigger_data *data, struct trace_event_file *file) argument 603 try_unregister_trigger(char *glob, struct event_trigger_data *test, struct trace_event_file *file) argument 642 unregister_trigger(char *glob, struct event_trigger_data *test, struct trace_event_file *file) argument 913 event_trigger_set_filter(struct event_command *cmd_ops, struct trace_event_file *file, char *param, struct event_trigger_data *trigger_data) argument 950 event_trigger_register(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, struct event_trigger_data *trigger_data) argument 968 event_trigger_unregister(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, struct event_trigger_data *trigger_data) argument 997 event_trigger_parse(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, char *cmd, char *param_and_filter) argument 1066 set_trigger_filter(char *filter_str, struct event_trigger_data *trigger_data, struct trace_event_file *file) argument 1286 struct trace_event_file *file = data->private_data; local 1307 struct trace_event_file *file = data->private_data; local 1334 struct trace_event_file *file = data->private_data; local 1355 struct trace_event_file *file = data->private_data; local 1462 struct trace_event_file *file = data->private_data; local 1485 register_snapshot_trigger(char *glob, struct event_trigger_data *data, struct trace_event_file *file) argument 1500 unregister_snapshot_trigger(char *glob, struct event_trigger_data *data, struct trace_event_file *file) argument 1581 struct trace_event_file *file = data->private_data; local 1763 event_enable_trigger_parse(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, char *cmd, char *param_and_filter) argument 1872 event_enable_register_trigger(char *glob, struct event_trigger_data *data, struct trace_event_file *file) argument 1912 event_enable_unregister_trigger(char *glob, struct event_trigger_data *test, struct trace_event_file *file) argument [all...] |
/linux-master/drivers/media/radio/wl128x/ |
H A D | fmdrv_v4l2.c | 4 * This file provides interfaces to V4L2 subsystem. 29 /* -- V4L2 RADIO (/dev/radioX) device file operation interfaces --- */ 32 static ssize_t fm_v4l2_fops_read(struct file *file, char __user * buf, argument 39 fmdev = video_drvdata(file); 65 ret = fmc_transfer_rds_from_internal_buff(fmdev, file, buf, count); 72 static ssize_t fm_v4l2_fops_write(struct file *file, const char __user * buf, argument 86 fmdev = video_drvdata(file); 96 static __poll_t fm_v4l2_fops_poll(struct file *fil argument 115 fm_v4l2_fops_open(struct file *file) argument 150 fm_v4l2_fops_release(struct file *file) argument 181 fm_v4l2_vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *capability) argument 232 fm_v4l2_vidioc_g_audio(struct file *file, void *priv, struct v4l2_audio *audio) argument 242 fm_v4l2_vidioc_s_audio(struct file *file, void *priv, const struct v4l2_audio *audio) argument 252 fm_v4l2_vidioc_g_tuner(struct file *file, void *priv, struct v4l2_tuner *tuner) argument 315 fm_v4l2_vidioc_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *tuner) argument 353 fm_v4l2_vidioc_g_freq(struct file *file, void *priv, struct v4l2_frequency *freq) argument 372 fm_v4l2_vidioc_s_freq(struct file *file, void *priv, const struct v4l2_frequency *freq) argument 385 fm_v4l2_vidioc_s_hw_freq_seek(struct file *file, void *priv, const struct v4l2_hw_freq_seek *seek) argument 410 fm_v4l2_vidioc_g_modulator(struct file *file, void *priv, struct v4l2_modulator *mod) argument 433 fm_v4l2_vidioc_s_modulator(struct file *file, void *priv, const struct v4l2_modulator *mod) argument [all...] |
/linux-master/fs/adfs/ |
H A D | Makefile | 8 adfs-objs := dir.o dir_f.o dir_fplus.o file.o inode.o map.o super.o
|
/linux-master/fs/configfs/ |
H A D | Makefile | 8 configfs-objs := inode.o file.o dir.o symlink.o mount.o item.o
|
/linux-master/fs/efs/ |
H A D | Makefile | 8 efs-objs := super.o inode.o namei.o dir.o file.o symlink.o
|
/linux-master/fs/minix/ |
H A D | Makefile | 8 minix-objs := bitmap.o itree_v1.o itree_v2.o namei.o inode.o file.o dir.o
|
/linux-master/include/media/i2c/ |
H A D | saa6588.h | 21 struct file *instance;
|
/linux-master/fs/vboxsf/ |
H A D | Makefile | 5 vboxsf-y := dir.o file.o utils.o vboxsf_wrappers.o super.o
|
/linux-master/drivers/net/wireless/purelifi/plfxlc/ |
H A D | firmware.c | 46 dev_dbg(&intf->dev, "bin file for X selected\n"); 53 dev_dbg(&intf->dev, "bin file for XC selected\n"); 147 struct plfxlc_firmware_file file = {0}; local 160 /* Code for single pack file download */ 169 file.total_files = get_unaligned_le32(&fwp->data[0]); 170 file.total_size = get_unaligned_le32(&fwp->size); 173 file.total_files, file.total_size); 181 if (file.total_files > 10) { 182 dev_err(&intf->dev, "Too many files (%d)\n", file [all...] |
/linux-master/include/linux/ |
H A D | coredump.h | 16 struct file *file; member in struct:core_vma_metadata 21 struct file *file; member in struct:coredump_params 34 * These are the only things you should do on a core-file: use only these
|
H A D | io_uring.h | 15 bool io_is_uring_fops(struct file *file); 53 static inline bool io_is_uring_fops(struct file *file) argument
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth-debugfs.c | 14 static int dpaa2_dbg_cpu_show(struct seq_file *file, void *offset) argument 16 struct dpaa2_eth_priv *priv = (struct dpaa2_eth_priv *)file->private; 21 seq_printf(file, "Per-CPU stats for %s\n", priv->net_dev->name); 22 seq_printf(file, "%s%16s%16s%16s%16s%16s%16s%16s%16s%16s\n", 29 seq_printf(file, "%3d%16llu%16llu%16llu%16llu%16llu%16llu%16llu%16llu%16llu\n", 59 static int dpaa2_dbg_fqs_show(struct seq_file *file, void *offset) argument 61 struct dpaa2_eth_priv *priv = (struct dpaa2_eth_priv *)file->private; 66 seq_printf(file, "FQ stats for %s:\n", priv->net_dev->name); 67 seq_printf(file, "%s%16s%16s%16s%16s%16s\n", 80 seq_printf(file, " 94 dpaa2_dbg_ch_show(struct seq_file *file, void *offset) argument 122 dpaa2_dbg_bp_show(struct seq_file *file, void *offset) argument [all...] |
/linux-master/tools/testing/selftests/damon/ |
H A D | huge_count_read_write.c | 18 void write_read_with_huge_count(char *file) argument 20 int filedesc = open(file, O_RDWR); 24 printf("%s %s\n", __func__, file); 26 fprintf(stderr, "failed opening %s\n", file); 42 fprintf(stderr, "Usage: %s <file>\n", argv[0]);
|
/linux-master/fs/zonefs/ |
H A D | Makefile | 6 zonefs-y := super.o file.o sysfs.o
|
/linux-master/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_g2d.h | 15 extern int g2d_open(struct drm_device *drm_dev, struct drm_file *file); 16 extern void g2d_close(struct drm_device *drm_dev, struct drm_file *file); 37 static inline int g2d_open(struct drm_device *drm_dev, struct drm_file *file) argument 42 static inline void g2d_close(struct drm_device *drm_dev, struct drm_file *file) argument
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_debugfs.c | 8 struct seq_file *file) 10 struct mt792x_dev *dev = file->private; 25 seq_puts(file, "\nPhy0\n"); 27 seq_printf(file, "Length: %8d | ", bound[0]); 29 seq_printf(file, "%3d %3d | ", bound[i] + 1, bound[i + 1]); 31 seq_puts(file, "\nCount: "); 33 seq_printf(file, "%8d | ", phy->mt76->aggr_stats[i]); 34 seq_puts(file, "\n"); 36 seq_printf(file, "BA miss count: %d\n", phy->mib.ba_miss_cnt); 39 int mt792x_tx_stats_show(struct seq_file *file, voi argument 7 mt792x_ampdu_stat_read_phy(struct mt792x_phy *phy, struct seq_file *file) argument [all...] |
/linux-master/drivers/tty/ |
H A D | n_null.c | 13 static ssize_t n_null_read(struct tty_struct *tty, struct file *file, u8 *buf, argument 19 static ssize_t n_null_write(struct tty_struct *tty, struct file *file, argument
|