Lines Matching refs:num_fences
312 unsigned long num_fences; member
2797 SIZE_MAX / sizeof(*f)) - eb->num_fences) in add_timeline_fence_array()
2809 (eb->num_fences + nfences) * sizeof(*f), in add_timeline_fence_array()
2815 f += eb->num_fences; in add_timeline_fence_array()
2902 eb->num_fences++; in add_timeline_fence_array()
2912 unsigned long num_fences = args->num_cliprects; in add_fence_array() local
2918 if (!num_fences) in add_fence_array()
2923 if (num_fences > min_t(unsigned long, in add_fence_array()
2925 SIZE_MAX / sizeof(*f) - eb->num_fences)) in add_fence_array()
2929 if (!access_ok(user, num_fences * sizeof(*user))) in add_fence_array()
2933 (eb->num_fences + num_fences) * sizeof(*f), in add_fence_array()
2939 f += eb->num_fences; in add_fence_array()
2940 while (num_fences--) { in add_fence_array()
2974 eb->num_fences++; in add_fence_array()
2980 static void put_fence_array(struct eb_fence *fences, int num_fences) in put_fence_array() argument
2983 __free_fence_array(fences, num_fences); in put_fence_array()
2993 for (n = 0; n < eb->num_fences; n++) { in await_fence_array()
3015 for (n = 0; n < eb->num_fences; n++) { in signal_fence_array()
3366 eb.num_fences = 0; in i915_gem_do_execbuffer()
3523 put_fence_array(eb.fences, eb.num_fences); in i915_gem_do_execbuffer()