Lines Matching defs:count
208 int count = remain;
209 if (count > ARRAY_SIZE(stack_reloc))
210 count = ARRAY_SIZE(stack_reloc);
211 remain -= count;
213 if (DRM_COPY_FROM_USER(r, user_relocs, count*sizeof(r[0])))
232 } while (--count);
432 * 1b. Increment pin count for already bound objects.
434 * 3. Decrement pin count.
479 err: /* Decrement pin count for bound objects */
501 int count)
521 for (i = 0; i < count; i++)
524 reloc_offset = drm_calloc(count, sizeof(*reloc_offset), DRM_MEM_DRIVER);
528 drm_free(reloc_offset, count * sizeof(*reloc_offset), DRM_MEM_DRIVER);
534 for (i = 0; i < count; i++) {
558 for (i = 0; i < count; i++) {
596 drm_free(reloc_offset, count * sizeof(*reloc_offset), DRM_MEM_DRIVER);
639 int count)
646 for (i = 0; i < count; i++) {