icc_link_nodes(9)
π icc_link_nodes(9) π
okay bestie, welcome to the Kernel API Manual β this one's a lil function called icc_link_nodes, and honestly? it's giving matchmaker energy. let's get into it β¨
π NAME π
icc_link_nodes β create link between two nodes
β¨ SYNOPSIS β¨
int icc_link_nodes (struct icc_node *src_node , struct icc_node **dst_node );
π¦ ARGUMENTS π¦
src_nodeβ the source node. the one doing the reaching out, fr fr π«Άdst_nodeβ the destination node. lowkey might not even exist yet (more on that below π)
πΈ DESCRIPTION πΈ
So the whole vibe here is: you're creating a link between two nodes. that's it, that's the job π
But here's the plot twist β the nodes might belong to different interconnect providers, and dst_node might not actually exist yet (like, the provider driver hasn't probed yet, no biggie). So the move is: just create the dst_node anyway and chill. then when the actual provider driver does get probed, the rest of the node data gets filled in. main character energy from dst_node honestly, showing up before the data does π π
β RETURN β
0 on success, or an error code otherwise. simple as that. no cap π§
π₯ SEE ALSO π₯
Kernel file ./drivers/interconnect/core.c plus all these icons:
of_icc_get_from_provider(9), of_icc_get_by_index(9), of_icc_get(9), icc_get(9), icc_set_tag(9), icc_get_name(9), icc_set_bw(9), icc_put(9), icc_node_create_dyn(9), icc_node_create(9), icc_node_destroy(9), icc_node_set_name(9), icc_link_create(9), icc_node_add(9), icc_node_del(9), icc_nodes_remove(9), icc_provider_init(9), icc_provider_register(9), icc_provider_deregister(9)
ok that's the whole page bestie, go link some nodes, you got this π
./drivers/interconnect π October 2026 π β mwah, that's the source, the date, and the whole entire manual page. slay. periodt. π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms