Searched defs:chosen (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_node.c252 static pnode_t chosen; local
255 if (chosen)
256 return (chosen);
258 node = prom_finddevice("/chosen");
261 return (chosen = node);
263 prom_fatal_error("prom_chosennode: Can't find </chosen>\n");
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dramdisk.c182 "\" /chosen\" get-package push-package "
395 pnode_t chosen = prom_chosennode(); local
411 if (prom_getprop(chosen, "elfheader-address", (caddr_t)&eadr) == -1)
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_node.c46 promif_set_nodes(pnode_t chosen, pnode_t options) argument
48 chosennode = chosen;
62 if (strcmp("/chosen", path) == 0) {
H A Dpromif_emul.c172 phandle_t pin, phandle_t pout, pnode_t chosen, pnode_t options)
177 promif_set_nodes(chosen, options);
171 cif_init(char *pgmname, caddr_t root, ihandle_t in, ihandle_t out, phandle_t pin, phandle_t pout, pnode_t chosen, pnode_t options) argument
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/common/
H A Dsw_main_cmn.c122 int slot, chosen = -1; local
143 chosen = slot;
148 if (chosen == -1)
151 msinfo->swms_timers[chosen].swt_state = SW_TMR_INUSE;
152 msinfo->swms_timers[chosen].swt_ownerid = who;
153 msinfo->swms_timers[chosen].swt_timerid = timerid =
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dsgsbbc_priv.h185 uchar_t chosen; /* TRUE if instance 'chosen' */ member in struct:sbbc_softstate
/illumos-gate/usr/src/stand/lib/inet/
H A Dibd.c74 * has to be /chosen:ipib-frame-size. This will refer to the IPoIB
80 * /chosen:ipib-address will provide the local address.
88 * 5. OBP will not provide chosen-network-type, only
91 * 6. OBP will provide the DHCP client id in /chosen:client-id.
92 * 7. /chosen:ipib-broadcast will provide the broadcast address.
567 pnode_t chosen; local
580 chosen = prom_finddevice("/chosen");
581 if (chosen == OBP_NONODE || chosen
[all...]
H A Ddhcpv4.c1067 * Examines /chosen node for "bootp-response" property. If it exists, this
1090 pnode_t chosen; local
1093 chosen = prom_finddevice("/chosen");
1094 if (chosen == OBP_NONODE || chosen == OBP_BADNODE)
1095 chosen = prom_nextnode((pnode_t)0); /* root node */
1097 if ((len = prom_getproplen(chosen, prop)) <= 0)
1111 (void) prom_getprop(chosen, prop, (caddr_t)pl->pkt);
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_iosram.c85 * Looks up "chosen" node property to
86 * determine if it is the chosen IOSRAM.
94 int chosen; local
119 chosen = (strcmp(chosen_iosram, pn) == 0) ? 1 : 0;
121 chosen? "MASTER" : "SLAVE");
123 (chosen ? "MASTER" : "SLAVE"));
125 return (chosen);
212 softsp->chosen = TRUE;
884 * lock the chosen IOSRAM
976 from_softsp->chosen
[all...]
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dopenfirm.c69 phandle_t chosen; variable
84 if ((chosen = OF_finddevice("/chosen")) == -1)
86 if (OF_getprop(chosen, "memory", &memory, sizeof(memory)) == -1) {
93 if (OF_getprop(chosen, "mmu", &mmu, sizeof(mmu)) == -1)
/illumos-gate/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) {
106 chosen = prom_chosennode();
107 if (chosen == OBP_BADNODE) {
108 prom_printf("Missing chosen node\n");
111 if (prom_getprop(chosen, "bootfs", (caddr_t)&cb_rih) == -1) {
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Ddir.c710 nextAvailableCHKName(int *chosen) argument
732 *chosen = i;
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_slice.c52 dm_descriptor_t *chosen);
153 * devconfig_t **chosen)
163 * unused_disk - if true, the chosen slice must be from an
165 * nbytes_is_min - if true, the chosen slice may be larger than
168 * **chosen - pointer to hold the chosen slice
192 * chosen. If there are several possibilities in the chosen list,
213 devconfig_t **chosen)
466 * Slice chosen, i
203 choose_slice( uint64_t nbytes, uint16_t npaths, dlist_t *slices, dlist_t *used, dlist_t *used_hbas, dlist_t *used_disks, boolean_t unused_disk, boolean_t nbytes_is_min, boolean_t add_extra_cyl, devconfig_t **chosen) argument
1220 pick_from_best_hba_and_disk( dlist_t *slices, dlist_t *used, dm_descriptor_t *chosen) argument
[all...]
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c946 /* the chosen policy has ignored everything */
1492 struct handle_info *hp, **chosen; local
1514 if ((chosen = malloc(sizeof (hp) * *nhdls)) != NULL) {
1520 for (i = 0, hp = *hip, ip = chosen; i < *nhdls;
1576 for (i = 0, hp = *hip, ip = chosen; i < scnt;
1582 free(chosen);
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Diosram.c411 * If this is the chosen IOSRAM and there is no master IOSRAM yet, then
2642 * Looks up "chosen" node property to
2643 * determine if it is the chosen IOSRAM.
2651 int chosen; local
2655 * Get /chosen node info. prom interface will handle errors.
2660 * Look for the "iosram" property on the chosen node with a prom
2666 * Can't find IOSRAM_CHOSEN_PROP property under chosen node
2669 "iosram(%d): can't find chosen iosram property\n",
2674 DPRINTF(1, ("iosram(%d): Got '%x' for chosen '%s' property\n",
2692 chosen
[all...]
/illumos-gate/usr/src/boot/sys/boot/fdt/
H A Dfdt_loader_cmd.c630 no = fdt_path_offset(fdtp, "/chosen");
636 /* If /chosen/stdout does not extist, create it */
667 int chosen, len; local
676 /* Create /chosen node (if not exists) */
677 if ((chosen = fdt_subnode_offset(fdtp, 0, "chosen")) ==
679 chosen = fdt_add_subnode(fdtp, 0, "chosen");
682 if (fdt_getprop(fdtp, chosen, "fixup-applied", NULL))
687 fdt_setprop(fdtp, chosen, "fixu
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dmodctl.c2714 * Value returned in *chosen
2721 * and if 'chosen' is not NULL we also return the number of suffices that
2726 const char *p2, const char *delim, uint_t suffv[], int suffc, int *chosen)
2771 if (chosen != NULL)
2772 *chosen = i;
2725 modload_qualified(const char *subdir, const char *p1, const char *p2, const char *delim, uint_t suffv[], int suffc, int *chosen) argument

Completed in 5475 milliseconds