/samples/mic/mpssd/ |
D | mpssd.c | 166 mic->name, strerror(errno)); in tap_configure() 172 mic->name, strerror(errno)); in tap_configure() 179 mic->name, strerror(errno)); in tap_configure() 198 mic->name, strerror(errno)); in tap_configure() 204 mic->name, strerror(errno)); in tap_configure() 211 mic->name, strerror(errno)); in tap_configure() 215 mic->name, __func__, __LINE__); in tap_configure() 241 mic->name, __func__, __LINE__, strerror(errno)); in tun_alloc() 251 mic->name, __func__, __LINE__, strerror(errno)); in tun_alloc() 279 mpsslog("%s %s %d not found\n", mic->name, __func__, type); in set_dp() [all …]
|
D | mpssd.h | 73 char *name; member
|
/samples/bpf/ |
D | sock_example.h | 13 static inline int open_raw_sock(const char *name) in open_raw_sock() argument 26 sll.sll_ifindex = if_nametoindex(name); in open_raw_sock() 29 printf("bind to %s: %s\n", name, strerror(errno)); in open_raw_sock()
|
D | xdp_fwd_user.c | 30 static int do_attach(int idx, int prog_fd, int map_fd, const char *name) in do_attach() argument 36 printf("ERROR: failed to attach program to %s\n", name); in do_attach() 43 printf("ERROR: failed using device %s as TX-port\n", name); in do_attach() 48 static int do_detach(int idx, const char *name) in do_detach() argument 54 printf("ERROR: failed to detach program from %s\n", name); in do_detach()
|
D | test_cgrp2_sock.c | 126 static int get_bind_to_device(int sd, char *name, size_t len) in get_bind_to_device() argument 131 name[0] = '\0'; in get_bind_to_device() 132 rc = getsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, name, &optlen); in get_bind_to_device() 168 char name[16]; in show_sockopts() local 177 if (get_bind_to_device(sd, name, sizeof(name)) < 0) in show_sockopts() 185 printf("sd %d: dev %s, mark %u, priority %u\n", sd, name, mark, prio); in show_sockopts()
|
D | xdp_sample_pkts_user.c | 28 static int do_attach(int idx, int fd, const char *name) in do_attach() argument 36 printf("ERROR: failed to attach program to %s\n", name); in do_attach() 50 static int do_detach(int idx, const char *name) in do_detach() argument 63 printf("ERROR: failed to detach prog from %s\n", name); in do_detach() 65 printf("couldn't find a prog id on a %s\n", name); in do_detach()
|
D | task_fd_query_user.c | 121 const char *name, __u64 offset, __u64 addr, bool is_return, in test_nondebug_fs_kuprobe_common() argument 141 if (name) { in test_nondebug_fs_kuprobe_common() 142 attr.config1 = ptr_to_u64((void *)name); in test_nondebug_fs_kuprobe_common() 162 static int test_nondebug_fs_probe(const char *event_type, const char *name, in test_nondebug_fs_probe() argument 172 err = test_nondebug_fs_kuprobe_common(event_type, name, in test_nondebug_fs_probe() 180 __func__, name ? name : "", offset, addr, is_return); in test_nondebug_fs_probe() 190 if (name) { in test_nondebug_fs_probe() 191 if (strcmp(name, buf) != 0) { in test_nondebug_fs_probe()
|
D | offwaketime_kern.c | 40 char name[TASK_COMM_LEN]; member 69 bpf_get_current_comm(&woke.name, sizeof(woke.name)); in waker() 90 __builtin_memcpy(&key.waker, woke->name, sizeof(key.waker)); in update_counts()
|
D | test_cls_bpf.sh | 31 ip link add name $IFC type veth peer name pair_$IFC
|
D | tracex6_user.c | 73 const char *name) in test_perf_event_array() argument 79 printf("Test reading %s counters\n", name); in test_perf_event_array() 96 printf("Test: %s FAILED\n", name); in test_perf_event_array()
|
D | offwaketime_user.c | 34 printf("%s/%llx;", sym->name, addr); in print_ksym() 36 printf("%s;", sym->name); in print_ksym()
|
D | bpf_load.h | 22 char *name; member
|
D | tracex1_kern.c | 36 bpf_probe_read(devname, sizeof(devname), dev->name); in bpf_prog1()
|
D | spintest_user.c | 46 printf(" %s", sym->name); in main()
|
D | trace_event_user.c | 39 printf("%s;", sym->name); in print_ksym() 40 if (!strstr(sym->name, "sys_read")) in print_ksym() 42 else if (!strstr(sym->name, "sys_write")) in print_ksym()
|
D | map_perf_test_user.c | 399 if (!strcmp("inner_lru_hash_map", map->name)) { in fixup_map() 404 if (!strcmp("array_of_lru_hashs", map->name)) { in fixup_map() 413 if (!strcmp("lru_hash_lookup_map", map->name)) in fixup_map() 423 if (!strcmp(test_map_names[i], map->name) && in fixup_map()
|
/samples/livepatch/ |
D | livepatch-callbacks-demo.c | 101 pr_info("%s: %s -> %s\n", callback, obj->mod->name, in callback_info() 150 .name = NULL, /* vmlinux */ 159 .name = "livepatch_callbacks_mod", 168 .name = "livepatch_callbacks_busymod",
|
/samples/binderfs/ |
D | binderfs_example.c | 52 memcpy(device.name, "my-binder", strlen("my-binder")); in main() 72 device.major, device.minor, device.name); in main()
|
/samples/rpmsg/ |
D | rpmsg_client_sample.c | 81 { .name = "rpmsg-client-sample" }, 87 .drv.name = KBUILD_MODNAME,
|
/samples/vfio-mdev/ |
D | mdpy.c | 56 const char *name; member 63 .name = MDPY_CLASS_NAME "-" MDPY_TYPE_1, 69 .name = MDPY_CLASS_NAME "-" MDPY_TYPE_2, 75 .name = MDPY_CLASS_NAME "-" MDPY_TYPE_3, 107 if (strcmp(mdpy_types[i].name, kobj->name) == 0) in mdpy_find_type() 260 __func__, kobj->name, type->width, type->height); in mdpy_create() 657 .name = "vendor", 669 return sprintf(buf, "%s\n", kobj->name); in name_show() 671 MDEV_TYPE_ATTR_RO(name); 707 .name = MDPY_TYPE_1, [all …]
|
D | mtty.c | 714 char name[MTTY_STRING_LEN]; in mtty_create() local 721 snprintf(name, MTTY_STRING_LEN, "%s-%d", in mtty_create() 723 if (!strcmp(kobj->name, name)) { in mtty_create() 1275 .name = "mtty_dev", 1302 .name = "vendor", 1314 char name[MTTY_STRING_LEN]; in name_show() local 1319 snprintf(name, MTTY_STRING_LEN, "%s-%d", in name_show() 1321 if (!strcmp(kobj->name, name)) in name_show() 1328 static MDEV_TYPE_ATTR_RO(name); 1333 char name[MTTY_STRING_LEN]; in available_instances_show() local [all …]
|
/samples/kobject/ |
D | kset-example.c | 143 if (strcmp(attr->attr.name, "baz") == 0) in b_show() 159 if (strcmp(attr->attr.name, "baz") == 0) in b_store() 199 static struct foo_obj *create_foo_obj(const char *name) in create_foo_obj() argument 221 retval = kobject_init_and_add(&foo->kobj, &foo_ktype, NULL, "%s", name); in create_foo_obj()
|
D | kobject-example.c | 59 if (strcmp(attr->attr.name, "baz") == 0) in b_show() 75 if (strcmp(attr->attr.name, "baz") == 0) in b_store()
|
/samples/configfs/ |
D | configfs_sample.c | 200 const char *name) in simple_children_make_item() argument 208 config_item_init_type_name(&simple_child->item, name, in simple_children_make_item() 280 struct config_group *group, const char *name) in group_children_make_group() argument 289 config_group_init_type_name(&simple_children->group, name, in group_children_make_group()
|
/samples/v4l/ |
D | v4l2-pci-skeleton.c | 585 v4l2_print_dv_timings(skel->v4l2_dev.name, "query_dv_timings:", in skeleton_query_dv_timings() 612 strlcpy(i->name, "S-Video", sizeof(i->name)); in skeleton_enum_input() 616 strlcpy(i->name, "HDMI", sizeof(i->name)); in skeleton_enum_input() 860 strlcpy(vdev->name, KBUILD_MODNAME, sizeof(vdev->name)); in skeleton_probe() 909 .name = KBUILD_MODNAME,
|