Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpib/common/gpib_os.c gpib_deallocate_board() -> num_gpib_events()

Type Parameter Key Value
PARAM_VALUE 0 queue 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &board->big_gpib_mutex

drivers/gpib/common/gpib_os.c gpib_deallocate_board() -> num_gpib_events()

Type Parameter Key Value
PARAM_VALUE 0 queue 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &board->big_gpib_mutex

drivers/gpib/common/gpib_os.c pop_gpib_event_nolock() -> num_gpib_events()

Type Parameter Key Value
PARAM_VALUE 0 queue 4096-ptr_max
BUF_SIZE 0 queue (-1),96
BUF_SIZE 0 queue (-1),96
DATA_SOURCE 0 queue $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &board->big_gpib_mutex
HALF_LOCKED2 &board->event_queue.lock
HALF_LOCKED2 flags
HALF_LOCKED2 0 &queue->lock
TYPE_LOCK (struct gpib_event_queue)->lock

drivers/gpib/common/gpib_os.c pop_gpib_event_nolock() -> num_gpib_events()

Type Parameter Key Value
PARAM_VALUE 0 queue 4096-ptr_max
DATA_SOURCE 0 queue $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &queue->lock
HALF_LOCKED2 &board->big_gpib_mutex
TYPE_LOCK (struct gpib_event_queue)->lock

drivers/gpib/common/gpib_os.c push_gpib_event_nolock() -> num_gpib_events()

Type Parameter Key Value
PARAM_VALUE 0 queue 4096-ptr_max
BUF_SIZE 0 queue 96
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &board->event_queue.lock
HALF_LOCKED2 &board->big_gpib_mutex
HALF_LOCKED2 &board->spinlock
HALF_LOCKED2 &board->user_mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct gpib_event_queue)->lock

drivers/gpib/common/gpib_os.c push_gpib_event_nolock() -> num_gpib_events()

Type Parameter Key Value
PARAM_VALUE 0 queue 4096-ptr_max
BUF_SIZE 0 queue 96
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &board->event_queue.lock
HALF_LOCKED2 &board->big_gpib_mutex
HALF_LOCKED2 &board->spinlock
HALF_LOCKED2 &board->user_mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct gpib_event_queue)->lock

drivers/gpib/common/iblib.c general_ibstatus() -> num_gpib_events()

Type Parameter Key Value
PARAM_VALUE 0 queue 4096-ptr_max
TASK_NOT_RUNNING
HALF_LOCKED2 &board->big_gpib_mutex