Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ext2/balloc.c alloc_new_reservation() -> rsv_is_empty()

Type Parameter Key Value
PARAM_VALUE 0 rsv 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ei->truncate_mutex

fs/ext2/balloc.c alloc_new_reservation() -> rsv_is_empty()

Type Parameter Key Value
PARAM_VALUE 0 rsv 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 rsv_lock
HALF_LOCKED2 &ei->truncate_mutex

fs/ext2/balloc.c alloc_new_reservation() -> rsv_is_empty()

Type Parameter Key Value
PARAM_VALUE 0 rsv 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 rsv_lock
HALF_LOCKED2 &ei->truncate_mutex

fs/ext2/balloc.c ext2_discard_reservation() -> rsv_is_empty()

Type Parameter Key Value
PARAM_VALUE 0 rsv 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ei->truncate_mutex
HALF_LOCKED2 &inode->i_mapping->invalidate_lock

fs/ext2/balloc.c ext2_discard_reservation() -> rsv_is_empty()

Type Parameter Key Value
PARAM_VALUE 0 rsv 4096-ptr_max
PARAM_VALUE 0 rsv->_rsv_end 1-u64max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 rsv_lock
HALF_LOCKED2 &ei->truncate_mutex
HALF_LOCKED2 &inode->i_mapping->invalidate_lock

fs/ext2/balloc.c ext2_new_blocks() -> rsv_is_empty()

Type Parameter Key Value
PARAM_VALUE 0 rsv 32,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ei->truncate_mutex

fs/ext2/balloc.c ext2_try_to_allocate_with_rsv() -> rsv_is_empty()

Type Parameter Key Value
PARAM_VALUE 0 rsv 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ei->truncate_mutex

fs/ext2/balloc.c find_next_reservable_window() -> rsv_is_empty()

Type Parameter Key Value
PARAM_VALUE 0 rsv 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rsv_lock
HALF_LOCKED2 &ei->truncate_mutex