Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 15 files:
- drivers/dma-buf/dma-buf.c, line 804
- drivers/dma-buf/dma-heap.c, line 78
- drivers/dma-buf/udmabuf.c, line 434
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h, line 267
- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c, line 1661
- drivers/gpu/drm/i915/gvt/dmabuf.c, line 535
- drivers/gpu/drm/vmwgfx/ttm_object.c, line 631
- drivers/iommu/iommufd/selftest.c, line 2029
- drivers/media/common/videobuf2/videobuf2-core.c, line 2471
- drivers/misc/fastrpc.c, line 1825
- drivers/vfio/pci/vfio_pci_dmabuf.c, line 319
- include/trace/events/dma_buf.h
- samples/vfio-mdev/mbochs.c, line 1185
- tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
Smatch caller information:
drivers/iommu/iommufd/selftest.c iommufd_test_dmabuf_get() -> dma_buf_fd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_in.active | 0 |
| PARAM_VALUE | 0 | dmabuf->cb_in.poll | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.active | 0 |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll->head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll->head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->exp_name | 3490184853043634176 |
| PARAM_VALUE | 0 | dmabuf->file | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->__f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->__f_path.mnt | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_cred | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_ep | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_flags | 0-18433,32770 |
| PARAM_VALUE | 0 | dmabuf->file->f_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_iocb_flags | 0,2,16,18,131072,131074,131088,131090 |
| PARAM_VALUE | 0 | dmabuf->file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_mode | 33554432,34078720-571342855 |
| PARAM_VALUE | 0 | dmabuf->file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_owner | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_pos | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_pos_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_pos_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_pos_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.async_size | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.mmap_miss | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.order | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.prev_pos | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.ra_pages | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.size | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.start | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ref.refcnt.counter | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_sb_err | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_security | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_wb_err | 0 |
| PARAM_VALUE | 0 | dmabuf->file->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->list_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->list_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->ops | 1943865959194644480 |
| PARAM_VALUE | 0 | dmabuf->ops->map_dma_buf | 4408969220160974848 |
| PARAM_VALUE | 0 | dmabuf->ops->release | 8558466295693684736 |
| PARAM_VALUE | 0 | dmabuf->ops->unmap_dma_buf | 8105235817646956544 |
| PARAM_VALUE | 0 | dmabuf->owner | 0 |
| PARAM_VALUE | 0 | dmabuf->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | dmabuf->poll.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv | 1-u64max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->size | 4096-2097152 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| BUF_SIZE | 0 | dmabuf->exp_name | 8 |
| BUF_SIZE | 0 | dmabuf->ops | 96 |
| BUF_SIZE | 0 | dmabuf->priv | 24 |
| DATA_SOURCE | 0 | dmabuf | r dma_buf_export |
| DATA_SOURCE | 1 | flags | $1 |
| STR_LEN | 0 | dmabuf->exp_name | 7 |
| BIT_INFO | 0 | dmabuf->size | 0x0,0x3ff000 |
| TERMINATED | 0 | dmabuf->exp_name | 1 |
| USER_DATA | 0 | dmabuf->file->f_flags | 0-18433,32770 |
| USER_DATA | 0 | dmabuf->file->f_mode | 33554432,34078720-571342855[c] |
| USER_DATA | 0 | dmabuf->size | 4096-2097152 |
| USER_DATA | 1 | flags | s32min-s32max[u] |
drivers/misc/fastrpc.c fastrpc_dmabuf_alloc() -> dma_buf_fd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_in.active | 0 |
| PARAM_VALUE | 0 | dmabuf->cb_in.poll | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.active | 0 |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll->head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll->head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->exp_name | 9021932949653401600 |
| PARAM_VALUE | 0 | dmabuf->file | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->__f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_flags | 0-18433,32770 |
| PARAM_VALUE | 0 | dmabuf->file->f_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_iocb_flags | 0,2,16,18,131072,131074,131088,131090 |
| PARAM_VALUE | 0 | dmabuf->file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_mode | 33554432,34078720-571342855 |
| PARAM_VALUE | 0 | dmabuf->file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_pos_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->list_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->list_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->ops | 3323019848449236992 |
| PARAM_VALUE | 0 | dmabuf->ops->map_dma_buf | 8025862264829833216 |
| PARAM_VALUE | 0 | dmabuf->ops->release | 3076148606304079872 |
| PARAM_VALUE | 0 | dmabuf->ops->unmap_dma_buf | 7717124088667602944 |
| PARAM_VALUE | 0 | dmabuf->owner | 0 |
| PARAM_VALUE | 0 | dmabuf->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | dmabuf->poll.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv | 1-u64max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 1 | flags | 3 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| BUF_SIZE | 0 | dmabuf->exp_name | 8 |
| BUF_SIZE | 0 | dmabuf->ops | 96 |
| DATA_SOURCE | 0 | dmabuf | r dma_buf_export |
| STR_LEN | 0 | dmabuf->exp_name | 7 |
| TERMINATED | 0 | dmabuf->exp_name | 1 |
| USER_DATA | 0 | dmabuf->file->f_flags | 0-18433,32770 |
| USER_DATA | 0 | dmabuf->file->f_mode | 33554432,34078720-571342855[c] |
| USER_DATA | 0 | dmabuf->size | 0-u64max |
drivers/gpu/drm/vmwgfx/ttm_object.c ttm_prime_handle_to_fd() -> dma_buf_fd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 1 | flags | 0-1048574 |
| BUF_SIZE | 0 | dmabuf | (-1),361,536 |
| BUF_SIZE | 0 | dmabuf | (-1),361,536 |
| BUF_SIZE | 0 | dmabuf->exp_name | (-1),7 |
| BUF_SIZE | 0 | dmabuf->ops | (-1),96 |
| DATA_SOURCE | 1 | flags | $2 |
| STR_LEN | 0 | dmabuf->exp_name | (-1),6 |
| BIT_INFO | 1 | flags | 0x0,0x80002 |
| USER_DATA | 0 | dmabuf->file->f_flags | 0-18433,32770 |
| USER_DATA | 0 | dmabuf->file->f_mode | 33554432,34078720-571342855[c] |
| USER_DATA | 0 | dmabuf->size | 0-u64max |
| USER_DATA | 1 | flags | 0-1048574[u] |
drivers/media/common/videobuf2/videobuf2-core.c vb2_core_expbuf() -> dma_buf_fd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0,524288 |
| BUF_SIZE | 0 | dmabuf | (-1)-0,361,536 |
| BUF_SIZE | 0 | dmabuf | (-1)-0,361,536 |
| BIT_INFO | 1 | flags | 0x0,0x80000 |
| USER_DATA | 1 | flags | 524288[c] |
| HALF_LOCKED2 | &dmxdev->mutex |
samples/vfio-mdev/mbochs.c mbochs_get_gfx_dmabuf() -> dma_buf_fd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 1-u64max |
| PARAM_VALUE | 1 | flags | 0 |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_ioctl_export_dmabuf() -> dma_buf_fd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| USER_DATA | 1 | flags | s32min-s32max[u] |
drivers/vfio/pci/vfio_pci_dmabuf.c vfio_pci_core_feature_dma_buf() -> dma_buf_fd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_in.active | 0 |
| PARAM_VALUE | 0 | dmabuf->cb_in.poll | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.active | 0 |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll->head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll->head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->exp_name | 9044577083533479936 |
| PARAM_VALUE | 0 | dmabuf->file | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->__f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_flags | 0-18433,32770 |
| PARAM_VALUE | 0 | dmabuf->file->f_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_iocb_flags | 0,2,16,18,131072,131074,131088,131090 |
| PARAM_VALUE | 0 | dmabuf->file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_mode | 33554432,34078720-571342855 |
| PARAM_VALUE | 0 | dmabuf->file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_pos_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->list_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->list_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->ops | 1668822986824683520 |
| PARAM_VALUE | 0 | dmabuf->ops->map_dma_buf | 2281632914293821440 |
| PARAM_VALUE | 0 | dmabuf->ops->release | 4845532263490232320 |
| PARAM_VALUE | 0 | dmabuf->ops->unmap_dma_buf | 6444823995294240768 |
| PARAM_VALUE | 0 | dmabuf->owner | 0 |
| PARAM_VALUE | 0 | dmabuf->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | dmabuf->poll.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dmabuf->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ww_class->is_wait_die | 0-s32max |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| BUF_SIZE | 0 | dmabuf->exp_name | 14 |
| BUF_SIZE | 0 | dmabuf->ops | 96 |
| BUF_SIZE | 0 | dmabuf->priv | 168 |
| CAPPED_DATA | 0 | dmabuf->resv->fences | 1 |
| DATA_SOURCE | 0 | dmabuf | r dma_buf_export |
| STR_LEN | 0 | dmabuf->exp_name | 13 |
| TERMINATED | 0 | dmabuf->exp_name | 1 |
| USER_DATA | 0 | dmabuf->file->f_flags | 0-18433,32770 |
| USER_DATA | 0 | dmabuf->file->f_mode | 33554432,34078720-571342855[c] |
| USER_DATA | 0 | dmabuf->size | 0-u64max |
| USER_DATA | 1 | flags | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 0 | dmabuf->size |
drivers/gpu/drm/i915/gvt/dmabuf.c intel_vgpu_get_dmabuf() -> dma_buf_fd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 524290 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| DATA_SOURCE | 0 | dmabuf | r i915_gem_prime_export |
| LOCK2 | &vgpu->dmabuf_lock | ||
| TYPE_LOCK | (struct intel_vgpu)->dmabuf_lock |
drivers/dma-buf/dma-heap.c dma_heap_buffer_alloc() -> dma_buf_fd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->attachments.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_in.active | 0 |
| PARAM_VALUE | 0 | dmabuf->cb_in.poll | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.active | 0 |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll->head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->cb_out.poll->head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->__f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->__f_path.mnt | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_cred | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_ep | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_flags | 0-18433,32770 |
| PARAM_VALUE | 0 | dmabuf->file->f_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_iocb_flags | 0,2,16,18,131072,131074,131088,131090 |
| PARAM_VALUE | 0 | dmabuf->file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_mode | 33554432,34078720-571342855 |
| PARAM_VALUE | 0 | dmabuf->file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_owner | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_pos | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_pos_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_pos_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->file->f_pos_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.async_size | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.mmap_miss | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.order | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.prev_pos | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.ra_pages | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.size | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ra.start | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_ref.refcnt.counter | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_sb_err | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_security | 0 |
| PARAM_VALUE | 0 | dmabuf->file->f_wb_err | 0 |
| PARAM_VALUE | 0 | dmabuf->file->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->list_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->list_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->ops | 3495121506790350848,6239713388192935936,6872500393997004800 |
| PARAM_VALUE | 0 | dmabuf->ops->attach | 5689920734785212416,7744110143500570624,8517852361717415936 |
| PARAM_VALUE | 0 | dmabuf->ops->map_dma_buf | 2284557578947440640,2723088331885379584,4864737642990264320 |
| PARAM_VALUE | 0 | dmabuf->ops->release | 2300051916373127168,3215962099214192640,5275346614750425088 |
| PARAM_VALUE | 0 | dmabuf->ops->unmap_dma_buf | 626513610529828864,744151783968759808,1030674134700163072 |
| PARAM_VALUE | 0 | dmabuf->owner | 0 |
| PARAM_VALUE | 0 | dmabuf->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | dmabuf->poll.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->poll.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dmabuf->resv | 1-u64max |
| PARAM_VALUE | 0 | dmabuf->resv->lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 0 | dmabuf->size | 0,4096-u64max |
| PARAM_VALUE | 1 | flags | 0-1048574 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| DATA_SOURCE | 1 | flags | $2 |
| BIT_INFO | 1 | flags | 0x0,0x80003 |
| TERMINATED | 0 | dmabuf->exp_name | 1 |
| USER_DATA | 0 | dmabuf->file->f_flags | 0-18433,32770 |
| USER_DATA | 0 | dmabuf->file->f_mode | 33554432,34078720-571342855[c] |
| USER_DATA | 0 | dmabuf->size | 0,4096-u64max |
| USER_DATA | 1 | flags | 0-1048574[u] |
drivers/dma-buf/udmabuf.c udmabuf_create() -> dma_buf_fd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmabuf | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0,524288 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| BUF_SIZE | 0 | dmabuf | 361,536 |
| DATA_SOURCE | 0 | dmabuf | r export_udmabuf |
| BIT_INFO | 1 | flags | 0x0,0x80000 |