"struct pci_dev" allocation?

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

 



Hello,

 

I have another question.....

I am looking at the accompanying code to the book "Linux Device Drivers, 3rd edition". The file is "pci_skel.c".  My question is where is the memory for the  "struct pci_dev"  structure allocated?  I see the pointer "dev" reference it; and functions such as "probe()" and "remove()" are passed a pointer to this "pci_dev" structure but I can't see where the memory for it is actually being allocated.

 

Thank you

 


[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