Searched refs:open (Results 226 - 250 of 2525) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/timens/
H A Dtimens.c64 parent_ns = open(path, O_RDONLY);
66 return pr_perror("Unable to open %s", path);
75 child_ns = open(path, O_RDONLY);
77 return pr_perror("Unable to open %s", path);
/linux-master/tools/testing/selftests/ir/
H A Dir_loopback.c82 ksft_exit_fail_msg("cannot open %s: %m\n", buf);
96 fd = open(buf, O_RDWR | O_NONBLOCK);
98 ksft_exit_fail_msg("cannot open: %s: %m\n", buf);
127 protocolfd = open(buf, O_WRONLY);
129 ksft_exit_fail_msg("failed to open %s: %m\n", buf);
/linux-master/tools/testing/selftests/kcmp/
H A Dkcmp_test.c42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644);
94 fd2 = open(kpath, O_RDWR, 0644);
96 perror("Can't open file");
/linux-master/tools/verification/dot2/
H A Ddot2k.py55 fd = open(path)
57 raise Exception("Cannot open the file: %s" % path)
151 file = open(path, 'w')
/linux-master/drivers/xen/
H A Dprivcmd-buf.c127 .open = privcmd_buf_vma_open,
181 .open = privcmd_buf_open,
/linux-master/drivers/scsi/qedi/
H A Dqedi_dbg.h116 .open = simple_open, \
125 .open = drv##_dbg_##ops##_open, \
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtest_local_storage.c33 null_fd = open("/dev/null", O_WRONLY);
124 rm_fd = open(tmp_exec_path, O_RDONLY);
125 if (!ASSERT_GE(rm_fd, 0, "open(tmp_exec_path)"))
/linux-master/drivers/net/wireless/ath/ath9k/
H A Ddfs_debug.c126 .open = simple_open,
134 .open = simple_open,
H A Dhtc_drv_debug.c72 .open = simple_open,
142 .open = simple_open,
188 .open = simple_open,
240 .open = simple_open,
284 .open = simple_open,
308 .open = simple_open,
355 .open = simple_open,
391 .open = simple_open,
/linux-master/scripts/
H A Dgenerate_rust_analyzer.py24 with open(objtree / "include" / "generated" / "rustc_cfg") as fd:
112 return f"{target}.o" in open(build_file).read()
/linux-master/drivers/scsi/qedf/
H A Dqedf_dbg.h135 .open = simple_open, \
144 .open = drv##_dbg_##ops##_open, \
/linux-master/sound/firewire/digi00x/
H A Ddigi00x-midi.c120 .open = midi_open,
125 .open = midi_open,
/linux-master/sound/firewire/dice/
H A Ddice-midi.c99 .open = midi_open,
104 .open = midi_open,
/linux-master/sound/firewire/bebob/
H A Dbebob_midi.c96 .open = midi_open,
101 .open = midi_open,
/linux-master/sound/firewire/oxfw/
H A Doxfw-midi.c141 .open = midi_capture_open,
146 .open = midi_playback_open,
/linux-master/sound/firewire/fireworks/
H A Dfireworks_midi.c95 .open = midi_open,
100 .open = midi_open,
/linux-master/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py335 f_handle = open('cpu.csv', 'a')
367 f_handle = open('cpu.csv', 'a')
376 f_handle = open('/sys/kernel/tracing/trace', 'w')
386 open(trace_file,'w').write("1")
395 open(trace_file, 'w').write("0")
404 with open('/sys/kernel/tracing/buffer_size_kb', 'w') as fp:
414 open('/sys/kernel/tracing/buffer_size_kb'
427 data = open(filename, 'r').read()
/linux-master/lib/kunit/
H A Ddebugfs.c154 .open = debugfs_results_open,
161 .open = debugfs_run_open,
/linux-master/tools/testing/selftests/mm/
H A Dcompaction_test.c62 fd = open("/proc/sys/vm/compact_unevictable_allowed",
65 ksft_print_msg("Failed to open /proc/sys/vm/compact_unevictable_allowed: %s\n",
96 fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK);
98 ksft_print_msg("Failed to open /proc/sys/vm/nr_hugepages: %s\n",
H A Dtranshuge-stress.c62 backing_fd = open(name, O_RDWR);
64 ksft_exit_fail_msg("open %s\n", name);
72 pagemap_fd = open("/proc/self/pagemap", O_RDONLY);
74 ksft_exit_fail_msg("open pagemap\n");
H A Dsoft-dirty.c140 test_fd = open(fname, O_RDWR | O_CREAT, 0664);
142 ksft_test_result_skip("Test %s open() file failed\n", __func__);
198 pagemap_fd = open(PAGEMAP_FILE_PATH, O_RDONLY);
200 ksft_exit_fail_msg("Failed to open %s\n", PAGEMAP_FILE_PATH);
/linux-master/drivers/accessibility/speakup/
H A Ddevsynth.c154 .open = speakup_file_open,
161 .open = speakup_file_open,
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhw_gpio.h51 bool (*open)( member in struct:hw_gpio_pin_funcs
/linux-master/drivers/s390/char/
H A Dsclp_ctl.c115 .open = nonseekable_open,
/linux-master/drivers/usb/serial/
H A Dnavman.c103 .open = navman_open,

Completed in 183 milliseconds

1234567891011>>