FreeBSD/sys/kern/kern_linker.c
/*
 * Locate a linker set and its contents.  This is a helper function to avoid
 * linker_if.h exposure elsewhere.  Note: firstp and lastp are really void **.
 * This function is used in this file so we can avoid having lots of (void **)
 * casts.
 */
Locate a linker set and its contents.  This is a helper function to avoid
linker_if.h exposure elsewhere.  Note: firstp and lastp are really void **.
This function is used in this file so we can avoid having lots of (void **)
casts.
Locate a linker set and its contents . This is a helper function to avoid linker_if . h exposure elsewhere . Note : firstp and lastp are really void ** . This function is used in this file so we can avoid having lots of ( void ** ) casts .
int
linker_file_lookup_set(linker_file_t file, const char *name,
    void *firstp, void *lastp, int *countp)
{
	sx_assert(&kld_sx, SA_LOCKED);
	return (LINKER_LOOKUP_SET(file, name, firstp, lastp, countp));
}
int linker_file_lookup_set ( linker_file_t file , const char * name , void * firstp , void * lastp , int * countp ) { sx_assert ( & kld_sx , SA_LOCKED ) ; return ( LINKER_LOOKUP_SET ( file , name , firstp , lastp , countp ) ) ; }
Locate a linker set and its contents.
Locate a linker set and its contents .