kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: pshah.mumbai@gmail.com (Prashant Shah)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to traverse the linked list of kernel modules
Date: Sat, 18 Jun 2011 22:24:00 +0530	[thread overview]
Message-ID: <BANLkTim83QUq7NV8vH=r02RrHEHcMOOC0g@mail.gmail.com> (raw)
In-Reply-To: <BANLkTi=YaC3meCPpJCg-NAtd_GzQATp_LA@mail.gmail.com>

Hi,

> defined in ~include/linux/module.h, and they seem to be connected by a doubly
> circular link list. Now suppose I want to access all the elements in

I think can use the standard link list functions in the kernel :

list_for_each()
list_for_each_entry()

Regards.

      reply	other threads:[~2011-06-18 16:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-18 16:01 How to traverse the linked list of kernel modules amit mehta
2011-06-18 16:54 ` Prashant Shah [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTim83QUq7NV8vH=r02RrHEHcMOOC0g@mail.gmail.com' \
    --to=pshah.mumbai@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).