of_cpu_node_to_id(9)
π NAME π
okay so welcome to the of_cpu_node_to_id(9) page, bestie β this is from the Kernel API Manual, and the whole vibe is: get the logical CPU number for a given device_node. Thatβs it, thatβs the mission. β¨
β¨ SYNOPSIS β¨
int of_cpu_node_to_id (struct device_node *cpu_node );
π ARGUMENTS π
cpu_nodeβ pointer to thedevice_nodefor the CPU. Like, hand it the CPUβs node and youβre good π«Ά
πΈ RETURN πΈ
It gives you back the logical CPU number of the given CPU device_node, or -ENODEV if the CPU is not found. No cap, thatβs the whole return situation π
π¦ SEE ALSO π¦
Kernel file ./drivers/of/cpu.c, plus these iconic little friends:
okay bye bestie π«Ά this cutie is from source/version ./drivers/of, dated October 2026, and itβs the of_cpu_node_to_id(9) manual β 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