Searched refs:open (Results 1 – 25 of 26) sorted by relevance
12
| /samples/cgroup/ |
| A D | cgroup_event_listener.c | 34 cfd = open(argv[1], O_RDONLY); in main() 43 event_control = open(event_control_path, O_WRONLY); in main()
|
| /samples/watchdog/ |
| A D | watchdog-simple.c | 9 int fd = open("/dev/watchdog", O_WRONLY); in main()
|
| /samples/timers/ |
| A D | hpet_example.c | 89 fd = open(argv[0], O_RDONLY); in hpet_open_close() 109 fd = open(argv[0], O_RDONLY); in hpet_info() 149 fd = open(argv[0], O_RDONLY); in hpet_poll() 243 fd = open(argv[0], O_RDONLY); in hpet_fasync()
|
| /samples/pfsm/ |
| A D | pfsm-wakeup.c | 38 fd_rtc = open(RTC_A, O_RDONLY); in main() 45 fd_pfsm[i] = open(dev_pfsm[i], O_RDWR); in main()
|
| /samples/user_events/ |
| A D | example.c | 45 data_fd = open(data_file, O_RDWR); in main()
|
| /samples/bpf/ |
| A D | task_fd_query_user.c | 55 fd = open(buf, O_RDONLY); in bpf_find_probe_type() 77 fd = open(buf, O_RDONLY); in bpf_get_retprobe_bit() 240 kfd = open(buf, O_WRONLY | O_TRUNC, 0); in test_debug_fs_uprobe() 257 efd = open(buf, O_RDONLY, 0); in test_debug_fs_uprobe()
|
| A D | syscall_tp_user.c | 109 fd = open(filename, O_RDONLY); in test()
|
| A D | cpustat_user.c | 157 fd = open(CPUFREQ_MAX_SYSFS_PATH, O_WRONLY); in cpu_stat_inject_cpu_frequency_event()
|
| A D | hbm.c | 80 trace_fd = open(TRACEFS "trace_pipe", O_RDONLY, 0); in read_trace_pipe2()
|
| A D | test_lru_dist.c | 174 dist_fd = open(dist_file, 0); in read_keys()
|
| /samples/binderfs/ |
| A D | binderfs_example.c | 53 fd = open("/dev/binderfs/binder-control", O_RDONLY | O_CLOEXEC); in main()
|
| /samples/hid/ |
| A D | hid_mouse.c | 63 fd = open(uevent, O_RDONLY | O_NONBLOCK); in get_hid_id()
|
| A D | hid_surface_dial.c | 76 fd = open(uevent, O_RDONLY | O_NONBLOCK); in get_hid_id()
|
| /samples/pidfd/ |
| A D | pidfd-metadata.c | 58 procfd = open(path, O_DIRECTORY | O_RDONLY | O_CLOEXEC); in pidfd_metadata_fd()
|
| /samples/hidraw/ |
| A D | hid-example.c | 57 fd = open(device, O_RDWR|O_NONBLOCK); in main()
|
| /samples/acrn/ |
| A D | vm-sample.c | 61 hsm_fd = open("/dev/acrn_hsm", O_RDWR|O_CLOEXEC); in main()
|
| /samples/rust/ |
| A D | rust_misc_device.rs | 160 fn open(_file: &File, misc: &MiscDeviceRegistration<Self>) -> Result<Pin<KBox<Self>>> { in open() method
|
| /samples/auxdisplay/ |
| A D | cfag12864b-example.c | 53 cfag12864b_fd = open(path, O_RDWR); in cfag12864b_init()
|
| /samples/nitro_enclaves/ |
| A D | ne_ioctl_sample.c | 344 enclave_image_fd = open(enclave_image_path, O_RDONLY); in ne_load_enclave_image() 789 ne_dev_fd = open(NE_DEV_NAME, O_RDWR | O_CLOEXEC); in main()
|
| /samples/qmi/ |
| A D | qmi_sample_client.c | 332 .open = simple_open, 428 .open = simple_open,
|
| /samples/vfio-mdev/ |
| A D | README.rst | 89 6. Using minicom or any terminal emulation program, open port /dev/ttyS1 or
|
| /samples/uhid/ |
| A D | uhid-example.c | 416 fd = open(path, O_RDWR | O_CLOEXEC); in main()
|
| /samples/seccomp/ |
| A D | user-trap.c | 132 mem = open(path, O_RDONLY); in handle_req()
|
| /samples/landlock/ |
| A D | sandboxer.c | 153 path_beneath.parent_fd = open(path_list[i], O_PATH | O_CLOEXEC); in populate_ruleset_fs()
|
| /samples/mei/ |
| A D | mei-amt-version.c | 120 me->fd = open("/dev/mei0", O_RDWR); in mei_init()
|
Completed in 29 milliseconds
12