Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpio/gpiolib-sysfs.c gpiod_request_user() -> gpiod_request()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
PARAM_VALUE 0 desc->gdev 4096-ptr_max
PARAM_VALUE 1 label 4637551506880253952
BUF_SIZE 1 label 6
BUF_SIZE 1 label 6
DATA_SOURCE 0 desc $0
DATA_SOURCE 1 label $1
STR_LEN 0 desc 5
STR_LEN 0 desc 5
TERMINATED 1 label 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpio/gpiolib-cdev.c gpiod_request_user() -> gpiod_request()

Type Parameter Key Value
PARAM_VALUE 0 desc 4096-ptr_max
DATA_SOURCE 0 desc $0
DATA_SOURCE 1 label $1
LOCK2 _T->lock

drivers/gpio/gpiolib.c gpiod_find_and_request() -> gpiod_request()

Type Parameter Key Value
PARAM_VALUE 0 desc 0,4096-ptr_max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 0 desc s32min-(-1),1-s32max
BUF_SIZE 1 label s32min,(-10),(-1)-s32max
BUF_SIZE 1 label s32min,(-10),(-1)-s32max
DATA_SOURCE 1 label $5
STR_LEN 0 desc (-1),1,11,49
STR_LEN 1 label (-1),1,11,49
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/gpio/gpiolib-legacy.c gpio_request() -> gpiod_request()

Type Parameter Key Value
PARAM_VALUE 0 desc 1-u64max
BUF_SIZE 1 label (-1),5-6,8,10-12,17,21
BUF_SIZE 1 label (-1),5-6,8,10-12,17,21
DATA_SOURCE 0 desc r gpio_to_desc
DATA_SOURCE 1 label $1
STR_LEN 0 desc (-1),9
STR_LEN 1 label (-1),9
RX_PATH
TASK_NOT_RUNNING