Query: pci_bus_alloc_resource
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PCI_BUS_ALLOC_RESOUR(9) Hardware Interfaces PCI_BUS_ALLOC_RESOUR(9)NAMEpci_bus_alloc_resource - allocate a resource from a parent busSYNOPSISint pci_bus_alloc_resource(struct pci_bus * bus, struct resource * res, resource_size_t size, resource_size_t align, resource_size_t min, unsigned int type_mask, resource_size_t (*alignf) (void *, const struct resource *, resource_size_t, resource_size_t), void * alignf_data);ARGUMENTSbus PCI bus res resource to allocate size size of resource to allocate align alignment of resource to allocate min minimum /proc/iomem address to allocate type_mask IORESOURCE_* type flags alignf resource alignment function alignf_data data argument for resource alignment functionDESCRIPTIONGiven the PCI bus a device resides on, the size, minimum address, alignment and type, try to find an acceptable resource allocation for a specific device resource.COPYRIGHTKernel Hackers Manual 2.6. July 2010 PCI_BUS_ALLOC_RESOUR(9)