Documented in 1 files:

Defined in 3 files as a prototype:

Defined in 1 files as a macro:

Defined in 2 files as a label:

Defined in 5 files as a function:

Referenced in 12 files:

Smatch caller information:

net/bluetooth/hidp/core.c hidp_input_report() -> memscan()

Type Parameter Key Value
PARAM_VALUE 0 *addr 0-255
PARAM_VALUE 1 c 4-255
PARAM_VALUE 2 size 6

net/bluetooth/hidp/core.c hidp_input_report() -> memscan()

Type Parameter Key Value
PARAM_VALUE 0 *addr 0-255
PARAM_VALUE 1 c 4-255
PARAM_VALUE 2 size 6
BUF_SIZE 0 addr 6

drivers/hwmon/pmbus/inspur-ipsps.c ipsps_string_show() -> memscan()

Type Parameter Key Value
PARAM_VALUE 0 addr 7586463151250407424
PARAM_VALUE 1 c 35
PARAM_VALUE 2 size 0-s32max
BUF_SIZE 0 addr 33
DATA_SOURCE 2 size r i2c_smbus_read_block_data
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

fs/ext2/balloc.c find_next_usable_block() -> memscan()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 1 c 0
PARAM_VALUE 2 size 0-268435455,18446744073441116161-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 addr unit_byte
HALF_LOCKED2 &ei->truncate_mutex

fs/udf/balloc.c udf_bitmap_new_block() -> memscan()

Type Parameter Key Value
PARAM_VALUE 0 *addr 0-255
PARAM_VALUE 1 c 255
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 addr unit_byte
UNITS 2 size unit_byte
LOCK2 &sbi->s_alloc_mutex
HALF_LOCKED2 &iinfo->i_data_sem
TYPE_LOCK (struct udf_sb_info)->s_alloc_mutex

fs/udf/balloc.c udf_bitmap_new_block() -> memscan()

Type Parameter Key Value
PARAM_VALUE 0 *addr 0-255
PARAM_VALUE 1 c 255
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 addr unit_byte
UNITS 2 size unit_byte
LOCK2 &sbi->s_alloc_mutex
HALF_LOCKED2 &iinfo->i_data_sem
TYPE_LOCK (struct udf_sb_info)->s_alloc_mutex

fs/udf/balloc.c udf_bitmap_new_block() -> memscan()

Type Parameter Key Value
PARAM_VALUE 0 *addr 0-255
PARAM_VALUE 1 c 255
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 addr unit_byte
UNITS 2 size unit_byte
LOCK2 &sbi->s_alloc_mutex
HALF_LOCKED2 &iinfo->i_data_sem
TYPE_LOCK (struct udf_sb_info)->s_alloc_mutex

lib/tests/fortify_kunit.c fortify_test_memscan() -> memscan()

Type Parameter Key Value
PARAM_VALUE 0 addr 7111402406297034752
PARAM_VALUE 1 c 109
BUF_SIZE 0 addr 35
STR_LEN 0 addr 34
TERMINATED 0 addr 1
UNITS 2 size unit_byte

lib/tests/fortify_kunit.c fortify_test_memscan() -> memscan()

Type Parameter Key Value
PARAM_VALUE 0 addr 7111402406297034752
PARAM_VALUE 1 c 109
BUF_SIZE 0 addr 35
CAPPED_DATA 2 size 1
STR_LEN 0 addr 34
TERMINATED 0 addr 1
UNITS 2 size unit_byte

lib/tests/fortify_kunit.c fortify_test_memscan() -> memscan()

Type Parameter Key Value
PARAM_VALUE 0 addr 7111402406297034752
PARAM_VALUE 1 c 109
BUF_SIZE 0 addr 35
CAPPED_DATA 2 size 1
STR_LEN 0 addr 34
TERMINATED 0 addr 1