/kernel/linux/linux-5.10/drivers/oprofile/ |
H A D | oprofilefs.c | 124 .open = simple_open, 131 .open = simple_open, 190 .open = simple_open,
|
/kernel/linux/linux-6.6/drivers/char/ |
H A D | misc.c | 5 * Generic misc open routine by Johan Myreen 158 * file operations, including f_op->open below in misc_open() 164 if (file->f_op->open) in misc_open() 165 err = file->f_op->open(inode, file); in misc_open() 189 .open = misc_open, 203 * destroyed until it has been unregistered. By default, an open() 205 * structure. Drivers don't need open in fops for this.
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | btmrvl_debugfs.c | 57 .open = simple_open, 97 .open = simple_open, 135 .open = simple_open,
|
/kernel/linux/linux-6.6/drivers/accel/ |
H A D | drm_accel.c | 217 * accel_open - open method for ACCEL file 221 * This function must be used by drivers as their &file_operations.open method. 223 * resources for it. It also calls the &drm_driver.open driver callback. 274 if (filp->f_op->open) in accel_stub_open() 275 err = filp->f_op->open(inode, filp); in accel_stub_open() 287 .open = accel_stub_open,
|
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_heartbeat_dbgfs.c | 39 .open = simple_open, 70 .open = simple_open, 152 .open = simple_open,
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wcn36xx/ |
H A D | debug.c | 94 .open = simple_open, 136 .open = simple_open, 172 .open = simple_open,
|
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | cpqphp_sysfs.c | 131 static int open(struct inode *inode, struct file *file) in open() function 178 .open = open,
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/ |
H A D | access_tracking_perf_test.c | 142 page_idle_fd = open("/sys/kernel/mm/page_idle/bitmap", O_RDWR); in mark_vcpu_memory_idle() 143 TEST_ASSERT(page_idle_fd > 0, "Failed to open page_idle."); in mark_vcpu_memory_idle() 145 pagemap_fd = open("/proc/self/pagemap", O_RDONLY); in mark_vcpu_memory_idle() 146 TEST_ASSERT(pagemap_fd > 0, "Failed to open pagemap."); in mark_vcpu_memory_idle() 386 page_idle_fd = open("/sys/kernel/mm/page_idle/bitmap", O_RDWR); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | trace_helpers.c | 115 /* open kallsyms and read symbol addresses on the fly. Without caching all symbols, 147 trace_fd = open(TRACEFS_PIPE, O_RDONLY, 0); in read_trace_pipe() 149 trace_fd = open(DEBUGFS_PIPE, O_RDONLY, 0); in read_trace_pipe() 283 fd = open(path, O_RDONLY | O_CLOEXEC); in read_build_id()
|
/kernel/linux/linux-6.6/tools/testing/selftests/user_events/ |
H A D | abi_test.c | 29 int fd = open(enable_file, O_RDWR); in change_event() 53 int fd = open(data_file, O_RDWR); in reg_enable() 75 int fd = open(data_file, O_RDWR); in reg_disable()
|
/test/testfwk/developer_test/src/core/ |
H A D | utils.py | 132 with open(ohos_config_path, 'r') as json_file:
146 with open(device_json_file, 'r') as json_file:
165 with open(build_prop, 'r') as pro_file:
|
/test/xts/acts/kernel_lite/fs_posix/src/ |
H A D | FsStatTest.cpp | 75 fd = open(FILE0, O_CREAT | O_RDWR, mode);
in HWTEST_F() 110 fd = open(filePath, O_CREAT | O_RDWR, mode);
in HWTEST_F() 111 EXPECT_NE(fd, -1) << "> open faild errno = " << errno;
in HWTEST_F() 145 fd = open(FILE0, O_CREAT | O_RDWR, mode);
in HWTEST_F() 146 EXPECT_NE(fd, -1) << "> open faild errno = " << errno;
in HWTEST_F()
|
/test/xts/tools/build/ |
H A D | utils.py | 77 with open(input_file, 'r') as input_f: 87 with open(output_file, mode) as output_f: 173 with open(module_list_file, "r") as module_file:
|
/third_party/elfutils/tests/ |
H A D | emptyfile.c | 71 int fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, DEFFILEMODE); in check_elf() 74 printf ("cannot open `%s': %s\n", fname, strerror (errno)); in check_elf() 129 fd = open (fname, O_RDWR); in check_elf() 132 printf ("cannot (re)open `%s': %s\n", fname, strerror (errno)); in check_elf() 212 fd = open (fname, O_RDONLY); in check_elf() 215 printf ("cannot open `%s' read-only: %s\n", fname, strerror (errno)); in check_elf()
|
/third_party/gn/examples/ios/build/toolchain/apple/ |
H A D | swiftc.py | 56 with open(output_file_map_path, 'w') as output_file_map_file: 114 for line in open(output_file_map[key]['dependencies']): 126 with open(settings.depfile, 'w') as depfile:
|
/third_party/gn/infra/ |
H A D | recipes.py | 36 from io import open # pylint: disable=redefined-builtin namespace 76 with open(recipes_cfg_path, 'r') as fh: 193 with open(os.devnull, 'w') as NUL:
|
/third_party/alsa-lib/test/ |
H A D | rawmidi.c | 114 fd_in = open(node_in,O_RDONLY); in main() 116 fprintf(stderr,"open %s for input failed\n",node_in); in main() 129 fd_out = open(node_out,O_WRONLY); in main() 131 fprintf(stderr,"open %s for output failed\n",node_out); in main() 136 fd_in = fd_out = open(node_out,O_RDWR); in main() 138 fprintf(stderr,"open %s for input and output failed\n",node_out); in main()
|
/third_party/EGL/sdk/docs/man/html/ |
H A D | makeindex.py | 143 fp = open(parent) 293 fp = open(accordfilename, 'w') 304 fp = open(flatfilename, 'w')
|
/third_party/mbedtls/tests/scripts/ |
H A D | generate_pkcs7_tests.py | 57 with open(file, "r", encoding='UTF-8') as fp: 78 with open(self.file_name, 'a', encoding='UTF-8') as fw: 171 with open(DATA_FILE, 'rb') as f:
|
/third_party/node/test/testpy/ |
H A D | __init__.py | 32 from io import open namespace 60 source = open(self.file, encoding='utf8').read() 93 return open(self.file).read()
|
/third_party/node/tools/ |
H A D | js2c.py | 44 with codecs.open(filename, "r", "utf-8") as f: 187 with open(target, 'rt') as existing: 194 with open(target, "wt") as output:
|
/third_party/nghttp2/script/ |
H A D | fetch-ocsp-response | 104 with open(path, 'rb') as f: 109 with open(path, 'wb') as f: 172 with open(verify_fn, 'w+b') as f:
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
H A D | open11.c | 5 * Basic tests for open(2) and make sure open(2) works and handles error 70 /* Test open(2) regular file */ 71 { /* open regular file O_RDONLY */ 78 { /* open regular file O_WRONLY */ 85 { /* open regular file O_RDWR */ 92 { /* open regular file O_RDWR | O_SYNC*/ 99 { /* open regular file O_RDWR | O_TRUNC */ 106 /* Test open(2) directory */ 107 { /* open di [all...] |
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
H A D | enums2names.py | 266 with open(pkk_cfg.in_file, "r", encoding="UTF-8") as fh: 286 with open(pkk_cfg.out_header, "w", encoding="UTF-8") as fh: 290 with open(pkk_cfg.out_source, "w", encoding="UTF-8") as fh:
|
/third_party/python/Tools/scripts/ |
H A D | highlight.py | 244 with open(sourcefile) as f: 261 with open(htmlfile, 'w') as f: 263 webbrowser.open('file://' + os.path.abspath(htmlfile))
|