/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | conf.h | 2408 # ifndef minor 2409 # define minor(dev) ((int)((dev) & 0xff)) macro 2410 # endif /* ! minor */
|
/illumos-gate/usr/src/cmd/auditconfig/ |
H A D | auditconfig.c | 2329 * tid_str is major,minor,host -- host is a name or an ip address 2338 major_t minor = 0; local 2366 minor = (minor_t)atoi(minor_str); 2368 if ((dev = makedev(major, minor)) != NODEV) 2852 major(tidp->at_port), minor(tidp->at_port), 2869 major(tidp->at_port), minor(tidp->at_port),
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bofi.c | 805 int minor = (int)getminor(dev); local 810 if (minor != 0 || our_dip == NULL) { 833 int minor = (int)getminor(*devp); local 837 * only allow open on minor=0 - the clone device 839 if (minor != 0) 850 for (minor = 1; minor < NCLONES; minor++) { 851 if (clone_tab[minor] == 0) { 852 clone_tab[minor] 882 int minor = (int)getminor(dev); local 915 int minor = (int)getminor(dev); local [all...] |
H A D | gld.c | 727 * ddi_create_minor_node() the minor number argument is 730 * minor of zero. 1300 minor_t minor = getminor((dev_t)arg); local 1312 if (minor == GLD_USE_STYLE2) { 1314 * Style 2: this minor number does not correspond to 1318 } else if (minor <= GLD_MAX_STYLE1_MINOR) { 1319 /* Style 1: calculate the PPA from the minor */ 1321 GLD_STYLE1_MINOR_TO_PPA(minor); 1341 minor_t minor = getminor(dev); local 1349 if (minor 1430 minor_t minor = getminor(*dev); local 5634 int minor; local [all...] |
H A D | pcic.c | 473 minor_t minor; local 477 minor = getminor((dev_t)arg); 478 minor &= 0x7f; 479 if (!(anp = ddi_get_soft_state(pcic_soft_state_p, minor))) 485 minor = getminor((dev_t)arg); 486 minor &= 0x7f; 487 *result = (void *)((long)minor);
|
H A D | tl.c | 47 * The driver mode is specified during open() by the minor number used for 237 * For implicit binds we always use minor number as soua_vp part of the address 248 * Also for sockets the driver always uses minor number as acceptor id. 259 * (sets soua_vp to its minor number). 261 * 2) It always uses minor number as acceptor ID and never uses queue 399 * Definition of minor numbers/modes for new transport provider modes. 580 minor_t te_minor; /* minor number */ 995 * Create ID space for minor numbers 1423 minor_t minor = getminor(*devp); local 1436 if ((minor > [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcip.c | 1109 * by fcip_handle_topology(). Dont create a minor node if 1117 "failed to create minor node for fcip(%d)", 1135 /* Remove minor node iff this is the last instance */ 1821 * Helper routine to remove fcip's minor node 1822 * There is one minor node per system and it should be removed if there are no 1832 * minor node for fcip. 3476 * The open routine. For clone opens, we return the next available minor 3485 minor_t minor; local 3505 minor = 0; 3507 if (minor < sl [all...] |
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_ac/ |
H A D | usb_ac.c | 75 /* for getting the minor node info from hid */ 3866 minor_t minor; local 3923 minor = getminor(devt); 3929 "usb_ac_mux_unplumbing: [%d] - %s%d minor 0x%x", i, 3930 ddi_driver_name(acp_dip), inst, minor); 4149 "usb_ac_mux_walk_siblings:plumbed %d, minor 0x%x",
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | hubdi.c | 1821 int minor; local 1851 minor = HUBD_IS_ROOT_HUB; 1865 minor = 0; 2049 /* create minor nodes */ 2051 instance | minor, DDI_NT_NEXUS, 0) != DDI_SUCCESS) { 2054 "cannot create devctl minor node (%d)", instance); 8014 * minor nodes. Used only in usba_hubdi_attach.
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sservice.h | 474 int minor_num; /* device node minor number */ 491 int minor; /* adapter minor number */ member in struct:csss_adapter_info_t
|
/illumos-gate/usr/src/uts/sun4u/opl/sys/ |
H A D | opl_hwdesc.h | 99 uint16_t minor; member in struct:__anon9906::hwdesc_version 350 uint8_t fver_minor; /* firmware minor version */
|
/illumos-gate/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 277 minor_t minor = getminor(dev); \ 279 part = minor & DCDPART_MASK; \ 280 instance = minor >> DCDUNIT_SHIFT; \ 1666 minor_t minor = getminor(bp->b_edev); local 1667 instance = minor >> DCDUNIT_SHIFT; 1783 minor_t minor = getminor(bp->b_edev); local 1789 minor >> DCDUNIT_SHIFT)) == NULL || 1858 minor & DCDPART_MASK,
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | fd.c | 284 int minor; member in struct:driver_minor_data 779 (instance << FDINSTSHIFT) | dmdp->minor, 1293 /* Remove all minor nodes */ 1895 /* The minor number should always be 0 */
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fakebop.c | 907 short minor; local 925 minor = *prop_p - '0'; 928 minor = minor * 10 + *prop_p - '0'; 932 minor = 0; 934 ASSERT(minor < 16); /* at most 16 partitions */ 935 mi += minor;
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_send.c | 2897 minor_t minor; local 2903 ra.err = zfs_onexit_fd_hold(cleanup_fd, &minor); 2915 err = zfs_onexit_add_cb(minor, 2921 err = zfs_onexit_cb_data(minor, *action_handlep,
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 3257 char *minor; local 3262 if (devid_str_decode(devid_str, &devid, &minor) != 0) 3265 ret = devid_deviceid_to_nmlist("/dev", devid, minor, &list); 3267 devid_str_free(minor); 3291 char *minor, *ret; local 3296 minor = NULL; 3299 if (devid_get_minor_name(fd, &minor) == 0) 3300 ret = devid_str_encode(devid, minor); 3301 if (minor != NULL) 3302 devid_str_free(minor); [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 62 * crypto_locks protects the global array of minor structures. 68 * The fields in the minor structure are protected by the cm_lock member 69 * of the minor structure. The cm_cv is used to signal decrements 115 /* number of minor numbers to allocate at a time */ 367 /* create the minor node */ 372 cmn_err(CE_WARN, "crypto_attach: failed creating minor node"); 384 /* allocate integer space for minor numbers */ 510 /* allocate a new minor number starting with 1 */ 544 cmn_err(CE_WARN, "crypto_close: bad minor (too big) %d", mn); 551 cmn_err(CE_WARN, "crypto_close: duplicate close of minor 618 crypto_hold_minor(minor_t minor) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | modctl.c | 1232 * minor name. 1287 /* copyin the minor name if specified. */ 1304 * passing down DEVID_MINOR_NAME_ALL here, but reproducing all minor 1329 /* loop over all the minor nodes, skipping ones we don't want */ 1400 * Return the size of the minor name. 1408 /* get the minor name */ 1415 /* copy out the size of the minor name */ 1423 * Return the minor name. 1432 /* get the minor name */ 1438 /* Error if the minor nam 1818 char *minor; local [all...] |
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cs.h | 44 #define _VERSION(major, minor) ((major)<<16|(minor)) 721 uint32_t minor; /* adapter minor number */ member in struct:get_physical_adapter_info_t 977 int32_t minor_num; /* device node minor number */ 1220 int32_t minor_num; /* device node minor number */
|
/illumos-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md_subr.c | 2985 char *invalid = " (Invalid minor number %u) "; 2999 * minor number. 3742 minor_t minor = (minor_t)(dev & MAXMIN64); local 3744 return (makedevice(major, minor)); 3750 * INPUT: major_t major, minor_t minor 3754 md_makedevice(major_t major, minor_t minor) argument 3756 return (((md_dev64_t)major << NBITSMINOR64) | minor); 3781 * OUTPUT: the appropriate minor number 3786 minor_t minor; local 3791 minor [all...] |
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | dman.c | 1155 * minor of 0 to instance 0. 1161 minor_t minor; local 1168 minor = getminor((dev_t)arg); 1169 if (minor == 0) { 1170 *result = (void *)(uintptr_t)minor; 1273 * Determine minor device number. man_open serialized by 1323 MAN_DBG(MAN_OCLOSE, ("man_open: exit rq(0x%p) minor %d errno %d\n", 6240 * It describes the information for the path: the major and minor number of
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drmP.h | 494 int minor; member in struct:drm_file 621 int minor; member in struct:drm_cminor
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 2454 vfs_settag(uint_t major, uint_t minor, const char *mntpt, const char *tag, argument 2461 dev_t dev = makedevice(major, minor); 2518 vfs_clrtag(uint_t major, uint_t minor, const char *mntpt, const char *tag, argument 2524 dev_t dev = makedevice(major, minor);
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.c | 58 * For minor nodes created by the SCSA framework, minor numbers are 63 * devctl/scsi and driver specific minor nodes under SCSA format, 2486 AAC_GET_FIELD8(acc, fsarev1, fsarev0, external.comp.minor); 6849 int minor0, minor; local 6858 minor = AAC_SCSA_MINOR(minor0); 6860 if (AAC_IS_SCSA_NODE(minor)) 6878 int minor0, minor; local 6887 minor = AAC_SCSA_MINOR(minor0); 6889 if (AAC_IS_SCSA_NODE(minor)) 6904 int minor0, minor; local [all...] |
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_hw.c | 924 * expected major version is found but there's a minor version mismatch. 930 int ret, major, minor, micro; local 943 minor = G_FW_HDR_FW_VER_MINOR(adapter->params.fw_vers); 954 if (minor == T4FW_VERSION_MINOR && micro == T4FW_VERSION_MICRO)
|