hfi1_rcd_get(9)
π hfi1_rcd_get(9) π
β¨ NAME β¨
hfi1_rcd_get β increment reference for rcd. and yes bestie, this page is from the Kernel API Manual, section 9 π
π¦ SYNOPSIS π¦
the whole signature, no cap:
int hfi1_rcd_get (struct hfi1_ctxtdata *rcd );
π ARGUMENTS π
rcdβ pointer to an initializedrcddata structure π«Ά
π DESCRIPTION π
Use this to get a reference after the init. thatβs it, thatβs the vibe β¨
π RETURN π
it reflects kref_get_unless_zero, which returns non-zero on increment, otherwise 0. so: increment = non-zero, no increment = 0 π
π₯ SEE ALSO π₯
- Kernel file:
./drivers/infiniband/hw/hfi1/init.c hfi1_rcd_free(9)hfi1_rcd_put(9)allocate_rcd_index(9)hfi1_rcd_get_by_index_safe(9)hfi1_rcd_get_by_index(9)hfi1_free_ctxt(9)init_after_reset(9)create_workqueues(9)destroy_workqueues(9)enable_general_intr(9)hfi1_init(9)shutdown_device(9)hfi1_free_ctxtdata(9)hfi1_free_devdata(9)hfi1_alloc_devdata(9)hfi1_create_rcvhdrq(9)hfi1_setup_eagerbufs(9)
mwah π this page lives in ./drivers/infiniband/hw/hfi1, dated October 2026 β source/version and date, signed off with bestie energy π«Ά
π¦ 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