Home
last modified time | relevance | path

Searched refs:open (Results 901 - 925 of 9314) sorted by relevance

1...<<31323334353637383940>>...373

/kernel/linux/linux-5.10/drivers/oprofile/
H A Doprofilefs.c124 .open = simple_open,
131 .open = simple_open,
190 .open = simple_open,
/kernel/linux/linux-6.6/drivers/char/
H A Dmisc.c5 * 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 Dbtmrvl_debugfs.c57 .open = simple_open,
97 .open = simple_open,
135 .open = simple_open,
/kernel/linux/linux-6.6/drivers/accel/
H A Ddrm_accel.c217 * 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 Dadf_heartbeat_dbgfs.c39 .open = simple_open,
70 .open = simple_open,
152 .open = simple_open,
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wcn36xx/
H A Ddebug.c94 .open = simple_open,
136 .open = simple_open,
172 .open = simple_open,
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A Dcpqphp_sysfs.c131 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 Daccess_tracking_perf_test.c142 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 Dtrace_helpers.c115 /* 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 Dabi_test.c29 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 Dutils.py132 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 DFsStatTest.cpp75 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 Dutils.py77 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 Demptyfile.c71 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 Dswiftc.py56 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 Drecipes.py36 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 Drawmidi.c114 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 Dmakeindex.py143 fp = open(parent)
293 fp = open(accordfilename, 'w')
304 fp = open(flatfilename, 'w')
/third_party/mbedtls/tests/scripts/
H A Dgenerate_pkcs7_tests.py57 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__.py32 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 Djs2c.py44 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 Dfetch-ocsp-response104 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 Dopen11.c5 * 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 Denums2names.py266 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 Dhighlight.py244 with open(sourcefile) as f:
261 with open(htmlfile, 'w') as f:
263 webbrowser.open('file://' + os.path.abspath(htmlfile))

Completed in 13 milliseconds

1...<<31323334353637383940>>...373