| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | fsnotify.h | 83 static inline int fsnotify_file(struct file *file, __u32 mask) in fsnotify_file() argument 85 const struct path *path = &file->f_path; in fsnotify_file() 87 if (file->f_mode & FMODE_NONOTIFY) in fsnotify_file() 94 static inline int fsnotify_perm(struct file *file, int mask) in fsnotify_perm() argument 105 if (file->f_flags & __FMODE_EXEC) { in fsnotify_perm() 106 ret = fsnotify_file(file, FS_OPEN_EXEC_PERM); in fsnotify_perm() 115 return fsnotify_file(file, fsnotify_mask); in fsnotify_perm() 281 static inline void fsnotify_access(struct file *file) in fsnotify_access() argument 283 fsnotify_file(file, FS_ACCESS); in fsnotify_access() 289 static inline void fsnotify_modify(struct file *file) in fsnotify_modify() argument [all …]
|
| H A D | seq_file.h | 27 const struct file *file; member 108 int seq_open(struct file *, const struct seq_operations *); 109 ssize_t seq_read(struct file *, char __user *, size_t, loff_t *); 111 loff_t seq_lseek(struct file *, loff_t, int); 112 int seq_release(struct inode *, struct file *); 137 int seq_file_path(struct seq_file *, struct file *, const char *); 142 int single_open(struct file *, int (*)(struct seq_file *, void *), void *); 143 int single_open_size(struct file *, int (*)(struct seq_file *, void *), void *, size_t); 144 int single_release(struct inode *, struct file *); 145 void *__seq_open_private(struct file *, const struct seq_operations *, int); [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/grub/ |
| H A D | grub2.inc | 12 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 17 file://0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch \ 18 file://autogen.sh-exclude-pc.patch \ 19 file://grub-module-explicitly-keeps-symbole-.module_license.patch \ 20 file://0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch \ 21 file://determinism.patch \ 22 file://0001-RISC-V-Restore-the-typcast-to-long.patch \ 23 file://CVE-2021-3981-grub-mkconfig-Restore-umask-for-the-grub.cfg.patch \ 24 file://0001-configure.ac-Use-_zicsr_zifencei-extentions-on-riscv.patch \ 25 file://video-Remove-trailing-whitespaces.patch \ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/media/ |
| H A D | v4l2-fh.rst | 6 struct v4l2_fh provides a way to easily keep file handle specific 15 whether a driver uses :c:type:`v4l2_fh` as its ``file->private_data`` pointer 19 struct v4l2_fh is allocated as a part of the driver's own file handle 20 structure and ``file->private_data`` is set to it in the driver's ``open()`` 29 Drivers can extract their own file handle structure by using the container_of 43 int my_open(struct file *file) 59 file->private_data = &my_fh->fh; 64 int my_release(struct file *file) 66 struct v4l2_fh *fh = file->private_data; 82 - Initialise the file handle. This **MUST** be performed in the driver's [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/ttpci/ |
| H A D | av7110_ca.c | 107 static int ci_ll_reset(struct dvb_ringbuffer *cibuf, struct file *file, in ci_ll_reset() argument 133 static ssize_t ci_ll_write(struct dvb_ringbuffer *cibuf, struct file *file, in ci_ll_write() argument 137 int non_blocking = file->f_flags & O_NONBLOCK; in ci_ll_write() 172 static ssize_t ci_ll_read(struct dvb_ringbuffer *cibuf, struct file *file, in ci_ll_read() argument 176 int non_blocking = file->f_flags & O_NONBLOCK; in ci_ll_read() 198 static int dvb_ca_open(struct inode *inode, struct file *file) in dvb_ca_open() argument 200 struct dvb_device *dvbdev = file->private_data; in dvb_ca_open() 202 int err = dvb_generic_open(inode, file); in dvb_ca_open() 212 static __poll_t dvb_ca_poll (struct file *file, poll_table *wait) in dvb_ca_poll() argument 214 struct dvb_device *dvbdev = file->private_data; in dvb_ca_poll() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/gdb/ |
| H A D | gdb.inc | 2 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ 3 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ 4 file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ 5 file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674" 8 file://0001-make-man-install-relative-to-DESTDIR.patch \ 9 file://0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \ 10 file://0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \ 11 file://0005-Dont-disable-libreadline.a-when-using-disable-static.patch \ 12 file://0006-use-asm-sgidefs.h.patch \ 13 file://0007-Change-order-of-CFLAGS.patch \ [all …]
|
| /OK3568_Linux_fs/kernel/tools/objtool/ |
| H A D | objtool.c | 45 static struct objtool_file file; variable 54 return &file; in objtool_open_read() 58 file.elf = elf_open_read(objname, O_RDWR); in objtool_open_read() 59 if (!file.elf) in objtool_open_read() 62 INIT_LIST_HEAD(&file.insn_list); in objtool_open_read() 63 hash_init(file.insn_hash); in objtool_open_read() 64 INIT_LIST_HEAD(&file.retpoline_call_list); in objtool_open_read() 65 INIT_LIST_HEAD(&file.return_thunk_list); in objtool_open_read() 66 INIT_LIST_HEAD(&file.static_call_list); in objtool_open_read() 67 INIT_LIST_HEAD(&file.mcount_loc_list); in objtool_open_read() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | acct.c | 90 struct file *file; member 109 if (vfs_statfs(&acct->file->f_path, &sbuf)) in check_free_space() 186 struct file *file = acct->file; in close_work() local 187 if (file->f_op->flush) in close_work() 188 file->f_op->flush(file, NULL); in close_work() 189 __fput_sync(file); in close_work() 195 struct file *file; in acct_on() local 207 file = file_open_name(pathname, O_WRONLY|O_APPEND|O_LARGEFILE, 0); in acct_on() 208 if (IS_ERR(file)) { in acct_on() 210 return PTR_ERR(file); in acct_on() [all …]
|
| /OK3568_Linux_fs/kernel/fs/incfs/ |
| H A D | pseudo_files.c | 38 static ssize_t pending_reads_read(struct file *f, char __user *buf, size_t len, in pending_reads_read() 106 static __poll_t pending_reads_poll(struct file *file, poll_table *wait) in pending_reads_poll() argument 108 struct pending_reads_state *state = file->private_data; in pending_reads_poll() 109 struct mount_info *mi = get_mount_info(file_superblock(file)); in pending_reads_poll() 112 poll_wait(file, &mi->mi_pending_reads_notif_wq, wait); in pending_reads_poll() 120 static int pending_reads_open(struct inode *inode, struct file *file) in pending_reads_open() argument 128 file->private_data = state; in pending_reads_open() 132 static int pending_reads_release(struct inode *inode, struct file *file) in pending_reads_release() argument 134 kfree(file->private_data); in pending_reads_release() 138 static long ioctl_permit_fill(struct file *f, void __user *arg) in ioctl_permit_fill() [all …]
|
| /OK3568_Linux_fs/kernel/fs/hfsplus/ |
| H A D | ioctl.c | 27 static int hfsplus_ioctl_bless(struct file *file, int __user *user_flags) in hfsplus_ioctl_bless() argument 29 struct dentry *dentry = file->f_path.dentry; in hfsplus_ioctl_bless() 74 static int hfsplus_ioctl_getflags(struct file *file, int __user *user_flags) in hfsplus_ioctl_getflags() argument 76 struct inode *inode = file_inode(file); in hfsplus_ioctl_getflags() 82 static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags) in hfsplus_ioctl_setflags() argument 84 struct inode *inode = file_inode(file); in hfsplus_ioctl_setflags() 90 err = mnt_want_write_file(file); in hfsplus_ioctl_setflags() 135 mnt_drop_write_file(file); in hfsplus_ioctl_setflags() 140 long hfsplus_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in hfsplus_ioctl() argument 146 return hfsplus_ioctl_getflags(file, argp); in hfsplus_ioctl() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-driver-ufs | 5 This file contains the auto-hibernate idle timer setting of a 18 Description: This file shows the device type. This is one of the UFS 22 The file is read only. 27 Description: This file shows the device class. This is one of the UFS 31 The file is read only. 36 Description: This file shows the UFS storage subclass. This is one of 40 The file is read only. 45 Description: This file shows the protocol supported by an UFS device. 50 The file is read only. 55 Description: This file shows number of logical units. This is one of [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/radio/si470x/ |
| H A D | radio-si470x-common.c | 459 static ssize_t si470x_fops_read(struct file *file, char __user *buf, in si470x_fops_read() argument 462 struct si470x_device *radio = video_drvdata(file); in si470x_fops_read() 472 if (file->f_flags & O_NONBLOCK) { in si470x_fops_read() 515 static __poll_t si470x_fops_poll(struct file *file, in si470x_fops_poll() argument 518 struct si470x_device *radio = video_drvdata(file); in si470x_fops_poll() 520 __poll_t retval = v4l2_ctrl_poll(file, pts); in si470x_fops_poll() 527 poll_wait(file, &radio->read_queue, pts); in si470x_fops_poll() 537 static int si470x_fops_open(struct file *file) in si470x_fops_open() argument 539 struct si470x_device *radio = video_drvdata(file); in si470x_fops_open() 541 return radio->fops_open(file); in si470x_fops_open() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/oprofile/ |
| H A D | oprofile_files.c | 30 static ssize_t timeout_read(struct file *file, char __user *buf, in timeout_read() argument 38 static ssize_t timeout_write(struct file *file, char const __user *buf, in timeout_write() argument 68 static ssize_t depth_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in depth_read() argument 75 static ssize_t depth_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in depth_write() argument 105 static ssize_t pointer_size_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in pointer_size_read() argument 117 static ssize_t cpu_type_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in cpu_type_read() argument 129 static ssize_t enable_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in enable_read() argument 135 static ssize_t enable_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in enable_write() argument 166 static ssize_t dump_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in dump_write() argument
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/libtool/ |
| H A D | libtool-2.4.7.inc | 8 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 9 file://libltdl/COPYING.LIB;md5=4fbd65380cdd255951079008b364516c " 12 file://0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch \ 13 file://0002-libtool.m4-Rename-the-with-sysroot-option-to-avoid-c.patch \ 14 file://0003-ltmain.in-Add-missing-sysroot-to-library-path.patch \ 15 file://0004-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch \ 16 file://0005-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch \ 17 file://dont-depend-on-help2man.patch \ 18 file://0006-libtool.m4-Handle-as-a-sysroot-correctly.patch \ 19 file://nohardcodepaths.patch \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlegacy/ |
| H A D | debug.c | 123 static ssize_t il_dbgfs_##name##_read(struct file *file, \ 128 static ssize_t il_dbgfs_##name##_write(struct file *file, \ 200 il_dbgfs_tx_stats_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_tx_stats_read() argument 204 struct il_priv *il = file->private_data; in il_dbgfs_tx_stats_read() 240 il_dbgfs_clear_traffic_stats_write(struct file *file, in il_dbgfs_clear_traffic_stats_write() argument 244 struct il_priv *il = file->private_data; in il_dbgfs_clear_traffic_stats_write() 261 il_dbgfs_rx_stats_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_rx_stats_read() argument 265 struct il_priv *il = file->private_data; in il_dbgfs_rx_stats_read() 305 il_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_sram_read() argument 313 struct il_priv *il = file->private_data; in il_dbgfs_sram_read() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/glibc/ |
| H A D | ldconfig-native_2.12.1.bb | 5 LIC_FILES_CHKSUM = "file://${S}/ldconfig.c;endline=17;md5=1d15f20937c055cb5de2329a4c054399" 7 SRC_URI = "file://ldconfig-native-2.12.1.tar.bz2 \ 8 file://ldconfig.patch \ 9 file://ldconfig_aux-cache_path_fix.patch \ 10 file://32and64bit.patch \ 11 file://endian-ness_handling.patch \ 12 file://flag_fix.patch \ 13 file://endianess-header.patch \ 14 file://ldconfig-default-to-all-multilib-dirs.patch \ 15 file://endian-ness_handling_fix.patch \ [all …]
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | libfs.c | 79 int dcache_dir_open(struct inode *inode, struct file *file) in dcache_dir_open() argument 81 file->private_data = d_alloc_cursor(file->f_path.dentry); in dcache_dir_open() 83 return file->private_data ? 0 : -ENOMEM; in dcache_dir_open() 87 int dcache_dir_close(struct inode *inode, struct file *file) in dcache_dir_close() argument 89 dput(file->private_data); in dcache_dir_close() 136 loff_t dcache_dir_lseek(struct file *file, loff_t offset, int whence) in dcache_dir_lseek() argument 138 struct dentry *dentry = file->f_path.dentry; in dcache_dir_lseek() 141 offset += file->f_pos; in dcache_dir_lseek() 150 if (offset != file->f_pos) { in dcache_dir_lseek() 151 struct dentry *cursor = file->private_data; in dcache_dir_lseek() [all …]
|
| H A D | sync.c | 169 if (!f.file) in SYSCALL_DEFINE1() 171 sb = f.file->f_path.dentry->d_sb; in SYSCALL_DEFINE1() 177 ret2 = errseq_check_and_advance(&sb->s_wb_err, &f.file->f_sb_err); in SYSCALL_DEFINE1() 194 int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync) in vfs_fsync_range() argument 196 struct inode *inode = file->f_mapping->host; in vfs_fsync_range() 198 if (!file->f_op->fsync) in vfs_fsync_range() 202 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range() 214 int vfs_fsync(struct file *file, int datasync) in vfs_fsync() argument 216 return vfs_fsync_range(file, 0, LLONG_MAX, datasync); in vfs_fsync() 225 if (f.file) { in do_fsync() [all …]
|
| /OK3568_Linux_fs/u-boot/fs/ubifs/ |
| H A D | ubifs.c | 301 static int ubifs_printdir(struct file *file, void *dirent) in ubifs_printdir() argument 307 struct inode *dir = file->f_path.dentry->d_inode; in ubifs_printdir() 310 dbg_gen("dir ino %lu, f_pos %#llx", dir->i_ino, file->f_pos); in ubifs_printdir() 312 if (file->f_pos > UBIFS_S_KEY_HASH_MASK || file->f_pos == 2) in ubifs_printdir() 319 if (file->f_pos == 1) { in ubifs_printdir() 329 file->f_pos = key_hash_flash(c, &dent->key); in ubifs_printdir() 330 file->private_data = dent; in ubifs_printdir() 333 dent = file->private_data; in ubifs_printdir() 340 dent_key_init_hash(c, &key, dir->i_ino, file->f_pos); in ubifs_printdir() 347 file->f_pos = key_hash_flash(c, &dent->key); in ubifs_printdir() [all …]
|
| /OK3568_Linux_fs/kernel/net/mac80211/ |
| H A D | debugfs.c | 35 static ssize_t name## _read(struct file *file, char __user *userbuf, \ 38 struct ieee80211_local *local = file->private_data; \ 75 static ssize_t aqm_read(struct file *file, in aqm_read() argument 80 struct ieee80211_local *local = file->private_data; in aqm_read() 116 static ssize_t aqm_write(struct file *file, in aqm_write() argument 121 struct ieee80211_local *local = file->private_data; in aqm_write() 152 static ssize_t airtime_flags_read(struct file *file, in airtime_flags_read() argument 156 struct ieee80211_local *local = file->private_data; in airtime_flags_read() 173 static ssize_t airtime_flags_write(struct file *file, in airtime_flags_write() argument 177 struct ieee80211_local *local = file->private_data; in airtime_flags_write() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/sunxi/sun4i-csi/ |
| H A D | sun4i_v4l2.c | 53 static int sun4i_csi_querycap(struct file *file, void *priv, in sun4i_csi_querycap() argument 56 struct sun4i_csi *csi = video_drvdata(file); in sun4i_csi_querycap() 66 static int sun4i_csi_enum_input(struct file *file, void *priv, in sun4i_csi_enum_input() argument 78 static int sun4i_csi_g_input(struct file *file, void *fh, in sun4i_csi_g_input() argument 86 static int sun4i_csi_s_input(struct file *file, void *fh, in sun4i_csi_s_input() argument 139 static int sun4i_csi_try_fmt_vid_cap(struct file *file, void *priv, in sun4i_csi_try_fmt_vid_cap() argument 142 struct sun4i_csi *csi = video_drvdata(file); in sun4i_csi_try_fmt_vid_cap() 149 static int sun4i_csi_s_fmt_vid_cap(struct file *file, void *priv, in sun4i_csi_s_fmt_vid_cap() argument 152 struct sun4i_csi *csi = video_drvdata(file); in sun4i_csi_s_fmt_vid_cap() 160 static int sun4i_csi_g_fmt_vid_cap(struct file *file, void *priv, in sun4i_csi_g_fmt_vid_cap() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/leds/ |
| H A D | uleds.c | 52 static int uleds_open(struct inode *inode, struct file *file) in uleds_open() argument 67 file->private_data = udev; in uleds_open() 68 stream_open(inode, file); in uleds_open() 73 static ssize_t uleds_write(struct file *file, const char __user *buffer, in uleds_write() argument 76 struct uleds_device *udev = file->private_data; in uleds_write() 131 static ssize_t uleds_read(struct file *file, char __user *buffer, size_t count, in uleds_read() argument 134 struct uleds_device *udev = file->private_data; in uleds_read() 147 } else if (!udev->new_data && (file->f_flags & O_NONBLOCK)) { in uleds_read() 161 if (!(file->f_flags & O_NONBLOCK)) in uleds_read() 170 static __poll_t uleds_poll(struct file *file, poll_table *wait) in uleds_poll() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/core/ |
| H A D | ucma.c | 79 struct file *filp; 92 struct ucma_file *file; member 128 struct ucma_file *file) in _ucma_find_context() argument 135 else if (ctx->file != file) in _ucma_find_context() 140 static struct ucma_context *ucma_get_ctx(struct ucma_file *file, int id) in ucma_get_ctx() argument 145 ctx = _ucma_find_context(id, file); in ucma_get_ctx() 163 static struct ucma_context *ucma_get_ctx_dev(struct ucma_file *file, int id) in ucma_get_ctx_dev() argument 165 struct ucma_context *ctx = ucma_get_ctx(file, id); in ucma_get_ctx_dev() 193 static struct ucma_context *ucma_alloc_ctx(struct ucma_file *file) in ucma_alloc_ctx() argument 206 ctx->file = file; in ucma_alloc_ctx() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/bash/ |
| H A D | bash_5.1.16.bb | 5 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 8 file://execute_cmd.patch \ 9 file://mkbuiltins_have_stringize.patch \ 10 file://build-tests.patch \ 11 file://test-output.patch \ 12 file://run-ptest \ 13 file://run-bash-ptests \ 14 file://fix-run-builtins.patch \ 15 file://use_aclocal.patch \ 16 file://makerace.patch \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath10k/ |
| H A D | debug.c | 149 static ssize_t ath10k_read_wmi_services(struct file *file, in ath10k_read_wmi_services() argument 153 struct ath10k *ar = file->private_data; in ath10k_read_wmi_services() 392 static int ath10k_fw_stats_open(struct inode *inode, struct file *file) in ath10k_fw_stats_open() argument 423 file->private_data = buf; in ath10k_fw_stats_open() 436 static int ath10k_fw_stats_release(struct inode *inode, struct file *file) in ath10k_fw_stats_release() argument 438 vfree(file->private_data); in ath10k_fw_stats_release() 443 static ssize_t ath10k_fw_stats_read(struct file *file, char __user *user_buf, in ath10k_fw_stats_read() argument 446 const char *buf = file->private_data; in ath10k_fw_stats_read() 460 static ssize_t ath10k_debug_fw_reset_stats_read(struct file *file, in ath10k_debug_fw_reset_stats_read() argument 464 struct ath10k *ar = file->private_data; in ath10k_debug_fw_reset_stats_read() [all …]
|