Searched refs:mpirepbuf (Results 1 – 1 of 1) sorted by relevance
798 struct mpi3mr_ioctl_mpirepbuf *mpirepbuf = NULL; in mpi3mr_app_mptcmds() local1108 dma_buff->kern_buf_len = (sizeof(*mpirepbuf) - 1 + in mpi3mr_app_mptcmds()1110 mpirepbuf = malloc(dma_buff->kern_buf_len, M_MPI3MR, M_NOWAIT | M_ZERO); in mpi3mr_app_mptcmds()1112 if (!mpirepbuf) { in mpi3mr_app_mptcmds()1119 mpirepbuf->mpirep_type = in mpi3mr_app_mptcmds()1121 memcpy(mpirepbuf->repbuf, sc->ioctl_cmds.reply, sc->reply_sz); in mpi3mr_app_mptcmds()1123 mpirepbuf->mpirep_type = in mpi3mr_app_mptcmds()1126 mpirepbuf->repbuf; in mpi3mr_app_mptcmds()1131 if (copyout(mpirepbuf, dma_buff->user_buf, tmplen)) { in mpi3mr_app_mptcmds()1198 if (mpirepbuf) in mpi3mr_app_mptcmds()[all …]