rdma_restrack_set_name(9)
π rdma_restrack_set_name(9) π
okay so bestie, welcome to the Kernel API Manual β yes, that Kernel API Manual, the one your kernel-dev mutuals keep quoting. this page is all about rdma_restrack_set_name, and ngl it's a little one but it's lowkey iconic β¨
πΈ NAME πΈ
rdma_restrack_set_name β set the task for this resource π«Ά
like, literally it just labels the resource with a task name. that's the whole vibe check.
π SYNOPSIS π
void rdma_restrack_set_name (struct rdma_restrack_entry *res , const
char *caller );
look at her. tiny signature, big main character energy π
π¦ ARGUMENTS π¦
resβ the resource entry π this is the thing you're naming, bestie. the glow-up target.callerβ the kernel name. and here's the tea π΅: ifcallerisNULL, the current task will be used instead. so you don't have to pass anything if you're feeling lazy β the kernel's got you fr fr.
π SEE ALSO π
okay so this is the rest of the squad β the whole rdma_restrack friend group, all hanging out in the kernel file ./drivers/infiniband/core/restrack.c. go say hi:
rdma_restrack_init(9)rdma_restrack_clean(9)rdma_restrack_count(9)rdma_restrack_attach_task(9)rdma_restrack_parent_name(9)rdma_restrack_new(9)rdma_restrack_add(9)rdma_restrack_abort_del(9)rdma_restrack_get_byid(9)rdma_restrack_sync(9)rdma_restrack_del(9)rdma_restrack_begin_del(9)rdma_restrack_commit_del(9)
no cap, that's thirteen little links and every single one of them is there. i counted. π
π‘ reminder: this whole page lives in ./drivers/infiniband/core β like it literally says so at the bottom of the og page.
and that's the page, bestie!! π this edition dropped October 2026, straight out of ./drivers/infiniband/core β mwah, 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