MCPcopy Create free account
hub / github.com/F-Stack/f-stack / linker_find_file_by_id

Function linker_find_file_by_id

freebsd/kern/kern_linker.c:571–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569}
570
571static linker_file_t
572linker_find_file_by_id(int fileid)
573{
574 linker_file_t lf;
575
576 sx_assert(&kld_sx, SA_XLOCKED);
577 TAILQ_FOREACH(lf, &linker_files, link)
578 if (lf->id == fileid && lf->flags & LINKER_FILE_LINKED)
579 break;
580 return (lf);
581}
582
583int
584linker_file_foreach(linker_predicate_t *predicate, void *context)

Callers 5

kern_kldunloadFunction · 0.85
sys_kldnextFunction · 0.85
kern_kldstatFunction · 0.85
sys_kldfirstmodFunction · 0.85
sys_kldsymFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected