Home
last modified time | relevance | path

Searched refs:dn_lock (Results 1 – 16 of 16) sorted by relevance

/titanic_44/usr/src/uts/common/os/
H A Dmodsubr.c104 LOCK_DEV_OPS(&(devnamesp[major].dn_lock)); in mod_hold_dev_by_major()
108 UNLOCK_DEV_OPS(&(devnamesp[major].dn_lock)); in mod_hold_dev_by_major()
113 LOCK_DEV_OPS(&(devnamesp[major].dn_lock)); in mod_hold_dev_by_major()
121 UNLOCK_DEV_OPS(&(devnamesp[major].dn_lock)); in mod_hold_dev_by_major()
139 LOCK_DEV_OPS(&dnp->dn_lock); in mod_rele_dev_by_major()
155 UNLOCK_DEV_OPS(&dnp->dn_lock); in mod_rele_dev_by_major()
167 UNLOCK_DEV_OPS(&dnp->dn_lock); in mod_rele_dev_by_major()
378 ASSERT(mutex_owned(&dnp->dn_lock)); in impl_make_parlist()
717 LOCK_DEV_OPS(&dnp->dn_lock); in make_devname()
721 UNLOCK_DEV_OPS(&dnp->dn_lock); in make_devname()
[all …]
H A Ddriver.c629 LOCK_DEV_OPS(&dnp->dn_lock); in cdev_size()
632 UNLOCK_DEV_OPS(&dnp->dn_lock); in cdev_size()
636 UNLOCK_DEV_OPS(&dnp->dn_lock); in cdev_size()
653 LOCK_DEV_OPS(&dnp->dn_lock); in cdev_Size()
656 UNLOCK_DEV_OPS(&dnp->dn_lock); in cdev_Size()
660 UNLOCK_DEV_OPS(&dnp->dn_lock); in cdev_Size()
H A Dsubr.c117 LOCK_DEV_OPS(&devnamesp[i].dn_lock); in getudev()
121 UNLOCK_DEV_OPS(&devnamesp[i].dn_lock); in getudev()
127 UNLOCK_DEV_OPS(&devnamesp[i].dn_lock); in getudev()
H A Ddevcfg.c1446 LOCK_DEV_OPS(&dnp->dn_lock); in detach_node()
1448 UNLOCK_DEV_OPS(&dnp->dn_lock); in detach_node()
1523 LOCK_DEV_OPS(&dnp->dn_lock); in predetach_node()
1525 UNLOCK_DEV_OPS(&dnp->dn_lock); in predetach_node()
1528 UNLOCK_DEV_OPS(&dnp->dn_lock); in predetach_node()
2464 ASSERT(mutex_owned(&dnp->dn_lock)); in i_ddi_prop_list_hold()
2472 ASSERT(mutex_owned(&dnp->dn_lock)); in i_ddi_prop_list_rele()
2575 LOCK_DEV_OPS(&dnp->dn_lock); in i_ddi_load_drvconf()
2578 UNLOCK_DEV_OPS(&dnp->dn_lock); in i_ddi_load_drvconf()
2608 LOCK_DEV_OPS(&dnp->dn_lock); in i_ddi_unload_drvconf()
[all …]
H A Dmodctl.c715 LOCK_DEV_OPS(&dnp->dn_lock); in modctl_rem_major()
718 UNLOCK_DEV_OPS(&dnp->dn_lock); in modctl_rem_major()
723 UNLOCK_DEV_OPS(&dnp->dn_lock); in modctl_rem_major()
1710 LOCK_DEV_OPS(&dnp->dn_lock); in rem_minorperm()
1746 UNLOCK_DEV_OPS(&dnp->dn_lock); in rem_minorperm()
1766 LOCK_DEV_OPS(&dnp->dn_lock); in add_minorperm()
1811 UNLOCK_DEV_OPS(&dnp->dn_lock); in add_minorperm()
4580 LOCK_DEV_OPS(&dnp->dn_lock); in dev_alias_minorperm()
4593 UNLOCK_DEV_OPS(&dnp->dn_lock); in dev_alias_minorperm()
4605 LOCK_DEV_OPS(&dnp->dn_lock); in dev_alias_minorperm()
[all …]
H A Dmodconf.c599 LOCK_DEV_OPS(&dnp->dn_lock); in mod_installdrv()
635 UNLOCK_DEV_OPS(&dnp->dn_lock); in mod_installdrv()
673 LOCK_DEV_OPS(&(dnp->dn_lock)); in mod_removedrv()
713 UNLOCK_DEV_OPS(&(dnp->dn_lock)); in mod_removedrv()
H A Ddriver_lyr.c1137 LOCK_DEV_OPS(&dnp->dn_lock); in ldi_usage_walker_helper()
1141 UNLOCK_DEV_OPS(&dnp->dn_lock); in ldi_usage_walker_helper()
1149 LOCK_DEV_OPS(&dnp->dn_lock); in ldi_usage_walker_helper()
1153 UNLOCK_DEV_OPS(&dnp->dn_lock); in ldi_usage_walker_helper()
H A Dsunddi.c1152 LOCK_DEV_OPS(&dnp->dn_lock); in i_ddi_search_global_prop()
1169 UNLOCK_DEV_OPS(&dnp->dn_lock); in i_ddi_search_global_prop()
1173 UNLOCK_DEV_OPS(&dnp->dn_lock); in i_ddi_search_global_prop()
5737 LOCK_DEV_OPS(&dnp->dn_lock); in ddi_create_minor_common()
5747 UNLOCK_DEV_OPS(&dnp->dn_lock); in ddi_create_minor_common()
6865 LOCK_DEV_OPS(&(dnp->dn_lock)); in e_ddi_majorinstance_to_path()
6882 UNLOCK_DEV_OPS(&(dnp->dn_lock)); in e_ddi_majorinstance_to_path()
6887 UNLOCK_DEV_OPS(&(dnp->dn_lock)); in e_ddi_majorinstance_to_path()
H A Dsunmdi.c9079 LOCK_DEV_OPS(&dnp->dn_lock); in get_phci_driver_list()
9095 UNLOCK_DEV_OPS(&dnp->dn_lock); in get_phci_driver_list()
9097 UNLOCK_DEV_OPS(&dnp->dn_lock); in get_phci_driver_list()
/titanic_44/usr/src/uts/common/io/
H A Dpseudonex.c322 dmp = &devnamesp[childmaj].dn_lock; in pseudonex_check_assignment()
356 dmp = &devnamesp[childmaj].dn_lock; in pseudonex_auto_assign()
H A Ddevinfo.c1608 ASSERT(mutex_owned(&dnp->dn_lock)); in snap_driver_list()
1680 mutex_enter(&devnamesp[i].dn_lock); in di_copydevnm()
1718 mutex_exit(&devnamesp[i].dn_lock); in di_copydevnm()
/titanic_44/usr/src/uts/common/sys/
H A Dautoconf.h50 kmutex_t dn_lock; /* Per driver lock (see below) */ member
/titanic_44/usr/src/uts/common/pcmcia/nexus/
H A Dpcmcia.c3931 LOCK_DEV_OPS(&devnamesp[major].dn_lock); in pcmcia_create_device()
3935 UNLOCK_DEV_OPS(&devnamesp[major].dn_lock); in pcmcia_create_device()
4042 LOCK_DEV_OPS(&devnamesp[major].dn_lock); in pcmcia_get_minors()
4047 UNLOCK_DEV_OPS(&devnamesp[major].dn_lock); in pcmcia_get_minors()
/titanic_44/usr/src/uts/common/io/mac/
H A Dmac.c512 LOCK_DEV_OPS(&devnamesp[major].dn_lock); in mac_init_ops()
514 UNLOCK_DEV_OPS(&devnamesp[major].dn_lock); in mac_init_ops()
/titanic_44/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c2818 LOCK_DEV_OPS(&dnp->dn_lock); in scsi_size_clean()
2820 UNLOCK_DEV_OPS(&dnp->dn_lock); in scsi_size_clean()
/titanic_44/usr/src/uts/common/io/sata/impl/
H A Dsata.c12387 LOCK_DEV_OPS(&(dnp->dn_lock)); in sata_devt_to_devinfo()
12392 UNLOCK_DEV_OPS(&(dnp->dn_lock)); in sata_devt_to_devinfo()