/illumos-gate/usr/src/uts/common/io/ |
H A D | zcons.c | 464 cred_t *credp) /* credentials */ in zc_manager_open() argument 523 cred_t *credp) /* credentials */ in zc_subsidiary_open() argument 599 cred_t *credp) /* credentials */ in zc_open() argument 613 ret = zc_manager_open(zcs, rqp, devp, oflag, sflag, credp); in zc_open() 616 ret = zc_subsidiary_open(zcs, rqp, devp, oflag, sflag, credp); in zc_open() 630 zc_close(queue_t *rqp, int flag, cred_t *credp) in zc_close() argument
|
H A D | bl.c | 107 bl_open(dev_t *devp, int flag, int otyp, struct cred *credp) in bl_open() argument 112 if (secpolicy_blacklist(credp) != 0) in bl_open()
|
H A D | sad.c | 187 cred_t *credp) /* user credentials */ in sadopen() argument 200 err = secpolicy_sadopen(credp); in sadopen() 206 ns = netstack_find_by_cred(credp); in sadopen() 260 cred_t *credp) /* user credentials */ in sadclose() argument
|
H A D | tvhci.c | 208 tvhci_open(dev_t *devp, int flag, int otype, cred_t *credp) in tvhci_open() argument 227 tvhci_close(dev_t dev, int flag, int otype, cred_t *credp) in tvhci_close() argument 245 cred_t *credp, int *rval) in tvhci_ioctl() argument
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | tod.c | 269 tod_open(dev_t *devp, int flag, int otyp, cred_t *credp) in tod_open() argument 279 tod_close(dev_t dev, int flag, int otyp, cred_t *credp) in tod_close() argument 289 tod_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) in tod_ioctl() argument
|
H A D | ebus.c | 97 static int ebus_open(dev_t *devp, int flags, int otyp, cred_t *credp); 98 static int ebus_close(dev_t dev, int flags, int otyp, cred_t *credp); 100 cred_t *credp, int *rvalp); 965 ebus_open(dev_t *devp, int flags, int otyp, cred_t *credp) in ebus_open() argument 1006 ebus_close(dev_t dev, int flags, int otyp, cred_t *credp) in ebus_close() argument 1029 ebus_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in ebus_ioctl() argument
|
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_dev.c | 246 softmac_cmn_open(queue_t *rq, dev_t *devp, int flag, int sflag, cred_t *credp) in softmac_cmn_open() argument 280 return (softmac_drv_open(rq, devp, flag, sflag, credp)); in softmac_cmn_open() 285 softmac_mod_close(queue_t *rq, int flags __unused, cred_t *credp __unused) in softmac_mod_close() 522 softmac_drv_open(queue_t *rq, dev_t *devp, int flag, int sflag, cred_t *credp) in softmac_drv_open() argument 575 softmac_drv_close(queue_t *rq, int flags __unused, cred_t *credp __unused) in softmac_drv_close()
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | tda8444.c | 347 tda8444_open(dev_t *devp, int flags, int otyp, cred_t *credp) in tda8444_open() argument 349 _NOTE(ARGUNUSED(credp)) in tda8444_open() 395 tda8444_close(dev_t dev, int flags, int otyp, cred_t *credp) in tda8444_close() argument 397 _NOTE(ARGUNUSED(flags, otyp, credp)) in tda8444_close()
|
H A D | max1617.c | 447 max1617_open(dev_t *devp, int flags, int otyp, cred_t *credp) in max1617_open() argument 449 _NOTE(ARGUNUSED(credp)) in max1617_open() 498 max1617_close(dev_t dev, int flags, int otyp, cred_t *credp) in max1617_close() argument 500 _NOTE(ARGUNUSED(flags, otyp, credp)) in max1617_close() 589 cred_t *credp, int *rvalp) in max1617_ioctl() argument 591 _NOTE(ARGUNUSED(credp, rvalp)) in max1617_ioctl()
|
/illumos-gate/usr/src/uts/common/io/fcoe/ |
H A D | fcoe.c | 107 static int fcoe_open(dev_t *devp, int flag, int otype, cred_t *credp); 108 static int fcoe_close(dev_t dev, int flag, int otype, cred_t *credp); 110 cred_t *credp, int *rval); 445 fcoe_open(dev_t *devp, int flag, int otype, cred_t *credp) in fcoe_open() argument 457 if (drv_priv(credp) != 0) { in fcoe_open() 497 fcoe_close(dev_t dev, int flag, int otype, cred_t *credp) in fcoe_close() argument 527 cred_t *credp, int *rval) in fcoe_ioctl() argument 532 if (drv_priv(credp) != 0) { in fcoe_ioctl()
|
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_ioctl.c | 117 ibnex_open(dev_t *dev, int flag, int otyp, cred_t *credp) in ibnex_open() argument 129 ibnex_close(dev_t dev, int flag, int otyp, cred_t *credp) in ibnex_close() argument 144 return (ibnex_devctl(dev, cmd, arg, mode, credp, rvalp)); in ibnex_ioctl() 153 credp, rvalp)); in ibnex_ioctl() 157 credp, rvalp)); in ibnex_ioctl() 161 credp, rvalp)); in ibnex_ioctl() 165 credp, rvalp)); in ibnex_ioctl() 2797 cred_t *credp, int *rvalp) in ibnex_ctl_get_api_ver() argument 2822 cred_t *credp, int *rvalp) in ibnex_ctl_get_hca_list() argument 2961 cred_t *credp, int *rvalp) in ibnex_ctl_query_hca() argument [all …]
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | tnet.c | 694 cred_t *credp; in tsol_get_pkt_label() local 828 credp = newcred_from_bslabel(&sl, doi, KM_NOSLEEP); in tsol_get_pkt_label() 829 if (credp == NULL) in tsol_get_pkt_label() 834 if (credp == NULL) in tsol_get_pkt_label() 850 ira->ira_tsl = crgetlabel(credp); in tsol_get_pkt_label() 851 ira->ira_cred = credp; in tsol_get_pkt_label() 867 const cred_t *credp; in tsol_receive_local() local 882 credp = ira->ira_cred; in tsol_receive_local() 883 if (credp == NULL) in tsol_receive_local() 893 if (!crisremote(credp) && in tsol_receive_local() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/pciex/ |
H A D | npe.c | 1100 npe_open(dev_t *devp, int flags, int otyp, cred_t *credp) in npe_open() argument 1123 rv = pcie_open(pci_p->pci_dip, devp, flags, otyp, credp); in npe_open() 1150 npe_close(dev_t dev, int flags, int otyp, cred_t *credp) in npe_close() argument 1168 rv = pcie_close(pci_p->pci_dip, dev, flags, otyp, credp); in npe_close() 1180 npe_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) in npe_ioctl() argument 1195 credp, rvalp); in npe_ioctl() 1199 ret = pcie_ioctl(pci_p->pci_dip, dev, cmd, arg, mode, credp, in npe_ioctl()
|
/illumos-gate/usr/src/uts/intel/io/viona/ |
H A D | viona_main.c | 287 static int viona_open(dev_t *devp, int flag, int otype, cred_t *credp); 288 static int viona_close(dev_t dev, int flag, int otype, cred_t *credp); 290 cred_t *credp, int *rval); 466 viona_open(dev_t *devp, int flag, int otype, cred_t *credp) in viona_open() argument 479 if (drv_priv(credp) != 0) { in viona_open() 505 viona_close(dev_t dev, int flag, int otype, cred_t *credp) in viona_close() argument
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | pic16f747.c | 325 pic_open(dev_t *devp, int flag, int otyp, cred_t *credp) in pic_open() argument 334 pic_close(dev_t dev, int flag, int otyp, cred_t *credp) in pic_close() argument 343 pic_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) in pic_ioctl() argument
|
H A D | gpio_87317.c | 320 gpio_open(dev_t *devp, int flag, int otyp, cred_t *credp) in gpio_open() argument 331 gpio_close(dev_t dev, int flag, int otyp, cred_t *credp) in gpio_close() argument 342 gpio_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in gpio_ioctl() argument
|
/illumos-gate/usr/src/uts/common/sys/scsi/impl/ |
H A D | transport.h | 443 cred_t *credp); 449 cred_t *credp); 456 cred_t *credp,
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_ldap.c | 173 static int _manageReferralCredentials(LDAP *ld, char **dn, char **credp, 2416 static int _manageReferralCredentials(LDAP *ld, char **dn, char **credp, in _manageReferralCredentials() argument 2435 if ((credp != NULL) && (*credp != NULL)) in _manageReferralCredentials() 2437 free(*credp); in _manageReferralCredentials() 2443 (dn != NULL) && (credp != NULL) && (methodp != NULL)) in _manageReferralCredentials() 2450 *credp = strdup(sPasswd); in _manageReferralCredentials() 2459 sPasswd = *credp; in _manageReferralCredentials()
|
/illumos-gate/usr/src/uts/common/io/usb/usb_mid/ |
H A D | usb_mid.c | 1449 usb_mid_open(dev_t *devp, int flags, int otyp, cred_t *credp) in usb_mid_open() argument 1470 credp); in usb_mid_open() 1489 usb_mid_close(dev_t dev, int flag, int otyp, cred_t *credp) in usb_mid_close() argument 1501 credp); in usb_mid_close() 1514 usb_mid_read(dev_t dev, struct uio *uio, cred_t *credp) in usb_mid_read() argument 1524 return (usb_ugen_read(usb_mid->mi_ugen_hdl, dev, uio, credp)); in usb_mid_read() 1529 usb_mid_write(dev_t dev, struct uio *uio, cred_t *credp) in usb_mid_write() argument 1539 return (usb_ugen_write(usb_mid->mi_ugen_hdl, dev, uio, credp)); in usb_mid_write()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ntwdt.c | 420 ntwdt_open(dev_t *devp, int flag, int otyp, cred_t *credp) in ntwdt_open() argument 433 if (drv_priv(credp) != 0) { in ntwdt_open() 450 ntwdt_close(dev_t dev, int flag, int otyp, cred_t *credp) in ntwdt_close() argument 468 ntwdt_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in ntwdt_ioctl() argument
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | mi.h | 113 dev_t *devp, int flag, int sflag, cred_t *credp); 115 int sflag, cred_t *credp);
|
/illumos-gate/usr/src/uts/common/io/ib/clients/sdp/ |
H A D | sdpddi.c | 119 sdp_gen_open(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) in sdp_gen_open() argument 129 sdp_gen_close(queue_t *q, int flag, cred_t *credp) in sdp_gen_close() argument
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp.c | 180 cred_t *credp; in sctp_create_eager() local 216 connp->conn_cred = credp; in sctp_create_eager() 217 crhold(credp); in sctp_create_eager() 1323 cred_t *credp) in sctp_create() argument 1333 if (credp == NULL) in sctp_create() 1345 ns = netstack_find_by_cred(credp); in sctp_create() 1362 zoneid = crgetzoneid(credp); in sctp_create() 1452 connp->conn_cred = credp; in sctp_create() 1453 crhold(credp); in sctp_create() 1460 if (getpflags(NET_MAC_AWARE, credp) != 0) in sctp_create() [all …]
|
/illumos-gate/usr/src/uts/sun4u/grover/io/ |
H A D | grfans.c | 299 grfans_open(dev_t *devp, int flags, int otyp, cred_t *credp) in grfans_open() argument 309 if (secpolicy_sys_config(credp, B_FALSE) != 0) in grfans_open() 353 grfans_close(dev_t dev, int flags, int otyp, cred_t *credp) in grfans_close() argument
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_common.c | 262 __ns_ldap_freeUnixCred(UnixCred_t ** credp) in __ns_ldap_freeUnixCred() argument 269 if (credp == NULL || *credp == NULL) in __ns_ldap_freeUnixCred() 272 ap = *credp; in __ns_ldap_freeUnixCred() 284 *credp = NULL; in __ns_ldap_freeUnixCred() 297 __ns_ldap_freeCred(ns_cred_t ** credp) in __ns_ldap_freeCred() argument 304 if (credp == NULL || *credp == NULL) in __ns_ldap_freeCred() 307 ap = *credp; in __ns_ldap_freeCred() 333 *credp = NULL; in __ns_ldap_freeCred()
|