Defined in 2 files as a member:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

sound/firewire/fireface/ff-hwdep.c hwdep_poll() -> has_msg()

Type Parameter Key Value
PARAM_VALUE 0 ff 4096-ptr_max
PARAM_VALUE 0 ff->dev_lock_changed 0
PARAM_VALUE 0 ff->hwdep_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 ff->hwdep_wait.head.next->prev 4096-ptr_max
PARAM_VALUE 0 ff->hwdep_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ff->hwdep_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ff->hwdep_wait.lock.rlock.dep_map->name 0-255
BUF_SIZE 0 ff s32min-(-2),1-s32max
BUF_SIZE 0 ff s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ff unit_byte
LOCK2 irq
LOCK2 0 &ff->lock
HALF_LOCKED2 &kvm->irq_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &vm->irqfds_lock
HALF_LOCKED2 global &irqfds_srcu
TYPE_LOCK (struct snd_ff)->lock

sound/firewire/fireface/ff-hwdep.c hwdep_read() -> has_msg()

Type Parameter Key Value
PARAM_VALUE 0 ff 4096-ptr_max
PARAM_VALUE 0 ff->dev_lock_changed 0
PARAM_VALUE 0 ff->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ff->spec->protocol->has_msg 0,8388550858888503296
BUF_SIZE 0 ff s32min-(-2),1-s32max
BUF_SIZE 0 ff s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
UNITS 0 ff unit_byte
LOCK2 irq
LOCK2 0 &ff->lock
TYPE_LOCK (struct snd_ff)->lock

sound/firewire/fireface/ff-hwdep.c hwdep_read() -> has_msg()

Type Parameter Key Value
PARAM_VALUE 0 ff 4096-ptr_max
PARAM_VALUE 0 ff->dev_lock_changed 0
PARAM_VALUE 0 ff->hwdep_wait.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ff->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ff->spec 4096-ptr_max
PARAM_VALUE 0 ff->spec->protocol 4096-ptr_max
PARAM_VALUE 0 ff->spec->protocol->has_msg 0,8388550858888503296
BUF_SIZE 0 ff s32min-(-2),1-s32max
BUF_SIZE 0 ff s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
UNITS 0 ff unit_byte
LOCK2 irq
LOCK2 0 &ff->lock
TYPE_LOCK (struct snd_ff)->lock

sound/firewire/fireface/ff-hwdep.c hwdep_read() -> has_msg()

Type Parameter Key Value
PARAM_VALUE 0 ff 4096-ptr_max
PARAM_VALUE 0 ff->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ff->spec->protocol->has_msg 0,8388550858888503296
BUF_SIZE 0 ff s32min-(-2),1-s32max
BUF_SIZE 0 ff s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
UNITS 0 ff unit_byte
LOCK2 irq
LOCK2 0 &ff->lock
TYPE_LOCK (struct snd_ff)->lock

Smatch assignments to (struct snd_ff_protocol)->has_msg: