<dec f='src/src/sys/dev/raidframe/rf_dagffwr.h' l='61' type='void rf_CommonCreateSmallWriteDAG(RF_Raid_t * raidPtr, RF_AccessStripeMap_t * asmap, RF_DagHeader_t * dag_h, void * bp, RF_RaidAccessFlags_t flags, RF_AllocListElem_t * allocList, const RF_RedFuncs_t * pfuncs, const RF_RedFuncs_t * qfuncs)'/>
<use f='src/src/sys/dev/raidframe/rf_dagffwr.c' l='108' u='c' c='rf_CreateSmallWriteDAG'/>
<def f='src/src/sys/dev/raidframe/rf_dagffwr.c' l='520' ll='1177' type='void rf_CommonCreateSmallWriteDAG(RF_Raid_t * raidPtr, RF_AccessStripeMap_t * asmap, RF_DagHeader_t * dag_h, void * bp, RF_RaidAccessFlags_t flags, RF_AllocListElem_t * allocList, const RF_RedFuncs_t * pfuncs, const RF_RedFuncs_t * qfuncs)'/>
<doc f='src/src/sys/dev/raidframe/rf_dagffwr.c' l='487'>/******************************************************************************
 *
 * creates a DAG to perform a small-write operation (either raid 5 or pq),
 * which is as follows:
 *
 * Hdr -&gt; Nil -&gt; Rop -&gt; Xor -&gt; Cmt ----&gt; Wnp [Unp] --&gt; Trm
 *            \- Rod X      /     \----&gt; Wnd [Und]-/
 *           [\- Rod X     /       \---&gt; Wnd [Und]-/]
 *           [\- Roq -&gt; Q /         \--&gt; Wnq [Unq]-/]
 *
 * Rop = read old parity
 * Rod = read old data
 * Roq = read old &quot;q&quot;
 * Cmt = commit node
 * Und = unlock data disk
 * Unp = unlock parity disk
 * Unq = unlock q disk
 * Wnp = write new parity
 * Wnd = write new data
 * Wnq = write new &quot;q&quot;
 * [ ] denotes optional segments in the graph
 *
 * Parameters:  raidPtr   - description of the physical array
 *              asmap     - logical &amp; physical addresses for this access
 *              bp        - buffer ptr (holds write data)
 *              flags     - general flags (e.g. disk locking)
 *              allocList - list of memory allocated in DAG creation
 *              pfuncs    - list of parity generating functions
 *              qfuncs    - list of q generating functions
 *
 * A null qfuncs indicates single fault tolerant
 *****************************************************************************/</doc>
