Home
last modified time | relevance | path

Searched refs:open (Results 3876 - 3900 of 8333) sorted by relevance

1...<<151152153154155156157158159160>>...334

/kernel/linux/linux-6.6/drivers/hwtracing/intel_th/
H A Dcore.c825 if (file->f_op->open) { in intel_th_output_open()
826 err = file->f_op->open(inode, file); in intel_th_output_open()
834 .open = intel_th_output_open,
/kernel/linux/linux-6.6/drivers/media/dvb-core/
H A Ddvbdev.c103 if (file->f_op->open) in dvb_device_open()
104 err = file->f_op->open(inode, file); in dvb_device_open()
119 .open = dvb_device_open,
/kernel/linux/linux-6.6/tools/perf/pmu-events/
H A Djevents.py407 events = json.load(open(path), object_hook=JsonEvent)
579 metricgroup_descriptions = json.load(open(item.path))
686 with open(f'{_args.starting_dir}/{arch}/mapfile.csv') as csvfile:
/kernel/linux/linux-6.6/scripts/kconfig/
H A Dconfdata.c50 fd1 = open(file1, O_RDONLY); in is_same()
54 fd2 = open(file2, O_RDONLY); in is_same()
141 fd = open(depfile_path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_touch_dep()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dprobe-file.c84 pr_warning("Failed to open %s/%cprobe_events: %s\n", in print_open_warning()
100 pr_warning("Failed to open %s/kprobe_events: %s.\n", in print_both_open_warning()
104 pr_warning("Failed to open %s/uprobe_events: %s.\n", in print_both_open_warning()
118 ret = open(buf, O_RDWR | O_APPEND, 0); in open_trace_file()
120 ret = open(buf, O_RDONLY, 0); in open_trace_file()
501 fd = open(cpath, O_CREAT | O_RDWR, 0644); in probe_cache__open()
503 pr_debug("Failed to open cache(%d): %s\n", fd, cpath); in probe_cache__open()
611 pr_debug("Cache open error: %d\n", ret); in probe_cache__new()
/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/
H A Disst-core-mbox.c86 fd = open(pathname, O_RDWR); in _send_mmio_command()
88 err(-1, "%s open failed", pathname); in _send_mmio_command()
183 fd = open(pathname, O_RDWR); in _send_mbox_command()
185 err(-1, "%s open failed", pathname); in _send_mbox_command()
357 fd = open(buffer, O_WRONLY); in _set_uncore_min_max()
/kernel/linux/linux-6.6/tools/testing/selftests/hid/
H A Dhid_bpf.c308 fd = open(path, O_RDWR | O_CLOEXEC); in setup_uhid()
309 ASSERT_GE(fd, 0) TH_LOG("open uhid-cdev failed; %d", fd); in setup_uhid()
335 fd = open(uevent, O_RDONLY | O_NONBLOCK); in match_sysfs_device()
435 /* open hidraw node to check the other side of the pipe */ in open_hidraw()
437 return open(hidraw_path, O_RDWR | O_NONBLOCK); in open_hidraw()
526 /* open the bpf file */ in load_programs()
577 * retrieve and open the matching hidraw node,
708 * retrieve and open the matching hidraw node,
772 * retrieve and open the matching hidraw node,
812 * retrieve and open th
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/
H A Dtdc.py559 with open(filename) as test_data:
709 outfile = open(f, "w")
870 with open(fname, 'w') as fh:
/kernel/linux/linux-6.6/sound/isa/ad1816a/
H A Dad1816a_lib.c417 .open = snd_ad1816a_timer_open,
604 .open = snd_ad1816a_playback_open,
612 .open = snd_ad1816a_capture_open,
/kernel/linux/linux-6.6/sound/mips/
H A Dsgio2audio.c538 /* PCM playback open callback */
559 /* PCM capture open callback */
649 .open = snd_sgio2audio_playback1_open,
657 .open = snd_sgio2audio_playback2_open,
665 .open = snd_sgio2audio_capture_open,
/kernel/linux/linux-6.6/sound/oss/dmasound/
H A Ddmasound_core.c134 * - fix open() to return -EBUSY as per OSS doc. when
148 * sample rate (on pmac) it should be possible to open /dev/dspX O_WRONLY and
168 * open() and the first read() or write(). - and a bit later on (by
386 .open = mixer_open,
696 #if 0 /* blocking open() */
714 #if 0 /* blocking open() */ in sq_open2()
737 #if 0 /* blocking open() */ in sq_open2()
751 #if 0 /* blocking open() */
773 rc = -ENXIO ; /* I think this is what is required by open(2) */ in sq_open()
899 #if 0 /* blocking open() */ in sq_release()
[all...]
/kernel/linux/linux-6.6/sound/usb/usx2y/
H A Dusx2yhwdeppcm.c615 .open = snd_usx2y_usbpcm_open,
686 .open = snd_usx2y_hwdep_pcm_vm_open,
739 hw->ops.open = snd_usx2y_hwdep_pcm_open; in usx2y_hwdep_pcm_new()
/third_party/libwebsockets/lib/core/
H A Dlibwebsockets.c214 n = open(__file, __oflag, va_arg(ap, uint32_t)); in lws_open()
222 n = open(__file, __oflag, (mode_t)va_arg(ap, unsigned int)); in lws_open()
225 n = open(__file, __oflag); in lws_open()
/third_party/mbedtls/scripts/
H A Dcode_size_compare.py529 with open(fname, 'r') as csv_file:
806 output = open(output_file, "w")
833 output = open(output_file, "w")
/third_party/node/test/parallel/
H A Dtest-fs-error-messages.js443 // open
449 `ENOENT: no such file or directory, open '${nonexistentFile}'`);
452 assert.strictEqual(err.syscall, 'open');
456 fs.open(nonexistentFile, 'r', 0o666, common.mustCall(validateError));
491 `ENOENT: no such file or directory, open '${nonexistentFile}'`);
494 assert.strictEqual(err.syscall, 'open');
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dgenvk.py1071 errWarn = open(args.errfile, 'w', encoding='utf-8')
1076 diag = open(args.diagfile, 'w', encoding='utf-8')
1103 reg.dumpReg(filehandle=open('regdump.txt', 'w', encoding='utf-8'))
/third_party/vk-gl-cts/external/amber/src/samples/
H A Damber.cc302 std::cerr << "Failed to open " << input_file << std::endl; in ReadFile()
626 shader_file.open(options.shader_filename, std::ios::out);
628 std::cerr << "Cannot open file for shader dump: ";
686 image_file.open(image_filename, std::ios::out | std::ios::binary);
688 std::cerr << "Cannot open file for image dump: ";
701 buffer_file.open(options.buffer_filename, std::ios::out);
703 std::cerr << "Cannot open file for buffer dump: ";
/third_party/skia/third_party/externals/spirv-tools/tools/fuzz/
H A Dfuzz.cpp452 transformations_stream.open(transformations_file, in ParseTransformations()
671 transformations_file.open(filename, std::ios::out | std::ios::binary); in DumpTransformationsBinary()
815 transformations_file.open(output_file_prefix + ".transformations", in main()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/fuzz/
H A Dfuzz.cpp452 transformations_stream.open(transformations_file, in ParseTransformations()
671 transformations_file.open(filename, std::ios::out | std::ios::binary); in DumpTransformationsBinary()
815 transformations_file.open(output_file_prefix + ".transformations", in main()
/third_party/python/Lib/test/
H A Dtest_runpy.py244 with open(mod_fname, "w") as mod_file:
414 del d1 # Ensure __loader__ entry doesn't keep file open
428 del d2 # Ensure __loader__ entry doesn't keep file open
461 with open(init, "wt", encoding="ascii") as mod_file:
748 with open(filename, 'w', encoding='latin1') as f:
H A Dtest_tcl.py199 with open(filename, 'w') as f:
213 with open(filename, 'w') as f:
230 with open(filename, 'wb') as f:
H A Dtest_support.py79 with open(TESTFN, "w", encoding="utf-8") as f:
111 with open(mod_filename, 'w', encoding="utf-8") as f:
670 # kernel or glibc versions, os.urandom() keeps a FD open on
675 fd = os.open(__file__, os.O_RDONLY)
/third_party/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_unittest.cc90 using google::protobuf::io::win32::open;
724 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); in TEST_F()
755 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); in TEST_F()
/third_party/python/Lib/lib2to3/
H A Drefactor.py313 f = open(filename, "rb")
315 self.log_error("Can't open %s: %s", filename, err)
321 with io.open(filename, "r", encoding=encoding, newline='') as f:
521 fp = io.open(filename, "w", encoding=encoding, newline='')
/third_party/skia/gn/
H A Dgn_to_cmake.py648 out = open(posixpath.join(project.build_path, 'CMakeLists.txt'), 'w+')
680 out = open(extName, 'w+')
731 with open(json_path, 'r') as json_file:

Completed in 34 milliseconds

1...<<151152153154155156157158159160>>...334