| /third_party/zlib/contrib/minizip/ |
| H A D | unzip.h | 110 /* unz_file_info contain information about a file in the zipfile */ 117 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */ 123 uLong size_file_comment; /* file comment length 2 bytes */ 126 uLong internal_fa; /* internal file attributes 2 bytes */ 127 uLong external_fa; /* external file attributes 4 bytes */ 138 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */ 144 uLong size_file_comment; /* file comment length 2 bytes */ 147 uLong internal_fa; /* internal file attributes 2 bytes */ 148 uLong external_fa; /* external file attributes 4 bytes */ 169 Open a Zip file [all...] |
| /third_party/ffmpeg/tools/ |
| H A D | sofa2wavs.c | 4 * This file is part of FFmpeg. 40 printf("invalid input SOFA file: %s\n", argv[1]); in main() 57 FILE *file; in main() local 69 file = fopen(filename, "w+"); in main() 70 fwrite("RIFF", 4, 1, file); in main() 71 fwrite("\xFF\xFF\xFF\xFF", 4, 1, file); in main() 72 fwrite("WAVE", 4, 1, file); in main() 73 fwrite("fmt ", 4, 1, file); in main() 74 fwrite("\x10\x00\00\00", 4, 1, file); in main() 75 fwrite("\x03\x00", 2, 1, file); in main() [all...] |
| /kernel/linux/linux-5.10/mm/ |
| H A D | fadvise.c | 12 #include <linux/file.h> 32 int generic_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in generic_fadvise() argument 42 inode = file_inode(file); in generic_fadvise() 46 mapping = file->f_mapping; in generic_fadvise() 81 file->f_ra.ra_pages = bdi->ra_pages; in generic_fadvise() 82 spin_lock(&file->f_lock); in generic_fadvise() 83 file->f_mode &= ~FMODE_RANDOM; in generic_fadvise() 84 spin_unlock(&file->f_lock); in generic_fadvise() 87 spin_lock(&file in generic_fadvise() 181 vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) vfs_fadvise() argument [all...] |
| /kernel/linux/linux-6.6/fs/smb/client/ |
| H A D | cifsfs.h | 55 struct file *, unsigned, umode_t); 68 extern int cifs_revalidate_file_attr(struct file *filp); 70 extern int cifs_revalidate_file(struct file *filp); 94 extern int cifs_open(struct inode *inode, struct file *file); 95 extern int cifs_close(struct inode *inode, struct file *file); 96 extern int cifs_closedir(struct inode *inode, struct file *file); 103 extern int cifs_flock(struct file *pfil [all...] |
| /kernel/linux/linux-6.6/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) in dpaa2_dbg_cpu_show() argument 16 struct dpaa2_eth_priv *priv = (struct dpaa2_eth_priv *)file->private; in dpaa2_dbg_cpu_show() 21 seq_printf(file, "Per-CPU stats for %s\n", priv->net_dev->name); in dpaa2_dbg_cpu_show() 22 seq_printf(file, "%s%16s%16s%16s%16s%16s%16s%16s%16s%16s\n", in dpaa2_dbg_cpu_show() 29 seq_printf(file, "%3d%16llu%16llu%16llu%16llu%16llu%16llu%16llu%16llu%16llu\n", in dpaa2_dbg_cpu_show() 59 static int dpaa2_dbg_fqs_show(struct seq_file *file, void *offset) in dpaa2_dbg_fqs_show() argument 61 struct dpaa2_eth_priv *priv = (struct dpaa2_eth_priv *)file->private; in dpaa2_dbg_fqs_show() 66 seq_printf(file, "FQ stats for %s:\n", priv->net_dev->name); in dpaa2_dbg_fqs_show() 67 seq_printf(file, "%s%16s%16s%16s%16s%16s\n", in dpaa2_dbg_fqs_show() 80 seq_printf(file, " in dpaa2_dbg_fqs_show() 94 dpaa2_dbg_ch_show(struct seq_file *file, void *offset) dpaa2_dbg_ch_show() argument 122 dpaa2_dbg_bp_show(struct seq_file *file, void *offset) dpaa2_dbg_bp_show() argument [all...] |
| /third_party/cups-filters/cupsfilters/ |
| H A D | image-sgilib.c | 2 * SGI image file format library routines for CUPS. 9 * law. Distribution and use rights are outlined in the file "COPYING" 10 * which should have been included with this file. 14 * sgiClose() - Close an SGI image file. 15 * sgiGetRow() - Get a row of image data from a file. 16 * sgiOpen() - Open an SGI image file for reading or writing. 17 * sgiOpenFile() - Open an SGI image file for reading or writing. 18 * sgiPutRow() - Put a row of image data to a file. 48 * 'sgiClose()' - Close an SGI image file. 64 * Write the scanline offset table to the file in sgiClose() 177 FILE *file; /* Image file pointer */ sgiOpen() local 200 sgiOpenFile(FILE *file, int mode, int comp, int bpp, int xsize, int ysize, int zsize) sgiOpenFile() argument [all...] |
| /kernel/linux/linux-5.10/fs/ |
| H A D | eventfd.c | 9 #include <linux/file.h> 123 static int eventfd_release(struct inode *inode, struct file *file) in eventfd_release() argument 125 struct eventfd_ctx *ctx = file->private_data; in eventfd_release() 132 static __poll_t eventfd_poll(struct file *file, poll_table *wait) in eventfd_poll() argument 134 struct eventfd_ctx *ctx = file->private_data; in eventfd_poll() 138 poll_wait(file, &ctx->wqh, wait); in eventfd_poll() 230 struct file *file in eventfd_read() local 272 eventfd_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) eventfd_write() argument 355 struct file *file; eventfd_fget() local 399 eventfd_ctx_fileget(struct file *file) eventfd_ctx_fileget() argument 415 struct file *file; do_eventfd() local [all...] |
| /kernel/linux/linux-6.6/fs/ |
| H A D | eventfd.c | 9 #include <linux/file.h> 121 static int eventfd_release(struct inode *inode, struct file *file) in eventfd_release() argument 123 struct eventfd_ctx *ctx = file->private_data; in eventfd_release() 130 static __poll_t eventfd_poll(struct file *file, poll_table *wait) in eventfd_poll() argument 132 struct eventfd_ctx *ctx = file->private_data; in eventfd_poll() 136 poll_wait(file, &ctx->wqh, wait); in eventfd_poll() 228 struct file *file in eventfd_read() local 259 eventfd_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) eventfd_write() argument 332 struct file *file; eventfd_fget() local 376 eventfd_ctx_fileget(struct file *file) eventfd_ctx_fileget() argument 392 struct file *file; do_eventfd() local [all...] |
| /kernel/linux/linux-6.6/include/linux/ |
| H A D | filelock.h | 12 #define FL_LEASE 32 /* lease held on this file */ 17 #define FL_OFDLCK 1024 /* lock is "owned" by struct file */ 72 * struct file_lock represents a generic "file lock". It's used to represent 104 struct file *fl_file; 137 int fcntl_getlk(struct file *, unsigned int, struct flock *); 138 int fcntl_setlk(unsigned int, struct file *, unsigned int, 142 int fcntl_getlk64(struct file *, unsigned int, struct flock64 *); 143 int fcntl_setlk64(unsigned int, struct file *, unsigned int, 147 int fcntl_setlease(unsigned int fd, struct file *filp, int arg); 148 int fcntl_getlease(struct file *fil 191 fcntl_getlk(struct file *file, unsigned int cmd, struct flock __user *user) fcntl_getlk() argument 197 fcntl_setlk(unsigned int fd, struct file *file, unsigned int cmd, struct flock __user *user) fcntl_setlk() argument 204 fcntl_getlk64(struct file *file, unsigned int cmd, struct flock64 *user) fcntl_getlk64() argument 210 fcntl_setlk64(unsigned int fd, struct file *file, unsigned int cmd, struct flock64 *user) fcntl_setlk64() argument [all...] |
| H A D | ima.h | 20 extern int ima_file_check(struct file *file, int mask); 23 extern void ima_file_free(struct file *file); 24 extern int ima_file_mmap(struct file *file, unsigned long reqprot, 30 extern int ima_read_file(struct file *file, enum kernel_read_file_id id, 32 extern int ima_post_read_file(struct file *file, voi 65 ima_file_check(struct file *file, int mask) ima_file_check() argument 75 ima_file_free(struct file *file) ima_file_free() argument 80 ima_file_mmap(struct file *file, unsigned long reqprot, unsigned long prot, unsigned long flags) ima_file_mmap() argument 104 ima_read_file(struct file *file, enum kernel_read_file_id id, bool contents) ima_read_file() argument 110 ima_post_read_file(struct file *file, void *buf, loff_t size, enum kernel_read_file_id id) ima_post_read_file() argument 122 ima_file_hash(struct file *file, char *buf, size_t buf_size) ima_file_hash() argument [all...] |
| /kernel/linux/linux-6.6/drivers/media/platform/renesas/rcar-vin/ |
| H A D | rcar-v4l2.c | 310 static int rvin_querycap(struct file *file, void *priv, in rvin_querycap() argument 318 static int rvin_try_fmt_vid_cap(struct file *file, void *priv, in rvin_try_fmt_vid_cap() argument 321 struct rvin_dev *vin = video_drvdata(file); in rvin_try_fmt_vid_cap() 326 static int rvin_s_fmt_vid_cap(struct file *file, void *priv, in rvin_s_fmt_vid_cap() argument 329 struct rvin_dev *vin = video_drvdata(file); in rvin_s_fmt_vid_cap() 354 static int rvin_g_fmt_vid_cap(struct file *file, voi argument 364 rvin_enum_fmt_vid_cap(struct file *file, void *priv, struct v4l2_fmtdesc *f) rvin_enum_fmt_vid_cap() argument 474 rvin_g_selection(struct file *file, void *fh, struct v4l2_selection *s) rvin_g_selection() argument 513 rvin_s_selection(struct file *file, void *fh, struct v4l2_selection *s) rvin_s_selection() argument 590 rvin_g_parm(struct file *file, void *priv, struct v4l2_streamparm *parm) rvin_g_parm() argument 599 rvin_s_parm(struct file *file, void *priv, struct v4l2_streamparm *parm) rvin_s_parm() argument 608 rvin_g_pixelaspect(struct file *file, void *priv, int type, struct v4l2_fract *f) rvin_g_pixelaspect() argument 620 rvin_enum_input(struct file *file, void *priv, struct v4l2_input *i) rvin_enum_input() argument 649 rvin_g_input(struct file *file, void *priv, unsigned int *i) rvin_g_input() argument 655 rvin_s_input(struct file *file, void *priv, unsigned int i) rvin_s_input() argument 662 rvin_querystd(struct file *file, void *priv, v4l2_std_id *a) rvin_querystd() argument 670 rvin_s_std(struct file *file, void *priv, v4l2_std_id a) rvin_s_std() argument 685 rvin_g_std(struct file *file, void *priv, v4l2_std_id *a) rvin_g_std() argument 707 rvin_enum_dv_timings(struct file *file, void *priv_fh, struct v4l2_enum_dv_timings *timings) rvin_enum_dv_timings() argument 726 rvin_s_dv_timings(struct file *file, void *priv_fh, struct v4l2_dv_timings *timings) rvin_s_dv_timings() argument 741 rvin_g_dv_timings(struct file *file, void *priv_fh, struct v4l2_dv_timings *timings) rvin_g_dv_timings() argument 750 rvin_query_dv_timings(struct file *file, void *priv_fh, struct v4l2_dv_timings *timings) rvin_query_dv_timings() argument 759 rvin_dv_timings_cap(struct file *file, void *priv_fh, struct v4l2_dv_timings_cap *cap) rvin_dv_timings_cap() argument 778 rvin_g_edid(struct file *file, void *fh, struct v4l2_edid *edid) rvin_g_edid() argument 796 rvin_s_edid(struct file *file, void *fh, struct v4l2_edid *edid) rvin_s_edid() argument 883 rvin_mc_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) rvin_mc_try_fmt_vid_cap() argument 893 rvin_mc_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) rvin_mc_s_fmt_vid_cap() argument 956 rvin_open(struct file *file) rvin_open() argument 1005 rvin_release(struct file *file) rvin_release() argument [all...] |
| /third_party/ltp/include/ |
| H A D | tst_safe_macros.h | 48 int safe_chroot(const char *file, const int lineno, const char *path); 53 int safe_dup(const char *file, const int lineno, int oldfd); 58 int safe_dup2(const char *file, const int lineno, int oldfd, int newfd); 75 void *safe_realloc(const char *file, const int lineno, void *ptr, size_t size); 96 int safe_pipe2(const char *file, const int lineno, int fildes[2], int flags); 116 int safe_setregid(const char *file, const int lineno, 122 int safe_setreuid(const char *file, const int lineno, 128 int safe_setresgid(const char *file, const int lineno, 133 int safe_setresuid(const char *file, const int lineno, 144 int safe_setpgid(const char *file, cons 264 safe_mmap(const char *file, const int lineno, void *addr, size_t length, int prot, int flags, int fd, off_t offset) safe_mmap() argument 283 safe_ftruncate(const char *file, const int lineno, int fd, off_t length) safe_ftruncate() argument 304 safe_posix_fadvise(const char *file, const int lineno, int fd, off_t offset, off_t len, int advice) safe_posix_fadvise() argument 321 safe_truncate(const char *file, const int lineno, const char *path, off_t length) safe_truncate() argument 342 safe_stat(const char *file, const int lineno, const char *path, struct stat *buf) safe_stat() argument 363 safe_fstat(const char *file, const int lineno, int fd, struct stat *buf) safe_fstat() argument 383 safe_lstat(const char *file, const int lineno, const char *path, struct stat *buf) safe_lstat() argument 404 safe_statfs(const char *file, const int lineno, const char *path, struct statfs *buf) safe_statfs() argument 425 safe_lseek(const char *file, const int lineno, int fd, off_t offset, int whence) safe_lseek() argument 446 safe_getrlimit(const char *file, const int lineno, int resource, struct rlimit *rlim) safe_getrlimit() argument 467 safe_setrlimit(const char *file, const int lineno, int resource, const struct rlimit *rlim) safe_setrlimit() argument [all...] |
| /kernel/linux/linux-5.10/kernel/trace/ |
| H A D | trace_events_trigger.c | 33 * @file: The trace_event_file associated with the event 56 event_triggers_call(struct trace_event_file *file, void *rec, in event_triggers_call() argument 63 if (list_empty(&file->triggers)) in event_triggers_call() 66 list_for_each_entry_rcu(data, &file->triggers, list) { in event_triggers_call() 88 * @file: The trace_event_file associated with the event 99 event_triggers_post_call(struct trace_event_file *file, in event_triggers_post_call() argument 104 list_for_each_entry_rcu(data, &file->triggers, list) { in event_triggers_post_call() 176 static int event_trigger_regex_open(struct inode *inode, struct file *file) in event_trigger_regex_open() argument 186 if (unlikely(!event_file_data(file))) { in event_trigger_regex_open() 217 trigger_process_regex(struct trace_event_file *file, char *buff) trigger_process_regex() argument 245 event_trigger_regex_write(struct file *file, const char __user *ubuf, size_t cnt, loff_t *ppos) event_trigger_regex_write() argument 285 event_trigger_regex_release(struct inode *inode, struct file *file) event_trigger_regex_release() argument 312 event_trigger_release(struct inode *inode, struct file *file) event_trigger_release() argument 447 trace_event_trigger_enable_disable(struct trace_event_file *file, int trigger_enable) trace_event_trigger_enable_disable() argument 483 struct trace_event_file *file; clear_event_triggers() local 506 update_cond_flag(struct trace_event_file *file) update_cond_flag() argument 541 register_trigger(char *glob, struct event_trigger_ops *ops, struct event_trigger_data *data, struct trace_event_file *file) register_trigger() argument 588 unregister_trigger(char *glob, struct event_trigger_ops *ops, struct event_trigger_data *test, struct trace_event_file *file) unregister_trigger() argument 628 event_trigger_callback(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, char *cmd, char *param) event_trigger_callback() argument 738 set_trigger_filter(char *filter_str, struct event_trigger_data *trigger_data, struct trace_event_file *file) set_trigger_filter() argument 943 struct trace_event_file *file = data->private_data; traceon_trigger() local 963 struct trace_event_file *file = data->private_data; traceon_count_trigger() local 989 struct trace_event_file *file = data->private_data; traceoff_trigger() local 1009 struct trace_event_file *file = data->private_data; traceoff_count_trigger() local 1117 struct trace_event_file *file = data->private_data; snapshot_trigger() local 1139 register_snapshot_trigger(char *glob, struct event_trigger_ops *ops, struct event_trigger_data *data, struct trace_event_file *file) register_snapshot_trigger() argument 1224 struct trace_event_file *file = data->private_data; stacktrace_trigger() local 1408 event_enable_trigger_func(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, char *cmd, char *param) event_enable_trigger_func() argument 1559 event_enable_register_trigger(char *glob, struct event_trigger_ops *ops, struct event_trigger_data *data, struct trace_event_file *file) event_enable_register_trigger() argument 1601 event_enable_unregister_trigger(char *glob, struct event_trigger_ops *ops, struct event_trigger_data *test, struct trace_event_file *file) event_enable_unregister_trigger() argument [all...] |
| /kernel/linux/linux-6.6/fs/nfsd/ |
| H A D | nfsctl.c | 66 static ssize_t write_filehandle(struct file *file, char *buf, size_t size); 67 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size); 68 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size); 69 static ssize_t write_threads(struct file *file, char *buf, size_t size); 70 static ssize_t write_pool_threads(struct file *file, cha 100 nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, loff_t *pos) nfsctl_transaction_write() argument 121 nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *pos) nfsctl_transaction_read() argument 142 exports_net_open(struct net *net, struct file *file) exports_net_open() argument 157 exports_nfsd_open(struct inode *inode, struct file *file) exports_nfsd_open() argument 193 netns(struct file *file) netns() argument 212 write_unlock_ip(struct file *file, char *buf, size_t size) write_unlock_ip() argument 252 write_unlock_fs(struct file *file, char *buf, size_t size) write_unlock_fs() argument 309 write_filehandle(struct file *file, char *buf, size_t size) write_filehandle() argument 393 write_threads(struct file *file, char *buf, size_t size) write_threads() argument 438 write_pool_threads(struct file *file, char *buf, size_t size) write_pool_threads() argument 526 __write_versions(struct file *file, char *buf, size_t size) __write_versions() argument 662 write_versions(struct file *file, char *buf, size_t size) write_versions() argument 771 __write_ports(struct file *file, char *buf, size_t size, struct net *net) __write_ports() argument 829 write_ports(struct file *file, char *buf, size_t size) write_ports() argument 863 write_maxblksize(struct file *file, char *buf, size_t size) write_maxblksize() argument 914 write_maxconn(struct file *file, char *buf, size_t size) write_maxconn() argument 933 __nfsd4_write_time(struct file *file, char *buf, size_t size, time64_t *time, struct nfsd_net *nn) __nfsd4_write_time() argument 969 nfsd4_write_time(struct file *file, char *buf, size_t size, time64_t *time, struct nfsd_net *nn) nfsd4_write_time() argument 1001 write_leasetime(struct file *file, char *buf, size_t size) write_leasetime() argument 1017 write_gracetime(struct file *file, char *buf, size_t size) write_gracetime() argument 1023 __write_recoverydir(struct file *file, char *buf, size_t size, struct nfsd_net *nn) __write_recoverydir() argument 1073 write_recoverydir(struct file *file, char *buf, size_t size) write_recoverydir() argument 1104 write_v4_end_grace(struct file *file, char *buf, size_t size) write_v4_end_grace() argument 1471 exports_proc_open(struct inode *inode, struct file *file) exports_proc_open() argument [all...] |
| /third_party/openssl/test/testutil/ |
| H A D | tests.c | 5 * this file except in compliance with the License. You can obtain a copy 6 * in the file LICENSE in the source distribution or at 26 void test_fail_message_prefix(const char *prefix, const char *file, in test_fail_message_prefix() argument 40 if (file != NULL) { in test_fail_message_prefix() 41 test_printf_stderr(" @ %s:%d", file, line); in test_fail_message_prefix() 58 * int test6(const char *file, int line, int n) { 60 * test_fail_message(1, file, line, "int", "value %d is not %d", n, 6); 69 static void test_fail_message(const char *prefix, const char *file, int line, 75 static void test_fail_message_va(const char *prefix, const char *file, in test_fail_message_va() argument 80 test_fail_message_prefix(prefix, file, lin in test_fail_message_va() 88 test_fail_message(const char *prefix, const char *file, int line, const char *type, const char *left, const char *right, const char *op, const char *fmt, ...) test_fail_message() argument 109 test_info(const char *file, int line, const char *desc, ...) test_info() argument 128 test_error(const char *file, int line, const char *desc, ...) test_error() argument 161 test_skip(const char *file, int line, const char *desc, ...) test_skip() argument 244 test_ptr_null(const char *file, int line, const char *s, const void *p) test_ptr_null() argument 252 test_ptr(const char *file, int line, const char *s, const void *p) test_ptr() argument 260 test_true(const char *file, int line, const char *s, int b) test_true() argument 268 test_false(const char *file, int line, const char *s, int b) test_false() argument 276 test_str_eq(const char *file, int line, const char *st1, const char *st2, const char *s1, const char *s2) test_str_eq() argument 290 test_str_ne(const char *file, int line, const char *st1, const char *st2, const char *s1, const char *s2) test_str_ne() argument 304 test_strn_eq(const char *file, int line, const char *st1, const char *st2, const char *s1, size_t n1, const char *s2, size_t n2) test_strn_eq() argument 318 test_strn_ne(const char *file, int line, const char *st1, const char *st2, const char *s1, size_t n1, const char *s2, size_t n2) test_strn_ne() argument 332 test_mem_eq(const char *file, int line, const char *st1, const char *st2, const void *s1, size_t n1, const void *s2, size_t n2) test_mem_eq() argument 345 test_mem_ne(const char *file, int line, const char *st1, const char *st2, const void *s1, size_t n1, const void *s2, size_t n2) test_mem_ne() argument 388 test_BN_eq_one(const char *file, int line, const char *s, const BIGNUM *a) test_BN_eq_one() argument 396 test_BN_odd(const char *file, int line, const char *s, const BIGNUM *a) test_BN_odd() argument 404 test_BN_even(const char *file, int line, const char *s, const BIGNUM *a) test_BN_even() argument 413 test_BN_eq_word(const char *file, int line, const char *bns, const char *ws, const BIGNUM *a, BN_ULONG w) test_BN_eq_word() argument 427 test_BN_abs_eq_word(const char *file, int line, const char *bns, const char *ws, const BIGNUM *a, BN_ULONG w) test_BN_abs_eq_word() argument [all...] |
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_kcpu_debugfs.c | 36 * @file: The seq_file to print to 40 static void kbasep_csf_kcpu_debugfs_print_cqs_waits(struct seq_file *file, in kbasep_csf_kcpu_debugfs_print_cqs_waits() argument 62 seq_printf(file, " %llx(%u > %u, inherit_err: %s), ", in kbasep_csf_kcpu_debugfs_print_cqs_waits() 70 * @file: The seq_file to print to 74 static void kbasep_csf_kcpu_debugfs_print_queue(struct seq_file *file, in kbasep_csf_kcpu_debugfs_print_queue() argument 83 seq_printf(file, "%16u, %11u, %7u, %13llu %8u", in kbasep_csf_kcpu_debugfs_print_queue() 98 seq_printf(file, ", Fence %pK %s %s", in kbasep_csf_kcpu_debugfs_print_queue() 105 seq_puts(file, ", CQS "); in kbasep_csf_kcpu_debugfs_print_queue() 106 kbasep_csf_kcpu_debugfs_print_cqs_waits(file, kctx, in kbasep_csf_kcpu_debugfs_print_queue() 110 seq_puts(file, ", in kbasep_csf_kcpu_debugfs_print_queue() 126 kbasep_csf_kcpu_debugfs_show(struct seq_file *file, void *data) kbasep_csf_kcpu_debugfs_show() argument 155 kbasep_csf_kcpu_debugfs_open(struct inode *in, struct file *file) kbasep_csf_kcpu_debugfs_open() argument 169 struct dentry *file; kbase_csf_kcpu_debugfs_init() local [all...] |
| /third_party/node/test/fixtures/wpt/FileAPI/file/ |
| H A D | File-constructor.any.js | 19 var file = new File(arg1, "dummy"); 20 assert_true(file instanceof File); 21 assert_equals(file.name, "dummy"); 22 assert_equals(file.size, expectedSize); 23 assert_equals(file.type, ""); 24 // assert_false(file.isClosed); XXX: File.isClosed doesn't seem to be implemented 25 assert_not_equals(file.lastModified, ""); 76 var file = new File(["bits"], arg2); 77 assert_true(file instanceof File); 78 assert_equals(file [all...] |
| /kernel/linux/linux-5.10/drivers/infiniband/core/ |
| H A D | user_mad.c | 9 * General Public License (GPL) Version 2, available from the file 79 * device special file is opened, we take a reference on the 171 static int hdr_size(struct ib_umad_file *file) in hdr_size() argument 173 return file->use_pkey_index ? sizeof (struct ib_user_mad_hdr) : in hdr_size() 177 /* caller must hold file->mutex */ 178 static struct ib_mad_agent *__get_agent(struct ib_umad_file *file, int id) in __get_agent() argument 180 return file->agents_dead ? NULL : file->agent[id]; in __get_agent() 183 static int queue_packet(struct ib_umad_file *file, in queue_packet() argument 189 mutex_lock(&file in queue_packet() 206 dequeue_send(struct ib_umad_file *file, struct ib_umad_packet *packet) dequeue_send() argument 217 struct ib_umad_file *file = agent->context; send_handler() local 237 struct ib_umad_file *file = agent->context; recv_handler() local 297 copy_recv_mad(struct ib_umad_file *file, char __user *buf, struct ib_umad_packet *packet, size_t count) copy_recv_mad() argument 353 copy_send_mad(struct ib_umad_file *file, char __user *buf, struct ib_umad_packet *packet, size_t count) copy_send_mad() argument 378 struct ib_umad_file *file = filp->private_data; ib_umad_read() local 465 is_duplicate(struct ib_umad_file *file, struct ib_umad_packet *packet) is_duplicate() argument 501 struct ib_umad_file *file = filp->private_data; ib_umad_write() local 666 struct ib_umad_file *file = filp->private_data; ib_umad_poll() local 683 ib_umad_reg_agent(struct ib_umad_file *file, void __user *arg, int compat_method_mask) ib_umad_reg_agent() argument 786 ib_umad_reg_agent2(struct ib_umad_file *file, void __user *arg) ib_umad_reg_agent2() argument 899 ib_umad_unreg_agent(struct ib_umad_file *file, u32 __user *arg) ib_umad_unreg_agent() argument 933 ib_umad_enable_pkey(struct ib_umad_file *file) ib_umad_enable_pkey() argument 995 struct ib_umad_file *file; ib_umad_open() local 1037 struct ib_umad_file *file = filp->private_data; ib_umad_close() local 1342 struct ib_umad_file *file; ib_umad_kill_port() local [all...] |
| /kernel/linux/linux-6.6/drivers/infiniband/core/ |
| H A D | user_mad.c | 9 * General Public License (GPL) Version 2, available from the file 79 * device special file is opened, we take a reference on the 171 static int hdr_size(struct ib_umad_file *file) in hdr_size() argument 173 return file->use_pkey_index ? sizeof(struct ib_user_mad_hdr) : in hdr_size() 177 /* caller must hold file->mutex */ 178 static struct ib_mad_agent *__get_agent(struct ib_umad_file *file, int id) in __get_agent() argument 180 return file->agents_dead ? NULL : file->agent[id]; in __get_agent() 183 static int queue_packet(struct ib_umad_file *file, in queue_packet() argument 189 mutex_lock(&file in queue_packet() 206 dequeue_send(struct ib_umad_file *file, struct ib_umad_packet *packet) dequeue_send() argument 217 struct ib_umad_file *file = agent->context; send_handler() local 237 struct ib_umad_file *file = agent->context; recv_handler() local 297 copy_recv_mad(struct ib_umad_file *file, char __user *buf, struct ib_umad_packet *packet, size_t count) copy_recv_mad() argument 353 copy_send_mad(struct ib_umad_file *file, char __user *buf, struct ib_umad_packet *packet, size_t count) copy_send_mad() argument 378 struct ib_umad_file *file = filp->private_data; ib_umad_read() local 465 is_duplicate(struct ib_umad_file *file, struct ib_umad_packet *packet) is_duplicate() argument 501 struct ib_umad_file *file = filp->private_data; ib_umad_write() local 666 struct ib_umad_file *file = filp->private_data; ib_umad_poll() local 683 ib_umad_reg_agent(struct ib_umad_file *file, void __user *arg, int compat_method_mask) ib_umad_reg_agent() argument 785 ib_umad_reg_agent2(struct ib_umad_file *file, void __user *arg) ib_umad_reg_agent2() argument 895 ib_umad_unreg_agent(struct ib_umad_file *file, u32 __user *arg) ib_umad_unreg_agent() argument 929 ib_umad_enable_pkey(struct ib_umad_file *file) ib_umad_enable_pkey() argument 991 struct ib_umad_file *file; ib_umad_open() local 1033 struct ib_umad_file *file = filp->private_data; ib_umad_close() local 1338 struct ib_umad_file *file; ib_umad_kill_port() local [all...] |
| /kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/ |
| H A D | debugfs.c | 33 mt7601u_ampdu_stat_show(struct seq_file *file, void *data) in mt7601u_ampdu_stat_show() argument 35 struct mt7601u_dev *dev = file->private; in mt7601u_ampdu_stat_show() 39 seq_printf(file, #name ":\t%llu\n", dev->stats.grp[off]) in mt7601u_ampdu_stat_show() 62 seq_puts(file, "Aggregations stats:\n"); in mt7601u_ampdu_stat_show() 65 seq_printf(file, "%08llx ", in mt7601u_ampdu_stat_show() 67 seq_putc(file, '\n'); in mt7601u_ampdu_stat_show() 70 seq_printf(file, "recent average AMPDU len: %d\n", in mt7601u_ampdu_stat_show() 79 mt7601u_eeprom_param_show(struct seq_file *file, void *data) in mt7601u_eeprom_param_show() argument 81 struct mt7601u_dev *dev = file->private; in mt7601u_eeprom_param_show() 86 seq_printf(file, "R in mt7601u_eeprom_param_show() [all...] |
| /kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt7601u/ |
| H A D | debugfs.c | 33 mt7601u_ampdu_stat_show(struct seq_file *file, void *data) in mt7601u_ampdu_stat_show() argument 35 struct mt7601u_dev *dev = file->private; in mt7601u_ampdu_stat_show() 39 seq_printf(file, #name ":\t%llu\n", dev->stats.grp[off]) in mt7601u_ampdu_stat_show() 62 seq_puts(file, "Aggregations stats:\n"); in mt7601u_ampdu_stat_show() 65 seq_printf(file, "%08llx ", in mt7601u_ampdu_stat_show() 67 seq_putc(file, '\n'); in mt7601u_ampdu_stat_show() 70 seq_printf(file, "recent average AMPDU len: %d\n", in mt7601u_ampdu_stat_show() 79 mt7601u_eeprom_param_show(struct seq_file *file, void *data) in mt7601u_eeprom_param_show() argument 81 struct mt7601u_dev *dev = file->private; in mt7601u_eeprom_param_show() 86 seq_printf(file, "R in mt7601u_eeprom_param_show() [all...] |
| /kernel/linux/linux-5.10/fs/nfsd/ |
| H A D | nfsctl.c | 64 static ssize_t write_filehandle(struct file *file, char *buf, size_t size); 65 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size); 66 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size); 67 static ssize_t write_threads(struct file *file, char *buf, size_t size); 68 static ssize_t write_pool_threads(struct file *file, cha 98 nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, loff_t *pos) nfsctl_transaction_write() argument 119 nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *pos) nfsctl_transaction_read() argument 140 exports_net_open(struct net *net, struct file *file) exports_net_open() argument 155 exports_proc_open(struct inode *inode, struct file *file) exports_proc_open() argument 167 exports_nfsd_open(struct inode *inode, struct file *file) exports_nfsd_open() argument 185 export_features_open(struct inode *inode, struct file *file) export_features_open() argument 204 supported_enctypes_open(struct inode *inode, struct file *file) supported_enctypes_open() argument 236 netns(struct file *file) netns() argument 255 write_unlock_ip(struct file *file, char *buf, size_t size) write_unlock_ip() argument 294 write_unlock_fs(struct file *file, char *buf, size_t size) write_unlock_fs() argument 351 write_filehandle(struct file *file, char *buf, size_t size) write_filehandle() argument 433 write_threads(struct file *file, char *buf, size_t size) write_threads() argument 477 write_pool_threads(struct file *file, char *buf, size_t size) write_pool_threads() argument 564 __write_versions(struct file *file, char *buf, size_t size) __write_versions() argument 696 write_versions(struct file *file, char *buf, size_t size) write_versions() argument 802 __write_ports(struct file *file, char *buf, size_t size, struct net *net) __write_ports() argument 860 write_ports(struct file *file, char *buf, size_t size) write_ports() argument 894 write_maxblksize(struct file *file, char *buf, size_t size) write_maxblksize() argument 943 write_maxconn(struct file *file, char *buf, size_t size) write_maxconn() argument 961 __nfsd4_write_time(struct file *file, char *buf, size_t size, time64_t *time, struct nfsd_net *nn) __nfsd4_write_time() argument 993 nfsd4_write_time(struct file *file, char *buf, size_t size, time64_t *time, struct nfsd_net *nn) nfsd4_write_time() argument 1025 write_leasetime(struct file *file, char *buf, size_t size) write_leasetime() argument 1041 write_gracetime(struct file *file, char *buf, size_t size) write_gracetime() argument 1047 __write_recoverydir(struct file *file, char *buf, size_t size, struct nfsd_net *nn) __write_recoverydir() argument 1096 write_recoverydir(struct file *file, char *buf, size_t size) write_recoverydir() argument 1127 write_v4_end_grace(struct file *file, char *buf, size_t size) write_v4_end_grace() argument [all...] |
| /kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
| H A D | v4l2-ioctl.c | 912 static int check_fmt(struct file *file, enum v4l2_buf_type type) in check_fmt() argument 921 struct video_device *vfd = video_devdata(file); in check_fmt() 1082 struct file *file, void *fh, void *arg) in v4l_querycap() 1085 struct video_device *vfd = video_devdata(file); in v4l_querycap() 1095 ret = ops->vidioc_querycap(file, fh, cap); in v4l_querycap() 1116 struct file *file, void *fh, void *arg) in v4l_g_input() 1118 struct video_device *vfd = video_devdata(file); in v4l_g_input() 1081 v4l_querycap(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_querycap() argument 1115 v4l_g_input(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_g_input() argument 1128 v4l_g_output(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_g_output() argument 1141 v4l_s_input(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_input() argument 1157 v4l_s_output(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_output() argument 1168 v4l_g_priority(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_g_priority() argument 1179 v4l_s_priority(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_priority() argument 1193 v4l_enuminput(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_enuminput() argument 1219 v4l_enumoutput(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_enumoutput() argument 1529 v4l_enum_fmt(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_enum_fmt() argument 1620 v4l_g_fmt(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_g_fmt() argument 1679 v4l_s_fmt(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_fmt() argument 1790 v4l_try_fmt(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_try_fmt() argument 1898 v4l_streamon(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_streamon() argument 1904 v4l_streamoff(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_streamoff() argument 1910 v4l_g_tuner(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_g_tuner() argument 1925 v4l_s_tuner(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_tuner() argument 1940 v4l_g_modulator(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_g_modulator() argument 1956 v4l_s_modulator(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_modulator() argument 1968 v4l_g_frequency(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_g_frequency() argument 1982 v4l_s_frequency(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_frequency() argument 2005 v4l_enumstd(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_enumstd() argument 2014 v4l_s_std(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_std() argument 2032 v4l_querystd(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_querystd() argument 2054 v4l_s_hw_freq_seek(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_hw_freq_seek() argument 2076 v4l_s_fbuf(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_fbuf() argument 2085 v4l_overlay(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_overlay() argument 2091 v4l_reqbufs(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_reqbufs() argument 2105 v4l_querybuf(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_querybuf() argument 2114 v4l_qbuf(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_qbuf() argument 2123 v4l_dqbuf(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_dqbuf() argument 2132 v4l_create_bufs(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_create_bufs() argument 2154 v4l_prepare_buf(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_prepare_buf() argument 2163 v4l_g_parm(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_g_parm() argument 2186 v4l_s_parm(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_parm() argument 2210 v4l_queryctrl(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_queryctrl() argument 2227 v4l_query_ext_ctrl(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_query_ext_ctrl() argument 2244 v4l_querymenu(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_querymenu() argument 2261 v4l_g_ctrl(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_g_ctrl() argument 2295 v4l_s_ctrl(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_ctrl() argument 2327 v4l_g_ext_ctrls(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_g_ext_ctrls() argument 2348 v4l_s_ext_ctrls(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_ext_ctrls() argument 2369 v4l_try_ext_ctrls(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_try_ext_ctrls() argument 2399 v4l_g_selection(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_g_selection() argument 2415 v4l_s_selection(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_selection() argument 2431 v4l_g_crop(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_g_crop() argument 2461 v4l_s_crop(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_s_crop() argument 2486 v4l_cropcap(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_cropcap() argument 2552 v4l_log_status(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_log_status() argument 2568 v4l_dbg_g_register(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_dbg_g_register() argument 2596 v4l_dbg_s_register(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_dbg_s_register() argument 2624 v4l_dbg_g_chip_info(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_dbg_g_chip_info() argument 2667 v4l_dqevent(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_dqevent() argument 2673 v4l_subscribe_event(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_subscribe_event() argument 2679 v4l_unsubscribe_event(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_unsubscribe_event() argument 2685 v4l_g_sliced_vbi_cap(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_g_sliced_vbi_cap() argument 2700 v4l_enum_freq_bands(const struct v4l2_ioctl_ops *ops, struct file *file, void *fh, void *arg) v4l_enum_freq_bands() argument 2976 __video_do_ioctl(struct file *file, unsigned int cmd, void *arg) __video_do_ioctl() argument 3333 video_usercopy(struct file *file, unsigned int orig_cmd, unsigned long arg, v4l2_kioctl func) video_usercopy() argument 3440 video_ioctl2(struct file *file, unsigned int cmd, unsigned long arg) video_ioctl2() argument [all...] |
| /kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
| H A D | vivid-touch-cap.h | 29 int vivid_enum_fmt_tch(struct file *file, void *priv, struct v4l2_fmtdesc *f); 30 int vivid_g_fmt_tch(struct file *file, void *priv, struct v4l2_format *f); 31 int vivid_g_fmt_tch_mplane(struct file *file, void *priv, struct v4l2_format *f); 32 int vivid_enum_input_tch(struct file *file, void *priv, struct v4l2_input *inp); 33 int vivid_g_input_tch(struct file *file, voi [all...] |
| /kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/ |
| H A D | vivid-touch-cap.h | 29 int vivid_enum_fmt_tch(struct file *file, void *priv, struct v4l2_fmtdesc *f); 30 int vivid_g_fmt_tch(struct file *file, void *priv, struct v4l2_format *f); 31 int vivid_g_fmt_tch_mplane(struct file *file, void *priv, struct v4l2_format *f); 32 int vivid_enum_input_tch(struct file *file, void *priv, struct v4l2_input *inp); 33 int vivid_g_input_tch(struct file *file, voi [all...] |