Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/usb/gadget/function/f_mass_storage.c fsg_common_create_lun() -> fsg_lun_open()

Type Parameter Key Value
PARAM_VALUE 0 curlun 4096-ptr_max
PARAM_VALUE 0 curlun->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 curlun->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 curlun->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 curlun->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 curlun->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 curlun->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 curlun->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 curlun->dev.flags 4096-ptr_max
PARAM_VALUE 0 curlun->dev.fwnode->dev 4096-ptr_max
PARAM_VALUE 0 curlun->dev.fwnode->dev->fwnode 4096-ptr_max
PARAM_VALUE 0 curlun->dev.fwnode->dev->p 1-u64max
PARAM_VALUE 0 curlun->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 curlun->dev.fwnode->suppliers.next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.fwnode->suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 curlun->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 curlun->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 curlun->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 curlun->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 curlun->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 curlun->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 curlun->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 curlun->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 curlun->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 curlun->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 curlun->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 curlun->dev.physical_location->horizontal_position 0-3
PARAM_VALUE 0 curlun->dev.physical_location->panel 0-7
PARAM_VALUE 0 curlun->dev.physical_location->vertical_position 0-3
PARAM_VALUE 0 curlun->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 curlun->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 curlun->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 curlun->name_pfx 0,4096-ptr_max
BUF_SIZE 0 curlun 1712
BUF_SIZE 0 curlun->name s32min-(-2),1-s32max
CAPPED_DATA 0 &curlun->dev 1
DATA_SOURCE 0 curlun r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fsg_opts->lock
HALF_LOCKED2 &subsys->su_mutex
HALF_LOCKED2 global &func_lock

drivers/usb/gadget/function/storage_common.c fsg_store_file() -> fsg_lun_open()

Type Parameter Key Value
PARAM_VALUE 0 curlun 4096-ptr_max
PARAM_VALUE 1 filename 4096-ptr_max
BUF_SIZE 1 filename (-1),4096
BUF_SIZE 1 filename (-1),4096
DATA_SOURCE 0 curlun $0
DATA_SOURCE 1 filename $2
STR_LEN 0 curlun (-1)
STR_LEN 0 curlun (-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 filesem
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock