net/core/page_pool_user.c
Source file repositories/reference/linux-study-clean/net/core/page_pool_user.c
File Facts
- System
- Linux kernel
- Corpus path
net/core/page_pool_user.c- Extension
.c- Size
- 12621 bytes
- Lines
- 484
- Domain
- Networking Core
- Bucket
- Sockets, Protocols, Packet Path, And Network Policy
- Inferred role
- Networking Core: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/mutex.hlinux/netdevice.hlinux/xarray.hnet/busy_poll.hnet/net_debug.hnet/netdev_rx_queue.hnet/page_pool/helpers.hnet/page_pool/types.hnet/page_pool/memory_provider.hnet/sock.hpage_pool_priv.hnetdev-genl-gen.h
Detected Declarations
struct page_pool_dump_cbfunction netdev_nl_page_pool_get_dofunction netdev_nl_page_pool_get_dumpfunction hlist_for_each_entryfunction page_pool_nl_stats_fillfunction netdev_nl_page_pool_stats_get_doitfunction netdev_nl_page_pool_stats_get_dumpitfunction page_pool_nl_fillfunction netdev_nl_page_pool_eventfunction netdev_nl_page_pool_get_doitfunction netdev_nl_page_pool_get_dumpitfunction page_pool_listfunction page_pool_detachedfunction page_pool_unlistfunction page_pool_check_memory_providerfunction page_pool_unreg_netdev_wipefunction page_pool_unreg_netdevfunction page_pool_netdevice_eventfunction page_pool_user_initmodule init page_pool_user_init
Annotated Snippet
subsys_initcall(page_pool_user_init);
Annotation
- Immediate include surface: `linux/mutex.h`, `linux/netdevice.h`, `linux/xarray.h`, `net/busy_poll.h`, `net/net_debug.h`, `net/netdev_rx_queue.h`, `net/page_pool/helpers.h`, `net/page_pool/types.h`.
- Detected declarations: `struct page_pool_dump_cb`, `function netdev_nl_page_pool_get_do`, `function netdev_nl_page_pool_get_dump`, `function hlist_for_each_entry`, `function page_pool_nl_stats_fill`, `function netdev_nl_page_pool_stats_get_doit`, `function netdev_nl_page_pool_stats_get_dumpit`, `function page_pool_nl_fill`, `function netdev_nl_page_pool_event`, `function netdev_nl_page_pool_get_doit`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.