Searched refs:open (Results 26 - 50 of 2525) sorted by relevance

1234567891011>>

/linux-master/arch/powerpc/boot/
H A Dmpc52xx-psc.c59 scdp->open = psc_open;
/linux-master/tools/testing/selftests/filesystems/
H A Ddnotify_test.c26 fd = open(".", O_RDONLY);
/linux-master/tools/testing/selftests/intel_pstate/
H A Dmsr.c29 fd = open(msr_file_name, O_RDONLY);
32 perror("Failed to open");
/linux-master/drivers/media/dvb-frontends/
H A Dsp2.h41 int slot, int open);
H A Ddib0070.h51 extern void dib0070_ctrl_agc_filter(struct dvb_frontend *, u8 open);
67 static inline void dib0070_ctrl_agc_filter(struct dvb_frontend *fe, u8 open) argument
/linux-master/tools/testing/selftests/fpu/
H A Dtest_fpu.c21 int fd = open(test_fpu_path, O_RDONLY);
/linux-master/drivers/comedi/drivers/ni_routing/tools/
H A Dmake_blank_csv.py23 with open(csv_fname, 'w') as F_csv:
/linux-master/tools/testing/selftests/proc/
H A Dproc-uptime-001.c33 fd = open("/proc/uptime", O_RDONLY);
/linux-master/net/tipc/
H A Dname_distr.h74 u16 *rcv_nxt, bool *open);
/linux-master/tools/testing/selftests/thermal/intel/workload_hint/
H A Dworkload_hint_test.c33 fd = open(WORKLOAD_ENABLE_ATTRIBUTE, O_RDWR);
35 perror("Unable to open workload type feature enable file\n");
73 fd = open(WORKLOAD_NOTIFICATION_DELAY_ATTRIBUTE, O_RDWR);
75 perror("Unable to open workload notification delay\n");
95 fd = open(WORKLOAD_ENABLE_ATTRIBUTE, O_RDWR);
97 perror("Unable to open workload type feature enable file\n");
111 fd = open(WORKLOAD_TYPE_INDEX_ATTRIBUTE, O_RDONLY);
113 perror("Unable to open workload type file\n");
/linux-master/tools/testing/selftests/efivarfs/
H A Dcreate-read.c26 fd = open(path, O_RDWR | O_CREAT, 0600);
28 perror("open(O_WRONLY)");
/linux-master/tools/testing/selftests/wireguard/qemu/
H A Dinit.c66 fd = open("/dev/random", O_WRONLY);
68 panic("open(random)");
114 fd = open("/proc/sys/kernel/printk", O_WRONLY);
120 fd = open("/proc/sys/debug/exception-trace", O_WRONLY);
179 fd = open("/proc/cmdline", O_RDONLY);
181 panic("open(/proc/cmdline)");
195 fd = open(success_dev, O_WRONLY);
197 panic("open(success_dev)");
219 int fd = open("/dev/console", O_RDWR);
231 panic("Unable to open consol
[all...]
/linux-master/drivers/xen/xenfs/
H A Dxenstored.c50 .open = xsd_kva_open,
66 .open = xsd_port_open,
/linux-master/arch/um/drivers/
H A Dtty.c52 fd = open(data->dev, mode);
73 .open = tty_open,
/linux-master/tools/power/cpupower/utils/helpers/
H A Dmsr.c32 fd = open(msr_file_name, O_RDONLY);
61 fd = open(msr_file_name, O_WRONLY);
/linux-master/include/linux/mtd/
H A Dblktrans.h28 int open; member in struct:mtd_blktrans_dev
61 int (*open)(struct mtd_blktrans_dev *dev); member in struct:mtd_blktrans_ops
/linux-master/samples/cgroup/
H A Dcgroup_event_listener.c34 cfd = open(argv[1], O_RDONLY);
36 err(1, "Cannot open %s", argv[1]);
43 event_control = open(event_control_path, O_WRONLY);
45 err(1, "Cannot open %s", event_control_path);
/linux-master/tools/testing/selftests/powerpc/papr_vpd/
H A Dpapr_vpd.c18 const int devfd = open(DEVPATH, O_RDONLY);
31 const int devfd = open(DEVPATH, O_RDONLY);
70 const int devfd = open(DEVPATH, O_RDONLY);
111 const int devfd = open(DEVPATH, O_RDONLY);
137 const int devfd = open(DEVPATH, O_RDONLY);
156 const int devfd = open(DEVPATH, O_RDONLY);
179 const int devfd = open(DEVPATH, O_RDONLY);
262 const int devfd = open(DEVPATH, O_RDONLY);
308 .description = "open/close " DEVPATH,
/linux-master/tools/testing/selftests/user_events/
H A Ddyn_test.c26 int fd = open(abi_file, O_RDWR);
44 int fd = open(enable_file, O_RDONLY);
85 int fd = open(dyn_file, O_RDWR | O_APPEND);
109 int fd = open(abi_file, O_RDWR);
147 int fd = open(abi_file, O_RDWR);
/linux-master/tools/testing/kunit/
H A Dkunit_tool_test.py101 with open(log_path) as file:
112 with open(log_path) as file:
141 with open(all_passed_log) as file:
148 with open(all_passed_log) as file:
155 with open(kselftest_log) as file:
162 with open(failed_log) as file:
169 with open(empty_log) as file:
179 with open(missing_plan_log) as file:
189 with open(header_log) as file:
198 with open(no_plan_lo
[all...]
/linux-master/tools/cgroup/
H A Diocost_coef_gen.py102 with open(outfile.name, 'r') as f:
110 with open(elevator_path, 'w') as f:
112 with open(nomerges_path, 'w') as f:
142 with open(elevator_path, 'r') as f:
144 with open(nomerges_path, 'r') as f:
149 with open(elevator_path, 'w') as f:
151 with open(nomerges_path, 'w') as f:
/linux-master/tools/laptop/freefall/
H A Dfreefall.c42 int fd = open(unload_heads_path, O_RDONLY);
56 int fd = open(path, O_RDWR);
59 perror("open");
125 fd = open("/dev/freefall", O_RDONLY);
/linux-master/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.h36 .open = simple_open, \
69 .open = simple_open, \
95 .open = simple_open, \
/linux-master/tools/testing/selftests/timers/
H A Dclocksource-switch.c47 fd = open("/sys/devices/system/clocksource/clocksource0/available_clocksource", O_RDONLY);
79 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_RDONLY);
91 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_WRONLY);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_cpp.cpp20 int open(const struct bpf_object_open_opts *opts = nullptr) function in class:Skeleton
27 skel = T::open(opts);
61 err = skel.open(&opts);
63 fprintf(stderr, "Skeleton open failed: %d\n", err);

Completed in 232 milliseconds

1234567891011>>