Lines Matching refs:frags
1244 static bool ldm_frag_add (const u8 *data, int size, struct list_head *frags) in ldm_frag_add() argument
1250 BUG_ON (!data || !frags); in ldm_frag_add()
1269 list_for_each (item, frags) { in ldm_frag_add()
1286 list_add_tail (&f->list, frags); in ldm_frag_add()
1335 static bool ldm_frag_commit (struct list_head *frags, struct ldmdb *ldb) in ldm_frag_commit() argument
1340 BUG_ON (!frags || !ldb); in ldm_frag_commit()
1342 list_for_each (item, frags) { in ldm_frag_commit()
1376 LIST_HEAD (frags); in ldm_get_vblks()
1403 if (!ldm_frag_add (data, size, &frags)) in ldm_get_vblks()
1412 result = ldm_frag_commit (&frags, ldb); /* Failures, already logged */ in ldm_get_vblks()
1416 ldm_frag_free (&frags); in ldm_get_vblks()