/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | mkdev.c | 43 dev_t devnum; local 50 devnum = ((majdev << ONBITSMINOR) | mindev); 66 if ((devnum = (((dev_t)majdev << NBITSMINOR) | 78 return (devnum); 85 __major(const int version, const dev_t devnum) argument 91 maj = (devnum >> ONBITSMINOR); 92 if (devnum == NODEV || maj > OMAXMAJ) { 99 maj = (devnum >> NBITSMINOR); 100 if (devnum == NODEV) { 125 __minor(const int version, const dev_t devnum) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_io.c | 117 dr_common_unit_t **devlist, int devnum) 121 for (d = 0; d < devnum; d++) { 133 dr_common_unit_t **devlist, int devnum) 139 dr_check_io_refs(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 144 for (i = 0; i < devnum; i++) { 188 dr_common_unit_t **devlist, int devnum) 193 ASSERT(devnum > 0); 196 for (d = 0; d < devnum; d++) { 205 for (d = 0; d < devnum; d++) { 218 if (dr_check_io_refs(hp, devlist, devnum) > 116 dr_pre_attach_io(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 132 dr_post_attach_io(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 187 dr_pre_release_io(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 238 dr_pre_detach_io(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 256 dr_post_detach_io(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument [all...] |
H A D | dr_cpu.c | 221 dr_pre_attach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 228 for (i = 0; i < devnum; i++) { 296 dr_post_attach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 305 for (i = 0; i < devnum; i++) { 353 dr_pre_release_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 374 for (i = 0; i < devnum; i++) { 467 dr_pre_detach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 484 for (i = 0; i < devnum; i++) { 582 dr_post_detach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument
|
H A D | dr_mem_acpi.c | 411 dr_pre_attach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 420 for (d = 0; d < devnum; d++) { 473 dr_post_attach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 480 for (d = 0; d < devnum; d++) { 541 dr_pre_detach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 548 dr_post_detach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 563 dr_pre_release_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument
|
H A D | dr.c | 1553 dr_common_unit_t ***devlist, int *devnum) 1630 *devnum = wp - list; 1635 dr_dev_clean_up(dr_handle_t *hp, dr_common_unit_t **list, int devnum) argument 1646 while (n++ < devnum) { 1657 while (n++ < devnum) { 1678 int devnum, rv; local 1681 dr_dev_make_list(hp, type, present_only, &devlist, &devnum); 1684 if (devnum > 0) { 1685 rv = (*pre_op)(hp, devlist, devnum); 1689 for (n = 0; n < devnum; 1552 dr_dev_make_list(dr_handle_t *hp, sbd_comp_type_t type, int present_only, dr_common_unit_t ***devlist, int *devnum) argument 1704 dr_dev_noop(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 1710 dr_attach_update_state(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 1811 dr_release_update_state(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 1935 dr_detach_update_state(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_io.c | 139 dr_common_unit_t **devlist, int devnum) 143 for (d = 0; d < devnum; d++) { 155 dr_common_unit_t **devlist, int devnum) 161 dr_check_io_refs(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 166 for (i = 0; i < devnum; i++) { 210 dr_common_unit_t **devlist, int devnum) 215 ASSERT(devnum > 0); 218 for (d = 0; d < devnum; d++) { 227 for (d = 0; d < devnum; d++) { 240 if (dr_check_io_refs(hp, devlist, devnum) > 138 dr_pre_attach_io(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 154 dr_post_attach_io(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 209 dr_pre_release_io(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 260 dr_pre_detach_io(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 278 dr_post_detach_io(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument [all...] |
H A D | dr_cpu.c | 275 dr_pre_attach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 284 for (next_cpu = 0, i = 0; i < devnum; i++) { 365 dr_post_attach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 374 for (i = 0; i < devnum; i++) { 422 dr_pre_release_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 443 for (i = 0; i < devnum; i++) { 533 dr_pre_detach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 552 for (next_cpu = 0, i = 0; i < devnum; i++) { 642 dr_post_detach_cpu(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument
|
H A D | dr_mem.c | 874 dr_pre_attach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 885 for (d = 0; d < devnum; d++) { 938 dr_post_attach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 947 for (d = 0; d < devnum; d++) { 1018 dr_pre_detach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 1024 for (d = 0; d < devnum; d++) { 1035 dr_post_detach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 1045 for (d = 0; d < devnum; d++) { 1442 dr_pre_release_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 1450 for (d = 0; d < devnum; [all...] |
H A D | dr.c | 1583 dr_common_unit_t ***devlist, int *devnum) 1662 *devnum = wp - list; 1667 dr_dev_clean_up(dr_handle_t *hp, dr_common_unit_t **list, int devnum) argument 1678 while (n++ < devnum) { 1689 while (n++ < devnum) { 1710 int devnum, rv; local 1713 dr_dev_make_list(hp, type, present_only, &devlist, &devnum); 1716 if (devnum > 0) { 1717 rv = (*pre_op)(hp, devlist, devnum); 1721 for (n = 0; n < devnum; 1582 dr_dev_make_list(dr_handle_t *hp, sbd_comp_type_t type, int present_only, dr_common_unit_t ***devlist, int *devnum) argument 1736 dr_dev_noop(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 1742 dr_attach_update_state(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 1843 dr_release_update_state(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 1967 dr_detach_update_state(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument [all...] |
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | _open.c | 217 char *remainder; /* remainder of mnt_opts string, after devnum */ 218 unsigned long devnum; local 249 devnum = strtol(&devnumstr[1], (char **)NULL, 16); 252 devnum = cmpdev(devnum); 256 mnt.mnt_opts, devnum, remainder ? remainder : "",
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | defs.h | 122 dev_t devnum; member in struct:linkbuf
|
/illumos-gate/usr/src/uts/sun4v/io/fpc/ |
H A D | fpc-impl-4v.c | 220 fpc_get_perfreg_handle(int devnum) argument 225 fpc_get_platform_data_by_number(devnum)) == NULL)
|
/illumos-gate/usr/src/uts/sun4/io/fpc/ |
H A D | fpc-impl.c | 201 fpc_perfcnt_program(int devnum, fire_perfcnt_t reggroup, argument 213 FPC_DBG1(" devnum:%d, reggroup:%d, new_events:0x%" PRIx64 "\n", 214 devnum, reggroup, new_events); 216 if ((firehdl = fpc_get_perfreg_handle(devnum)) == 222 if (fpc_get_mutex_by_number(devnum, &mutex_p) != DDI_SUCCESS) { 273 fpc_perfcnt_read(int devnum, fire_perfcnt_t reggroup, argument 282 FPC_DBG1("fpc_perfcnt_read: devnum:%d\n", devnum); 285 if ((firehdl = fpc_get_perfreg_handle(devnum)) == 289 if (fpc_get_mutex_by_number(devnum, [all...] |
/illumos-gate/usr/src/uts/sun4u/chicago/io/fpc/ |
H A D | fpc-impl-4u.c | 222 fpc_get_perfreg_handle(int devnum) argument 230 fpc_get_platform_data_by_number(devnum)) != NULL) {
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd_cpu.c | 338 sbd_pre_release_cpu(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) argument 356 for (i = 0; i < devnum; i++, devlist++) { 449 sbp->sb_cpupath[devnum - 1]); 457 sbd_pre_attach_cpu(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) argument 472 for (i = 0; i < devnum; i++, devlist++) { 532 sbd_post_attach_cpu(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) argument 549 for (i = 0; i < devnum; i++, devlist++) { 645 sbd_pre_detach_cpu(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) argument 664 for (i = 0; i < devnum; i++, devlist++) { 751 sbd_post_detach_cpu(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) argument [all...] |
H A D | sbd_io.c | 131 sbd_pre_attach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) argument 135 _NOTE(ARGUNUSED(devnum)) 142 sbd_pre_detach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) argument 148 if (devnum <= 0) 152 if (sbd_check_io_refs(hp, devlist, devnum) > 0) { 162 sbd_post_attach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) argument 166 _NOTE(ARGUNUSED(devnum)) 173 sbd_post_detach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) argument 326 sbd_check_io_refs(sbd_handle_t *hp, sbd_devlist_t devlist[], int devnum) argument 336 for (i = 0; i < devnum; 390 sbd_pre_release_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) argument [all...] |
H A D | sbd_mem.c | 135 sbd_pre_attach_mem(sbd_handle_t *hp, sbd_devlist_t devlist[], int devnum) argument 149 for (d = 0; d < devnum; d++) { 263 sbd_post_attach_mem(sbd_handle_t *hp, sbd_devlist_t devlist[], int devnum) argument 274 for (d = 0; d < devnum; d++) { 368 sbd_pre_detach_mem(sbd_handle_t *hp, sbd_devlist_t devlist[], int devnum) argument 379 for (d = 0; d < devnum; d++) { 412 sbd_post_detach_mem(sbd_handle_t *hp, sbd_devlist_t devlist[], int devnum) argument 428 for (d = 0; d < devnum; d++) { 819 sbd_pre_release_mem(sbd_handle_t *hp, sbd_devlist_t devlist[], int devnum) argument 840 for (d = 0; d < devnum; [all...] |
H A D | sbd.c | 336 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); 852 int32_t pass, devnum; local 862 while ((devlist = sbd_get_attach_devlist(hp, &devnum, pass)) != NULL) { 865 err = sbd_pre_attach_devlist(hp, devlist, devnum); 873 for (n = 0; n < devnum; 929 int32_t pass, devnum; local 998 int32_t pass, devnum; local 3008 sbd_pre_attach_devlist(sbd_handle_t *hp, sbd_devlist_t *devlist, int32_t devnum) argument 3070 sbd_post_attach_devlist(sbd_handle_t *hp, sbd_devlist_t *devlist, int32_t devnum) argument 3327 sbd_pre_release_devlist(sbd_handle_t *hp, sbd_devlist_t *devlist, int32_t devnum) argument 3419 sbd_post_release_devlist(sbd_handle_t *hp, sbd_devlist_t *devlist, int32_t devnum) argument 3674 sbd_pre_detach_devlist(sbd_handle_t *hp, sbd_devlist_t *devlist, int32_t devnum) argument 3712 sbd_post_detach_devlist(sbd_handle_t *hp, sbd_devlist_t *devlist, int32_t devnum) argument [all...] |
/illumos-gate/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 50 int devnum; member in struct:pcibdf 249 (devicenum == pbp->devnum) && 265 pb.devnum = dev;
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_zvolops.c | 658 dev_t devnum; local 668 devnum = makedevice(devzvol_major, minor); 669 vattr.va_rdev = devnum;
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | dr_mem.c | 861 dr_pre_attach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 872 for (d = 0; d < devnum; d++) { 945 dr_post_attach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 954 for (d = 0; d < devnum; d++) { 1020 dr_pre_detach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 1026 for (d = 0; d < devnum; d++) { 1036 dr_post_detach_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 1046 for (d = 0; d < devnum; d++) { 1557 dr_pre_release_mem(dr_handle_t *hp, dr_common_unit_t **devlist, int devnum) argument 1565 for (d = 0; d < devnum; [all...] |
/illumos-gate/usr/src/uts/sun4v/io/px/ |
H A D | px_lib4v.c | 1551 uchar_t devnum; /* device number */ local 1608 devnum = PCI_REG_DEV_G(rp->pci_phys_hi); 1614 px_pvt->raddr = busnum << 16 | devnum << 11 | funcnum << 8; 1624 px_pvt->vaddr = busnum << 20 | devnum << 15 | funcnum << 12 | off;
|
/illumos-gate/usr/src/uts/intel/io/dnet/ |
H A D | dnet.c | 2996 int devnum; local 3009 devnum = PCI_REG_DEV_G(assignp->pci_phys_hi); 3011 return (devnum - primary_devnum); 3026 int devnum; local 3043 devnum = PCI_REG_DEV_G(assignp->pci_phys_hi); 3047 ddi_get_parent(devinfo), "DNET_DEVNUM", devnum);
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm.h | 629 int devnum; /**< device number */ member in struct:drm_irq_busid
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 404 dev_t devnum; member in struct:linkbuf 8029 lp->devnum == stbuf.st_dev) { 8085 lp->devnum = stbuf.st_dev;
|