Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/vfio/vfio_main.c vfio_fs_inode_new() -> alloc_anon_inode()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 s unit_byte

fs/aio.c aio_private_file() -> alloc_anon_inode()

Type Parameter Key Value
UNITS 0 s unit_byte
LOCK2 &ctx->ring_lock
TYPE_LOCK (struct kioctx)->ring_lock

drivers/dma-buf/dma-buf.c dma_buf_getfile() -> alloc_anon_inode()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 s unit_byte
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock
HALF_LOCKED2 &mdev_state->ops_lock
HALF_LOCKED2 &prime->mutex
HALF_LOCKED2 _T->lock

kernel/resource.c iomem_init_inode() -> alloc_anon_inode()

Type Parameter Key Value
UNITS 0 s unit_byte

drivers/gpu/drm/drm_drv.c drm_fs_inode_new() -> alloc_anon_inode()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 s unit_byte
HALF_LOCKED2 global &component_mutex

fs/anon_inodes.c anon_inode_init() -> alloc_anon_inode()

Type Parameter Key Value
UNITS 0 s unit_byte

fs/anon_inodes.c anon_inode_make_secure_inode() -> alloc_anon_inode()

Type Parameter Key Value
DATA_SOURCE 0 s $0
STR_LEN 0 s (-1),3,6-11,13,15,18,21
STR_LEN 0 s (-1),3,6-11,13,15,18,21
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 s unit_byte