/titanic_52/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_util.c | 175 dr_memlist_delete(struct memlist *mlist) in dr_memlist_delete() argument 179 for (ml = mlist; ml; ml = mlist) { in dr_memlist_delete() 180 mlist = ml->ml_next; in dr_memlist_delete() 221 dr_memlist_coalesce(struct memlist *mlist) in dr_memlist_coalesce() argument 225 if ((mlist == NULL) || (mlist->ml_next == NULL)) in dr_memlist_coalesce() 228 while (mlist->ml_next) { in dr_memlist_coalesce() 229 end = mlist->ml_address + mlist in dr_memlist_coalesce() 252 memlist_dump(struct memlist * mlist) memlist_dump() argument 264 dr_memlist_dup(struct memlist * mlist) dr_memlist_dup() argument 287 dr_memlist_add_span(struct memlist * mlist,uint64_t base,uint64_t len) dr_memlist_add_span() argument 345 dr_memlist_del_span(struct memlist * mlist,uint64_t base,uint64_t len) dr_memlist_del_span() argument 415 dr_memlist_cat_span(struct memlist * mlist,uint64_t base,uint64_t len) dr_memlist_cat_span() argument [all...] |
H A D | dr_mem.c | 67 static int dr_reserve_mem_spans(memhandle_t *mhp, struct memlist *mlist); 94 struct memlist *mlist = NULL; in dr_get_memlist() local 111 mlist = memlist_dup(mp->sbm_mlist); in dr_get_memlist() 122 mlist = memlist_dup(phys_install); in dr_get_memlist() 126 if (mlist) in dr_get_memlist() 127 mlist = memlist_del_span(mlist, 0ull, basepa); in dr_get_memlist() 130 if (mlist) { in dr_get_memlist() 136 mlist = memlist_del_span( in dr_get_memlist() 137 mlist, in dr_get_memlist() 361 dr_mem_ecache_scrub(dr_mem_unit_t * mp,struct memlist * mlist) dr_mem_ecache_scrub() argument 648 struct memlist *mlist, *ml; dr_del_span_query() local 949 struct memlist *mlist, *ml; dr_post_attach_mem() local 1963 struct memlist *ml, *mlist; dr_init_mem_unit_data() local [all...] |
/titanic_52/usr/src/uts/i86pc/io/dr/ |
H A D | dr_util.c | 175 dr_memlist_delete(struct memlist *mlist) in dr_memlist_delete() argument 179 for (ml = mlist; ml; ml = mlist) { in dr_memlist_delete() 180 mlist = ml->ml_next; in dr_memlist_delete() 221 dr_memlist_coalesce(struct memlist *mlist) in dr_memlist_coalesce() argument 225 if ((mlist == NULL) || (mlist->ml_next == NULL)) in dr_memlist_coalesce() 228 while (mlist->ml_next) { in dr_memlist_coalesce() 229 end = mlist->ml_address + mlist in dr_memlist_coalesce() 252 memlist_dump(struct memlist * mlist) memlist_dump() argument 265 dr_memlist_dup(struct memlist * mlist) dr_memlist_dup() argument 288 dr_memlist_add_span(struct memlist * mlist,uint64_t base,uint64_t len) dr_memlist_add_span() argument 346 dr_memlist_del_span(struct memlist * mlist,uint64_t base,uint64_t len) dr_memlist_del_span() argument 416 dr_memlist_cat_span(struct memlist * mlist,uint64_t base,uint64_t len) dr_memlist_cat_span() argument [all...] |
H A D | dr_mem_acpi.c | 87 struct memlist *mlist = NULL; in dr_get_memlist() local 104 mlist = memlist_dup(mp->sbm_mlist); in dr_get_memlist() 115 mlist = memlist_dup(phys_install); in dr_get_memlist() 119 if (mlist) in dr_get_memlist() 120 mlist = memlist_del_span(mlist, 0ull, basepa); in dr_get_memlist() 123 if (mlist) { in dr_get_memlist() 129 mlist = memlist_del_span( in dr_get_memlist() 130 mlist, toppa, in dr_get_memlist() 134 if (mlist) { in dr_get_memlist() 256 dr_del_mlist_query(struct memlist * mlist,memquery_t * mp) dr_del_mlist_query() argument 482 struct memlist *mlist, *ml; dr_post_attach_mem() local [all...] |
/titanic_52/usr/src/tools/stabs/ |
H A D | genassym.c | 37 static void switch_on_type(struct mlist *mlp, struct tdesc *tdp, 40 static void print_intrinsic(struct mlist *mlp, struct tdesc *tdp, 42 static void print_forward(struct mlist *mlp, struct tdesc *tdp, 44 static void print_pointer(struct mlist *mlp, struct tdesc *tdp, 46 static void print_array(struct mlist *mlp, struct tdesc *tdp, 48 static void print_function(struct mlist *mlp, struct tdesc *tdp, 50 static void print_union(struct mlist *mlp, struct tdesc *tdp, 52 static void print_enum(struct mlist *mlp, struct tdesc *tdp, 54 static void print_forward(struct mlist *mlp, struct tdesc *tdp, 56 static void print_typeof(struct mlist *ml [all...] |
H A D | forth.c | 37 static void switch_on_type(struct mlist *mlp, struct tdesc *tdp, 40 static void print_intrinsic(struct mlist *mlp, struct tdesc *tdp, 42 static void print_forward(struct mlist *mlp, struct tdesc *tdp, 44 static void print_pointer(struct mlist *mlp, struct tdesc *tdp, 46 static void print_array(struct mlist *mlp, struct tdesc *tdp, 48 static void print_function(struct mlist *mlp, struct tdesc *tdp, 50 static void print_union(struct mlist *mlp, struct tdesc *tdp, 52 static void print_enum(struct mlist *mlp, struct tdesc *tdp, 54 static void print_forward(struct mlist *mlp, struct tdesc *tdp, 56 static void print_typeof(struct mlist *ml [all...] |
H A D | stabs.h | 85 struct mlist *forw; 86 struct mlist *back; 111 struct mlist { struct 115 struct mlist *next; argument 116 struct mlist *prev; argument 117 fdescmlist global() argument
|
/titanic_52/usr/src/uts/sun4v/io/ |
H A D | dr_util.c | 146 dr_memlist_dup(struct memlist *mlist) in dr_memlist_dup() argument 150 if (mlist == NULL) in dr_memlist_dup() 155 for (; mlist; mlist = mlist->ml_next) { in dr_memlist_dup() 158 (*mlp)->ml_address = mlist->ml_address; in dr_memlist_dup() 159 (*mlp)->ml_size = mlist->ml_size; in dr_memlist_dup() 173 dr_memlist_delete(struct memlist *mlist) in dr_memlist_delete() argument 177 for (ml = mlist; ml; ml = mlist) { in dr_memlist_delete() [all...] |
/titanic_52/usr/src/uts/sun4/os/ |
H A D | lgrpplat.c | 275 struct memlist *mlist; in lgrp_plat_mem_size_default() local 283 for (mlist = phys_avail; mlist; mlist = mlist->ml_next) in lgrp_plat_mem_size_default() 284 npgs += btop(mlist->ml_size); in lgrp_plat_mem_size_default() 289 for (mlist = phys_install; mlist; mlist = mlist in lgrp_plat_mem_size_default() [all...] |
H A D | memnode.c | 249 mem_node_memlist_pages(int mnode, struct memlist *mlist) in mem_node_memlist_pages() argument 260 for (pmem = mlist; pmem; pmem = pmem->ml_next) { in mem_node_memlist_pages() 275 for (pmem = mlist; pmem; pmem = pmem->ml_next) { in mem_node_memlist_pages()
|
/titanic_52/usr/src/uts/sun4u/ngdr/sys/ |
H A D | dr_util.h | 71 extern void dr_memlist_delete(struct memlist *mlist); 72 extern void memlist_dump(struct memlist *mlist); 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 *mlist, 79 extern struct memlist *dr_memlist_del_span(struct memlist *mlist, 81 extern struct memlist *dr_memlist_cat_span(struct memlist *mlist,
|
/titanic_52/usr/src/uts/i86pc/sys/ |
H A D | dr_util.h | 68 extern void dr_memlist_delete(struct memlist *mlist); 69 extern void memlist_dump(struct memlist *mlist); 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 *mlist, 76 extern struct memlist *dr_memlist_del_span(struct memlist *mlist, 78 extern struct memlist *dr_memlist_cat_span(struct memlist *mlist,
|
/titanic_52/usr/src/lib/libtsol/common/ |
H A D | getpathbylabel.c | 118 tsol_mlist_free(struct mntlist *mlist) in tsol_mlist_free() argument 123 mlp = mlist; in tsol_mlist_free() 231 getnfspathbyautofs(struct mntlist *mlist, zoneid_t zoneid, in getnfspathbyautofs() argument 260 for (mlp = mlist; mlp; mlp = mlp->mntl_next) { in getnfspathbyautofs() 303 for (mlp = mlist; mlp; mlp = mlp->mntl_next) { in getnfspathbyautofs() 346 * Find the pathname for the entry in mlist that corresponds to the 353 getglobalpath(const char *path, zoneid_t zoneid, struct mntlist *mlist, in getglobalpath() argument 378 for (mlp = mlist; mlp; mlp = mlp->mntl_next) { in getglobalpath() 401 if (getnfspathbyautofs(mlist, zoneid, m, in getglobalpath() 471 struct mntlist *mlist; in getpathbylabel() local [all...] |
/titanic_52/usr/src/lib/libsasl/lib/ |
H A D | server.c | 339 const char *mlist = NULL; local 347 "server_load_mech_list", &mlist, NULL); 349 if (mlist == NULL) 353 while (*mlist && isspace((int) *mlist)) mlist++; 355 while (*mlist) { 356 for (cp = mlist; *cp && !isspace((int) *cp); cp++); 357 if (((size_t) (cp - mlist) == len) && 358 !strncasecmp(mlist, mechnam 1442 const char *mlist = NULL; global() local 2202 const char *mlist = NULL, *mech = NULL; global() local 2371 const char *mlist = NULL, *mech = NULL; global() local [all...] |
/titanic_52/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mem.c | 113 sbdp_memlist_dump(struct memlist *mlist) in sbdp_memlist_dump() argument 117 if (mlist == NULL) { in sbdp_memlist_dump() 120 for (ml = mlist; ml; ml = ml->ml_next) in sbdp_memlist_dump() 176 struct memlist *mlist = NULL; in sbdp_get_memlist() local 198 (void) memlist_add_span(base_pa, size, &mlist); in sbdp_get_memlist() 216 sbdp_memlist_dump(mlist); in sbdp_get_memlist() 217 return (mlist); in sbdp_get_memlist() 221 sbdp_memlist_dup(struct memlist *mlist) in sbdp_memlist_dup() argument 225 if (mlist == NULL) in sbdp_memlist_dup() 230 for (; mlist; mlis in sbdp_memlist_dup() 256 sbdp_del_memlist(sbdp_handle_t * hp,struct memlist * mlist) sbdp_del_memlist() argument 290 struct memlist *mlist; sbdp_move_memory() local 1066 sbdp_copy_rename__relocatable(sbdp_cr_handle_t * hp,struct memlist * mlist,register sbdp_rename_script_t * rsp) sbdp_copy_rename__relocatable() argument 1651 struct memlist *mlist, *ml; sbdp_get_mem_size() local [all...] |
/titanic_52/usr/src/uts/sun4u/opl/io/ |
H A D | dr_mem.c | 78 struct memlist *mlist); 90 static int dr_del_mlist_query(struct memlist *mlist, 117 struct memlist *mlist = NULL; in dr_get_memlist() local 134 mlist = memlist_dup(mp->sbm_mlist); in dr_get_memlist() 145 mlist = memlist_dup(phys_install); in dr_get_memlist() 149 if (mlist) in dr_get_memlist() 150 mlist = memlist_del_span(mlist, 0ull, basepa); in dr_get_memlist() 153 if (mlist) { in dr_get_memlist() 159 mlist in dr_get_memlist() 380 dr_memlist_del_retired_pages(struct memlist * mlist) dr_memlist_del_retired_pages() argument 645 dr_del_mlist_query(struct memlist * mlist,memquery_t * mp) dr_del_mlist_query() argument 956 struct memlist *mlist, *ml; dr_post_attach_mem() local [all...] |
H A D | mc-opl.c | 642 if (mcp->mlist == NULL) in pa_is_valid() 645 if (mcp->mlist && address_in_memlist(mcp->mlist, addr, 0)) { in pa_is_valid() 2438 mc_memlist_delete(struct memlist *mlist) in mc_memlist_delete() argument 2442 for (ml = mlist; ml; ml = mlist) { in mc_memlist_delete() 2443 mlist = ml->ml_next; in mc_memlist_delete() 2449 mc_memlist_dup(struct memlist *mlist) in mc_memlist_dup() argument 2453 if (mlist == NULL) in mc_memlist_dup() 2458 for (; mlist; mlis in mc_memlist_dup() 2473 mc_memlist_del_span(struct memlist * mlist,uint64_t base,uint64_t len) mc_memlist_del_span() argument 2543 struct memlist *mlist; mc_get_mlist() local [all...] |
/titanic_52/usr/src/uts/sun4u/io/ |
H A D | sbd_mem.c | 62 struct memlist *mlist); 79 struct memlist *mlist; in sbd_get_memlist() local 98 mlist = memlist_dup(mp->sbm_mlist); in sbd_get_memlist() 110 /* build mlist from the lower layer */ in sbd_get_memlist() 112 mlist = sbdp_get_memlist(hdp, mp->sbm_cm.sbdev_dip); in sbd_get_memlist() 113 if (mlist == NULL) { in sbd_get_memlist() 129 SBD_MEMLIST_DUMP(mlist); in sbd_get_memlist() 131 return (mlist); in sbd_get_memlist() 278 struct memlist *mlist, *ml; in sbd_post_attach_mem() local 296 mlist in sbd_post_attach_mem() 1456 struct memlist *ml, *mlist; sbd_init_mem_unit_data() local 2070 memlist_delete(struct memlist * mlist) memlist_delete() argument 2082 memlist_dup(struct memlist * mlist) memlist_dup() argument 2117 memlist_dump(struct memlist * mlist) memlist_dump() argument [all...] |
/titanic_52/usr/src/cmd/fs.d/ |
H A D | umount.c | 524 * Search the mlist linked list for the 531 getmntlast(mountent_t *mlist, char *specp, char *mntp) in getmntlast() argument 535 for (/* */; mlist; mlist = mlist->link) { in getmntlast() 537 if (mntp && (strcmp(mlist->ment.mnt_mountp, mntp) == 0)) { in getmntlast() 539 return (mlist); in getmntlast() 542 if (specp && (strcmp(mlist->ment.mnt_special, specp) == 0)) { in getmntlast() 544 return (mlist); in getmntlast() 548 return (mlist); in getmntlast() [all...] |
/titanic_52/usr/src/uts/sun4v/sys/ |
H A D | dr_util.h | 102 extern struct memlist *dr_memlist_dup(struct memlist *mlist); 103 extern void dr_memlist_delete(struct memlist *mlist);
|
/titanic_52/usr/src/cmd/svc/milestone/ |
H A D | fs-local | 61 # mlist is the filesystems in mnttab that are ufs, mounted rw, 63 mlist=`/usr/sbin/mount -p | /usr/bin/nawk '$4 == "ufs" { 66 # qlist is the intersection of vlist and mlist 67 qlist=`echo "$vlist\n-\n$mlist" | \ 68 /usr/bin/nawk '{if ($1 == "-") { mlist = 1; } 69 else if (mlist == 0) { vlist[$1] = 1; }
|
/titanic_52/usr/src/cmd/file/ |
H A D | file.c | 1828 char **mlist; /* ordered list of magic files */ in add_to_mlist() local 1834 mlist = mlist1; in add_to_mlist() 1838 mlist = mlist2; in add_to_mlist() 1843 if (mlist == NULL) { /* initial mlist allocation */ in add_to_mlist() 1844 if ((mlist = calloc(MLIST_SZ, sizeof (char *))) == NULL) { in add_to_mlist() 1851 mlistp = mlist; in add_to_mlist() 1853 if ((mlistp - mlist) >= mlist_sz) { in add_to_mlist() 1854 mlistp_off = mlistp - mlist; in add_to_mlist() 1856 if ((mlist = realloc(mlist, in add_to_mlist() 1863 mlistp = mlist + mlistp_off; in add_to_mlist() [all …]
|
/titanic_52/usr/src/cmd/luxadm/ |
H A D | g_adm.c | 4102 struct dlist *mlist; in non_encl_fc_disk_display() local 4177 mlist = l_disk_state.g_disk_state.multipath_list; in non_encl_fc_disk_display() 4178 if (mlist == NULL) { in non_encl_fc_disk_display() 4221 while ((mlist != NULL) && (!(path_a_found && path_b_found))) { in non_encl_fc_disk_display() 4222 (void) strcpy(phys_path, mlist->dev_path); in non_encl_fc_disk_display() 4233 if ((err = g_get_wwn(mlist->dev_path, port_wwn, node_wwn, in non_encl_fc_disk_display() 4235 (void) print_errString(err, mlist->dev_path); in non_encl_fc_disk_display() 4271 if ((strstr(mlist->dev_path, SCSI_VHCI) != NULL) && in non_encl_fc_disk_display() 4275 (void) strcpy(temppath, mlist->dev_path); in non_encl_fc_disk_display() 4319 mlist in non_encl_fc_disk_display() 4364 struct dlist *mlist; display_disk_info() local 5860 struct dlist *mlist; lun_display() local 6093 struct dlist *mlist; display_lun_info() local [all...] |
/titanic_52/usr/src/cmd/streams/strcmd/ |
H A D | strconf.c | 86 struct str_mlist mlist[NMODULES]; /* modlist for strlist */ in main() local 95 strlist.sl_modlist = mlist; in main()
|
/titanic_52/usr/src/cmd/troff/ |
H A D | n5.c | 401 mlist[k] = j; in casewh() 405 if (mlist[k] == 0) in casewh() 412 mlist[k] = j; in casewh() 430 if (mlist[k] == j) in casech() 437 mlist[k] = 0; in casech() 451 if ((nlist[k] == i) && (mlist[k] != 0))
|