The simplest way is to use the good old grep. For instance to find all instances of the symbol runprogram, you would do this:
cd ~/os161/src/kern
grep -r runprogram
More sophisticated way include using cscope and cflow:
Browsing the source code with cscope
Generating a callgraph with cflow