FreeBSD/sys/kern/kern_linker.c
/*
 * stack(9) helper for non-debugging environemnts.  Unlike DDB helpers, we do
 * obey locking protocols, and offer a significantly less complex interface.
 */
stack(9) helper for non-debugging environemnts.  Unlike DDB helpers, we do
obey locking protocols, and offer a significantly less complex interface.
stack ( 9 ) helper for non - debugging environemnts . Unlike DDB helpers we do obey locking protocols and offer a significantly less complex interface .
int
linker_search_symbol_name(caddr_t value, char *buf, u_int buflen,
    long *offset)
{
	int error;
	sx_slock(&kld_sx);
	error = linker_debug_search_symbol_name(value, buf, buflen, offset);
	sx_sunlock(&kld_sx);
	return (error);
}
int linker_search_symbol_name ( caddr_t value , char * buf , u_int buflen , long * offset ) { int error ; sx_slock ( & kld_sx ) ; error = linker_debug_search_symbol_name ( value , buf , buflen , offset ) ; sx_sunlock ( & kld_sx ) ; return ( error ) ; }
stack(9) helper for non-debugging environemnts.
stack ( 9 ) helper for non - debugging environemnts .