Lines Matching defs:count
209 * Must bump handle count first as this may be the last
422 * which includes a regular reference count. Callers will likely want to
507 * ref count of those pages.
648 static int objects_lookup(struct drm_file *filp, u32 *handle, int count,
656 for (i = 0; i < count; i++) {
675 * @count: size of handle array
691 int count, struct drm_gem_object ***objs_out)
697 if (!count)
700 objs = kvmalloc_array(count, sizeof(struct drm_gem_object *),
707 handles = kvmalloc_array(count, sizeof(u32), GFP_KERNEL);
713 if (copy_from_user(handles, bo_handles, count * sizeof(u32))) {
719 ret = objects_lookup(filp, handles, count, objs);
1245 * @count: Number of objects in @objs
1250 drm_gem_lock_reservations(struct drm_gem_object **objs, int count,
1270 for (i = 0; i < count; i++) {
1302 drm_gem_unlock_reservations(struct drm_gem_object **objs, int count,
1307 for (i = 0; i < count; i++)