net/nfc/hci/core.c
Source file repositories/reference/linux-study-clean/net/nfc/hci/core.c
File Facts
- System
- Linux kernel
- Corpus path
net/nfc/hci/core.c- Extension
.c- Size
- 25585 bytes
- Lines
- 1116
- 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.
- 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/init.hlinux/kernel.hlinux/module.hlinux/nfc.hnet/nfc/nfc.hnet/nfc/hci.hnet/nfc/llc.hhci.h
Detected Declarations
function Copyrightfunction nfc_hci_reset_pipesfunction nfc_hci_reset_pipes_per_hostfunction nfc_hci_msg_tx_workfunction nfc_hci_msg_rx_workfunction __nfc_hci_cmd_completionfunction nfc_hci_resp_receivedfunction nfc_hci_cmd_receivedfunction nfc_hci_sak_to_protocolfunction nfc_hci_target_discoveredfunction nfc_hci_event_receivedfunction nfc_hci_cmd_timeoutfunction hci_dev_connect_gatesfunction hci_dev_session_initfunction hci_dev_versionfunction hci_dev_upfunction hci_dev_downfunction hci_start_pollfunction hci_stop_pollfunction hci_dep_link_upfunction hci_dep_link_downfunction hci_activate_targetfunction hci_deactivate_targetfunction hci_transceivefunction hci_tm_sendfunction hci_check_presencefunction hci_discover_sefunction hci_enable_sefunction hci_disable_sefunction hci_se_iofunction nfc_hci_failurefunction nfc_hci_llc_failurefunction nfc_hci_recv_from_llcfunction skb_queue_walkfunction skb_queue_walkfunction hci_fw_downloadfunction nfc_hci_free_devicefunction nfc_hci_register_devicefunction nfc_hci_unregister_devicefunction list_for_each_entry_safefunction nfc_hci_set_clientdatafunction nfc_hci_driver_failurefunction nfc_hci_recv_framefunction nfc_hci_initfunction nfc_hci_exitmodule init nfc_hci_initexport nfc_hci_result_to_errnoexport nfc_hci_reset_pipes
Annotated Snippet
subsys_initcall(nfc_hci_init);
module_exit(nfc_hci_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("NFC HCI Core");
Annotation
- Immediate include surface: `linux/init.h`, `linux/kernel.h`, `linux/module.h`, `linux/nfc.h`, `net/nfc/nfc.h`, `net/nfc/hci.h`, `net/nfc/llc.h`, `hci.h`.
- Detected declarations: `function Copyright`, `function nfc_hci_reset_pipes`, `function nfc_hci_reset_pipes_per_host`, `function nfc_hci_msg_tx_work`, `function nfc_hci_msg_rx_work`, `function __nfc_hci_cmd_completion`, `function nfc_hci_resp_received`, `function nfc_hci_cmd_received`, `function nfc_hci_sak_to_protocol`, `function nfc_hci_target_discovered`.
- 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.