Home | History | Annotate | Download | only in linux

Lines Matching refs:base

109 # Some use a special base to offset their ioctls on. Extract that as well.
116 for base in $bases; do
117 echo "Looking for $base"
118 regexp="^[[:space:]]*#[[:space:]]*define[[:space:]]\+$base"
121 echo "$base is a #define" # "($line)"
125 if ! grep "\<$base\>" ioctldefs.h >/dev/null 2>/dev/null; then
131 ${CPP:-cpp} -P $(grep -l $base $files 2>/dev/null) | sed '/^$/d' | \
132 awk -v base="$base" '{
141 if ($1 == base) {
142 print "#define " base " (" val ")"
150 if ! grep "\<$base\>" ioctldefs.h >/dev/null 2>/dev/null; then
151 echo "Can't find the definition for $base"
153 echo "$base is an enum"