Searched refs:links (Results 101 - 125 of 280) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dcore_autosize.c146 skel->links.handle_samesize = bpf_program__attach(prog);
147 if (!ASSERT_OK_PTR(skel->links.handle_samesize, "prog_attach"))
153 skel->links.handle_downsize = bpf_program__attach(prog);
154 if (!ASSERT_OK_PTR(skel->links.handle_downsize, "prog_attach"))
160 skel->links.handle_probed = bpf_program__attach(prog);
161 if (!ASSERT_OK_PTR(skel->links.handle_probed, "prog_attach"))
H A Dcgrp_local_storage.c98 skel->links.set_cookie = bpf_program__attach_cgroup(
100 if (!ASSERT_OK_PTR(skel->links.set_cookie, "prog_attach"))
103 skel->links.update_cookie_sockops = bpf_program__attach_cgroup(
105 if (!ASSERT_OK_PTR(skel->links.update_cookie_sockops, "prog_attach"))
108 skel->links.update_cookie_tracing = bpf_program__attach(
110 if (!ASSERT_OK_PTR(skel->links.update_cookie_tracing, "prog_attach"))
H A Dsock_addr.c54 skel->links.connect_unix_prog = bpf_program__attach_cgroup(
56 if (!ASSERT_OK_PTR(skel->links.connect_unix_prog, "prog_attach"))
78 skel->links.sendmsg_unix_prog = bpf_program__attach_cgroup(
80 if (!ASSERT_OK_PTR(skel->links.sendmsg_unix_prog, "prog_attach"))
102 skel->links.recvmsg_unix_prog = bpf_program__attach_cgroup(
104 if (!ASSERT_OK_PTR(skel->links.recvmsg_unix_prog, "prog_attach"))
126 skel->links.getsockname_unix_prog = bpf_program__attach_cgroup(
128 if (!ASSERT_OK_PTR(skel->links.getsockname_unix_prog, "prog_attach"))
150 skel->links.getpeername_unix_prog = bpf_program__attach_cgroup(
152 if (!ASSERT_OK_PTR(skel->links
[all...]
H A Dbpf_iter_setsockopt.c145 iter_fd = bpf_iter_create(bpf_link__fd(iter_skel->links.change_tcp_cc));
197 iter_skel->links.change_tcp_cc = bpf_program__attach_iter(iter_skel->progs.change_tcp_cc, NULL);
198 if (!ASSERT_OK_PTR(iter_skel->links.change_tcp_cc, "attach iter"))
H A Duprobe_multi_test.c164 skel->links.uprobe = bpf_program__attach_uprobe_multi(skel->progs.uprobe, pid,
166 if (!ASSERT_OK_PTR(skel->links.uprobe, "bpf_program__attach_uprobe_multi"))
170 skel->links.uretprobe = bpf_program__attach_uprobe_multi(skel->progs.uretprobe, pid,
172 if (!ASSERT_OK_PTR(skel->links.uretprobe, "bpf_program__attach_uprobe_multi"))
176 skel->links.uprobe_sleep = bpf_program__attach_uprobe_multi(skel->progs.uprobe_sleep, pid,
178 if (!ASSERT_OK_PTR(skel->links.uprobe_sleep, "bpf_program__attach_uprobe_multi"))
182 skel->links.uretprobe_sleep = bpf_program__attach_uprobe_multi(skel->progs.uretprobe_sleep,
184 if (!ASSERT_OK_PTR(skel->links.uretprobe_sleep, "bpf_program__attach_uprobe_multi"))
188 skel->links.uprobe_extra = bpf_program__attach_uprobe_multi(skel->progs.uprobe_extra, -1,
190 if (!ASSERT_OK_PTR(skel->links
[all...]
H A Dbpf_obj_id.c16 struct bpf_link *links[nr_iters] = {}; local
73 links[i] = bpf_program__attach(prog);
74 err = libbpf_get_error(links[i]);
76 links[i] = NULL;
141 err = bpf_link_get_info_by_fd(bpf_link__fd(links[i]),
284 bpf_link__destroy(links[i]);
H A Dtcpbpf_user.c127 skel->links.bpf_testcb = bpf_program__attach_cgroup(skel->progs.bpf_testcb, cg_fd);
128 if (!ASSERT_OK_PTR(skel->links.bpf_testcb, "attach_cgroup(bpf_testcb)"))
H A Dstacktrace_build_id_nmi.c47 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu,
49 if (!ASSERT_OK_PTR(skel->links.oncpu, "attach_perf_event")) {
H A Dtest_ldsx_insn.c72 skel->links._getsockopt =
74 if (!ASSERT_OK_PTR(skel->links._getsockopt, "getsockopt_link"))
H A Dsockopt_sk.c233 skel->links._setsockopt =
235 if (!ASSERT_OK_PTR(skel->links._setsockopt, "setsockopt_link"))
238 skel->links._getsockopt =
240 if (!ASSERT_OK_PTR(skel->links._getsockopt, "getsockopt_link"))
/linux-master/sound/soc/sof/
H A Dsof-client-probes.c399 struct snd_soc_dai_link *links; local
462 links = devm_kcalloc(dev, SOF_PROBES_NUM_DAI_LINKS, sizeof(*links), GFP_KERNEL);
464 if (!links || !cpus) {
471 links[0].name = "Compress Probe Capture";
472 links[0].id = 0;
473 links[0].cpus = &cpus[0];
474 links[0].num_cpus = 1;
475 links[0].cpus->dai_name = "Probe Extraction CPU DAI";
476 links[
[all...]
/linux-master/drivers/hid/bpf/
H A Dhid_bpf_jmp_table.c504 static struct bpf_link *links[HID_BPF_PROGS_COUNT]; variable in typeref:struct:bpf_link
515 for (i = 0; i < ARRAY_SIZE(links); i++) {
516 if (!IS_ERR_OR_NULL(links[i]))
517 bpf_link_put(links[i]);
527 links[idx] = bpf_link_get_from_fd(skel->links.__name##_fd); \
528 if (IS_ERR(links[idx])) { \
529 err = PTR_ERR(links[idx]); \
536 close_fd(skel->links.__name##_fd); \
537 skel->links
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_dpia_bw.c171 if (!dc_struct->links[i] ||
172 dc_struct->links[i]->ep_type != DISPLAY_ENDPOINT_USB4_DPIA)
175 if (idx > dc_struct->links[i]->link_index) {
176 idx = dc_struct->links[i]->link_index;
194 uint8_t lowest_dpia_index = get_lowest_dpia_index(dc->links[0]);
201 if (!dc->links[i] || dc->links[i]->ep_type != DISPLAY_ENDPOINT_USB4_DPIA)
204 hr_index_temp = (dc->links[i]->link_index - lowest_dpia_index) / 2;
207 link_dpia_primary = dc->links[i];
208 link_dpia_secondary = dc->links[
[all...]
/linux-master/samples/bpf/
H A Dtest_overhead_user.c28 static struct bpf_link *links[2]; variable in typeref:struct:bpf_link
151 links[cnt] = bpf_program__attach(prog);
152 err = libbpf_get_error(links[cnt]);
155 links[cnt] = NULL;
167 bpf_link__destroy(links[--cnt]);
H A Dtracex6_user.c177 struct bpf_link *links[2]; local
205 links[i] = bpf_program__attach(prog);
206 if (libbpf_get_error(links[i])) {
208 links[i] = NULL;
218 bpf_link__destroy(links[i]);
H A Dxdp_sample_user.h66 skel->links.name = bpf_program__attach(skel->progs.name); \
67 if (!skel->links.name) \
/linux-master/sound/soc/intel/avs/boards/
H A Dhdaudio.c18 const char *platform_name, struct snd_soc_dai_link **links)
66 *links = dl;
129 struct snd_soc_dai_link *links = NULL; local
143 ret = avs_create_dai_links(card->dev, codec, pcm_count, mach->mach_params.platform, &links);
145 dev_err(card->dev, "create links failed: %d\n", ret);
149 ret = snd_soc_add_pcm_runtimes(card, links, pcm_count);
151 dev_err(card->dev, "add links failed: %d\n", ret);
17 avs_create_dai_links(struct device *dev, struct hda_codec *codec, int pcm_count, const char *platform_name, struct snd_soc_dai_link **links) argument
/linux-master/drivers/net/wireless/ti/wl18xx/
H A Dtx.c21 u8 fw_rate = wl->links[hlid].fw_rate_idx;
147 wl->links[hlid].fw_rate_idx =
149 wl->links[hlid].fw_rate_mbps =
/linux-master/kernel/bpf/
H A Dnet_namespace.c23 struct list_head node; /* node in list of links attached to net */
72 list_for_each_entry(pos, &net->bpf.links[type], node) {
85 list_for_each(pos, &net->bpf.links[type])
96 list_for_each_entry(pos, &net->bpf.links[type], node) {
315 /* Attaching prog directly is not compatible with links */
316 if (!list_empty(&net->bpf.links[type])) {
370 /* Progs attached via links cannot be detached */
371 if (!list_empty(&net->bpf.links[type]))
462 list_add_tail(&net_link->node, &net->bpf.links[type]);
534 INIT_LIST_HEAD(&net->bpf.links[typ
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dtest_cpp.cpp89 bpf_link__destroy(skel->links.handle_sys_enter);
90 skel->links.handle_sys_enter = bpf_program__attach(skel->progs.handle_sys_enter);
/linux-master/drivers/media/mc/
H A Dmc-entity.c161 list_add_tail(&gobj->list, &mdev->links);
300 graph->stack[graph->top].link = entity->links.next;
415 while (link_top(graph) != &stack_top(graph)->links)
432 * traversal, with a list of links to be visited to continue the traversal.
437 * internal pad dependencies in the entity, and then links in the graph. It
438 * does so by iterating over all links of the entity, and following enabled
439 * links that originate from a pad that is internally connected to the incoming
447 * @links: Links left to be visited
451 struct list_head *links; member in struct:media_pipeline_walk_entry
527 entry->links
[all...]
/linux-master/kernel/gcov/
H A Dfs.c44 * @links: associated symbolic links
49 * the actual synthesized data file plus any associated symbolic links which
60 struct dentry **links; member in struct:gcov_node
473 * Create links to additional files (usually .c and .gcno files) which the
485 node->links = kcalloc(num, sizeof(struct dentry *), GFP_KERNEL);
486 if (!node->links)
497 node->links[i] = debugfs_create_symlink(deskew(basename),
506 debugfs_remove(node->links[i]);
507 kfree(node->links);
[all...]
/linux-master/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_macro_gram.y141 STAILQ_FOREACH(marg, &macro_symbol->info.macroinfo->args, links) {
/linux-master/include/linux/greybus/
H A Dbundle.h35 struct list_head links; /* interface->bundles */ member in struct:gb_bundle
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dmcp89.c32 .links = g94_sor_dp_links,

Completed in 197 milliseconds

1234567891011>>