STRUCT BINDER_SG_COPY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

struct binder_sg_copy(9) 🧚 β€” scatter-gather data to be copied

okay so bestie, this page is from the Kernel API Manual, and it’s giving very specific kernel-struct energy. We’re talking about struct binder_sg_copy, the little scatter-gather data-to-be-copied icon. 🫢

✨ NAME ✨

struct binder_sg_copy β€” scatter-gather data to be copied.

πŸŽ€ SYNOPSIS πŸŽ€

struct binder_sg_copy {
    binder_size_t offset;
    const void __user *sender_uaddr;
    size_t length;
    struct list_head node;
 };

🫢 Members 🫢

  • offset β€” offset in target buffer.
  • sender_uaddr β€” user address in source buffer.
  • length β€” bytes to copy.
  • node β€” list node.

🌸 Description 🌸

So this struct is used for the sg copy list (sgc) β€” yes, the scatter-gather copy list, she has a nickname. It gets created and consumed during binder_transaction, and it’s only accessed locally. No locking is necessary, not even a little bit. πŸ’…

The list is ordered by offset, periodt. Keep that in mind because the vibe check depends on it. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file is ./drivers/android/binder.c β€” that’s where the whole crew lives. Here’s every single bestie in the SEE ALSO squad:

mwah πŸ’‹ this page says it’s from ./drivers/android, dated October 2026, and it’s still serving struct binder_sg_copy(9) main-character energy. byeee πŸ¦‹

πŸ“¦ where this page comes from