Home
last modified time | relevance | path

Searched refs:devlist (Results 1 – 25 of 52) sorted by relevance

123

/titanic_41/usr/src/cmd/devfsadm/
H A Ddevalloc.c176 _update_devalloc_db(devlist_t *devlist, int devflag, int action, char *devname, in _update_devalloc_db() argument
188 dentry = devlist->audio; in _update_devalloc_db()
191 dentry = devlist->cd; in _update_devalloc_db()
194 dentry = devlist->floppy; in _update_devalloc_db()
197 dentry = devlist->tape; in _update_devalloc_db()
200 dentry = devlist->rmdisk; in _update_devalloc_db()
211 dentry = devlist->audio; in _update_devalloc_db()
214 dentry = devlist->cd; in _update_devalloc_db()
217 dentry = devlist->floppy; in _update_devalloc_db()
220 dentry = devlist->tape; in _update_devalloc_db()
[all …]
/titanic_41/usr/src/uts/sun4u/io/
H A Dsbd_io.c131 sbd_pre_attach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_pre_attach_io() argument
134 _NOTE(ARGUNUSED(devlist)) in sbd_pre_attach_io()
142 sbd_pre_detach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_pre_detach_io() argument
152 if (sbd_check_io_refs(hp, devlist, devnum) > 0) { in sbd_pre_detach_io()
162 sbd_post_attach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_post_attach_io() argument
165 _NOTE(ARGUNUSED(devlist)) in sbd_post_attach_io()
173 sbd_post_detach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_post_detach_io() argument
326 sbd_check_io_refs(sbd_handle_t *hp, sbd_devlist_t devlist[], int devnum) in sbd_check_io_refs() argument
341 dip = devlist[i].dv_dip; in sbd_check_io_refs()
359 SBD_GET_PERR(sep, &devlist[i].dv_error); in sbd_check_io_refs()
[all …]
H A Dsbd.c336 sbd_devlist_t *devlist, int32_t devnum);
338 sbd_devlist_t *devlist, int32_t devnum);
342 sbd_devlist_t *devlist, int32_t devnum);
344 sbd_devlist_t *devlist, int32_t devnum);
351 sbd_devlist_t *devlist, int32_t devnum);
353 sbd_devlist_t *devlist, int32_t devnum);
798 dev_info_t **devlist; in sbd_get_devtype() local
816 devlist = sbp->sb_devlist[NIX(SBD_COMP_MEM)]; in sbd_get_devtype()
818 if (devlist[i] == dip) in sbd_get_devtype()
821 devlist = sbp->sb_devlist[NIX(SBD_COMP_CPU)]; in sbd_get_devtype()
[all …]
H A Dsbd_cpu.c338 sbd_pre_release_cpu(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_pre_release_cpu() argument
356 for (i = 0; i < devnum; i++, devlist++) { in sbd_pre_release_cpu()
357 dip = devlist->dv_dip; in sbd_pre_release_cpu()
433 for (; i >= 0; i--, devlist--) { in sbd_pre_release_cpu()
434 dip = devlist->dv_dip; in sbd_pre_release_cpu()
457 sbd_pre_attach_cpu(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_pre_attach_cpu() argument
472 for (i = 0; i < devnum; i++, devlist++) { in sbd_pre_attach_cpu()
473 dip = devlist->dv_dip; in sbd_pre_attach_cpu()
532 sbd_post_attach_cpu(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_post_attach_cpu() argument
549 for (i = 0; i < devnum; i++, devlist++) { in sbd_post_attach_cpu()
[all …]
H A Dppm_plat.c92 lowest = domp->devlist->lowest; in ppm_cpu_pre_chng()
164 lowest = domp->devlist->lowest; in ppm_cpu_post_chng()
219 cpup = domp->devlist; in ppm_change_cpu_power()
272 cpup = domp->devlist; in ppm_change_cpu_power()
H A Dsbd_mem.c135 sbd_pre_attach_mem(sbd_handle_t *hp, sbd_devlist_t devlist[], int devnum) in sbd_pre_attach_mem() argument
157 ASSERT(devlist[d].dv_dip != NULL); in sbd_pre_attach_mem()
159 dip = devlist[d].dv_dip; in sbd_pre_attach_mem()
263 sbd_post_attach_mem(sbd_handle_t *hp, sbd_devlist_t devlist[], int devnum) in sbd_post_attach_mem() argument
281 ASSERT(devlist[d].dv_dip != NULL); in sbd_post_attach_mem()
283 dip = devlist[d].dv_dip; in sbd_post_attach_mem()
368 sbd_pre_detach_mem(sbd_handle_t *hp, sbd_devlist_t devlist[], int devnum) in sbd_pre_detach_mem() argument
383 ASSERT(devlist[d].dv_dip != NULL); in sbd_pre_detach_mem()
385 dip = devlist[d].dv_dip; in sbd_pre_detach_mem()
412 sbd_post_detach_mem(sbd_handle_t *hp, sbd_devlist_t devlist[], int devnum) in sbd_post_detach_mem() argument
[all …]
/titanic_41/usr/src/uts/i86pc/io/dr/
H A Ddr_io.c117 dr_common_unit_t **devlist, int devnum) in dr_pre_attach_io() argument
122 dr_common_unit_t *cp = devlist[d]; in dr_pre_attach_io()
133 dr_common_unit_t **devlist, int devnum) in dr_post_attach_io() argument
139 dr_check_io_refs(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_check_io_refs() argument
145 dr_io_unit_t *ip = (dr_io_unit_t *)devlist[i]; in dr_check_io_refs()
188 dr_common_unit_t **devlist, int devnum) in dr_pre_release_io() argument
197 dr_io_unit_t *ip = (dr_io_unit_t *)devlist[d]; in dr_pre_release_io()
206 dr_io_unit_t *ip = (dr_io_unit_t *)devlist[d]; in dr_pre_release_io()
218 if (dr_check_io_refs(hp, devlist, devnum) > 0) { in dr_pre_release_io()
223 dr_io_unit_t *ip = (dr_io_unit_t *)devlist[d]; in dr_pre_release_io()
[all …]
H A Ddr_cpu.c221 dr_pre_attach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_attach_cpu() argument
229 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_pre_attach_cpu()
296 dr_post_attach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_attach_cpu() argument
306 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_post_attach_cpu()
353 dr_pre_release_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_release_cpu() argument
375 up = (dr_cpu_unit_t *)devlist[i]; in dr_pre_release_cpu()
452 up = (dr_cpu_unit_t *)devlist[i]; in dr_pre_release_cpu()
467 dr_pre_detach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_detach_cpu() argument
485 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_pre_detach_cpu()
582 dr_post_detach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_detach_cpu() argument
H A Ddr_mem_acpi.c411 dr_pre_attach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_attach_mem() argument
421 dr_mem_unit_t *mp = (dr_mem_unit_t *)devlist[d]; in dr_pre_attach_mem()
473 dr_post_attach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_attach_mem() argument
481 dr_mem_unit_t *mp = (dr_mem_unit_t *)devlist[d]; in dr_post_attach_mem()
541 dr_pre_detach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_detach_mem() argument
548 dr_post_detach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_detach_mem() argument
563 dr_pre_release_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_release_mem() argument
/titanic_41/usr/src/uts/sun4u/ngdr/io/
H A Ddr_io.c139 dr_common_unit_t **devlist, int devnum) in dr_pre_attach_io() argument
144 dr_common_unit_t *cp = devlist[d]; in dr_pre_attach_io()
155 dr_common_unit_t **devlist, int devnum) in dr_post_attach_io() argument
161 dr_check_io_refs(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_check_io_refs() argument
167 dr_io_unit_t *ip = (dr_io_unit_t *)devlist[i]; in dr_check_io_refs()
210 dr_common_unit_t **devlist, int devnum) in dr_pre_release_io() argument
219 dr_io_unit_t *ip = (dr_io_unit_t *)devlist[d]; in dr_pre_release_io()
228 dr_io_unit_t *ip = (dr_io_unit_t *)devlist[d]; in dr_pre_release_io()
240 if (dr_check_io_refs(hp, devlist, devnum) > 0) { in dr_pre_release_io()
245 dr_io_unit_t *ip = (dr_io_unit_t *)devlist[d]; in dr_pre_release_io()
[all …]
H A Ddr_cpu.c275 dr_pre_attach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_attach_cpu() argument
285 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_pre_attach_cpu()
365 dr_post_attach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_attach_cpu() argument
375 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_post_attach_cpu()
422 dr_pre_release_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_release_cpu() argument
444 up = (dr_cpu_unit_t *)devlist[i]; in dr_pre_release_cpu()
518 up = (dr_cpu_unit_t *)devlist[i]; in dr_pre_release_cpu()
533 dr_pre_detach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_pre_detach_cpu() argument
553 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; in dr_pre_detach_cpu()
642 dr_post_detach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) in dr_post_detach_cpu() argument
/titanic_41/usr/src/cmd/fs.d/
H A Dfsck.c95 static struct devlist { struct
99 struct devlist *nxt; argument
108 static void fsck_dopreen(struct devlist **devp, int ndevs);
109 static void waiter(struct devlist **blp, struct devlist **badlist);
110 static void print_badlist(struct devlist *lp);
111 static void startdisk(struct devlist *dp);
224 struct devlist *dp, *devs = NULL; in main()
580 fsck_dopreen(struct devlist **devp, int ndevs) in fsck_dopreen()
585 struct devlist *bl, *bdp; in fsck_dopreen()
586 struct devlist *badlist; in fsck_dopreen()
[all …]
/titanic_41/usr/src/lib/libadm/common/
H A Dgetdgrp.c133 char **devlist; /* Devices that meet criteria */ in getdgrp() local
155 devlist = getdev(NULL, criteria, (options & DTAB_ANDCRITERIA)); in getdgrp()
158 devlist = NULL; in getdgrp()
181 isindevlist(dgrp, devlist))) in getdgrp()
197 (listallflag || isindevlist(dgrp, devlist))) { in getdgrp()
212 (listallflag || isindevlist(dgrp, devlist))) { in getdgrp()
334 char **devlist) /* List of devices to search against */ in isindevlist() argument
364 for (pdev = devlist; notfound && *pdev; pdev++) in isindevlist()
/titanic_41/usr/src/uts/sun4u/ngdr/sys/
H A Ddr.h385 dr_common_unit_t **devlist, int devnum);
388 dr_common_unit_t **devlist, int devnum);
390 dr_common_unit_t **devlist, int devnum);
392 dr_common_unit_t **devlist, int devnum);
395 dr_common_unit_t **devlist, int devnum);
407 dr_common_unit_t **devlist, int devnum);
410 dr_common_unit_t **devlist, int devnum);
412 dr_common_unit_t **devlist, int devnum);
416 dr_common_unit_t **devlist, int devnum);
419 dr_common_unit_t **devlist, int devnum);
[all …]
/titanic_41/usr/src/uts/i86pc/sys/
H A Ddr.h416 dr_common_unit_t **devlist, int devnum);
419 dr_common_unit_t **devlist, int devnum);
421 dr_common_unit_t **devlist, int devnum);
423 dr_common_unit_t **devlist, int devnum);
426 dr_common_unit_t **devlist, int devnum);
438 dr_common_unit_t **devlist, int devnum);
441 dr_common_unit_t **devlist, int devnum);
443 dr_common_unit_t **devlist, int devnum);
447 dr_common_unit_t **devlist, int devnum);
450 dr_common_unit_t **devlist, int devnum);
[all …]
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_namespace.c38 static deviceinfo_t devlist[MD_MNMAXSIDES]; variable
463 if (devlist[sideno].bname != (char *)NULL) { in empty_devicelist()
464 Free(devlist[sideno].bname); in empty_devicelist()
465 Free(devlist[sideno].dname); in empty_devicelist()
466 devlist[sideno].mnum = NODEV; in empty_devicelist()
479 devlist[sideno].bname = Strdup(bname); in add_to_devicelist()
480 devlist[sideno].dname = Strdup(dname); in add_to_devicelist()
482 devlist[sideno].mnum = mnum; in add_to_devicelist()
576 if (devlist[thisside].dname == NULL || in add_key_name()
577 strlen(devlist[thisside].dname) == 0) { in add_key_name()
[all …]
/titanic_41/usr/src/lib/libdscfg/common/
H A Dcfg_vols.c94 static device_t *devlist; variable
660 qsort(devlist, devcount, sizeof (device_t), compare); in cfg_load_dsvols()
800 if (devlist) { in cfg_get_canonical_name()
905 qsort(devlist, devcount, sizeof (device_t), compare); in cfg_load_shadows()
1185 newmem = (device_t *)realloc(devlist, devalloc * in add_dev_entry()
1191 devlist = newmem; in add_dev_entry()
1195 devlist[ devcount ].path = strdup(path); in add_dev_entry()
1196 devlist[ devcount ].rdev = buf.st_rdev; in add_dev_entry()
1197 devlist[ devcount ].mode = buf.st_mode; in add_dev_entry()
1199 if (nsc_insert_node(devhash, &devlist[devcount], path) < 0) { in add_dev_entry()
[all …]
/titanic_41/usr/src/lib/libbsm/common/
H A Ddevalloc.c707 if (strstr(realname, dargs->devinfo->devlist) in _rebuild_lists()
724 dargs->devinfo->devlist, &suffix)); in _rebuild_lists()
757 dmap_exact_dev(devmapp, dargs->devinfo->devlist, in _rebuild_lists()
1158 (devinfo->devlist ? devinfo->devlist : KV_TOKEN_DELIMIT)); in _write_new_entry()
1538 (devinfo->devlist == NULL))) { in da_update_device()
1849 nentry->devinfo.devlist = NULL; in da_add_list()
1854 if (nentry->devinfo.devlist) { in da_add_list()
1855 plen = strlen(nentry->devinfo.devlist); in da_add_list()
1861 if ((nentry->devinfo.devlist = in da_add_list()
1862 (char *)realloc(nentry->devinfo.devlist, nlen)) == NULL) { in da_add_list()
[all …]
/titanic_41/usr/src/cmd/allocate/
H A Dmkdevalloc.c158 devlist_t devlist; variable
379 (void) da_add_list(&devlist, tape[j].name, i, in dotape()
434 for (entry = devlist.tape; entry != NULL; entry = entry->next) { in dotape()
581 (void) da_add_list(&devlist, audio[j].name, in doaudio()
637 for (entry = devlist.audio; entry != NULL; in doaudio()
743 (void) da_add_list(&devlist, fp[j].name, i, in dofloppy()
804 for (entry = devlist.floppy; entry != NULL; in dofloppy()
1013 (void) da_add_list(&devlist, cd[j].name, i, in docd()
1069 for (entry = devlist.cd; entry != NULL; entry = entry->next) { in docd()
1206 (void) da_add_list(&devlist, rmdisk[j].name, i, in dormdisk()
[all …]
/titanic_41/usr/src/cmd/dcs/sparc/sun4u/
H A Drsrc_info.c263 dev_list_pack(ri_dev_t *devlist, char **bufp, size_t *sizep, int encoding) in dev_list_pack() argument
279 while (devlist != NULL) { in dev_list_pack()
281 if (dev_pack(devlist, &buf, &size, encoding) != 0) in dev_list_pack()
290 devlist = devlist->next; in dev_list_pack()
691 ri_dev_t *devlist = NULL; in dev_list_unpack() local
718 if (devlist == NULL) { in dev_list_unpack()
719 prev = devlist = tmp; in dev_list_unpack()
727 *devs = devlist; in dev_list_unpack()
734 if (devlist != NULL) { in dev_list_unpack()
735 while ((tmp = devlist) != NULL) { in dev_list_unpack()
[all …]
/titanic_41/usr/src/uts/sun4u/excalibur/io/
H A Dxcalppm.c529 for (ppmd = domp->devlist; ppmd; ppmd = ppmd->next) { in xcppm_resume_ctlop()
543 for (ppmd = domp->devlist; ppmd; ppmd = ppmd->next) { in xcppm_resume_ctlop()
656 for (cpup = xcppm_cpu.devlist; cpup != ecpup; cpup = cpup->next) { in xcppm_revert_cpu_power()
781 cpup = xcppm_cpu.devlist; in xcppm_change_cpu_power()
832 for (cpup = xcppm_cpu.devlist; cpup; cpup = cpup->next) { in xcppm_change_cpu_power()
915 pm_ppm_devlist_t *devlist = NULL, *p; in xcppm_manage_cpus() local
962 for (ppmd = xcppm_cpu.devlist; ppmd; ppmd = ppmd->next) { in xcppm_manage_cpus()
997 for (ppmd = xcppm_cpu.devlist; ppmd; ppmd = ppmd->next) { in xcppm_manage_cpus()
1009 p->ppd_next = devlist; in xcppm_manage_cpus()
1011 devlist = p; in xcppm_manage_cpus()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dppmio.h90 char *devlist; /* domain device list */ member
119 caddr32_t devlist; /* domain device list */ member
/titanic_41/usr/src/uts/common/io/ppm/
H A Dppm.c517 level = domp->devlist->level; in ppm_ioctl()
591 char *devlist = NULL; in ppm_ioctl() local
624 if ((d = devlist = kmem_zalloc(size, KM_SLEEP)) == NULL) in ppm_ioctl()
629 for (ppmd = domp->devlist; ppmd; in ppm_ioctl()
634 if (ppmd != domp->devlist) in ppm_ioctl()
649 if (*devlist == 0) in ppm_ioctl()
653 devlist, STRUCT_FGETP(bydom, devlist), l, &l); in ppm_ioctl()
661 if (devlist) in ppm_ioctl()
662 kmem_free(devlist, size); in ppm_ioctl()
709 ppmd = domp->devlist; in ppm_ioctl()
[all …]
/titanic_41/usr/src/uts/sun4u/sys/
H A Dsbdpriv.h686 sbd_devlist_t *devlist, int devnum);
692 sbd_devlist_t *devlist, int devnum);
694 sbd_devlist_t *devlist, int devnum);
696 sbd_devlist_t *devlist, int devnum);
698 sbd_devlist_t *devlist, int devnum);
700 sbd_devlist_t *devlist, int devnum);
702 sbd_devlist_t *devlist, int devnum);
719 sbd_devlist_t *devlist, int devnum);
/titanic_41/usr/src/uts/i86pc/io/
H A Dppm_plat.c48 for (cpup = cpup->domp->devlist; cpup != NULL; cpup = cpup->next) in ppm_set_topspeed()
88 for (ncpup = cpup->domp->devlist; ncpup != NULL; ncpup = ncpup->next) { in ppm_redefine_topspeed()
133 cpup = domp->devlist; in ppm_change_cpu_power()

123