Searched refs:memlist (Results 1 - 25 of 119) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/sys/
H A Dmemlist_impl.h33 * Common memlist routines.
36 #include <sys/memlist.h>
42 extern struct memlist *memlist_get_one(void);
43 extern void memlist_free_one(struct memlist *);
44 extern void memlist_free_list(struct memlist *);
46 extern void memlist_insert(struct memlist *new, struct memlist **);
47 extern void memlist_del(struct memlist *, struct memlist **);
48 extern struct memlist *memlist_fin
[all...]
H A Dmemlist.h30 * Common memlist format, exported by boot.
41 * of struct memlist to the kernel.
43 typedef struct memlist { struct
46 struct memlist *ml_next; /* link to next list element */
47 struct memlist *ml_prev; /* link to previous list element */
50 extern int address_in_memlist(struct memlist *, uint64_t, size_t);
58 extern struct memlist *phys_install;
64 extern struct memlist *bios_rsvd;
H A Dpci_impl.h30 #include <sys/memlist.h>
93 struct memlist *io_avail; /* available free io res */
94 struct memlist *io_used; /* used io res */
95 struct memlist *mem_avail; /* available free mem res */
96 struct memlist *mem_used; /* used mem res */
97 struct memlist *pmem_avail; /* available free prefetchable mem res */
98 struct memlist *pmem_used; /* used prefetchable mem res */
99 struct memlist *bus_avail; /* available free bus res */
122 extern struct memlist *memlist_alloc(void);
123 extern void memlist_free(struct memlist *);
[all...]
H A Dmem_cage.h32 #include <sys/memlist.h>
66 extern void kcage_range_init(struct memlist *, kcage_dir_t, pgcnt_t);
/illumos-gate/usr/src/uts/intel/sys/
H A Dmemlist_plat.h38 #include <sys/memlist.h>
45 extern void copy_memlist_filter(struct memlist *, struct memlist **,
47 extern void installed_top_size(struct memlist *, pfn_t *, pgcnt_t *);
48 extern void installed_top_size_ex(struct memlist *, pfn_t *, pgcnt_t *, int *);
H A Dplatform_module.h43 extern void plat_build_mem_nodes(struct memlist *);
/illumos-gate/usr/src/uts/sun4/sys/
H A Dmemlist_plat.h36 #include <sys/memlist.h>
52 extern void copy_memlist(prom_memlist_t *, size_t, struct memlist **);
58 extern void installed_top_size(struct memlist *, pfn_t *, pgcnt_t *);
59 extern void fix_prom_pages(struct memlist *, struct memlist *);
67 extern void diff_memlists(struct memlist *, struct memlist *,
69 extern void sync_memlists(struct memlist *, struct memlist *);
/illumos-gate/usr/src/uts/sun4u/ngdr/sys/
H A Ddr_util.h32 #include <sys/memlist.h>
71 extern void dr_memlist_delete(struct memlist *mlist);
72 extern void memlist_dump(struct memlist *mlist);
73 extern int dr_memlist_intersect(struct memlist *al,
74 struct memlist *bl);
75 extern void dr_memlist_coalesce(struct memlist *mlist);
76 extern struct memlist *dr_memlist_dup(struct memlist *mlist);
77 extern struct memlist *dr_memlist_add_span(struct memlist *mlis
[all...]
/illumos-gate/usr/src/uts/i86pc/sys/
H A Ddr_util.h30 #include <sys/memlist.h>
68 extern void dr_memlist_delete(struct memlist *mlist);
69 extern void memlist_dump(struct memlist *mlist);
70 extern int dr_memlist_intersect(struct memlist *al,
71 struct memlist *bl);
72 extern void dr_memlist_coalesce(struct memlist *mlist);
73 extern struct memlist *dr_memlist_dup(struct memlist *mlist);
74 extern struct memlist *dr_memlist_add_span(struct memlist *mlis
[all...]
H A Dmemnode.h77 struct memlist;
79 extern void startup_build_mem_nodes(struct memlist *);
83 extern pgcnt_t mem_node_memlist_pages(int, struct memlist *);
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_memlist.c34 #include <sys/memlist.h>
44 memlist_dump(struct memlist *listp)
46 dprintf("memlist 0x%p content", (void *)listp);
55 struct memlist *
58 return ((struct memlist *)kmem_zalloc(sizeof (struct memlist),
63 memlist_free(struct memlist *buf)
65 kmem_free(buf, sizeof (struct memlist));
69 memlist_free_all(struct memlist **list)
71 struct memlist *nex
[all...]
H A Dpci_resource.c32 #include <sys/memlist.h>
54 static int mps_find_bus_res(int, int, struct memlist **);
56 static int hrt_find_bus_res(int, int, struct memlist **);
57 static int acpi_find_bus_res(int, int, struct memlist **);
64 struct memlist *acpi_io_res[256];
65 struct memlist *acpi_mem_res[256];
66 struct memlist *acpi_pmem_res[256];
67 struct memlist *acpi_bus_res[256];
76 struct memlist *
79 struct memlist *re
[all...]
/illumos-gate/usr/src/stand/lib/sa/
H A Dmemlist.c47 print_memlist(struct memlist *av)
49 struct memlist *p = av;
92 "Boot getlink(): no memlist space (need %d)\n", n);
101 * This is the number of memlist structures allocated in one shot. kept
106 static struct memlist *free_memlist_ptr = NULL;
110 * get_memlist_struct returns a memlist structure without initializing
114 struct memlist *
117 struct memlist *ptr;
122 sizeof (struct memlist));
123 bzero(free_memlist_ptr, (ALLOC_SZ * sizeof (struct memlist)));
[all...]
/illumos-gate/usr/src/stand/sys/
H A Dsalib.h32 #include <sys/memlist.h>
64 /* memlist.c */
66 extern void print_memlist(struct memlist *);
68 extern struct memlist *get_memlist_struct(void);
69 extern void add_to_freelist(struct memlist *);
H A Dbootsyms.h85 extern struct memlist *pfreelistp;
86 extern struct memlist *vfreelistp;
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dsun4u_memlist.c29 #include <sys/memlist.h>
54 struct memlist *fill_memlists(char *name, char *prop, struct memlist *);
55 extern struct memlist *pfreelistp, *vfreelistp, *pinstalledp;
57 static struct memlist *reg_to_list(struct sun4u_prom_memlist *a, size_t size,
58 struct memlist *old);
74 struct memlist *
75 fill_memlists(char *name, char *prop, struct memlist *old)
81 struct memlist *al;
115 prom_panic("fill_memlists - memlist siz
[all...]
H A Dboot_plat.h63 extern void update_memlist(char *, char *, struct memlist **);
97 /* memlist.c */
99 extern struct memlist *fill_memlists(char *name, char *prop,
100 struct memlist *old);
H A Dbootprop.c45 struct memlist *pfreelistp, /* physmem available */
121 struct memlist *ml;
135 for (ml = *((struct memlist **)p->val);
144 size += (int)(sizeof (struct memlist) -
145 2*sizeof (struct memlist *));
170 struct memlist *ml;
209 for (ml = *((struct memlist **)p->val);
/illumos-gate/usr/src/uts/common/os/
H A Dmemlist_new.c31 #include <sys/memlist.h>
34 static struct memlist *memlist_freelist;
41 struct memlist *
44 struct memlist *mlp;
58 memlist_free_one(struct memlist *mlp)
70 memlist_free_list(struct memlist *mlp)
72 struct memlist *mlendp;
92 struct memlist *mlp, *mlendp;
95 count = bytes / sizeof (struct memlist);
99 mlp = (struct memlist *)bas
[all...]
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_util.c175 dr_memlist_delete(struct memlist *mlist)
177 register struct memlist *ml;
181 FREESTRUCT(ml, struct memlist, 1);
186 dr_memlist_intersect(struct memlist *al, struct memlist *bl)
221 dr_memlist_coalesce(struct memlist *mlist)
231 struct memlist *nl;
240 FREESTRUCT(nl, struct memlist, 1);
252 memlist_dump(struct memlist *mlist)
254 register struct memlist *m
[all...]
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_util.c175 dr_memlist_delete(struct memlist *mlist)
177 register struct memlist *ml;
181 FREESTRUCT(ml, struct memlist, 1);
186 dr_memlist_intersect(struct memlist *al, struct memlist *bl)
221 dr_memlist_coalesce(struct memlist *mlist)
231 struct memlist *nl;
240 FREESTRUCT(nl, struct memlist, 1);
252 memlist_dump(struct memlist *mlist)
254 register struct memlist *m
[all...]
/illumos-gate/usr/src/psm/stand/sys/
H A Dboot.h53 extern struct memlist *pfreelistp, *vfreelistp, *pinstalledp;
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddr_util.c39 #include <sys/memlist.h>
145 struct memlist *
146 dr_memlist_dup(struct memlist *mlist)
148 struct memlist *hl = NULL, *tl, **mlp;
156 *mlp = (struct memlist *)kmem_zalloc(sizeof (struct memlist),\
170 * Free a memlist and its elements
173 dr_memlist_delete(struct memlist *mlist)
175 register struct memlist *ml;
179 kmem_free((void *)ml, sizeof (struct memlist));
[all...]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Ddr_util.h102 extern struct memlist *dr_memlist_dup(struct memlist *mlist);
103 extern void dr_memlist_delete(struct memlist *mlist);
/illumos-gate/usr/src/uts/sun4/os/
H A Dlgrpplat.c41 #include <sys/memlist.h>
202 extern struct memlist *phys_avail;
203 extern struct memlist *phys_install;
273 extern struct memlist *phys_install;
274 extern struct memlist *phys_avail;
275 struct memlist *mlist;

Completed in 137 milliseconds

12345