Lines Matching +full:top +full:- +full:level
5 # This script detects files with kernel-doc comments for exported functions
8 # usage: Run 'scripts/find-unused-docs.sh directory' from top level of kernel
11 # example: $scripts/find-unused-docs.sh drivers/scsi
15 if ! [ -d "Documentation" ]; then
16 echo "Run from top level of kernel tree"
20 if [ "$#" -ne 1 ]; then
21 echo "Usage: scripts/find-unused-docs.sh directory"
25 if ! [ -d "$1" ]; then
40 files_included=($(grep -rHR ".. kernel-doc" --include \*.rst | cut -d " " -f 3))
42 declare -A FILES_INCLUDED
52 for file in `find $1 -name '*.c'`; do
57 str=$(scripts/kernel-doc -export "$file" 2>/dev/null)
58 if [[ -n "$str" ]]; then