Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ocfs2/reservations.c ocfs2_cannibalize_resv() -> ocfs2_resv_window_bits()

Type Parameter Key Value
PARAM_VALUE 0 resmap 4096-ptr_max
PARAM_VALUE 0 resmap->m_osb 4096-ptr_max
PARAM_VALUE 1 resv 4096-ptr_max
BUF_SIZE 1 resv (-1),64
BUF_SIZE 1 resv (-1),64
DATA_SOURCE 0 resmap $0
DATA_SOURCE 1 resv $1
BIT_INFO 1 resv->r_flags 0x0,0xfffffffd
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &resv_lock
HALF_LOCKED2 &oi->ip_alloc_sem

fs/ocfs2/reservations.c ocfs2_resmap_resv_bits() -> ocfs2_resv_window_bits()

Type Parameter Key Value
PARAM_VALUE 0 resmap 4096-ptr_max
PARAM_VALUE 0 resmap->m_osb 4096-ptr_max
PARAM_VALUE 1 resv 4096-ptr_max
BUF_SIZE 0 resmap 48
BUF_SIZE 1 resv (-1),64
BUF_SIZE 1 resv (-1),64
DATA_SOURCE 0 resmap $0
DATA_SOURCE 1 resv $1
NOSPEC 1 resv->r_last_len
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 resv->r_last_len 1-4294967294[c]
LOCK2 global &resv_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &oi->ip_alloc_sem
HALF_LOCKED2 &tl_inode->i_rwsem