hlist_node v/s list_head

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

 



hi All,

struct hlist_head {

    struct hlist_node *first;
};

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

Why there is a double pointer here  ??


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