__rcu_deref...a_with_flags(9)
πΈ NAME πΈ
okay so bestie, welcome to the __rcu_deref...a_with_flags(9) page in the Kernel API Manual β yes, the manual name is doing the absolute most, but we move. π
This function is __rcu_dereference_sk_user_data_with_flags, and its whole vibe is: return the pointer only if the argument flags all has been set in sk_user_data. Otherwise? It returns NULL. No cap. Periodt. πβ¨
β¨ SYNOPSIS β¨
void * __rcu_dereference_sk_user_data_with_flags (const struct sock *sk
, uintptr_t flags );
π ARGUMENTS π
skβ socket. Thatβs the socket weβre inspecting, the main character of this little pointer check. π§flagsβ flag bits. These are the bits that all have to be set insk_user_datafor the pointer to come through; otherwise itβs aNULLsituation. π«Ά
π₯ SEE ALSO π₯
aww yes, the friend group β every single one of these cuties is linked from the original page, so here they all are:
- Kernel file
./include/net/sock.h struct sock_common(9)struct sock(9)sk_user_data_is_nocopy(9)__locked_read_sk_user_data_with_flags(9)sk_for_each_entry_offset_rcu(9)SOCK_CONNECT_BIND(9)lock_sock_fast(9)unlock_sock_fast(9)sk_wmem_alloc_get(9)sk_rmem_alloc_get(9)sk_has_allocations(9)skwq_has_sleeper(9)sock_poll_wait(9)sk_page_frag(9)_sock_tx_timestamp(9)sk_eat_skb(9)
signed off from ./include/net, dated October 2026, with the __rcu_deref...a_with_flags(9) manual name glittered across the bottom. mwah πβ¨
π¦ 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