Lines Matching defs:chain
295 * _base_get_chain - Calculates and Returns virtual chain address
300 * @sge_chain_count: Scatter gather chain count.
302 * Return: the chain address.
326 * @sge_chain_count: Scatter gather chain count.
328 * Return: Physical chain address.
360 // Added extra 1 to reach end of chain.
388 * _base_get_chain_buffer_dma_to_chain_buffer - Iterates chain
396 * Return: Pointer to chain buffer. Or Null on Failure.
483 * 4864 - 17152 SGE chain element. (32cmd * 3 chain of
520 * This is coping 128 byte chain
1955 * _base_get_chain_buffer_tracker - obtain chain tracker
1959 * Return: chain tracker from chain_lookup table using key as
2286 * entry in the main message is the chain element, and the rest
2293 * Put a chain element in main message frame that points to the first
2294 * chain buffer.
2296 * NOTE: The ChainOffset field must be 0 when using a chain pointer to
2300 /* Set main message chain element pointer */
2303 * For NVMe the chain element needs to be the 2nd SG entry in the main
2311 * contiguous memory. Normal chain buffers can't be used
2312 * because each chain buffer would need to be the size of an OS
2520 void *sg_local, *chain;
2561 /* fill in main message segment when there is a chain following */
2576 /* initializing the chain flags and pointers */
2581 chain = chain_req->chain_buffer;
2597 sg_local = chain;
2601 /* fill in chain segments */
2621 chain = chain_req->chain_buffer;
2665 void *sg_local, *chain;
2707 mpi_request->ChainOffset = (sges_in_segment - 1 /* chain element */) +
2710 /* fill in main message segment when there is a chain following */
2724 chain = chain_req->chain_buffer;
2738 sg_local = chain;
2742 /* fill in chain segments */
2755 chain = chain_req->chain_buffer;
5245 /* chain segment size */
5268 /* now do the same for a chain buffer */
5491 ioc->chain_dma_pool = dma_pool_create("chain pool", &ioc->pdev->dev,
5513 ioc_info(ioc, "chain pool depth(%d), frame_size(%d), pool_size(%d kB)\n",