Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wwan/wwan_core.c wwan_port_fops_poll() -> is_write_blocked()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ops 0,4096-ptr_max
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
CAPPED_DATA 0 &port->ops_lock 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &port->ops_lock
HALF_LOCKED2 &kvm->irq_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &vm->irqfds_lock
HALF_LOCKED2 global &irqfds_srcu
TYPE_LOCK (struct wwan_port)->ops_lock

drivers/net/wwan/wwan_core.c wwan_wait_tx() -> is_write_blocked()

Type Parameter Key Value
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
DATA_SOURCE 0 port $0
UNITS 0 port unit_byte
HALF_LOCKED2 &gdev->rwsem
HALF_LOCKED2 &gdev->write_mutex

drivers/net/wwan/wwan_core.c wwan_wait_tx() -> is_write_blocked()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ops 1-u64max
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
DATA_SOURCE 0 port $0
UNITS 0 port unit_byte
HALF_LOCKED2 &gdev->rwsem
HALF_LOCKED2 &gdev->write_mutex

drivers/net/wwan/wwan_core.c wwan_wait_tx() -> is_write_blocked()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ops 1-u64max
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
DATA_SOURCE 0 port $0
TASK_NOT_RUNNING
UNITS 0 port unit_byte
HALF_LOCKED2 &gdev->rwsem
HALF_LOCKED2 &gdev->write_mutex

drivers/net/wwan/wwan_core.c wwan_wait_tx() -> is_write_blocked()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->ops 1-u64max
BUF_SIZE 0 port s32min-(-2),1-s32max
BUF_SIZE 0 port s32min-(-2),1-s32max
DATA_SOURCE 0 port $0
TASK_NOT_RUNNING
UNITS 0 port unit_byte
HALF_LOCKED2 &gdev->rwsem
HALF_LOCKED2 &gdev->write_mutex