You may want to use

grep -rin LIST_HEAD *

to get the line number as well

On Fri, Oct 15, 2010 at 1:30 PM, John Mahoney <[email protected]> wrote:
>
>
> On Fri, Oct 15, 2010 at 10:20 AM, Bond <[email protected]> wrote:
>>
>> Hi,
>> every one I want to see where LIST_HEAD is used,
>> may be for any work que or any device driver can some one point me to
>> which file should I look to see
>> how LIST_HEAD macro is used.
>>
> cd PATH_TO_LINUX_SOURCE
> grep -ri LIST_HEAD *
>
>



-- 
"Somewhere, something incredible is waiting to be known." --Carl Sagan
"Keep on rockin' in the free world." -- Neil Young

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to