Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/trace/ring_buffer.c ring_buffer_map() -> __rb_inc_dec_mapped()

Type Parameter Key Value
PARAM_VALUE 0 cpu_buffer 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->user_mapped 1-u32max
PARAM_VALUE 1 inc 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &ipcp->lock

kernel/trace/ring_buffer.c ring_buffer_map_dup() -> __rb_inc_dec_mapped()

Type Parameter Key Value
PARAM_VALUE 0 cpu_buffer 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->user_mapped 1-u32max
PARAM_VALUE 1 inc 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &dev->attach_lock
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &oldmm->mmap_lock

kernel/trace/ring_buffer.c ring_buffer_unmap() -> __rb_inc_dec_mapped()

Type Parameter Key Value
PARAM_VALUE 0 cpu_buffer 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->user_mapped 2-u32max
PARAM_VALUE 1 inc 0
FUZZY_MAX 0 cpu_buffer->user_mapped 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock