Searched defs:mdep (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_findnodeprop.c40 md_element_t *mdep; local
49 mdep = &(mdp->mdep[idx]);
52 while (MDE_TAG(mdep) == MDET_NULL) {
54 mdep++;
58 if (MDE_TAG(mdep) != MDET_NODE) {
67 for (idx++, mdep++; MDE_TAG(mdep) != MDET_NODE_END; idx++, mdep++) {
68 if (MDE_TAG(mdep)
[all...]
H A Dmdesc_getpropdata.c55 md_element_t *mdep; local
56 mdep = &(mdp->mdep[(int)elem]);
58 *lenp = (int)MDE_PROP_DATA_LEN(mdep);
59 *datap = mdp->datap+(int)MDE_PROP_DATA_OFFSET(mdep);
H A Dmdesc_getpropstr.c54 md_element_t *mdep; local
55 mdep = &(mdp->mdep[(int)elem]);
58 MDE_PROP_DATA_OFFSET(mdep));
H A Dmdesc_getpropval.c61 md_element_t *mdep; local
62 mdep = &(mdp->mdep[(int)elem]);
64 *valp = MDE_PROP_VALUE(mdep);
H A Dmdesc_getproparcs.c90 md_element_t *mdep; local
95 mdep = &(mdp->mdep[idx]);
98 if (MDE_TAG(mdep) != MDET_NODE) {
107 for (idx++, mdep++; MDE_TAG(mdep) != MDET_NODE_END; idx++, mdep++) {
108 if ((MDE_TAG(mdep) == tag_type) &&
109 (MDE_NAME(mdep) == prop_name)) {
112 (mde_cookie_t)MDE_PROP_INDEX(mdep);
[all...]
H A Dmdesc_scandag.c89 while (MDE_TAG(&mdp->mdep[start]) == MDET_NULL) start++;
94 if (MDE_TAG(&mdp->mdep[start]) != MDET_NODE) {
134 md_element_t *mdep; local
136 mdep = &(mdp->mdep[nodeidx]);
139 if (MDE_TAG(mdep) != MDET_NODE)
154 printf("%d (%s)\n", nodeidx, (char *)(mdp->datap + MDE_NAME(mdep)));
158 if (MDE_NAME(mdep) == node_name_cookie) {
175 for (mdep++; MDE_TAG(mdep) !
[all...]
H A Dmdesc_walkdag.c103 MDE_TAG(&mdp->mdep[start]) == MDET_NULL) {
110 if (MDE_TAG(&mdp->mdep[start]) != MDET_NODE) {
142 md_element_t *mdep; local
145 mdep = &(mdp->mdep[nodeidx]);
148 if (MDE_TAG(mdep) != MDET_NODE) {
165 (char *)(mdp->datap + MDE_NAME(mdep)));
170 if (MDE_NAME(mdep) == node_name_cookie) {
186 for (mdep++; MDE_TAG(mdep) !
[all...]
H A Dmdesc_diff.c50 mde_cookie_t *mdep; member in struct:__anon2007
166 diff_res->added.mdep = md2nodesp;
173 diff_res->removed.mdep = md1nodesp;
204 md_element_t *elem = &(md1->mdep[md1nodesp[idx]]);
236 diff_res->added.mdep = (mde_cookie_t *)diff_res->allocp(addsz);
238 bcopy(mde_add_scr, diff_res->added.mdep, addsz);
246 diff_res->removed.mdep =
249 bcopy(mde_rem_scr, diff_res->removed.mdep, remsz);
256 diff_res->match1.mdep =
258 diff_res->match2.mdep
[all...]
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dreboot.c70 int mdep = 0; local
89 return (uadmin(cmd, fcn, mdep));
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Duadmin.c136 uadmin(int cmd, int fcn, uintptr_t mdep) argument
138 extern int __uadmin(int cmd, int fcn, uintptr_t mdep);
145 return (__uadmin(cmd, fcn, mdep));
/illumos-gate/usr/src/cmd/mdb/sun4v/modules/mdesc/
H A Dmdesc.c84 md_element_t *mdep; local
121 if ((mdep = mdb_alloc(mdesize, UM_NOSLEEP)) == NULL) {
127 mdb_free(mdep, mdesize);
133 mdb_free(mdep, mdesize);
138 if (mdb_vread(mdep, mdesize, vaddr + MD_HEADER_SIZE) != mdesize) {
143 mdb_free(mdep, mdesize);
152 mdb_free(mdep, mdesize);
161 mdb_free(mdep, mdesize);
166 eof = mdep + (mdesize / sizeof (md_element_t));
167 for (mdeptr = mdep; mdept
237 uintptr_t mdp, mdep, namep, datap; local
[all...]
/illumos-gate/usr/src/cmd/uadmin/
H A Duadmin.c52 static const char *Usage = "Usage: %s cmd fcn [mdep]\n";
63 uintptr_t mdep = NULL; local
80 if (argc == 4) { /* mdep argument given */
83 (void) fprintf(stderr, "%s: mdep argument not "
88 mdep = (uintptr_t)argv[3];
155 mdep = NULL; /* Ignore all arguments */
163 mdep = NULL; /* Ignore all arguments */
216 mdep = (uintptr_t)(&boot_config);
227 event->adt_uadmin_shutdown.mdep = (char *)mdep;
[all...]
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_mod.c127 cpr(int fcn, void *mdep) argument
321 if (mdep == NULL) {
326 cpr_device = (major_t)atoi((char *)mdep);
/illumos-gate/usr/src/uts/common/syscall/
H A Duadmin.c129 kadmin(int cmd, int fcn, void *mdep, cred_t *credp) argument
271 if ((mdep != NULL) && (*(char *)mdep == '/')) {
272 buf = i_convert_boot_device_name(mdep, NULL, &buflen);
275 mdpreboot(cmd, fcn, mdep);
304 if ((mdep != NULL) && (*(char *)mdep == '/')) {
305 buf = i_convert_boot_device_name(mdep, NULL, &buflen);
308 mdboot(cmd, fcn, mdep, invoke_cb);
319 fastboot_update_config(mdep);
411 uadmin(int cmd, int fcn, uintptr_t mdep) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmdeg.h85 mde_cookie_t *mdep; member in struct:__anon10357
/illumos-gate/usr/src/lib/libc/amd64/sys/
H A Duadmin.c167 uadmin(int cmd, int fcn, uintptr_t mdep) argument
169 extern int __uadmin(int cmd, int fcn, uintptr_t mdep);
174 bargs = (char *)mdep;
267 return (__uadmin(cmd, fcn, mdep));
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Duadmin.c167 uadmin(int cmd, int fcn, uintptr_t mdep) argument
169 extern int __uadmin(int cmd, int fcn, uintptr_t mdep);
174 bargs = (char *)mdep;
266 return (__uadmin(cmd, fcn, mdep));
/illumos-gate/usr/src/cmd/ldmad/
H A Dmdesc_lib.c379 md_fix_name(md_element_t *mdep, md_prop_t *propp) argument
381 mdep->name_len = htomd8(propp->sp->size - 1);
382 mdep->name_offset = htomd32(propp->sp->build_offset);
386 create_mde(md_element_t *mdep, int type, md_node_t *nodep, md_prop_t *propp) argument
388 (void) memset(mdep, 0, MD_ELEMENT_SIZE);
389 mdep->tag = htomd8(type);
393 mdep->d.prop_idx = htomd32(nodep->next_index);
394 mdep->name_len = htomd8(nodep->typep->size - 1);
395 mdep->name_offset = htomd32(nodep->typep->build_offset);
400 mdep
434 md_element_t *mdep; local
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dmdesc_impl.h119 md_element_t *mdep; member in struct:MACHINE_DESCRIPTION
/illumos-gate/usr/src/uts/common/io/lvm/softpart/
H A Dsp_ioctl.c165 md_error_t *mdep; local
172 mdep = &msp->mde;
174 mdclrerror(mdep);
185 if ((un = sp_getun(minors[i], mdep)) == NULL) {
186 err = mdmderror(mdep, MDE_INVAL_UNIT, minors[i]);
193 un = sp_getun(minors[i], mdep);
225 md_error_t *mdep; local
246 mdep = &mup->mde;
248 mdclrerror(mdep);
252 return (mdmderror(mdep, MDE_INVAL_UNI
372 md_error_t *mdep; local
455 md_error_t *mdep; local
596 md_error_t *mdep; local
756 md_error_t *mdep; local
920 md_error_t *mdep; local
[all...]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_descrip.c744 md_element_t *mdep; local
752 mdep = (md_element_t *)(ptr + MD_HEADER_SIZE);
772 md_element_t *np = &(mdep[idx]);
/illumos-gate/usr/src/uts/common/io/lvm/stripe/
H A Dstripe_ioctl.c141 md_error_t *mdep; local
152 mdep = &msp->mde;
154 mdclrerror(mdep);
157 return (mdmderror(mdep, MDE_INVAL_UNIT, mnum));
161 return (mdmddberror(mdep, MDE_DB_STALE, mnum, setno));
165 return (mdmderror(mdep, MDE_UNIT_ALREADY_SETUP, mnum));
175 return (mdmderror(mdep, MDE_UNIT_TOO_LARGE, mnum));
185 return (mddbstatus2error(mdep, ms_recid, mnum, setno));
259 return (mdhsperror(mdep, MDE_INVAL_HSP, un->un_hsp_id));
304 md_error_t *mdep; local
418 md_error_t *mdep; local
755 md_error_t *mdep; local
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_ioctl.c861 md_error_t *mdep; local
873 mdep = &gn->mde;
877 mdclrerror(mdep);
879 if (md_snarf_db_set(MD_LOCAL_SET, mdep) != 0)
884 return (mdmddberror(mdep, MDE_DB_TAGDATA,
887 return (mderror(mdep, MDE_UNIT_NOT_FOUND));
894 return (mderror(mdep, MDE_UNIT_NOT_FOUND));
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfastboot.c463 fastboot_build_mbi(char *mdep, fastboot_info_t *nk) argument
475 * If mdep is not NULL or empty, use the length of mdep + 1
480 if (mdep != NULL && strlen(mdep) != 0) {
481 arglen = strlen(mdep) + 1;
581 if (mdep != NULL && strlen(mdep) != 0) {
582 bcopy(mdep, (void *)(start_addr_va + offs), arglen);
620 fastboot_parse_mdep(char *mdep, cha argument
884 fastboot_load_kernel(char *mdep) argument
1467 fastboot_update_config(const char *mdep) argument
1567 fastboot_update_and_load(int fcn, char *mdep) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvcc.c2209 i_vcc_md_remove_port(md_t *mdp, mde_cookie_t mdep, vcc_t *vccp) argument
2215 if (md_get_prop_val(mdp, mdep, "id", &portno)) {
2248 i_vcc_get_ldc_id(md_t *md, mde_cookie_t mdep, uint64_t *ldc_id) argument
2267 if ((num_channels = md_scan_dag(md, mdep,
2294 i_vcc_md_add_port(md_t *mdp, mde_cookie_t mdep, vcc_t *vccp) argument
2304 if (md_get_prop_val(mdp, mdep, "id", &portno)) {
2311 if (md_get_prop_str(mdp, mdep, "vcc-domain-name", &domain_name)) {
2319 if (md_get_prop_str(mdp, mdep, "vcc-group-name", &group_name)) {
2327 if (md_get_prop_val(mdp, mdep, "vcc-tcp-port", &tcp_port)) {
2342 if (i_vcc_get_ldc_id(mdp, mdep,
[all...]

Completed in 161 milliseconds

12