Defined in 1 files as a function:
Referenced in 5 files:
- drivers/pcmcia/cs.c
- include/linux/lsm_hook_defs.h, line 352
- security/apparmor/lsm.c, line 1825
- security/security.c, line 4402
- security/selinux/hooks.c, line 7725
Smatch caller information:
drivers/pcmcia/cs.c socket_insert() -> socket_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 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 | 4096-ptr_max |
| 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->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.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->state | 0,8-u32max |
| BUF_SIZE | 0 | s | (-1),128 |
| BUF_SIZE | 0 | s | (-1),128 |
| 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->skt_mutex | |
| TYPE_LOCK | (struct pcmcia_socket)->skt_mutex |
drivers/pcmcia/cs.c socket_late_resume() -> socket_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| 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->resume_status | s32min-(-1),1-s32max |
| 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.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->state | 8-u32max |
| BUF_SIZE | 0 | s | (-1),128 |
| BUF_SIZE | 0 | s | (-1),128 |
| CAPPED_DATA | 0 | s | 1 |
| CAPPED_DATA | 0 | &s->ops_mutex | 1 |
| DATA_SOURCE | 0 | s | $0 |
| BIT_INFO | 0 | s->state | 0x8,0xffffff3f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &s->skt_mutex | |
| TYPE_LOCK | (struct pcmcia_socket)->skt_mutex |
drivers/pcmcia/cs.c socket_late_resume() -> socket_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| 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->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.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->state | 8-u32max |
| BUF_SIZE | 0 | s | (-1),128 |
| BUF_SIZE | 0 | s | (-1),128 |
| CAPPED_DATA | 0 | s | 1 |
| CAPPED_DATA | 0 | &s->ops_mutex | 1 |
| DATA_SOURCE | 0 | s | $0 |
| PARAM_COMPARE | 0 | s->state | != $0->suspended_state |
| BIT_INFO | 0 | s->state | 0x8,0xffffff3f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &s->skt_mutex | |
| TYPE_LOCK | (struct pcmcia_socket)->skt_mutex |
drivers/pcmcia/cs.c socket_remove() -> socket_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | s->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | s->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | s->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | s->dev.dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | s->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | s->dev.kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | s->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | s->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | s->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | s->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | s->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | s->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | s->dev.physical_location->dock | 0 |
| PARAM_VALUE | 0 | s->dev.physical_location->lid | 0 |
| PARAM_VALUE | 0 | s->dev.physical_location->panel | 0 |
| PARAM_VALUE | 0 | s->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->dev.power.wait_queue.head.prev->prev | 4096-ptr_max |
| 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->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.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->thread_done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->thread_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | s | 128 |
| BUF_SIZE | 0 | s | 128 |
| CAPPED_DATA | 0 | s | 1 |
| DATA_SOURCE | 0 | s | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &s->skt_mutex | |
| TYPE_LOCK | (struct pcmcia_socket)->skt_mutex |