Home
last modified time | relevance | path

Searched refs:ioc_hdr (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_init.c259 smb_ioc_header_t ioc_hdr; in smb_drv_ioctl() local
264 if (ddi_copyin((const void *)argp, &ioc_hdr, sizeof (smb_ioc_header_t), in smb_drv_ioctl()
265 flags) || (ioc_hdr.version != SMB_IOC_VERSION)) in smb_drv_ioctl()
268 crc = ioc_hdr.crc; in smb_drv_ioctl()
269 ioc_hdr.crc = 0; in smb_drv_ioctl()
270 if (smb_crc_gen((uint8_t *)&ioc_hdr, sizeof (ioc_hdr)) != crc) in smb_drv_ioctl()
273 ioc = kmem_alloc(ioc_hdr.len, KM_SLEEP); in smb_drv_ioctl()
274 if (ddi_copyin((const void *)argp, ioc, ioc_hdr.len, flags)) { in smb_drv_ioctl()
275 kmem_free(ioc, ioc_hdr.len); in smb_drv_ioctl()
328 if (ddi_copyout((const void *)ioc, (void *)argp, ioc_hdr.len, in smb_drv_ioctl()
[all …]
/titanic_50/usr/src/cmd/smbsrv/fksmbd/
H A Dfksmbd_kmod.c62 fksmbd_adjust_config(smb_ioc_header_t *ioc_hdr) in fksmbd_adjust_config() argument
64 smb_ioc_cfg_t *ioc = (smb_ioc_cfg_t *)ioc_hdr; in fksmbd_adjust_config()
/titanic_50/usr/src/uts/common/smbsrv/
H A Dsmb_ioctl.h187 smb_ioc_header_t ioc_hdr; member