Home
last modified time | relevance | path

Searched refs:credp (Results 1 – 25 of 289) sorted by last modified time

12345678910>>...12

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_init.c314 smb_drv_close(dev_t dev, int flag, int otyp, cred_t *credp) in smb_drv_close() argument
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/
H A Dlmrc_ioctl.c478 lmrc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in lmrc_ioctl() argument
485 if (secpolicy_sys_config(credp, B_FALSE) != 0) in lmrc_ioctl()
488 ret = scsi_hba_ioctl(dev, cmd, arg, mode, credp, rval); in lmrc_ioctl()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_helper_stream.c105 cred_t *credp, boolean_t isv6) in ip_helper_stream_setup() argument
158 ip_helper_stream_close(queue_t *q, int flag __unused, cred_t *credp __unused) in ip_helper_stream_close()
/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Damdzen.c2327 amdzen_topo_open(dev_t *devp, int flag, int otyp, cred_t *credp) in amdzen_topo_open() argument
2332 if (crgetzoneid(credp) != GLOBAL_ZONEID || in amdzen_topo_open()
2333 secpolicy_sys_config(credp, B_FALSE) != 0) { in amdzen_topo_open()
2663 cred_t *credp, int *rvalp) in amdzen_topo_ioctl() argument
2695 amdzen_topo_close(dev_t dev, int flag, int otyp, cred_t *credp) in amdzen_topo_close() argument
H A Dzen_umc.c3056 zen_umc_open(dev_t *devp, int flag, int otyp, cred_t *credp) in zen_umc_open() argument
3143 zen_umc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in zen_umc_ioctl() argument
3157 if (crgetzoneid(credp) != GLOBAL_ZONEID || in zen_umc_ioctl()
3158 drv_priv(credp) != 0) { in zen_umc_ioctl()
3235 zen_umc_close(dev_t dev, int flag, int otyp, cred_t *credp) in zen_umc_close() argument
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_sol_dev.c423 cred_t *credp, int *rvalp) in vmmdev_do_ioctl() argument
2932 vmm_open(dev_t *devp, int flag, int otyp, cred_t *credp) in vmm_open() argument
2971 vmm_close(dev_t dev, int flag, int otyp, cred_t *credp) in vmm_close() argument
3081 vmm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in vmm_ioctl() argument
3112 return (vmm_ctl_ioctl(cmd, arg, mode, credp, rvalp)); in vmm_ioctl()
3130 return (vmmdev_do_ioctl(sc, cmd, arg, mode, credp, rvalp)); in vmm_ioctl()
3135 unsigned int prot, unsigned int maxprot, unsigned int flags, cred_t *credp) in vmm_segmap() argument
/illumos-gate/usr/src/uts/common/sys/
H A Dtem_impl.h330 cred_t *credp, enum called_from called_from);
H A Dpcie_impl.h635 cred_t *credp);
637 cred_t *credp);
639 int mode, cred_t *credp, int *rvalp);
/illumos-gate/usr/src/uts/common/io/
H A Dtem_safe.c198 cred_t *credp, in tem_safe_check_first_time() argument
376 cred_t *credp, in tem_safe_terminal_emulate() argument
465 credp, called_from); in tem_safe_control()
929 credp, called_from); in tem_safe_chkparam()
935 credp, called_from); in tem_safe_chkparam()
941 credp, called_from); in tem_safe_chkparam()
948 credp, called_from); in tem_safe_chkparam()
1366 credp, called_from); in tem_safe_lf()
1895 credp, called_from); in tem_safe_text_cls()
1931 cred_t *credp, in tem_safe_pix_copy() argument
[all …]
H A Dtem.c281 tem_init(cred_t *credp, queue_t *rq) in tem_init() argument
448 ret = tems_failed(credp, B_FALSE); in tem_info_init()
458 ret = tems_failed(credp, B_TRUE); in tem_info_init()
466 ret = tems_failed(credp, B_TRUE); in tem_info_init()
476 ret = tems_failed(credp, B_TRUE); in tem_info_init()
483 ret = tems_failed(credp, B_TRUE); in tem_info_init()
719 cred_t *credp) in tems_cls_layered() argument
735 cred_t *credp) in tems_display_layered() argument
751 cred_t *credp) in tems_copy_layered() argument
765 cred_t *credp) in tems_cursor_layered() argument
[all …]
H A Dasy.c279 static int asyclose(queue_t *q, int flag, cred_t *credp);
1773 asyclose(queue_t *q, int flag, cred_t *credp) in asyclose() argument
H A Dbofi.c834 bofi_open(dev_t *devp, int flag, int otyp, cred_t *credp) in bofi_open() argument
883 bofi_close(dev_t dev, int flag, int otyp, cred_t *credp) in bofi_close() argument
914 bofi_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in bofi_ioctl() argument
/illumos-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c1100 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/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c545 vhci_open(dev_t *devp, int flag, int otype, cred_t *credp) in vhci_open() argument
575 vhci_close(dev_t dev, int flag, int otype, cred_t *credp) in vhci_close() argument
599 cred_t *credp, int *rval) in vhci_ioctl() argument
602 return (vhci_devctl(dev, cmd, data, mode, credp, rval)); in vhci_ioctl()
604 return (vhci_mpapi_ctl(dev, cmd, data, mode, credp, rval)); in vhci_ioctl()
606 return (vhci_ctl(dev, cmd, data, mode, credp, rval)); in vhci_ioctl()
5409 vhci_ctl(dev_t dev, int cmd, intptr_t data, int mode, cred_t *credp, int *rval) in vhci_ctl() argument
6087 vhci_devctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in vhci_devctl() argument
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcie.c818 pcie_open(dev_info_t *dip, dev_t *devp, int flags, int otyp, cred_t *credp) in pcie_open() argument
847 pcie_close(dev_info_t *dip, dev_t dev, int flags, int otyp, cred_t *credp) in pcie_close() argument
862 cred_t *credp, int *rvalp) in pcie_ioctl() argument
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt.c145 cred_t *credp, int *rval);
146 static int qlt_open(dev_t *devp, int flag, int otype, cred_t *credp);
147 static int qlt_close(dev_t dev, int flag, int otype, cred_t *credp);
2623 qlt_open(dev_t *devp, int flag, int otype, cred_t *credp) in qlt_open() argument
2635 if (drv_priv(credp)) { in qlt_open()
2674 qlt_close(dev_t dev, int flag, int otype, cred_t *credp) in qlt_close() argument
2716 cred_t *credp, int *rval) in qlt_ioctl() argument
2733 if (drv_priv(credp) != 0) in qlt_ioctl()
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_get_info.c55 proc_get_cred(pid_t pid, prcred_t *credp, int ngroups) in proc_get_cred() argument
60 ssize_t minsize = sizeof (*credp) - sizeof (gid_t); in proc_get_cred()
66 if (read(fd, credp, size) >= minsize) in proc_get_cred()
/illumos-gate/usr/src/uts/common/os/
H A Dpolicy.c2542 secpolicy_sadopen(const cred_t *credp) in secpolicy_sadopen() argument
2548 if (crgetzoneid(credp) == GLOBAL_ZONEID) in secpolicy_sadopen()
2553 return (secpolicy_require_set(credp, &pset, "devpolicy", KLPDARG_NONE)); in secpolicy_sadopen()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c128 cred_t *credp, int *rval);
12847 mptsas_ioctl(dev_t dev, int cmd, intptr_t data, int mode, cred_t *credp, in mptsas_ioctl() argument
12866 if (secpolicy_sys_config(credp, B_FALSE) != 0) { in mptsas_ioctl()
12904 status = scsi_hba_ioctl(dev, cmd, data, mode, credp, rval); in mptsas_ioctl()
13085 status = scsi_hba_ioctl(dev, cmd, data, mode, credp, in mptsas_ioctl()
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_main.c1026 cred_t * credp, in BnxeCbIoctl() argument
1034 (void)credp; in BnxeCbIoctl()
/illumos-gate/usr/src/uts/common/io/sata/impl/
H A Dsata.c1185 sata_hba_open(dev_t *devp, int flags, int otyp, cred_t *credp) in sata_hba_open() argument
1188 _NOTE(ARGUNUSED(credp)) in sata_hba_open()
1241 sata_hba_close(dev_t dev, int flag, int otyp, cred_t *credp) in sata_hba_close() argument
1244 _NOTE(ARGUNUSED(credp)) in sata_hba_close()
1305 sata_hba_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in sata_hba_ioctl() argument
1309 _NOTE(ARGUNUSED(credp)) in sata_hba_ioctl()
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c1137 bd_open(dev_t *devp, int flag, int otyp, cred_t *credp) in bd_open() argument
1149 _NOTE(ARGUNUSED(credp)); in bd_open()
1246 bd_close(dev_t dev, int flag, int otyp, cred_t *credp) in bd_close() argument
1255 _NOTE(ARGUNUSED(credp)); in bd_close()
1413 bd_read(dev_t dev, struct uio *uio, cred_t *credp) in bd_read() argument
1415 _NOTE(ARGUNUSED(credp)); in bd_read()
1424 bd_write(dev_t dev, struct uio *uio, cred_t *credp) in bd_write() argument
1426 _NOTE(ARGUNUSED(credp)); in bd_write()
1435 bd_aread(dev_t dev, struct aio_req *aio, cred_t *credp) in bd_aread() argument
1437 _NOTE(ARGUNUSED(credp)); in bd_aread()
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_nexus.c54 static int t4_cb_open(dev_t *devp, int flag, int otyp, cred_t *credp);
55 static int t4_cb_close(dev_t dev, int flag, int otyp, cred_t *credp);
56 static int t4_cb_ioctl(dev_t dev, int cmd, intptr_t d, int mode, cred_t *credp,
1089 t4_cb_open(dev_t *devp, int flag, int otyp, cred_t *credp) in t4_cb_open() argument
1105 t4_cb_close(dev_t dev, int flag, int otyp, cred_t *credp) in t4_cb_close() argument
1119 t4_cb_ioctl(dev_t dev, int cmd, intptr_t d, int mode, cred_t *credp, int *rp) in t4_cb_ioctl() argument
1125 if (crgetuid(credp) != 0) in t4_cb_ioctl()
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf_notes.c279 platform, rlimit, credp); in write_elfnotes()
324 (caddr_t)&content, rlimit, credp); in write_elfnotes()
337 (caddr_t)prii, rlimit, credp); in write_elfnotes()
345 rlimit, credp); in write_elfnotes()
397 sizeof (fdinfo.pr_path), credp); in write_elfnotes()
459 (caddr_t)ssd, rlimit, credp); in write_elfnotes()
501 rlimit, credp); in write_elfnotes()
534 rlimit, credp); in write_elfnotes()
557 rlimit, credp); in write_elfnotes()
569 rlimit, credp); in write_elfnotes()
[all …]
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/
H A Darcmsr.c71 int mode, cred_t *credp, int *rvalp);
471 cred_t *credp, int *rvalp) in arcmsr_cb_ioctl() argument
481 if (secpolicy_sys_config(credp, B_FALSE) != 0) in arcmsr_cb_ioctl()
730 return (scsi_hba_ioctl(dev, ioctl_cmd, arg, mode, credp, in arcmsr_cb_ioctl()

12345678910>>...12