Lines Matching refs:chain
124 * mptscsih_getFreeChainBuffer - Function to get a free chain
168 * mptscsih_AddSGE - Add a SGE (plus chain buffers) to the
221 * chainSge (Null if original MF is not a chain buffer)
272 /* The current buffer is a chain buffer,
274 * Update the chain element
290 /* At least one chain buffer is needed.
294 * (OR finish previous MF chain buffer)
296 * - Populate chain element
304 /* Set LAST_ELEMENT flag for last non-chain element
318 /* The current buffer is a chain buffer.
320 * Update its chain element Offset and Length (must
321 * include chain element size) fields.
322 * Old chain element is now complete.
329 /* The original MF buffer requires a chain buffer -
331 * Last element in this MF is a chain element.
342 /* NOTE: psge points to the beginning of the chain element
343 * in current buffer. Get a chain buffer.
364 * - Set chain buffer pointer to psge and fill
1440 * mptscsih_freeChainBuffers - Function to free chain buffers associated
1445 * Called if SG chain buffer allocation fails and mptscsih callbacks.
1451 MPT_FRAME_HDR *chain;
1456 /* Get the first chain index and reset
1464 /* Save the next chain buffer index */
1467 /* Free this chain buffer and reset
1472 chain = (MPT_FRAME_HDR *) (ioc->ChainBuffer
1476 list_add_tail(&chain->u.frame.linkage.list, &ioc->FreeChainQ);