Lines Matching defs:size
101 ldm_error("PRIVHEAD disk size doesn't match real disk size");
191 ldm_error ("Illegal VBLK size");
258 * The privheads on disk show the size and location of the main disk area and
260 * @hd, which contains the real size of the disk.
464 ldm_crit ("VMDB exceeds allowed size specified by TOCBLOCK. "
598 part->start, part->size);
612 * @offset: Cumulative size of the previous variable-width fields
618 * Return: -1 Error, the calculated offset exceeded the size of the buffer
983 part->size = ldm_get_vnum(buffer + 0x34 + r_name);
1090 volu->size = ldm_get_vnum(buffer + 0x3D + r_child);
1218 * @size: Size of the raw fragment
1227 static bool ldm_frag_add (const u8 *data, int size, struct list_head *frags)
1235 if (size < 2 * VBLK_SIZE_HEAD) {
1236 ldm_error("Value of size is too small.");
1258 f = kmalloc (sizeof (*f) + size*num, GFP_KERNEL);
1284 size -= VBLK_SIZE_HEAD;
1285 memcpy(f->data + VBLK_SIZE_HEAD + rec * size, data, size);
1355 int size, perbuf, skip, finish, s, v, recs;
1363 size = ldb->vm.vblk_size;
1364 perbuf = 512 / size;
1366 finish = (size * ldb->vm.last_vblk_seq) >> 9;
1375 for (v = 0; v < perbuf; v++, data+=size) { /* For each vblk */
1383 if (!ldm_ldmdb_add (data, size, ldb))
1386 if (!ldm_frag_add (data, size, &frags))