Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/pcmcia/ds.c pcmcia_bus_add() -> destroy_cis_cache()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->callback 4096-ptr_max
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 s->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 s->ops->get_status 4096-ptr_max
PARAM_VALUE 0 s->ops->init 4096-ptr_max
PARAM_VALUE 0 s->ops->set_socket 4096-ptr_max
PARAM_VALUE 0 s->ops->suspend 0,4096-ptr_max
PARAM_VALUE 0 s->ops_mutex.dep_map->name 0-255
PARAM_VALUE 0 s->ops_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 s->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 s->ops_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 s->ops_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 s->ops_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 s->ops_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 s->pcmcia_pfc 0
PARAM_VALUE 0 s->present.counter 1
BUF_SIZE 0 s s32min-(-1),1-s32max
BUF_SIZE 0 s s32min-(-1),1-s32max
CAPPED_DATA 0 s 1
CAPPED_DATA 0 &s->ops_mutex 1
DATA_SOURCE 0 s $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &s->ops_mutex
HALF_LOCKED2 &sp->mutex
HALF_LOCKED2 0 &s->skt_mutex
TYPE_LOCK (struct pcmcia_socket)->ops_mutex

drivers/pcmcia/ds.c pcmcia_bus_early_resume() -> destroy_cis_cache()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->callback 4096-ptr_max
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 s->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 s->device_count 0-1
PARAM_VALUE 0 s->ops->get_status 4096-ptr_max
PARAM_VALUE 0 s->ops->init 4096-ptr_max
PARAM_VALUE 0 s->ops->set_socket 4096-ptr_max
PARAM_VALUE 0 s->ops->suspend 0,4096-ptr_max
PARAM_VALUE 0 s->ops_mutex.dep_map->name 0-255
PARAM_VALUE 0 s->ops_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 s->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 s->ops_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 s->ops_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 s->ops_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 s->ops_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 s->ops_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 s->ops_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 s->ops_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 s->ops_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 s->ops_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 s->pcmcia_irq 0
PARAM_VALUE 0 s->present.counter 0
PARAM_VALUE 0 s->resume_status 0
PARAM_VALUE 0 s->skt_mutex.dep_map->name 0-255
PARAM_VALUE 0 s->skt_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 s->skt_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 s->skt_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 s->state 8-u32max
PARAM_VALUE 0 s->suspended_state 8-u32max
BUF_SIZE 0 s (-1),128
BUF_SIZE 0 s (-1),128
CAPPED_DATA 0 s->state 1
CAPPED_DATA 0 s->suspended_state 1
CAPPED_DATA 0 &s->ops_mutex 1
DATA_SOURCE 0 s $0
BIT_INFO 0 s->state 0x8,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &s->ops_mutex
LOCK2 0 &s->skt_mutex
TYPE_LOCK (struct pcmcia_socket)->ops_mutex
TYPE_LOCK (struct pcmcia_socket)->skt_mutex

drivers/pcmcia/ds.c pcmcia_bus_remove() -> destroy_cis_cache()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->callback 4096-ptr_max
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 s->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 s->device_count 0-1
PARAM_VALUE 0 s->ops->get_status 4096-ptr_max
PARAM_VALUE 0 s->ops->init 4096-ptr_max
PARAM_VALUE 0 s->ops->set_socket 4096-ptr_max
PARAM_VALUE 0 s->ops->suspend 0,4096-ptr_max
PARAM_VALUE 0 s->ops_mutex.dep_map->name 0-255
PARAM_VALUE 0 s->ops_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 s->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 s->ops_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 s->ops_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 s->ops_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 s->ops_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 s->present.counter 0
BUF_SIZE 0 s (-1),128
BUF_SIZE 0 s (-1),128
CAPPED_DATA 0 &s->ops_mutex 1
DATA_SOURCE 0 s $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 s->cis_mem.res->end
NO_OVERFLOW_SIMPLE 0 s->cis_mem.res->start
LOCK2 0 &s->ops_mutex
HALF_LOCKED2 0 &s->skt_mutex
TYPE_LOCK (struct pcmcia_socket)->ops_mutex

