Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pinctrl/core.c pinctrl_init_controller() -> pinctrl_free_pindescs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctldev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->confops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->name | 1-u64max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops | 1-u64max |
| PARAM_VALUE | 0 | pctldev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->driver_data | 1-u64max |
| PARAM_VALUE | 0 | pctldev->gpio_ranges.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->gpio_ranges.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->gpio_ranges.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->gpio_ranges.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->gpio_ranges.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pctldev->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | pctldev->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | pctldev->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | pctldev->node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->pin_desc_tree.xa_flags | 0,3264,33554432-u32max |
| PARAM_VALUE | 0 | pctldev->pin_function_tree.xa_flags | 3264 |
| PARAM_VALUE | 0 | pctldev->pin_function_tree.xa_head | 0 |
| PARAM_VALUE | 0 | pctldev->pin_group_tree.xa_flags | 3264 |
| PARAM_VALUE | 0 | pctldev->pin_group_tree.xa_head | 0 |
| PARAM_VALUE | 2 | num_pins | 1-u32max |
| BUF_SIZE | 0 | pctldev | 528 |
| BUF_SIZE | 0 | pctldev->dev | (-1),1616 |
| BUF_SIZE | 0 | pctldev->driver_data | (-1),24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| BUF_SIZE | 1 | pins | (-1)-s32max |
| BUF_SIZE | 1 | pins | (-1)-s32max |
| CAPPED_DATA | 2 | num_pins | 1 |
| DATA_SOURCE | 0 | pctldev | r _kzalloc_noprof |
| STR_LEN | 0 | pctldev->desc->name | (-1),6,12-17 |
| STR_LEN | 0 | pctldev->dev->init_name | (-1),14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pctldev->desc->npins | |
| NO_OVERFLOW_SIMPLE | 2 | num_pins | |
| UNITS | 2 | num_pins | unit_array_size |
drivers/pinctrl/core.c pinctrl_uninit_controller() -> pinctrl_free_pindescs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctldev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->confops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->name | 1-u64max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops | 1-u64max |
| PARAM_VALUE | 0 | pctldev->desc->pmxops | 0 |
| PARAM_VALUE | 0 | pctldev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->driver_data | 1-u64max |
| PARAM_VALUE | 0 | pctldev->gpio_ranges.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->gpio_ranges.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->gpio_ranges.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->gpio_ranges.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->gpio_ranges.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pctldev->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | pctldev->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | pctldev->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | pctldev->node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->p | (-4095)-(-20),(-18)-(-1) |
| PARAM_VALUE | 0 | pctldev->p->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->p->dt_maps.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->p->dt_maps.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->p->dt_maps.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->p->dt_maps.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->p->node.next | 6512079319328243712 |
| PARAM_VALUE | 0 | pctldev->p->node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->p->states.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->p->states.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->p->states.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->p->states.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->p->states.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->p->users.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | pctldev->pin_function_tree.xa_flags | 3264 |
| PARAM_VALUE | 0 | pctldev->pin_function_tree.xa_head | 0 |
| PARAM_VALUE | 0 | pctldev->pin_group_tree.xa_flags | 3264 |
| PARAM_VALUE | 0 | pctldev->pin_group_tree.xa_head | 0 |
| BUF_SIZE | 0 | pctldev | 528 |
| BUF_SIZE | 0 | pctldev->dev | (-1),1616 |
| BUF_SIZE | 0 | pctldev->driver_data | (-1),32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,216-s32max |
| BUF_SIZE | 1 | pins | (-1)-s32max |
| BUF_SIZE | 1 | pins | (-1)-s32max |
| CAPPED_DATA | 2 | num_pins | 1 |
| DATA_SOURCE | 0 | pctldev | $0 |
| STR_LEN | 0 | pctldev->desc->name | (-1),12-13,16-17 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pctldev->desc->npins | |
| NO_OVERFLOW_SIMPLE | 2 | num_pins | |
| UNITS | 2 | num_pins | unit_array_size |
drivers/pinctrl/core.c pinctrl_unregister() -> pinctrl_free_pindescs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctldev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->device_root | 0,4096-u64max |
| PARAM_VALUE | 0 | pctldev->device_root->d_fsdata->management_timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | pctldev->device_root->d_inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pctldev->device_root->d_sb->s_fs_info->lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pctldev->device_root->d_sb->s_roots_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pctldev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pctldev->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pctldev->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pctldev->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | pctldev->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | pctldev->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | pctldev->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | pctldev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pctldev->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pctldev->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | pctldev->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | pctldev->num_functions | 0 |
| PARAM_VALUE | 0 | pctldev->num_groups | 0 |
| PARAM_VALUE | 0 | pctldev->p | 0,4096-u64max |
| PARAM_VALUE | 0 | *pctldev->device_root->d_fsdata->d_inode->i_sb->s_fs_info->wbuf | 0-255 |
| PARAM_VALUE | 0 | *pctldev->device_root->d_fsdata->d_inode->i_sb->s_fs_info->wbuf_verify | 0-255 |
| PARAM_VALUE | 0 | *pctldev->device_root->d_inode->i_hash.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | *pctldev->device_root->d_inode->i_sb->s_fs_info->nm_info->nat_root.xa_head | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *pctldev->device_root->d_inode->i_sb->s_fs_info->page_eio_cnt | s32min-s32max |
| CAPPED_DATA | 0 | pctldev->device_root | 1 |
| CAPPED_DATA | 0 | &pctldev->mutex | 1 |
| DATA_SOURCE | 0 | pctldev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | num_pins | unit_array_size |
| LOCK2 | global &pinctrldev_list_mutex | ||
| LOCK2 | 0 | &pctldev->mutex | |
| HALF_LOCKED2 | &_dev->mutex | ||
| TYPE_LOCK | (struct pinctrl_dev)->mutex |