`#include ` from arch/x/bugs.c: two headers end with the * include path (include/linux/device.h, tools/virtio/linux/device.h) and each * declares `struct device`. The exact-file lookup returned the first matching * node in by-name bucket order — the workers' merge order, different run to * run: 5,821 kernel IMPORTS edges moved between two indexes of one tree and * the CALLS re
| 14824 | * the CALLS resolved through their import maps moved with them. The target is |
| 14825 | * the least nested File node, whichever order the nodes were registered in. */ |
| 14826 | static void add_device_header(cbm_gbuf_t *gb, const char *rel, const char *qn_stem) { |
| 14827 | char fqn[256]; |
| 14828 | snprintf(fqn, sizeof(fqn), "%s.h.__file__", qn_stem); |
| 14829 | cbm_gbuf_upsert_node(gb, "File", "device.h", fqn, rel, 0, 0, "{}"); |
| 14830 | char cqn[256]; |
| 14831 | snprintf(cqn, sizeof(cqn), "%s.device", qn_stem); |
| 14832 | cbm_gbuf_upsert_node(gb, "Class", "device", cqn, rel, 10, 40, "{}"); |
| 14833 | } |
| 14834 | |
| 14835 | static const cbm_gbuf_node_t *resolve_device_h_from(cbm_gbuf_t *gb) { |
| 14836 | atomic_int cancelled = 0; |
no test coverage detected