Lines Matching defs:frags
1210 * @frags: Linked list of VBLK fragments
1218 static bool ldm_frag_add (const u8 *data, int size, struct list_head *frags)
1224 BUG_ON (!data || !frags);
1243 list_for_each (item, frags) {
1260 list_add_tail (&f->list, frags);
1300 * @frags: Linked list of VBLK fragments
1309 static bool ldm_frag_commit (struct list_head *frags, struct ldmdb *ldb)
1314 BUG_ON (!frags || !ldb);
1316 list_for_each (item, frags) {
1350 LIST_HEAD (frags);
1377 if (!ldm_frag_add (data, size, &frags))
1386 result = ldm_frag_commit (&frags, ldb); /* Failures, already logged */
1390 ldm_frag_free (&frags);