Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thermal/thermal_core.c thermal_bind_cdev_to_trip() -> thermal_instance_add()

Type Parameter Key Value
PARAM_VALUE 0 new_instance 4096-ptr_max
PARAM_VALUE 0 new_instance->attr.attr->name 0-255
PARAM_VALUE 0 new_instance->attr.attr.mode 292
PARAM_VALUE 0 new_instance->attr.show 7494760169257738240
PARAM_VALUE 0 new_instance->attr.show_const 7494760169257738240
PARAM_VALUE 0 new_instance->cdev 4096-ptr_max
PARAM_VALUE 0 new_instance->id 0-s32max
PARAM_VALUE 0 new_instance->lower 0-4294967294
PARAM_VALUE 0 new_instance->name 1-u64max
PARAM_VALUE 0 new_instance->target u64max
PARAM_VALUE 0 new_instance->weight_attr.attr->name 0-255
PARAM_VALUE 0 new_instance->weight_attr.attr.mode 420
PARAM_VALUE 0 new_instance->weight_attr.show 8203015270300872704
PARAM_VALUE 0 new_instance->weight_attr.show_const 8203015270300872704
PARAM_VALUE 0 new_instance->weight_attr.store 3059078590081945600
PARAM_VALUE 0 new_instance->weight_attr.store_const 3059078590081945600
PARAM_VALUE 1 cdev 4096-ptr_max
PARAM_VALUE 1 cdev->device.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 1 cdev->device.kobj.sd 4096-ptr_max
PARAM_VALUE 1 cdev->device.kobj.sd->attr.open->nr_mmapped 0-4294967295
BUF_SIZE 0 new_instance 272
BUF_SIZE 0 new_instance->attr.attr.name 20
BUF_SIZE 0 new_instance->trip 24
BUF_SIZE 0 new_instance->weight_attr.attr.name 20
BUF_SIZE 1 cdev->devdata s32min-(-1),1-s32max
CAPPED_DATA 0 new_instance->lower 1
CAPPED_DATA 0 new_instance->upper 1
CAPPED_DATA 1 cdev 1
DATA_SOURCE 0 new_instance r _kzalloc_noprof
DATA_SOURCE 1 cdev $2
DATA_SOURCE 2 td $1
STR_LEN 0 new_instance->attr.attr.name 19
STR_LEN 0 new_instance->attr_name 19
STR_LEN 0 new_instance->name 19
STR_LEN 0 new_instance->weight_attr.attr.name 19
STR_LEN 0 new_instance->weight_attr_name 19
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tz->lock
LOCK2 _T->lock
TYPE_LOCK (struct thermal_zone_device)->lock