Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ext2/ialloc.c ext2_new_inode() -> test_and_set_bit_le()

Type Parameter Key Value
PARAM_VALUE 0 nr 0-64
CAPPED_DATA 0 nr 1
CAPPED_DATA 0 nr 1
DATA_SOURCE 0 nr r find_next_zero_bit_le
RX_PATH
TASK_NOT_RUNNING
UNITS 1 addr unit_byte

drivers/nvdimm/label.c nd_label_free_slot() -> test_and_set_bit_le()

Type Parameter Key Value
PARAM_VALUE 0 nr 0-4294967294
CAPPED_DATA 0 nr 1
DATA_SOURCE 0 nr $1
BIT_INFO 0 nr 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->mutex
LOCK2 &nd_mapping->lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct nd_mapping)->lock

fs/nilfs2/alloc.c nilfs_palloc_find_available_slot() -> test_and_set_bit_le()

Type Parameter Key Value
PARAM_VALUE 0 nr 0-64
CAPPED_DATA 0 nr 1
DATA_SOURCE 0 nr r find_next_zero_bit_le
DATA_SOURCE 1 addr $0
RX_PATH
TASK_NOT_RUNNING

fs/nilfs2/alloc.c nilfs_palloc_find_available_slot() -> test_and_set_bit_le()

Type Parameter Key Value
PARAM_VALUE 0 nr 0-64
CAPPED_DATA 0 nr 1
DATA_SOURCE 0 nr r find_next_zero_bit_le
DATA_SOURCE 1 addr $0
RX_PATH
TASK_NOT_RUNNING

fs/ext2/balloc.c ext2_try_to_allocate() -> test_and_set_bit_le()

Type Parameter Key Value
PARAM_VALUE 0 nr 0-2147483646,18446744071562067968-u64max
CAPPED_DATA 0 nr 1
DATA_SOURCE 0 nr $3 [m]
RX_PATH
TASK_NOT_RUNNING
UNITS 0 nr unit_byte
UNITS 1 addr unit_byte
HALF_LOCKED2 &ei->truncate_mutex