Home
last modified time | relevance | path

Searched refs:chosen (Results 1 – 25 of 43) sorted by relevance

12

/titanic_41/usr/src/stand/lib/inet/
H A Dibd.c567 pnode_t chosen; in ibd_init() local
580 chosen = prom_finddevice("/chosen"); in ibd_init()
581 if (chosen == OBP_NONODE || chosen == OBP_BADNODE) in ibd_init()
584 if (prom_getprop(chosen, addrprop, (caddr_t)mac_state.mac_addr_buf) != in ibd_init()
588 if (prom_getprop(chosen, bcastprop, (caddr_t)&ibdbroadcastaddr) != in ibd_init()
592 if (((cidlen = prom_getproplen(chosen, cidprop)) <= 0) || in ibd_init()
593 (cidlen > DHCP_MAX_CID_LEN) || (prom_getprop(chosen, cidprop, in ibd_init()
602 if (prom_getprop(chosen, mtuprop, in ibd_init()
H A Ddhcpv4.c1090 pnode_t chosen; in prom_cached_reply() local
1093 chosen = prom_finddevice("/chosen"); in prom_cached_reply()
1094 if (chosen == OBP_NONODE || chosen == OBP_BADNODE) in prom_cached_reply()
1095 chosen = prom_nextnode((pnode_t)0); /* root node */ in prom_cached_reply()
1097 if ((len = prom_getproplen(chosen, prop)) <= 0) in prom_cached_reply()
1111 (void) prom_getprop(chosen, prop, (caddr_t)pl->pkt); in prom_cached_reply()
/titanic_41/usr/src/psm/promif/ieee1275/common/
H A Dprom_node.c252 static pnode_t chosen; in prom_chosennode() local
255 if (chosen) in prom_chosennode()
256 return (chosen); in prom_chosennode()
261 return (chosen = node); in prom_chosennode()
/titanic_41/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dutil.c34 static pnode_t chosen; variable
69 if (prom_getprop(chosen, "fs-package", fs_pkg) == -1) { in cpr_statefile_open()
106 chosen = prom_chosennode(); in cb_mountroot()
107 if (chosen == OBP_BADNODE) { in cb_mountroot()
111 if (prom_getprop(chosen, "bootfs", (caddr_t)&cb_rih) == -1) { in cb_mountroot()
/titanic_41/usr/src/cmd/fm/modules/common/sw-diag-response/common/
H A Dsw_main_cmn.c122 int slot, chosen = -1; in sw_timer_install() local
143 chosen = slot; in sw_timer_install()
148 if (chosen == -1) in sw_timer_install()
151 msinfo->swms_timers[chosen].swt_state = SW_TMR_INUSE; in sw_timer_install()
152 msinfo->swms_timers[chosen].swt_ownerid = who; in sw_timer_install()
153 msinfo->swms_timers[chosen].swt_timerid = timerid = in sw_timer_install()
/titanic_41/usr/src/cmd/mdb/sun4u/modules/serengeti/sgsbbc/
H A Dsgsbbc.c112 offset = (int)(uintptr_t)&softp.chosen - (int)(uintptr_t)&softp; in display_sbbc_softstate_t()
113 mdb_printf("%p: chosen: %28ll#r\n", addr + offset, softp.chosen); in display_sbbc_softstate_t()
/titanic_41/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_iosram.c94 int chosen; in sgsbbc_iosram_is_chosen() local
119 chosen = (strcmp(chosen_iosram, pn) == 0) ? 1 : 0; in sgsbbc_iosram_is_chosen()
121 chosen? "MASTER" : "SLAVE"); in sgsbbc_iosram_is_chosen()
123 (chosen ? "MASTER" : "SLAVE")); in sgsbbc_iosram_is_chosen()
125 return (chosen); in sgsbbc_iosram_is_chosen()
212 softsp->chosen = TRUE; in tunnel_commit()
976 from_softsp->chosen = FALSE; in iosram_switch_tunnel()
H A Dsgsbbc.c306 if ((softsp->suspended == TRUE) && (softsp->chosen == TRUE)) { in sbbc_attach()
361 if (softsp->chosen == TRUE) { in sbbc_detach()
384 if ((softsp->suspended == FALSE) && (softsp->chosen == TRUE)) { in sbbc_detach()
450 softsp->chosen = FALSE; in softsp_init()
/titanic_41/usr/src/psm/stand/bootblks/common/
H A Dutil.fth113 " /chosen" get-package constant chosen-ph
138 " mmu" chosen-ph get-int-prop constant mmu-ih
140 " memory" chosen-ph get-int-prop constant mem-ih
H A Dboot.fth125 " bootarchive" chosen-ph get-package-property if
126 " bootpath" chosen-ph get-string-prop ( bootpath$ )
460 " bootargs" chosen-ph get-string-prop ( arg$ )
528 chosen-ph push-package
/titanic_41/usr/src/uts/sun4v/promif/
H A Dpromif_node.c46 promif_set_nodes(pnode_t chosen, pnode_t options) in promif_set_nodes() argument
48 chosennode = chosen; in promif_set_nodes()
H A Dpromif_emul.c172 phandle_t pin, phandle_t pout, pnode_t chosen, pnode_t options) in cif_init() argument
177 promif_set_nodes(chosen, options); in cif_init()
/titanic_41/usr/src/psm/stand/boot/sparc/common/
H A Dramdisk.c395 pnode_t chosen = prom_chosennode(); in do_sg_go() local
411 if (prom_getprop(chosen, "elfheader-address", (caddr_t)&eadr) == -1) in do_sg_go()
/titanic_41/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_slice.c52 dm_descriptor_t *chosen);
213 devconfig_t **chosen) in choose_slice() argument
502 chosen); in choose_slice()
503 if ((error == 0) && (*chosen != NULL) && verbose) { in choose_slice()
511 if (*chosen == NULL) { in choose_slice()
516 error = create_devconfig_for_slice(slice, chosen); in choose_slice()
1223 dm_descriptor_t *chosen) in pick_from_best_hba_and_disk() argument
1252 *chosen = (dm_descriptor_t)0; in pick_from_best_hba_and_disk()
1397 for (i = 0; (i < maxslices) && (*chosen == NULL); i++) { in pick_from_best_hba_and_disk()
1399 *chosen = (uintptr_t)prefdisks[i]->obj; in pick_from_best_hba_and_disk()
H A Dlayout_slice.h103 devconfig_t **chosen);
/titanic_41/usr/src/uts/sun4u/serengeti/sys/
H A Dsgsbbc_priv.h185 uchar_t chosen; /* TRUE if instance 'chosen' */ member
/titanic_41/usr/src/cmd/fs.d/pcfs/fsck/
H A Dfsck_pcfs.h182 extern char *nextAvailableCHKName(int *chosen);
H A Ddir.c710 nextAvailableCHKName(int *chosen) in nextAvailableCHKName() argument
732 *chosen = i; in nextAvailableCHKName()
/titanic_41/usr/src/tools/onbld/Scm/
H A DWorkSpace.py1029 chosen = {}
1032 chosen[ctx.rev()] = not pick or pick(ctx)
1039 if chosen[ctx.rev()]:
/titanic_41/usr/src/cmd/lp/filter/postscript/font/
H A DREADME50 Any unused one or two character font name can be chosen. I've tried to choose
61 Any number not already used can be chosen. Consecutive numbering starting at
/titanic_41/usr/src/cmd/th_tools/
H A Dth_define.c1492 struct handle_info *hp, **chosen; in get_hinfo() local
1514 if ((chosen = malloc(sizeof (hp) * *nhdls)) != NULL) { in get_hinfo()
1520 for (i = 0, hp = *hip, ip = chosen; i < *nhdls; in get_hinfo()
1576 for (i = 0, hp = *hip, ip = chosen; i < scnt; in get_hinfo()
1582 free(chosen); in get_hinfo()
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Diosram.c2651 int chosen; in iosram_is_chosen() local
2692 chosen = (strcmp(chosen_iosram, pn) == 0) ? 1 : 0; in iosram_is_chosen()
2694 chosen ? "MASTER" : "SLAVE")); in iosram_is_chosen()
2696 (chosen ? "MASTER" : "SLAVE"), NULL, NULL); in iosram_is_chosen()
2698 return (chosen); in iosram_is_chosen()
/titanic_41/usr/src/data/zoneinfo/
H A Dcountry.tab15 # chosen so that alphabetic sorting of subsets produces helpful lists.
/titanic_41/usr/src/uts/common/os/
H A Dmodctl.c2726 const char *p2, const char *delim, uint_t suffv[], int suffc, int *chosen) in modload_qualified() argument
2771 if (chosen != NULL) in modload_qualified()
2772 *chosen = i; in modload_qualified()
/titanic_41/usr/src/lib/libsqlite/test/
H A Dindex.test107 # Note that the index names "index9" and "indext" are chosen because

12