Lines Matching refs:num_syncs
117 u32 i, num_syncs, num_ufence = 0; in xe_exec_ioctl() local
147 if (args->num_syncs) { in xe_exec_ioctl()
148 syncs = kcalloc(args->num_syncs, sizeof(*syncs), GFP_KERNEL); in xe_exec_ioctl()
157 for (num_syncs = 0; num_syncs < args->num_syncs; num_syncs++) { in xe_exec_ioctl()
158 err = xe_sync_entry_parse(xe, xef, &syncs[num_syncs], in xe_exec_ioctl()
159 &syncs_user[num_syncs], SYNC_PARSE_FLAG_EXEC | in xe_exec_ioctl()
165 if (xe_sync_is_ufence(&syncs[num_syncs])) in xe_exec_ioctl()
220 fence = xe_sync_in_fence_get(syncs, num_syncs, q, vm); in xe_exec_ioctl()
225 for (i = 0; i < num_syncs; i++) in xe_exec_ioctl()
276 for (i = 0; i < num_syncs && !err; i++) in xe_exec_ioctl()
305 for (i = 0; i < num_syncs; i++) { in xe_exec_ioctl()
342 while (num_syncs--) in xe_exec_ioctl()
343 xe_sync_entry_cleanup(&syncs[num_syncs]); in xe_exec_ioctl()