Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 33) sorted by relevance

12

/samples/uhid/
Duhid-example.c159 static int uhid_write(int fd, const struct uhid_event *ev) in uhid_write()
176 static int create(int fd) in create()
194 static void destroy(int fd) in destroy()
225 static int event(int fd) in event()
278 static int send_event(int fd) in send_event()
301 static int keyboard(int fd) in keyboard()
389 int fd; in main() local
/samples/timers/
Dhpet_example.c82 int fd; in hpet_open_close() local
102 int fd; in hpet_info() local
134 int iterations, i, fd; in hpet_poll() local
226 int iterations, i, fd, value; in hpet_fasync() local
/samples/watchdog/
Dwatchdog-simple.c9 int fd = open("/dev/watchdog", O_WRONLY); in main() local
/samples/vfs/
Dtest-fsmount.c20 static void check_messages(int fd) in check_messages()
50 void mount_error(int fd, const char *s) in mount_error()
97 #define E_fsconfig(fd, cmd, key, val, aux) \ argument
/samples/binderfs/
Dbinderfs_example.c20 int fd, ret, saved_errno; in main() local
/samples/watch_queue/
Dwatch_test.c64 static void consumer(int fd) in consumer()
156 int pipefd[2], fd; in main() local
/samples/bpf/
Dtracex3_user.c18 static void clear_stats(int fd) in clear_stats()
75 static void print_hist(int fd) in print_hist()
Dtest_overhead_user.c41 int i, fd; in test_task_rename() local
65 int i, fd; in test_urandom_read() local
Dfds_example.c79 int fd, ret; in bpf_do_map() local
112 int fd, sock, ret; in bpf_do_prog() local
Dtracex5_user.c40 int key, fd, progs_fd; in main() local
Dtask_fd_query_user.c51 int fd, ret; in bpf_find_probe_type() local
73 int fd, ret; in bpf_get_retprobe_bit() local
133 int fd, err = -1; in test_nondebug_fs_kuprobe_common() local
Dtracex2_user.c43 static void print_hist_for_pid(int fd, void *task) in print_hist_for_pid()
83 static void print_hist(int fd) in print_hist()
Dsyscall_tp_user.c48 int map0_fds[num_progs], map1_fds[num_progs], fd, i, j = 0; in test() local
Dtracex4_user.c29 static void print_old_objects(int fd) in print_old_objects()
Dibumad_user.c35 static void dump_counts(int fd) in dump_counts()
Dxdpsock_ctrl_proc.c59 static int send_xsks_map_fd(int sock, int fd) in send_xsks_map_fd()
Dsockex3_user.c28 int i, sock, key, fd, main_prog_fd, jmp_table_fd, hash_map_fd; in main() local
Dlathist_user.c61 static void get_data(int fd) in get_data()
Doffwaketime_user.c78 static void print_stacks(int fd) in print_stacks()
Dsampleip_user.c89 static void print_ip_map(int fd) in print_ip_map()
Dcpustat_user.c156 int len, fd; in cpu_stat_inject_cpu_frequency_event() local
Dxdp_sample_pkts_user.c27 static int do_attach(int idx, int fd, const char *name) in do_attach()
Dtrace_event_user.c105 int error = 1, fd = map_fd[0], stack_map = map_fd[1]; in print_stacks() local
/samples/hidraw/
Dhid-example.c45 int fd; in main() local
/samples/seccomp/
Duser-trap.c32 static int send_fd(int sock, int fd) in send_fd()

12