Re: Get all_bdevs from module?

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

 



There is a list head called 'bd_list' in struct block_device which is the point of
attachment for the circular list headed at all_bdevs.  Therefore if you start with
ANY properly initialized bdev you can get the whole thing with list iterator funcs.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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