Lines Matching defs:size
59 unsigned long size;
70 size = LDT_ENTRY_SIZE*LDT_DIRECT_ENTRIES;
71 if (size > bytecount)
72 size = bytecount;
73 if (copy_to_user(ptr, ldt->u.entries, size))
75 bytecount -= size;
76 ptr += size;
81 size = PAGE_SIZE;
82 if (size > bytecount)
83 size = bytecount;
84 if (copy_to_user(ptr, ldt->u.pages[i], size)) {
88 bytecount -= size;
89 ptr += size;
115 * an empty ldt of common host default ldt size.
238 int i, size, k, order;
272 for (i=0, size=0; i<ret/LDT_ENTRY_SIZE; i++) {
274 size++;
277 if (size < ARRAY_SIZE(dummy_list))
280 size = (size + 1) * sizeof(dummy_list[0]);
281 tmp = kmalloc(size, GFP_KERNEL);