Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/gpio/gpio-xilinx.c xgpio_set_multiple() -> bitmap_replace()

Type Parameter Key Value
PARAM_VALUE 0 dst 3995999822839087104
PARAM_VALUE 2 new 7993683036948066304
PARAM_VALUE 3 mask 8846949823261229056
PARAM_VALUE 4 nbits 64
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &chip->gpio_lock
LOCK2 flags
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct xgpio_instance)->gpio_lock

drivers/gpio/gpio-sim.c gpio_sim_get_multiple() -> bitmap_replace()

Type Parameter Key Value
BUF_SIZE 0 dst (-1),16-s32max
BUF_SIZE 0 dst (-1),16-s32max
BUF_SIZE 1 old (-1),16-s32max
BUF_SIZE 1 old (-1),16-s32max
BUF_SIZE 3 mask (-1),64
BUF_SIZE 3 mask (-1),64
DATA_SOURCE 0 dst $2
DATA_SOURCE 1 old $2
DATA_SOURCE 3 mask $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 *dst 0-u64max
HOST_DATA 1 *old 0-u64max
LOCK2 _T->lock

drivers/gpio/gpio-sim.c gpio_sim_set_multiple() -> bitmap_replace()

Type Parameter Key Value
BUF_SIZE 2 new (-1),16-s32max
BUF_SIZE 2 new (-1),16-s32max
BUF_SIZE 3 mask (-1),64
BUF_SIZE 3 mask (-1),64
DATA_SOURCE 2 new $2
DATA_SOURCE 3 mask $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

lib/test_bitmap.c test_replace() -> bitmap_replace()

Type Parameter Key Value
PARAM_VALUE 0 dst 1079487325156208640
PARAM_VALUE 1 old 576627538246746112
PARAM_VALUE 1 *old 3689348814169248017,18446744071418902391
PARAM_VALUE 2 new 576627538246746120
PARAM_VALUE 2 *new 3689348814169248017,18446744071418902391
PARAM_VALUE 3 mask 9076863975039299584
PARAM_VALUE 4 nbits 64
BUF_SIZE 0 dst 128
BUF_SIZE 1 old 16
NOCHECK_CALL

lib/test_bitmap.c test_replace() -> bitmap_replace()

Type Parameter Key Value
PARAM_VALUE 0 dst 1079487325156208640
PARAM_VALUE 1 old 576627538246746120
PARAM_VALUE 1 *old 3689348814169248017,18446744071418902391
PARAM_VALUE 2 new 576627538246746112
PARAM_VALUE 2 *new 3689348814169248017,18446744071418902391
PARAM_VALUE 3 mask 9076863975039299584
PARAM_VALUE 4 nbits 64
BUF_SIZE 0 dst 128
BUF_SIZE 2 new 16
NOCHECK_CALL

lib/test_bitmap.c test_replace() -> bitmap_replace()

Type Parameter Key Value
PARAM_VALUE 0 dst 1079487325156208640
PARAM_VALUE 1 old 576627538246746112
PARAM_VALUE 1 *old 3689348814169248017,18446744071418902391
PARAM_VALUE 2 new 576627538246746120
PARAM_VALUE 2 *new 3689348814169248017,18446744071418902391
PARAM_VALUE 3 mask 9076863975039299584
PARAM_VALUE 4 nbits 64
BUF_SIZE 0 dst 128
BUF_SIZE 1 old 16
NOCHECK_CALL

lib/test_bitmap.c test_replace() -> bitmap_replace()

Type Parameter Key Value
PARAM_VALUE 0 dst 1079487325156208640
PARAM_VALUE 1 old 576627538246746120
PARAM_VALUE 1 *old 3689348814169248017,18446744071418902391
PARAM_VALUE 2 new 576627538246746112
PARAM_VALUE 2 *new 3689348814169248017,18446744071418902391
PARAM_VALUE 3 mask 9076863975039299584
PARAM_VALUE 4 nbits 64
BUF_SIZE 0 dst 128
BUF_SIZE 2 new 16
NOCHECK_CALL

drivers/gpio/gpio-pca953x.c pca953x_gpio_get_multiple() -> bitmap_replace()

Type Parameter Key Value
PARAM_VALUE 2 new 7149278956981334016
BUF_SIZE 0 dst (-1),16-s32max
BUF_SIZE 0 dst (-1),16-s32max
BUF_SIZE 1 old (-1),16-s32max
BUF_SIZE 1 old (-1),16-s32max
BUF_SIZE 3 mask (-1),64
BUF_SIZE 3 mask (-1),64
DATA_SOURCE 0 dst $2
DATA_SOURCE 1 old $2
DATA_SOURCE 3 mask $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 *dst 0-u64max
HOST_DATA 1 *old 0-u64max
LOCK2 _T->lock

drivers/gpio/gpio-pca953x.c pca953x_gpio_set_multiple() -> bitmap_replace()

Type Parameter Key Value
PARAM_VALUE 0 dst 3227113161848795136
PARAM_VALUE 1 old 3227113161848795136
BUF_SIZE 2 new (-1),16-s32max
BUF_SIZE 2 new (-1),16-s32max
BUF_SIZE 3 mask (-1),64
BUF_SIZE 3 mask (-1),64
DATA_SOURCE 2 new $2
DATA_SOURCE 3 mask $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

drivers/gpio/gpio-pca953x.c pca953x_irq_pending() -> bitmap_replace()

Type Parameter Key Value
PARAM_VALUE 0 dst 1114539255084621824
PARAM_VALUE 3 mask 6883268690694926336
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 irq

drivers/pinctrl/pinctrl-cy8c95x0.c cy8c95x0_irq_pending() -> bitmap_replace()

Type Parameter Key Value
PARAM_VALUE 0 dst 8910581733690482688
PARAM_VALUE 3 mask 2986733166783459328
PARAM_VALUE 4 nbits 64
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL