Search the directory /usr/src for files ending with .sh, and for each of those files, search for the string "function" and list the files that contain it.
find /usr/src -name '*.sh' -exec grep -RlI 'function' {} +