| /kernel/linux/linux-6.6/sound/soc/sof/ |
| H A D | debug.c | 3 // This file is provided under a dual BSD/GPLv2 license. When using or 4 // redistributing this file, you may do so under either license. 22 static ssize_t sof_dfsentry_write(struct file *file, const char __user *buffer, in sof_dfsentry_write() argument 40 static ssize_t sof_dfsentry_read(struct file *file, char __user *buffer, in sof_dfsentry_read() argument 43 struct snd_sof_dfsentry *dfse = file->private_data; in sof_dfsentry_read() 269 static ssize_t memory_info_read(struct file *file, char __user *to, size_t count, loff_t *ppos) in memory_info_read() argument 271 struct snd_sof_dfsentry *dfse = file in memory_info_read() 287 memory_info_open(struct inode *inode, struct file *file) memory_info_open() argument [all...] |
| /third_party/libunwind/libunwind/src/ |
| H A D | elfxx.c | 6 This file is part of libunwind. 321 char file[PATH_MAX]; in get_proc_name() local 323 ret = tdep_get_elf_image (&ei, pid, ip, &segbase, &mapoff, file, PATH_MAX); in get_proc_name() 327 ret = elf_w (load_debuglink) (file, &ei, 1); in get_proc_name() 384 * Loads ei from file if not already mapped. 388 * ei will be mapped to file or the located .gnu_debuglink from file 391 elf_w (load_debuglink) (const char* file, struct elf_image *ei, int is_local) in load_debuglink() argument 400 ret = elf_map_image(ei, file); in load_debuglink() 426 char basedir[strlen(file) in load_debuglink() [all...] |
| /third_party/libsnd/src/ |
| H A D | svx.c | 51 * Typedefs for file chunks. 85 if (psf->file.mode == SFM_READ || (psf->file.mode == SFM_RDWR && psf->filelength > 0)) in svx_open() 98 if (psf->file.mode == SFM_WRITE || psf->file.mode == SFM_RDWR) in svx_open() 243 if (strlen (psf->file.name) != chunk_size) in svx_read_header() 244 { if (chunk_size > sizeof (psf->file.name) - 1) in svx_read_header() 247 psf_binheader_readf (psf, "b", psf->file.name, chunk_size) ; in svx_read_header() 248 psf->file.name [chunk_size] = 0 ; in svx_read_header() 337 if (psf->file in svx_close() [all...] |
| /third_party/mesa3d/src/gallium/drivers/radeonsi/ci/ |
| H A D | radeonsi-run-tests.py | 262 print("KHR-GL46.copy_image.functional", file=f) 263 print("KHR-GL46.texture_swizzle.smoke", file=f) 266 file=f, variable 317 with open(results) as file: 318 if len(file.readlines()) == 0: 328 with open(t, "r") as file: 329 for row in csv.reader(file, delimiter=","): 350 for file in files: 351 if file.find(gfx_level_str) == 0 and file [all...] |
| /third_party/mesa3d/src/intel/compiler/ |
| H A D | brw_fs_cse.cpp | 27 /** @file brw_fs_cse.cpp 129 bool xs1_negate = xs[1].file == IMM ? xs[1].f < 0.0f in operands_match() 132 bool ys1_negate = ys[1].file == IMM ? ys[1].f < 0.0f in operands_match() 148 xs[1].negate = xs[1].file == IMM ? false : xs1_negate; in operands_match() 150 ys[1].negate = ys[1].file == IMM ? false : ys1_negate; in operands_match() 213 assert(src.file == VGRF); in create_copy_instr() 228 assert(src.file == VGRF); in create_copy_instr() 257 ((inst->dst.file != ARF && inst->dst.file != FIXED_GRF) || in opt_cse_local() 276 inst->src[0].file in opt_cse_local() [all...] |
| /third_party/node/deps/icu-small/source/tools/toolutil/ |
| H A D | pkg_gencmn.cpp | 28 /* ICU package data file format (.dat files) ------------------------------- *** 30 Description of the data format after the usual ICU data file header 35 A .dat package file contains a simple Table of Contents of item names, 59 the .dat file length, and the length of all previous items is the difference 128 FileStream *in, *file; in createCommonDataFile() local 158 fprintf(stderr, "gencmn: unable to open input file %s\n", dataFile); in createCommonDataFile() 165 printf("generating %s_%s.c (table of contents source file)\n", name, type); in createCommonDataFile() 167 printf("generating %s.%s (common data file with table of contents)\n", name, type); in createCommonDataFile() 198 /* add the file */ in createCommonDataFile() 237 /* create the output file */ in createCommonDataFile() 423 FileStream *file; addFile() local [all...] |
| /third_party/icu/icu4c/source/tools/toolutil/ |
| H A D | pkg_gencmn.cpp | 28 /* ICU package data file format (.dat files) ------------------------------- *** 30 Description of the data format after the usual ICU data file header 35 A .dat package file contains a simple Table of Contents of item names, 59 the .dat file length, and the length of all previous items is the difference 128 FileStream *in, *file; in createCommonDataFile() local 158 fprintf(stderr, "gencmn: unable to open input file %s\n", dataFile); in createCommonDataFile() 165 printf("generating %s_%s.c (table of contents source file)\n", name, type); in createCommonDataFile() 167 printf("generating %s.%s (common data file with table of contents)\n", name, type); in createCommonDataFile() 198 /* add the file */ in createCommonDataFile() 237 /* create the output file */ in createCommonDataFile() 423 FileStream *file; addFile() local [all...] |
| /third_party/ltp/testcases/kernel/security/prot_hsymlinks/ |
| H A D | prot_hsymlinks.c | 32 * of the file or he doesn't have write access to the file. 95 struct user_file file[MAX_ENTITIES]; member 241 file; in test_run() local 250 for (file = 0; file < users[usr].num; ++file) { in test_run() 251 ufile = &users[usr].file[file]; in test_run() 382 /* create file i in init_files_dirs() 408 int file = users[usr].num; ufiles_add() local [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_tgsi_info.c | 67 chan_info->file = TGSI_FILE_NULL; in analyse_src() 75 chan_info->file = src->File; in analyse_src() 96 return chan_info->file == TGSI_FILE_IMMEDIATE && in is_immediate() 177 if (chan_info->file != TGSI_FILE_INPUT) { in analyse_tex() 262 if (chan_info->file != TGSI_FILE_INPUT) { in analyse_sample() 300 * register file. in analyse_instruction() 385 regs[index][chan].file = TGSI_FILE_NULL; in analyse_instruction() 484 if (chan_info->file != TGSI_FILE_NULL) { in dump_info() 486 tgsi_file_name(chan_info->file), in dump_info() 503 if (chan_info->file ! in dump_info() [all...] |
| /third_party/python/Lib/distutils/ |
| H A D | util.py | 339 The source filename encoded in each bytecode file defaults to the 439 for file in py_files: 440 if file[-3:] != ".py": 446 # cfile - byte-compiled file 447 # dfile - purported source filename (same as 'file' by default) 451 file, optimization=opt) 453 cfile = importlib.util.cache_from_source(file) 454 dfile = file 456 if file[:len(prefix)] != prefix: 458 % (file, prefi [all...] |
| /third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
| H A D | pkg_gencmn.cpp | 28 /* ICU package data file format (.dat files) ------------------------------- *** 30 Description of the data format after the usual ICU data file header 35 A .dat package file contains a simple Table of Contents of item names, 59 the .dat file length, and the length of all previous items is the difference 128 FileStream *in, *file; in createCommonDataFile() local 158 fprintf(stderr, "gencmn: unable to open input file %s\n", dataFile); in createCommonDataFile() 165 printf("generating %s_%s.c (table of contents source file)\n", name, type); in createCommonDataFile() 167 printf("generating %s.%s (common data file with table of contents)\n", name, type); in createCommonDataFile() 198 /* add the file */ in createCommonDataFile() 237 /* create the output file */ in createCommonDataFile() 423 FileStream *file; addFile() local [all...] |
| /kernel/linux/linux-6.6/kernel/trace/ |
| H A D | ftrace.c | 913 ftrace_profile_write(struct file *filp, const char __user *ubuf, in ftrace_profile_write() 958 ftrace_profile_read(struct file *filp, char __user *ubuf, in ftrace_profile_read() 1002 "Could not allocate stat file for cpu %d\n", in ftrace_profile_tracefs() 3902 ftrace_avail_open(struct inode *inode, struct file *file) in ftrace_avail_open() argument 3914 iter = __seq_open_private(file, &show_ftrace_seq_ops, sizeof(*iter)); in ftrace_avail_open() 3925 ftrace_enabled_open(struct inode *inode, struct file *file) in ftrace_enabled_open() argument 3938 iter = __seq_open_private(file, &show_ftrace_seq_ops, sizeof(*iter)); in ftrace_enabled_open() 3950 ftrace_touched_open(struct inode *inode, struct file *fil argument 3975 ftrace_avail_addrs_open(struct inode *inode, struct file *file) ftrace_avail_addrs_open() argument 4015 ftrace_regex_open(struct ftrace_ops *ops, int flag, struct inode *inode, struct file *file) ftrace_regex_open() argument 4103 ftrace_filter_open(struct inode *inode, struct file *file) ftrace_filter_open() argument 4114 ftrace_notrace_open(struct inode *inode, struct file *file) ftrace_notrace_open() argument 5166 ftrace_regex_write(struct file *file, const char __user *ubuf, size_t cnt, loff_t *ppos, int enable) ftrace_regex_write() argument 5205 ftrace_filter_write(struct file *file, const char __user *ubuf, size_t cnt, loff_t *ppos) ftrace_filter_write() argument 5212 ftrace_notrace_write(struct file *file, const char __user *ubuf, size_t cnt, loff_t *ppos) ftrace_notrace_write() argument 5877 ftrace_regex_release(struct inode *inode, struct file *file) ftrace_regex_release() argument 6098 __ftrace_graph_open(struct inode *inode, struct file *file, struct ftrace_graph_data *fgd) __ftrace_graph_open() argument 6155 ftrace_graph_open(struct inode *inode, struct file *file) ftrace_graph_open() argument 6183 ftrace_graph_notrace_open(struct inode *inode, struct file *file) ftrace_graph_notrace_open() argument 6211 ftrace_graph_release(struct inode *inode, struct file *file) ftrace_graph_release() argument 6336 ftrace_graph_write(struct file *file, const char __user *ubuf, size_t cnt, loff_t *ppos) ftrace_graph_write() argument 7675 pid_open(struct inode *inode, struct file *file, int type) pid_open() argument 7716 ftrace_pid_open(struct inode *inode, struct file *file) ftrace_pid_open() argument 7722 ftrace_no_pid_open(struct inode *inode, struct file *file) ftrace_no_pid_open() argument 7840 ftrace_pid_release(struct inode *inode, struct file *file) ftrace_pid_release() argument [all...] |
| /kernel/linux/linux-6.6/io_uring/ |
| H A D | io_uring.c | 53 #include <linux/file.h> 460 if (req->file && !(req->flags & REQ_F_FIXED_FILE)) in io_prep_async_work() 461 req->flags |= io_file_get_flags(req->file); in io_prep_async_work() 463 if (req->file && (req->flags & REQ_F_ISREG)) { in io_prep_async_work() 467 if (should_hash && (req->file->f_flags & O_DIRECT) && in io_prep_async_work() 468 (req->file->f_mode & FMODE_DIO_PARALLEL_WRITE)) in io_prep_async_work() 471 io_wq_hash_work(&req->work, file_inode(req->file)); in io_prep_async_work() 472 } else if (!req->file || !S_ISBLK(file_inode(req->file)->i_mode)) { in io_prep_async_work() 1561 /* See comment at the top of this file */ in io_cqring_events() 1729 io_file_get_flags(struct file *file) io_file_get_flags() argument 1978 struct file *file = NULL; io_file_get_fixed() local 1996 struct file *file = fget(fd); io_file_get_normal() local 2980 io_uring_poll(struct file *file, poll_table *wait) io_uring_poll() argument 3187 io_uring_release(struct inode *inode, struct file *file) io_uring_release() argument 3409 io_uring_validate_mmap_request(struct file *file, loff_t pgoff, size_t sz) io_uring_validate_mmap_request() argument 3455 io_uring_mmap(struct file *file, struct vm_area_struct *vma) io_uring_mmap() argument 3514 io_uring_mmap(struct file *file, struct vm_area_struct *vma) io_uring_mmap() argument 3519 io_uring_nommu_mmap_capabilities(struct file *file) io_uring_nommu_mmap_capabilities() argument 3524 io_uring_nommu_get_unmapped_area(struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) io_uring_nommu_get_unmapped_area() argument 3589 struct file *file; SYSCALL_DEFINE6() local 3733 io_is_uring_fops(struct file *file) io_is_uring_fops() argument 3792 io_uring_install_fd(struct file *file) io_uring_install_fd() argument 3819 struct file *file; io_uring_create() local 4535 struct file *file; SYSCALL_DEFINE4() local [all...] |
| /base/request/request/frameworks/js/napi/include/upload/ |
| H A D | obtain_file.h | 4 * you may not use this file except in compliance with the License.
36 uint32_t GetFile(FILE **file, const std::string &fileUri, uint32_t &fileSize,
40 uint32_t GetDataAbilityFile(FILE **file, const std::string &fileUri, uint32_t &fileSize,
42 uint32_t GetInternalFile(FILE **file, const std::string &fileUri, uint32_t &fileSize,
|
| /kernel/linux/linux-5.10/arch/loongarch/kvm/intc/ |
| H A D | irqchip-debug.c | 26 static int irqchip_debug_open(struct inode *inode, struct file *file) in irqchip_debug_open() argument 28 return single_open(file, irqchip_state_show, inode->i_private); in irqchip_debug_open()
|
| /kernel/linux/linux-5.10/arch/mips/loongson2ef/common/ |
| H A D | mem.c | 46 int __uncached_access(struct file *file, unsigned long addr) in __uncached_access() argument 48 if (file->f_flags & O_DSYNC) in __uncached_access()
|
| /kernel/linux/linux-5.10/arch/arc/kernel/ |
| H A D | arc_hostlink.c | 18 static int arc_hl_mmap(struct file *fp, struct vm_area_struct *vma) in arc_hl_mmap() 31 static long arc_hl_ioctl(struct file *file, unsigned int cmd, in arc_hl_ioctl() argument
|
| /kernel/linux/common_modules/code_sign/ |
| H A D | code_sign_ioctl.h | 46 int code_sign_open(struct inode *inode, struct file *filp); 48 int code_sign_release(struct inode *inode, struct file *filp); 50 long code_sign_ioctl(struct file *filp, unsigned int cmd, unsigned long args);
|
| /kernel/linux/linux-6.6/arch/ia64/include/asm/ |
| H A D | fb.h | 11 struct file; 13 static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, in fb_pgprotect() argument
|
| /kernel/linux/linux-6.6/arch/arc/kernel/ |
| H A D | arc_hostlink.c | 18 static int arc_hl_mmap(struct file *fp, struct vm_area_struct *vma) in arc_hl_mmap() 31 static long arc_hl_ioctl(struct file *file, unsigned int cmd, in arc_hl_ioctl() argument
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
| H A D | i915_perf.h | 30 struct drm_file *file); 32 struct drm_file *file); 34 struct drm_file *file);
|
| /kernel/linux/linux-5.10/drivers/sh/intc/ |
| H A D | virq-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 40 static int intc_irq_xlate_open(struct inode *inode, struct file *file) in intc_irq_xlate_open() argument 42 return single_open(file, intc_irq_xlate_debug, inode->i_private); in intc_irq_xlate_open()
|
| /kernel/linux/linux-5.10/include/media/ |
| H A D | v4l2-fh.h | 5 * V4L2 file handle. Store per file handle data for the V4L2 6 * framework. Using file handles is optional for the drivers. 25 * struct v4l2_fh - Describes a V4L2 file handler 27 * @list: list of file handlers 30 * @prio: priority of the file handler, as defined by &enum v4l2_priority 60 * v4l2_fh_init - Initialise the file handle. 66 * file handles should be initialised in this function. Must be called 73 * v4l2_fh_add - Add the fh to the list of file handles on a video_device. 78 * The @fh file handl [all...] |
| /kernel/linux/linux-5.10/fs/nfsd/ |
| H A D | lockd.c | 3 * This file contains all the stubs needed when communicating with lockd. 10 #include <linux/file.h> 25 * Note: we hold the dentry use count while the file is open. 28 nlm_fopen(struct svc_rqst *rqstp, struct nfs_fh *f, struct file **filp) in nlm_fopen() 57 nlm_fclose(struct file *filp) in nlm_fclose() 63 .fopen = nlm_fopen, /* open file for locking */ 64 .fclose = nlm_fclose, /* close file */
|
| /kernel/linux/linux-5.10/fs/coda/ |
| H A D | coda_fs_i.h | 36 * coda fs file private data 41 struct file *cfi_container; /* container file for this cnode */ 42 unsigned int cfi_mapcount; /* nr of times this file is mapped */ 56 struct coda_file_info *coda_ftoc(struct file *file);
|