net/sched/sch_hfsc.c
Source file repositories/reference/linux-study-clean/net/sched/sch_hfsc.c
File Facts
- System
- Linux kernel
- Corpus path
net/sched/sch_hfsc.c- Extension
.c- Size
- 41455 bytes
- Lines
- 1705
- 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.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/module.hlinux/types.hlinux/errno.hlinux/compiler.hlinux/spinlock.hlinux/skbuff.hlinux/string.hlinux/slab.hlinux/list.hlinux/rbtree.hlinux/init.hlinux/rtnetlink.hlinux/pkt_sched.hnet/netlink.hnet/pkt_sched.hnet/pkt_cls.hasm/div64.h
Detected Declarations
struct internal_scstruct runtime_scstruct hfsc_classstruct hfsc_schedenum hfsc_class_flagsfunction cl_in_el_or_vttreefunction eltree_insertfunction eltree_removefunction eltree_updatefunction eltree_get_mindlfunction eltree_get_minelfunction vttree_insertfunction vttree_removefunction vttree_updatefunction vttree_firstfitfunction vttree_get_minvtfunction cftree_insertfunction cftree_removefunction cftree_updatefunction seg_x2yfunction seg_y2xfunction m2smfunction m2ismfunction d2dxfunction sm2mfunction dx2dfunction sc2iscfunction atfunction rtsc_y2xfunction rtsc_x2yfunction atfunction init_edfunction update_edfunction update_dfunction update_cfminfunction init_vffunction update_vffunction hfsc_adjust_levelsfunction list_for_each_entryfunction hfsc_find_classfunction hfsc_change_rscfunction hfsc_change_fscfunction hfsc_change_uscfunction hfsc_upgrade_rtfunction hfsc_change_classfunction hfsc_destroy_classfunction hfsc_delete_classfunction hfsc_classify
Annotated Snippet
module_init(hfsc_init);
module_exit(hfsc_cleanup);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/types.h`, `linux/errno.h`, `linux/compiler.h`, `linux/spinlock.h`, `linux/skbuff.h`, `linux/string.h`.
- Detected declarations: `struct internal_sc`, `struct runtime_sc`, `struct hfsc_class`, `struct hfsc_sched`, `enum hfsc_class_flags`, `function cl_in_el_or_vttree`, `function eltree_insert`, `function eltree_remove`, `function eltree_update`, `function eltree_get_mindl`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- Implementation status: integration implementation candidate.
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.