Lines Matching refs:reply

402 				memcpy((u8 *)cmdptr->reply, (u8 *)def_reply,
473 * mpi3mr_get_reply_desc - get reply descriptor frame corresponding to
474 * queue's consumer index from operational reply descriptor queue.
476 * @reply_ci: operational reply descriptor's queue consumer index
478 * Returns reply descriptor frame address
495 * mpi3mr_process_op_reply_q - Operational reply queue handler
497 * @op_reply_q: Operational reply queue info
499 * Checks the specific operational reply queue and drains the
500 * reply queue entries until the queue is empty and process the
501 * individual reply descriptors.
503 * Return: 0 if queue is already processed,or number of reply
579 * mpi3mr_blk_mq_poll - Operational reply queue handler
583 * Checks the specific operational reply queue and drains the
584 * reply queue entries until the queue is empty and process the
585 * individual reply descriptors.
587 * Return: 0 if queue is already processed,or number of reply
918 { MPI3MR_RESET_FROM_DELREPQ_TIMEOUT, "delete reply queue timeout" },
925 "create reply queue timeout"
1146 "cannot increase reply size from %d to %d\n",
1153 "cannot reduce number of operational reply queues from %d to %d\n",
1624 * mpi3mr_free_op_reply_q_segments - free reply memory segments
1626 * @q_idx: operational reply queue index
1628 * Free memory segments allocated for operational reply queue
1669 * mpi3mr_delete_op_reply_q - delete operational reply queue
1671 * @qidx: operational reply queue index
1673 * Delete operatinal reply queue by issuing MPI request
1723 ioc_err(mrioc, "delete reply queue timed out\n");
1750 * mpi3mr_alloc_op_reply_q_segments -Alloc segmented reply pool
1754 * Allocate segmented memory pools for operational reply
1865 * mpi3mr_create_op_reply_q - create operational reply queue
1867 * @qidx: operational reply queue index
1869 * Create operatinal reply queue by issuing MPI request
1938 ioc_info(mrioc, "create reply queue(polled): for qid(%d), midx(%d)\n",
1966 ioc_err(mrioc, "create reply queue timed out\n");
2104 * create request and reply queue functions.
2946 * Allocate and initialize the reply free buffers, sense
2947 * buffers, reply free queue and sense buffer queue.
2956 if (mrioc->init_cmds.reply)
2959 mrioc->init_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL);
2960 if (!mrioc->init_cmds.reply)
2963 mrioc->bsg_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL);
2964 if (!mrioc->bsg_cmds.reply)
2967 mrioc->transport_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL);
2968 if (!mrioc->transport_cmds.reply)
2972 mrioc->dev_rmhs_cmds[i].reply = kzalloc(mrioc->reply_sz,
2974 if (!mrioc->dev_rmhs_cmds[i].reply)
2979 mrioc->evtack_cmds[i].reply = kzalloc(mrioc->reply_sz,
2981 if (!mrioc->evtack_cmds[i].reply)
2985 mrioc->host_tm_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL);
2986 if (!mrioc->host_tm_cmds.reply)
2989 mrioc->pel_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL);
2990 if (!mrioc->pel_cmds.reply)
2993 mrioc->pel_abort_cmd.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL);
2994 if (!mrioc->pel_abort_cmd.reply)
3017 /* reply buffer pool, 16 byte align */
3022 ioc_err(mrioc, "reply buf pool: dma_pool_create failed\n");
3033 /* reply free queue, 8 byte align */
3080 * mpimr_initialize_reply_sbuf_queues - initialize reply sense
3084 * Helper function to initialize reply and sense buffers along
3096 "reply buf pool(0x%p): depth(%d), frame_size(%d), pool_size(%d kB), reply_dma(0x%llx)\n",
3798 * registers, create admin and operational reply queue pairs,
3799 * allocate required memory for reply pool, sense buffer pool,
3874 if (!mrioc->init_cmds.reply) {
3878 "%s :Failed to allocated reply sense buffers %d\n",
3975 * operational reply queue pairs, allocate required memory for
3976 * reply pool, sense buffer pool, issue IOC init request to the
4150 * mpi3mr_memset_op_reply_q_buffers - memset the operational reply queue's
4153 * @qidx: Operational reply queue index
4219 if (mrioc->init_cmds.reply) {
4220 memset(mrioc->init_cmds.reply, 0, sizeof(*mrioc->init_cmds.reply));
4221 memset(mrioc->bsg_cmds.reply, 0,
4222 sizeof(*mrioc->bsg_cmds.reply));
4223 memset(mrioc->host_tm_cmds.reply, 0,
4224 sizeof(*mrioc->host_tm_cmds.reply));
4225 memset(mrioc->pel_cmds.reply, 0,
4226 sizeof(*mrioc->pel_cmds.reply));
4227 memset(mrioc->pel_abort_cmd.reply, 0,
4228 sizeof(*mrioc->pel_abort_cmd.reply));
4229 memset(mrioc->transport_cmds.reply, 0,
4230 sizeof(*mrioc->transport_cmds.reply));
4232 memset(mrioc->dev_rmhs_cmds[i].reply, 0,
4233 sizeof(*mrioc->dev_rmhs_cmds[i].reply));
4235 memset(mrioc->evtack_cmds[i].reply, 0,
4236 sizeof(*mrioc->evtack_cmds[i].reply));
4347 kfree(mrioc->init_cmds.reply);
4348 mrioc->init_cmds.reply = NULL;
4350 kfree(mrioc->bsg_cmds.reply);
4351 mrioc->bsg_cmds.reply = NULL;
4353 kfree(mrioc->host_tm_cmds.reply);
4354 mrioc->host_tm_cmds.reply = NULL;
4356 kfree(mrioc->pel_cmds.reply);
4357 mrioc->pel_cmds.reply = NULL;
4359 kfree(mrioc->pel_abort_cmd.reply);
4360 mrioc->pel_abort_cmd.reply = NULL;
4363 kfree(mrioc->evtack_cmds[i].reply);
4364 mrioc->evtack_cmds[i].reply = NULL;
4379 kfree(mrioc->transport_cmds.reply);
4380 mrioc->transport_cmds.reply = NULL;
4383 kfree(mrioc->dev_rmhs_cmds[i].reply);
4384 mrioc->dev_rmhs_cmds[i].reply = NULL;
4712 pel_reply = (struct mpi3_pel_reply *)drv_cmd->reply;
4716 "pel_wait: failed due to no reply\n");
4792 pel_reply = (struct mpi3_pel_reply *)drv_cmd->reply;
4795 "pel_get_seqnum: failed due to no reply\n");