linux/drivers/dma-buf
Tvrtko Ursulin ad10976d6c sync_file: Protect access to driver and timeline name
Protect the access to driver and timeline name which otherwise could be
freed as dma-fence exported is signalling fences.

This prepares the code for incoming dma-fence API changes which will start
asserting these accesses are done from a RCU locked section.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
Link: https://lore.kernel.org/r/20250610164226.10817-2-tvrtko.ursulin@igalia.com
2025-06-13 08:24:12 +01:00
..
heaps dma-buf: heaps: system: Remove global variable 2025-04-08 11:48:39 +02:00
dma-buf-sysfs-stats.c dma-buf: Fix the typo in DMA-BUF statistics doc 2023-07-27 09:43:33 +02:00
dma-buf-sysfs-stats.h dma-buf: fix dma_buf_export init order v2 2022-12-13 08:31:45 +01:00
dma-buf.c bpf-next-6.16 2025-05-28 15:52:42 -07:00
dma-fence-array.c dma-buf: fix dma_fence_array_signaled v4 2024-11-25 20:08:27 +01:00
dma-fence-chain.c dma-fence: Use a flag for 64-bit seqnos 2025-06-03 17:38:04 +01:00
dma-fence-unwrap.c dma-fence: Add helper to sort and deduplicate dma_fence arrays 2025-05-05 13:29:44 -04:00
dma-fence.c dma-fence: Add helpers for accessing driver and timeline name 2025-06-03 17:38:22 +01:00
dma-heap.c dma-buf: heaps: Deduplicate docs and adopt common format 2024-07-23 09:52:23 +02:00
dma-resv.c dma-buf: insert memory barrier before updating num_fences 2025-05-14 15:31:23 +02:00
Kconfig Revert "udmabuf: fix vmap_udmabuf error page set" 2025-05-15 21:54:51 -07:00
Makefile dma-buf: cleanup dma_fence_unwrap implementation 2022-05-30 14:16:32 +02:00
selftest.c dma-buf: Introduce selftesting framework 2019-08-19 18:01:34 +01:00
selftest.h dma-buf: Introduce selftesting framework 2019-08-19 18:01:34 +01:00
selftests.h dma-buf: add dma_fence_unwrap v2 2022-03-25 14:18:28 +01:00
st-dma-fence-chain.c dma-buf: Fix NULL pointer dereference in sanitycheck() 2024-03-20 10:15:45 +01:00
st-dma-fence-unwrap.c dma-fence: Add some more fence-merge-unwrap tests 2025-01-09 16:40:02 +01:00
st-dma-fence.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
st-dma-resv.c dma-buf: Enable signaling on fence for selftests 2022-09-16 15:53:25 +02:00
sw_sync.c dma-fence: Change signature of __dma_fence_is_later 2025-05-15 15:05:29 +02:00
sync_debug.c dma-buf/sw-sync: Remove unused debug code 2025-05-08 12:51:59 +02:00
sync_debug.h dma-buf/sw-sync: Remove unused debug code 2025-05-08 12:51:59 +02:00
sync_file.c sync_file: Protect access to driver and timeline name 2025-06-13 08:24:12 +01:00
sync_trace.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
udmabuf.c udmabuf: fix vmap missed offset page 2025-05-15 21:54:52 -07:00