Lines Matching refs:ioclen
156 uint32_t ioclen;
164 ioclen = sizeof (smb_ioc_share_t) + bufsz;
166 if ((ioc = malloc(ioclen)) != NULL) {
169 rc = smb_kmod_ioctl(SMB_IOC_SHARE, &ioc->hdr, ioclen);
181 uint32_t ioclen;
189 ioclen = sizeof (smb_ioc_share_t) + bufsz;
191 if ((ioc = malloc(ioclen)) != NULL) {
194 rc = smb_kmod_ioctl(SMB_IOC_UNSHARE, &ioc->hdr, ioclen);
268 uint32_t ioclen;
273 ioclen = sizeof (smb_ioc_svcenum_t) + SMB_IOC_DATA_SIZE;
274 if ((ioc = malloc(ioclen)) == NULL) {
279 bzero(ioc, ioclen);
292 ns->ns_ioclen = ioclen;
353 uint32_t ioclen;
367 ioclen = ns->ns_ioclen;
368 rc = smb_kmod_ioctl(SMB_IOC_SVCENUM, &ioc->hdr, ioclen);