rdma_restrack_get_byid(9)
π rdma_restrack_get_byid(9)
okay so bestie, welcome to the Kernel API Manual β this one is literally rdma_restrack_get_byid, and it's giving "translator" energy fr fr π¦
β¨ NAME β¨
rdma_restrack_get_byid β translate from ID to restrack object π no cap, that's the whole vibe.
πΈ SYNOPSIS πΈ
struct rdma_restrack_entry * rdma_restrack_get_byid (struct ib_device
*dev , enum rdma_restrack_type type , u32 id );
gorgeous, iconic, three args, we love to see it π
π ARGUMENTS π
devβ the IB device, your main character π«Άtypeβ the resource track type, iykyk πidβ the ID to take a look at π literally just peek at it
β RETURN β
Pointer to restrack entry or -ENOENT in case of error. so like, you either get the pointer or you get nothing and a sad little -ENOENT π that's the deal.
π₯ SEE ALSO π₯
Kernel file ./drivers/infiniband/core/restrack.c β and the whole restrack friend group, they all ate:
rdma_restrack_init(9)rdma_restrack_clean(9)rdma_restrack_count(9)rdma_restrack_attach_task(9)rdma_restrack_set_name(9)rdma_restrack_parent_name(9)rdma_restrack_new(9)rdma_restrack_add(9)rdma_restrack_abort_del(9)rdma_restrack_sync(9)rdma_restrack_del(9)rdma_restrack_begin_del(9)rdma_restrack_commit_del(9)
and that's the page bestie π filed under ./drivers/infiniband/core, dated October 2026, signed rdma_restrack_get_byid(9) β 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