net/sched/sch_qfq.c
Source file repositories/reference/linux-study-clean/net/sched/sch_qfq.c
File Facts
- System
- Linux kernel
- Corpus path
net/sched/sch_qfq.c- Extension
.c- Size
- 43173 bytes
- Lines
- 1556
- 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/module.hlinux/init.hlinux/bitops.hlinux/errno.hlinux/netdevice.hlinux/pkt_sched.hnet/sch_generic.hnet/pkt_sched.hnet/pkt_cls.h
Detected Declarations
struct qfq_groupstruct qfq_aggregatestruct qfq_classstruct qfq_aggregatestruct qfq_groupstruct qfq_schedenum qfq_stateenum update_reasonfunction cl_is_activefunction qfq_calc_indexfunction qfq_init_aggfunction qfq_update_aggfunction qfq_add_to_aggfunction qfq_destroy_aggfunction qfq_deactivate_classfunction qfq_rm_from_aggfunction qfq_deact_rm_from_aggfunction qfq_change_aggfunction qfq_change_classfunction qfq_destroy_classfunction qfq_delete_classfunction qfq_search_classfunction qfq_bind_tcffunction qfq_unbind_tcffunction qfq_graft_classfunction qfq_dump_classfunction qfq_dump_class_statsfunction qfq_walkfunction hlist_for_each_entryfunction qfq_gtfunction qfq_round_downfunction mask_fromfunction qfq_calc_statefunction qfq_move_groupsfunction qfq_unblock_groupsfunction qfq_make_eligiblefunction lmaxfunction qfq_front_slot_removefunction downfunction qfq_update_eligiblefunction charge_actual_servicefunction EBfunction qfq_update_agg_tsfunction qfq_enqueuefunction qfq_schedule_aggfunction qfq_activate_aggfunction qfq_slot_removefunction qfq_deactivate_agg
Annotated Snippet
module_init(qfq_init);
module_exit(qfq_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Quick Fair Queueing Plus qdisc");
Annotation
- Immediate include surface: `linux/module.h`, `linux/init.h`, `linux/bitops.h`, `linux/errno.h`, `linux/netdevice.h`, `linux/pkt_sched.h`, `net/sch_generic.h`, `net/pkt_sched.h`.
- Detected declarations: `struct qfq_group`, `struct qfq_aggregate`, `struct qfq_class`, `struct qfq_aggregate`, `struct qfq_group`, `struct qfq_sched`, `enum qfq_state`, `enum update_reason`, `function cl_is_active`, `function qfq_calc_index`.
- 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.