Home
last modified time | relevance | path

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

/freebsd/sys/dev/mrsas/
H A Dmrsas_ioctl.c134 struct mrsas_iocpacket *user_ioc = (struct mrsas_iocpacket *)arg; in mrsas_passthru() local
140 union mrsas_frame *in_cmd = (union mrsas_frame *)&(user_ioc->frame.raw); in mrsas_passthru()
162 user_ioc->frame.hdr.cmd_status = MFI_STAT_OK; in mrsas_passthru()
166 if (user_ioc->sge_count > MAX_IOCTL_SGE) { in mrsas_passthru()
168 __func__, user_ioc->sge_count); in mrsas_passthru()
183 memcpy(cmd->frame, user_ioc->frame.raw, 2 * MEGAMFI_FRAME_SIZE); in mrsas_passthru()
198 ((uintptr_t)cmd->frame + user_ioc->sgl_off); in mrsas_passthru()
208 for (i = 0; i < user_ioc->sge_count; i++) { in mrsas_passthru()
210 if (!user_ioc->sgl[i].iov_len) in mrsas_passthru()
212 ioctl_data_size = user_ioc->sgl[i].iov_len; in mrsas_passthru()
[all …]
H A Dmrsas.c1415 struct mrsas_iocpacket *user_ioc = (struct mrsas_iocpacket *)arg; in mrsas_get_softc_instance() local
1424 sc = mrsas_mgmt_info.sc_ptr[user_ioc->host_no]; in mrsas_get_softc_instance()
1427 user_ioc->host_no); in mrsas_get_softc_instance()
1428 else if (user_ioc->host_no >= mrsas_mgmt_info.max_index) in mrsas_get_softc_instance()
1430 "Invalid Controller number %d\n", user_ioc->host_no); in mrsas_get_softc_instance()