Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/staging/fbtft/fbtft-core.c fbtft_framebuffer_alloc() -> fbtft_gamma_parse_str()

Type Parameter Key Value
PARAM_VALUE 0 par 4096-ptr_max
PARAM_VALUE 0 par->buf 1-u64max
PARAM_VALUE 0 par->gamma.curves 1-u64max
PARAM_VALUE 0 par->gamma.lock.dep_map->name 0-255
PARAM_VALUE 0 par->gamma.lock.first_waiter 0
PARAM_VALUE 0 par->gamma.lock.magic 4096-ptr_max
PARAM_VALUE 0 par->gamma.lock.osq.tail.counter 0
PARAM_VALUE 0 par->gamma.lock.owner.counter 0
PARAM_VALUE 0 par->gamma.num_curves 1-2
PARAM_VALUE 0 par->gamma.num_values 1,10,14-16,19,63
PARAM_VALUE 0 par->info 4096-ptr_max
PARAM_VALUE 0 par->info->bl_curve_mutex.first_waiter 0
PARAM_VALUE 0 par->info->bl_curve_mutex.magic 4096-ptr_max
PARAM_VALUE 0 par->info->bl_curve_mutex.owner.counter 0
PARAM_VALUE 0 par->info->blank 0
PARAM_VALUE 0 par->info->device 4096-ptr_max
PARAM_VALUE 0 par->info->fbcon_rotate_hint (-1)
PARAM_VALUE 0 par->info->fbdefio 4096-ptr_max
PARAM_VALUE 0 par->info->fbdefio_state 4096-ptr_max
PARAM_VALUE 0 par->info->fbops 2561518674284740608
PARAM_VALUE 0 par->info->fix.accel 0
PARAM_VALUE 0 par->info->fix.smem_len 1-u32max
PARAM_VALUE 0 par->info->fix.type 0
PARAM_VALUE 0 par->info->fix.visual 2
PARAM_VALUE 0 par->info->fix.xpanstep 0
PARAM_VALUE 0 par->info->fix.ypanstep 0
PARAM_VALUE 0 par->info->fix.ywrapstep 0
PARAM_VALUE 0 par->info->flags 4
PARAM_VALUE 0 par->info->par 4096-ptr_max
PARAM_VALUE 0 par->info->screen_base 1-u64max
PARAM_VALUE 0 par->info->screen_buffer 1-u64max
PARAM_VALUE 0 par->info->var.bits_per_pixel 1-u32max
PARAM_VALUE 0 par->info->var.blue.length 5
PARAM_VALUE 0 par->info->var.blue.offset 0
PARAM_VALUE 0 par->info->var.green.length 6
PARAM_VALUE 0 par->info->var.green.offset 5
PARAM_VALUE 0 par->info->var.nonstd 1
PARAM_VALUE 0 par->info->var.red.length 5
PARAM_VALUE 0 par->info->var.red.offset 11
PARAM_VALUE 0 par->info->var.transp.length 0
PARAM_VALUE 0 par->info->var.transp.offset 0
PARAM_VALUE 0 par->init_sequence 0,2915534644319174656,3242256883707748352,6164590784757948416,6890144856268558336
PARAM_VALUE 0 par->pdata 4096-ptr_max
PARAM_VALUE 0 par->pdata->display.init_sequence 0,2915534644319174656,3242256883707748352,6164590784757948416,6890144856268558336
PARAM_VALUE 1 curves 1-u64max
PARAM_VALUE 2 str 1-u64max
PARAM_VALUE 3 size 0-1010101
BUF_SIZE 0 par 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864
BUF_SIZE 0 par 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864
BUF_SIZE 0 par->buf 128
BUF_SIZE 0 par->gamma.curves 0-504
BUF_SIZE 0 par->info s32min-s32max
BUF_SIZE 0 par->pdata 1-s32max
BUF_SIZE 1 curves 0-504
BUF_SIZE 1 curves 0-504
STR_LEN 0 par 0-1010101
RX_PATH
TASK_NOT_RUNNING
UNITS 0 par unit_byte

drivers/staging/fbtft/fbtft-sysfs.c store_gamma_curve() -> fbtft_gamma_parse_str()

Type Parameter Key Value
PARAM_VALUE 1 curves 6205045597310943232
PARAM_VALUE 2 str 4096-ptr_max
PARAM_VALUE 3 size 1-1000000000
BUF_SIZE 0 par 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864
BUF_SIZE 0 par 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864
BUF_SIZE 1 curves 512
CAPPED_DATA 3 size 1
DATA_SOURCE 2 str $2
DATA_SOURCE 3 size $3
NOSPEC 3 size
RX_PATH
TASK_NOT_RUNNING
UNITS 0 par unit_byte
ELEM_LAST 2 ==str3 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex