Defined in 2 files as a function:
- drivers/md/dm-ioctl.c, line 251 (as a function)
- sound/core/seq/seq_memory.c, line 225 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/md/dm-ioctl.c __hash_remove() -> free_cell()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->md | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->md->interface_ptr | 0 |
| PARAM_VALUE | 0 | pool->md->io_barrier.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pool->md->io_barrier.srcu_ctrp | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->name_set | 0 |
| PARAM_VALUE | 0 | pool->uuid_set | 0 |
| BUF_SIZE | 0 | pool | (-1),88 |
| BUF_SIZE | 0 | pool | (-1),88 |
| CAPPED_DATA | 0 | pool->md->io_barrier.srcu_ctrp | 1 |
| DATA_SOURCE | 0 | pool | $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | pool | unit_byte |
| LOCK2 | global &_hash_lock |
drivers/md/dm-ioctl.c dm_hash_insert() -> free_cell()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->md | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->md->event_nr.counter | 0 |
| PARAM_VALUE | 0 | pool->md->holders.counter | 1 |
| PARAM_VALUE | 0 | pool->md->ima.measure_idx | 0 |
| PARAM_VALUE | 0 | pool->md->ima.update_idx | 0 |
| PARAM_VALUE | 0 | pool->md->init_tio_pdu | 0 |
| PARAM_VALUE | 0 | pool->md->io_barrier.srcu_reader_flavor | 0 |
| PARAM_VALUE | 0 | pool->md->kobj_holder.completion.done | 0 |
| PARAM_VALUE | 0 | pool->md->open_count.counter | 0 |
| PARAM_VALUE | 0 | pool->md->requeue_list | 0 |
| PARAM_VALUE | 0 | pool->md->stats.precise_timestamps | 0 |
| PARAM_VALUE | 0 | pool->md->suspend_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | pool->md->suspend_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | pool->md->suspend_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | pool->md->swap_bios | 1-s32max |
| PARAM_VALUE | 0 | pool->md->swap_bios_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | pool->md->swap_bios_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | pool->md->type | 0 |
| PARAM_VALUE | 0 | pool->md->type_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | pool->md->type_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | pool->md->type_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | pool->md->uevent_seq.counter | 0 |
| PARAM_VALUE | 0 | pool->name | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->name_set | 0 |
| PARAM_VALUE | 0 | pool->new_map | 0 |
| PARAM_VALUE | 0 | pool->uuid | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pool->uuid_set | 0 |
| BUF_SIZE | 0 | pool | 88 |
| DATA_SOURCE | 0 | pool | r alloc_cell |
| TERMINATED | 0 | pool->md->io_barrier.dep_map.name | 1 |
| TERMINATED | 0 | pool->md->swap_bios_semaphore.lock.dep_map.name | 1 |
| NOCHECK_CALL |
sound/core/seq/seq_memory.c snd_seq_cell_free() -> free_cell()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| PARAM_VALUE | 1 | cell | 4096-ptr_max |
| CAPPED_DATA | 1 | cell | 1 |
| DATA_SOURCE | 1 | cell | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | cell->event.data.ext.len | 1073741824-s32max[c] |
| USER_DATA | 1 | cell->pool->free->event.data.ext.len | 1073741824-s32max[c] |
| UNITS | 1 | cell | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &pool->lock | |
| HALF_LOCKED2 | &f->lock | ||
| TYPE_LOCK | (struct snd_seq_pool)->lock |
sound/core/seq/seq_memory.c snd_seq_cell_free() -> free_cell()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->free | 4096-ptr_max |
| PARAM_VALUE | 1 | cell | 4096-ptr_max |
| PARAM_VALUE | 1 | cell->next | 4096-ptr_max |
| BUF_SIZE | 1 | cell | (-1),6,28,32,256 |
| BUF_SIZE | 1 | cell | (-1),6,28,32,256 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | pool->free->event.data.ext.len | 1073741824-s32max[c] |
| USER_DATA | 1 | cell->next->event.data.ext.len | 1073741824-s32max[c] |
| UNITS | 1 | cell | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &pool->lock | |
| HALF_LOCKED2 | &f->lock | ||
| TYPE_LOCK | (struct snd_seq_pool)->lock |