Home
last modified time | relevance | path

Searched refs:usetup (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/benchs/
Dbench_trigger.c335 static void usetup(bool use_retprobe, bool use_multi, void *target_addr) in usetup() function
392 usetup(false, false /* !use_multi */, &uprobe_target_nop); in uprobe_nop_setup()
397 usetup(true, false /* !use_multi */, &uprobe_target_nop); in uretprobe_nop_setup()
402 usetup(false, false /* !use_multi */, &uprobe_target_push); in uprobe_push_setup()
407 usetup(true, false /* !use_multi */, &uprobe_target_push); in uretprobe_push_setup()
412 usetup(false, false /* !use_multi */, &uprobe_target_ret); in uprobe_ret_setup()
417 usetup(true, false /* !use_multi */, &uprobe_target_ret); in uretprobe_ret_setup()
422 usetup(false, true /* use_multi */, &uprobe_target_nop); in uprobe_multi_nop_setup()
427 usetup(true, true /* use_multi */, &uprobe_target_nop); in uretprobe_multi_nop_setup()
432 usetup(false, true /* use_multi */, &uprobe_target_push); in uprobe_multi_push_setup()
[all …]
/linux-6.12.1/Documentation/input/
Duinput.rst64 struct uinput_setup usetup;
76 memset(&usetup, 0, sizeof(usetup));
77 usetup.id.bustype = BUS_USB;
78 usetup.id.vendor = 0x1234; /* sample vendor */
79 usetup.id.product = 0x5678; /* sample product */
80 strcpy(usetup.name, "Example device");
82 ioctl(fd, UI_DEV_SETUP, &usetup);
126 struct uinput_setup usetup;
139 memset(&usetup, 0, sizeof(usetup));
140 usetup.id.bustype = BUS_USB;
[all …]