xref: /linux/Documentation/ABI/testing/sysfs-kernel-dmabuf-buffers (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1What:		/sys/kernel/dmabuf/buffers
2Date:		May 2021
3KernelVersion:	v5.13
4Contact:	Hridya Valsaraju <hridya@google.com>
5Description:	The /sys/kernel/dmabuf/buffers directory contains a
6		snapshot of the internal state of every DMA-BUF.
7		/sys/kernel/dmabuf/buffers/<inode_number> will contain the
8		statistics for the DMA-BUF with the unique inode number
9		<inode_number>
10Users:		kernel memory tuning/debugging tools
11
12What:		/sys/kernel/dmabuf/buffers/<inode_number>/exporter_name
13Date:		May 2021
14KernelVersion:	v5.13
15Contact:	Hridya Valsaraju <hridya@google.com>
16Description:	This file is read-only and contains the name of the exporter of
17		the DMA-BUF.
18
19What:		/sys/kernel/dmabuf/buffers/<inode_number>/size
20Date:		May 2021
21KernelVersion:	v5.13
22Contact:	Hridya Valsaraju <hridya@google.com>
23Description:	This file is read-only and specifies the size of the DMA-BUF in
24		bytes.
25