Re: hlist_node v/s list_head

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, Apr 7, 2010 at 5:09 PM, Onkar Mahajan <kern.devel@xxxxxxxxx> wrote:
hi All,

struct hlist_head {

    struct hlist_node *first;
};

struct hlist_node {
    struct hlist_node *next, **pprev;<--------------------------------
};

Why there is a double pointer here  ??

Hope this helps:-
http://mail.nl.linux.org/kernelnewbies/2008-02/msg00001.html
 http://lkml.org/lkml/2000/7/28/10

Neependra


struct list_head {
    struct list_head *next, *prev;
};


Regards,
Onkar



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux