Lines Matching refs:size
598 part->start, part->size); in ldm_create_data_partitions()
983 part->size = ldm_get_vnum(buffer + 0x34 + r_name); in ldm_parse_prt3()
1090 volu->size = ldm_get_vnum(buffer + 0x3D + r_child); in ldm_parse_vol5()
1227 static bool ldm_frag_add (const u8 *data, int size, struct list_head *frags) in ldm_frag_add() argument
1235 if (size < 2 * VBLK_SIZE_HEAD) { in ldm_frag_add()
1258 f = kmalloc (sizeof (*f) + size*num, GFP_KERNEL); in ldm_frag_add()
1284 size -= VBLK_SIZE_HEAD; in ldm_frag_add()
1285 memcpy(f->data + VBLK_SIZE_HEAD + rec * size, data, size); in ldm_frag_add()
1355 int size, perbuf, skip, finish, s, v, recs; in ldm_get_vblks() local
1363 size = ldb->vm.vblk_size; in ldm_get_vblks()
1364 perbuf = 512 / size; in ldm_get_vblks()
1366 finish = (size * ldb->vm.last_vblk_seq) >> 9; in ldm_get_vblks()
1375 for (v = 0; v < perbuf; v++, data+=size) { /* For each vblk */ in ldm_get_vblks()
1383 if (!ldm_ldmdb_add (data, size, ldb)) in ldm_get_vblks()
1386 if (!ldm_frag_add (data, size, &frags)) in ldm_get_vblks()