__rxe_insert_mcg(9)
π __rxe_insert_mcg(9) π
okay bestie, this is the Kernel API Manual page for __rxe_insert_mcg(9) β the helper that inserts an mcg into the red-black tree at rxe->mcg_tree. β¨
πΈ NAME πΈ
__rxe_insert_mcg β insert an mcg into red-black tree (rxe->mcg_tree).
β¨ SYNOPSIS β¨
void __rxe_insert_mcg (struct rxe_mcg *mcg );
π ARGUMENTS π
mcgβ the mcg object with an embedded red-black tree node. That's the argument, and honestly it's giving exactly what it needs to give. π«Ά
π CONTEXT π
Okay so listen: the caller must hold a reference to mcg and rxe->mcg_lock, and is responsible to avoid adding the same mcg twice to the tree. no cap, those are the caller rules. π
bestie, this is the context section doing its job β lock, reference, and don't double-add. periodt. π¨
π¦ SEE ALSO π¦
Kernel file: ./drivers/infiniband/sw/rxe/rxe_mcast.c
rxe_mcast_add(9)rxe_mcast_del(9)__rxe_remove_mcg(9)__rxe_lookup_mcg(9)rxe_lookup_mcg(9)__rxe_init_mcg(9)__rxe_publish_mcg(9)rxe_get_mcg(9)rxe_cleanup_mcg(9)__rxe_destroy_mcg(9)rxe_destroy_mcg(9)__rxe_init_mca(9)rxe_attach_mcg(9)__rxe_cleanup_mca(9)rxe_detach_mcg(9)rxe_attach_mcast(9)rxe_detach_mcast(9)
signed off from source/version ./drivers/infiniband/sw/rxe, dated October 2026 β __rxe_insert_mcg(9) out. π
π¦ 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