Lines Matching refs:hole_t
132 typedef struct hole hole_t; typedef
137 hole_t *next;
157 hole_t mem_hole; /* Memory hole linked list. */
158 hole_t io_hole; /* IO hole linked list */
324 static void pcicfg_free_hole(hole_t *);
325 static uint64_t pcicfg_alloc_hole(hole_t *, uint64_t *, uint32_t);
339 static uint64_t pcicfg_unused_space(hole_t *, uint32_t *);
1168 phdl->mem_hole.next = (hole_t *)NULL; in pcicfg_ntbridge_allocate_resources()
1207 phdl->io_hole.next = (hole_t *)NULL; in pcicfg_ntbridge_allocate_resources()
2439 phdl->mem_hole.next = (hole_t *)NULL; in pcicfg_allocate_chunk()
2456 phdl->io_hole.next = (hole_t *)NULL; in pcicfg_allocate_chunk()
2472 pcicfg_unused_space(hole_t *hole, uint32_t *hole_count) in pcicfg_unused_space()
2493 pcicfg_free_hole(hole_t *addr_hole) in pcicfg_free_hole()
2495 hole_t *nhole, *hole = addr_hole->next; in pcicfg_free_hole()
2499 kmem_free(hole, sizeof (hole_t)); in pcicfg_free_hole()
2505 pcicfg_alloc_hole(hole_t *addr_hole, uint64_t *alast, uint32_t length) in pcicfg_alloc_hole()
2508 hole_t *hole = addr_hole, *thole, *nhole; in pcicfg_alloc_hole()
2525 nhole = (hole_t *)kmem_zalloc(sizeof (hole_t), in pcicfg_alloc_hole()