Searched refs:nfences (Results 1 – 2 of 2) sorted by relevance
452 int nfences = 4096; in test_chain() local457 fences = kmalloc_array(nfences, sizeof(*fences), GFP_KERNEL); in test_chain()461 for (i = 0; i < nfences; i++) { in test_chain()464 nfences = i; in test_chain()474 nfences = i + 1; in test_chain()483 for (i = nfences; --i; ) { in test_chain()491 for (i = 0; ret == 0 && i < nfences; i++) { in test_chain()499 for (i = 0; i < nfences; i++) in test_chain()
2743 u64 nfences; in add_timeline_fence_array() local2746 nfences = timeline_fences->fence_count; in add_timeline_fence_array()2747 if (!nfences) in add_timeline_fence_array()2752 if (nfences > min_t(unsigned long, in add_timeline_fence_array()2758 if (!access_ok(user_fences, nfences * sizeof(*user_fences))) in add_timeline_fence_array()2762 if (!access_ok(user_values, nfences * sizeof(*user_values))) in add_timeline_fence_array()2766 (eb->num_fences + nfences) * sizeof(*f), in add_timeline_fence_array()2777 while (nfences--) { in add_timeline_fence_array()