Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/comedi/drivers.c comedi_device_attach() -> (struct comedi_driver)->attach()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->attached 0
PARAM_VALUE 0 port->board_ptr 0,4096-ptr_max
PARAM_VALUE 0 port->driver 4096-ptr_max
PARAM_VALUE 0 port->driver->attach 4096-ptr_max
PARAM_VALUE 0 port->driver->board_name 0,4096-ptr_max
PARAM_VALUE 0 port->driver->module 0
PARAM_VALUE 0 port->driver->num_names 0-5,7-8,11,13-14,18,22
PARAM_VALUE 0 port->minor s32min-65534
PARAM_VALUE 0 port->mutex.dep_map->name 0-255
PARAM_VALUE 0 port->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 port->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 port->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 it 6266045744525242368
CAPPED_DATA 0 port->minor 1
DATA_SOURCE 0 port $0
DATA_SOURCE 1 it $1
CAPABLE 0 21
TERMINATED 1 it->board_name 1
USER_PTR 1 it->board_name
USER_PTR 1 it->options
LOCK2 global &comedi_drivers_list_lock
LOCK2 0 &port->mutex
TYPE_LOCK (struct comedi_device)->mutex

drivers/parport/share.c driver_check() -> (struct parport_driver)->match_port()

Type Parameter Key Value
BUF_SIZE 0 port s32min-(-1),1-s32max
BUF_SIZE 0 port s32min-(-1),1-s32max
DATA_SOURCE 0 port $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &registration_lock

drivers/parport/share.c port_check() -> (struct parport_driver)->match_port()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &add_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &seq->lock
HALF_LOCKED2 &skt->skt_mutex
HALF_LOCKED2 &tb->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &pi_mutex
HALF_LOCKED2 global &pwrseq_sem
HALF_LOCKED2 global &registration_lock
HALF_LOCKED2 global &vdpa_dev_lock
HALF_LOCKED2 global &xenwatch_mutex