Lines Matching defs:num_clips
2601 int num_clips;
2611 num_clips = r->num_clips;
2614 if (!num_clips != !clips_ptr) {
2622 if (flags & DRM_MODE_FB_DIRTY_ANNOTATE_COPY && (num_clips % 2)) {
2627 if (num_clips && clips_ptr) {
2628 if (num_clips < 0 || num_clips > DRM_MODE_FB_DIRTY_MAX_CLIPS) {
2632 clips = kzalloc(num_clips * sizeof(*clips), GFP_KERNEL);
2639 num_clips * sizeof(*clips));
2649 clips, num_clips);
2657 kfree(clips, num_clips * sizeof(*clips));