__rxe_insert_mcg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– __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


signed off from source/version ./drivers/infiniband/sw/rxe, dated October 2026 β€” __rxe_insert_mcg(9) out. πŸ’–

πŸ“¦ where this page comes from