Home
last modified time | relevance | path

Searched refs:ioclen (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_kmod.c176 uint32_t ioclen; in smb_kmod_share() local
184 ioclen = sizeof (smb_ioc_share_t) + bufsz; in smb_kmod_share()
186 if ((ioc = malloc(ioclen)) != NULL) { in smb_kmod_share()
189 rc = smb_kmod_ioctl(SMB_IOC_SHARE, &ioc->hdr, ioclen); in smb_kmod_share()
201 uint32_t ioclen; in smb_kmod_unshare() local
209 ioclen = sizeof (smb_ioc_share_t) + bufsz; in smb_kmod_unshare()
211 if ((ioc = malloc(ioclen)) != NULL) { in smb_kmod_unshare()
214 rc = smb_kmod_ioctl(SMB_IOC_UNSHARE, &ioc->hdr, ioclen); in smb_kmod_unshare()
307 uint32_t ioclen; in smb_kmod_enum_init() local
312 ioclen = sizeof (smb_ioc_svcenum_t) + SMB_IOC_DATA_SIZE; in smb_kmod_enum_init()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge.c615 size_t ioclen = 0; in sfxge_ioctl() local
628 ioclen = sizeof (sfxge_nvram_ioc_t); in sfxge_ioctl()
631 ioclen = sizeof (sfxge_mcdi_ioc_t); in sfxge_ioctl()
634 ioclen = sizeof (sfxge_mcdi2_ioc_t); in sfxge_ioctl()
637 ioclen = sizeof (sfxge_vpd_ioc_t); in sfxge_ioctl()
646 if (iocp->ioc_count != ioclen) { in sfxge_ioctl()
652 if ((rc = miocpullup(mp, ioclen)) != 0) { in sfxge_ioctl()