Lines Matching refs:host_tm_cmds
1900 sc->host_tm_cmds.reply = malloc(sc->reply_sz, M_MPI3MR, M_NOWAIT | M_ZERO); in mpi3mr_reply_alloc()
1901 if (!sc->host_tm_cmds.reply) { in mpi3mr_reply_alloc()
2841 mtx_init(&sc->host_tm_cmds.completion.lock, "TM commands lock", NULL, MTX_DEF); in mpi3mr_initialize_ioc()
2842 sc->host_tm_cmds.reply = NULL; in mpi3mr_initialize_ioc()
2843 sc->host_tm_cmds.state = MPI3MR_CMD_NOTUSED; in mpi3mr_initialize_ioc()
2844 sc->host_tm_cmds.dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_initialize_ioc()
2845 sc->host_tm_cmds.host_tag = MPI3MR_HOSTTAG_TMS; in mpi3mr_initialize_ioc()
4323 cmdptr = &sc->host_tm_cmds; in mpi3mr_process_admin_reply_desc()
5248 if (mtx_initialized(&sc->host_tm_cmds.completion.lock)) in mpi3mr_destory_mtx()
5249 mtx_destroy(&sc->host_tm_cmds.completion.lock); in mpi3mr_destory_mtx()
5438 if (sc->host_tm_cmds.reply) { in mpi3mr_free_mem()
5439 free(sc->host_tm_cmds.reply, M_MPI3MR); in mpi3mr_free_mem()
5440 sc->host_tm_cmds.reply = NULL; in mpi3mr_free_mem()
5543 cmdptr = &sc->host_tm_cmds; in mpi3mr_flush_drv_cmds()
5584 memset(sc->host_tm_cmds.reply, 0, sc->reply_sz); in mpi3mr_memset_buffers()