Searched refs:stream_fd (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpu/drm/xe/ |
H A D | xe_eu_stall.c | 877 int ret, stream_fd; in xe_eu_stall_stream_open_locked() local 898 stream_fd = anon_inode_getfd("[xe_eu_stall]", &fops_eu_stall, stream, f_flags); in xe_eu_stall_stream_open_locked() 899 if (stream_fd < 0) { in xe_eu_stall_stream_open_locked() 900 ret = stream_fd; in xe_eu_stall_stream_open_locked() 905 /* Take a reference on the driver that will be kept with stream_fd in xe_eu_stall_stream_open_locked() 910 return stream_fd; in xe_eu_stall_stream_open_locked()
|
H A D | xe_oa.c | 1829 int stream_fd; in xe_oa_stream_open_ioctl_locked() local 1856 stream_fd = anon_inode_getfd("[xe_oa]", &xe_oa_fops, stream, 0); in xe_oa_stream_open_ioctl_locked() 1857 if (stream_fd < 0) { in xe_oa_stream_open_ioctl_locked() 1858 ret = stream_fd; in xe_oa_stream_open_ioctl_locked() 1862 /* Hold a reference on the drm device till stream_fd is released */ in xe_oa_stream_open_ioctl_locked() 1865 return stream_fd; in xe_oa_stream_open_ioctl_locked()
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 3801 int stream_fd; in i915_perf_open_ioctl_locked() local 3902 stream_fd = anon_inode_getfd("[i915_perf]", &fops, stream, f_flags); in i915_perf_open_ioctl_locked() 3903 if (stream_fd < 0) { in i915_perf_open_ioctl_locked() 3904 ret = stream_fd; in i915_perf_open_ioctl_locked() 3911 /* Take a reference on the driver that will be kept with stream_fd in i915_perf_open_ioctl_locked() 3916 return stream_fd; in i915_perf_open_ioctl_locked()
|