Lines Matching refs:ioclen
176 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()
313 if ((ioc = malloc(ioclen)) == NULL) { in smb_kmod_enum_init()
318 bzero(ioc, ioclen); in smb_kmod_enum_init()
331 ns->ns_ioclen = ioclen; in smb_kmod_enum_init()
392 uint32_t ioclen; in smb_kmod_enum() local
406 ioclen = ns->ns_ioclen; in smb_kmod_enum()
407 rc = smb_kmod_ioctl(SMB_IOC_SVCENUM, &ioc->hdr, ioclen); in smb_kmod_enum()