drivers/pcmcia/cistpl.c pccard_validate_cis() -> destroy_cis_cache()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->callback->validate 4934365872137547776
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 s->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 s->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 s->functions 0
PARAM_VALUE 0 s->ops->get_status 4096-ptr_max
PARAM_VALUE 0 s->ops->init 4096-ptr_max
PARAM_VALUE 0 s->ops->set_socket 4096-ptr_max
PARAM_VALUE 0 s->ops->suspend 0,4096-ptr_max
PARAM_VALUE 0 s->ops_mutex.dep_map->name 0-255
PARAM_VALUE 0 s->ops_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 s->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 s->ops_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 s->ops_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 s->ops_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 s->ops_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 s->resource_ops->init 7397773669395951616,9199677134415597568
PARAM_VALUE 0 s->resource_ops->validate_mem 0,4334191706921844736
PARAM_VALUE 0 s->state 8-u32max
BUF_SIZE 0 s s32min-(-1),1-s32max
BUF_SIZE 0 s s32min-(-1),1-s32max
BUF_SIZE 0 s->cis_mem.res (-1),64
BUF_SIZE 0 s->dev.class (-1),96
BUF_SIZE 0 s->dev.parent (-1),1616
BUF_SIZE 0 s->driver_data (-1),2792
BUF_SIZE 0 s->ops (-1),48
BUF_SIZE 0 s->resource_data (-1),72
CAPPED_DATA 0 &s->ops_mutex 1
DATA_SOURCE 0 s $0
STR_LEN 0 s->cis_mem.res->name (-1),15
BIT_INFO 0 s->state 0x8,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 s->cis_mem.res->end
NO_OVERFLOW_SIMPLE 0 s->cis_mem.res->start
NO_OVERFLOW_SIMPLE 0 s->map_size
LOCK2 0 &s->ops_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 0 &s->skt_mutex
TYPE_LOCK (struct pcmcia_socket)->ops_mutex

drivers/pcmcia/cistpl.c pccard_validate_cis() -> destroy_cis_cache()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->callback->validate 4934365872137547776
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 s->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 s->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 s->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 s->functions 0
PARAM_VALUE 0 s->ops->get_status 4096-ptr_max
PARAM_VALUE 0 s->ops->init 4096-ptr_max
PARAM_VALUE 0 s->ops->set_socket 4096-ptr_max
PARAM_VALUE 0 s->ops->suspend 0,4096-ptr_max
PARAM_VALUE 0 s->ops_mutex.dep_map->name 0-255
PARAM_VALUE 0 s->ops_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 s->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 s->ops_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 s->ops_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 s->ops_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 s->ops_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 s->resource_ops->init 7397773669395951616,9199677134415597568
PARAM_VALUE 0 s->resource_ops->validate_mem 0,4334191706921844736
PARAM_VALUE 0 s->state 8-u32max
BUF_SIZE 0 s s32min-(-1),1-s32max
BUF_SIZE 0 s s32min-(-1),1-s32max
BUF_SIZE 0 s->cis_mem.res (-1),64
BUF_SIZE 0 s->dev.class (-1),96
BUF_SIZE 0 s->dev.parent (-1),1616
BUF_SIZE 0 s->driver_data (-1),2792
BUF_SIZE 0 s->ops (-1),48
BUF_SIZE 0 s->resource_data (-1),72
CAPPED_DATA 0 &s->ops_mutex 1
DATA_SOURCE 0 s $0
STR_LEN 0 s->cis_mem.res->name (-1),15
BIT_INFO 0 s->state 0x8,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 s->cis_mem.res->end
NO_OVERFLOW_SIMPLE 0 s->cis_mem.res->start
NO_OVERFLOW_SIMPLE 0 s->map_size
LOCK2 0 &s->ops_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 0 &s->skt_mutex
TYPE_LOCK (struct pcmcia_socket)->ops_mutex