Defined in 1 files as a member:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/staging/greybus/uart.c gb_tty_port_destruct() -> release_minor()

Type Parameter Key Value
PARAM_VALUE 0 gb_tty 4096-ptr_max
PARAM_VALUE 0 gb_tty->minor 0-15,17-u32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 global &rfcomm_dev_lock
HALF_LOCKED2 global &rfcomm_ioctl_mutex

drivers/net/usb/hso.c hso_serial_common_create() -> release_minor()

Type Parameter Key Value
PARAM_VALUE 0 gb_tty 4096-ptr_max
PARAM_VALUE 0 gb_tty->minor 0
PARAM_VALUE 0 gb_tty->parent 4096-ptr_max
PARAM_VALUE 0 gb_tty->parent->dev (-4095)-(-1)
PARAM_VALUE 0 gb_tty->parent->interface 4096-ptr_max
PARAM_VALUE 0 gb_tty->parent->mutex.first_waiter 0
PARAM_VALUE 0 gb_tty->parent->mutex.magic 4096-ptr_max
PARAM_VALUE 0 gb_tty->parent->mutex.osq.tail.counter 0
PARAM_VALUE 0 gb_tty->parent->mutex.owner.counter 0
PARAM_VALUE 0 gb_tty->parent->ref.refcount.refs.counter 1
PARAM_VALUE 0 gb_tty->port.blocked_open 0
PARAM_VALUE 0 gb_tty->port.buf.free.first 0
PARAM_VALUE 0 gb_tty->port.buf.head 256
PARAM_VALUE 0 gb_tty->port.buf.head->commit 0
PARAM_VALUE 0 gb_tty->port.buf.head->flags 1
PARAM_VALUE 0 gb_tty->port.buf.head->lookahead 0
PARAM_VALUE 0 gb_tty->port.buf.head->next 0
PARAM_VALUE 0 gb_tty->port.buf.head->read 0
PARAM_VALUE 0 gb_tty->port.buf.head->size 0
PARAM_VALUE 0 gb_tty->port.buf.head->used 0
PARAM_VALUE 0 gb_tty->port.buf.lock.dep_map->name 0-255
PARAM_VALUE 0 gb_tty->port.buf.lock.first_waiter 0
PARAM_VALUE 0 gb_tty->port.buf.lock.magic 4096-ptr_max
PARAM_VALUE 0 gb_tty->port.buf.lock.osq.tail.counter 0
PARAM_VALUE 0 gb_tty->port.buf.lock.owner.counter 0
PARAM_VALUE 0 gb_tty->port.buf.mem_limit 655360
PARAM_VALUE 0 gb_tty->port.buf.mem_used.counter 0
PARAM_VALUE 0 gb_tty->port.buf.priority.counter 0
PARAM_VALUE 0 gb_tty->port.buf.sentinel.commit 0
PARAM_VALUE 0 gb_tty->port.buf.sentinel.flags 1
PARAM_VALUE 0 gb_tty->port.buf.sentinel.free.next 0
PARAM_VALUE 0 gb_tty->port.buf.sentinel.lookahead 0
PARAM_VALUE 0 gb_tty->port.buf.sentinel.next 0
PARAM_VALUE 0 gb_tty->port.buf.sentinel.read 0
PARAM_VALUE 0 gb_tty->port.buf.sentinel.size 0
PARAM_VALUE 0 gb_tty->port.buf.sentinel.used 0
PARAM_VALUE 0 gb_tty->port.buf.tail 256
PARAM_VALUE 0 gb_tty->port.buf.tail->commit 0
PARAM_VALUE 0 gb_tty->port.buf.tail->flags 1
PARAM_VALUE 0 gb_tty->port.buf.tail->lookahead 0
PARAM_VALUE 0 gb_tty->port.buf.tail->next 0
PARAM_VALUE 0 gb_tty->port.buf.tail->read 0
PARAM_VALUE 0 gb_tty->port.buf.tail->size 0
PARAM_VALUE 0 gb_tty->port.buf.tail->used 0
PARAM_VALUE 0 gb_tty->port.buf.work.func 0
PARAM_VALUE 0 gb_tty->port.buf_mutex.dep_map->name 0-255
PARAM_VALUE 0 gb_tty->port.buf_mutex.first_waiter 0
PARAM_VALUE 0 gb_tty->port.buf_mutex.magic 4096-ptr_max
PARAM_VALUE 0 gb_tty->port.buf_mutex.osq.tail.counter 0
PARAM_VALUE 0 gb_tty->port.buf_mutex.owner.counter 0
PARAM_VALUE 0 gb_tty->port.client_data 0
PARAM_VALUE 0 gb_tty->port.client_ops 6331571049099714560
PARAM_VALUE 0 gb_tty->port.client_ops->lookahead_buf 0,5552213984272089088
PARAM_VALUE 0 gb_tty->port.client_ops->receive_buf 0,2070410949742354432,5991726090128461824
PARAM_VALUE 0 gb_tty->port.client_ops->write_wakeup 0,4180907491510067200,7004002109319299072
PARAM_VALUE 0 gb_tty->port.close_delay 125
PARAM_VALUE 0 gb_tty->port.closing_wait 7500
PARAM_VALUE 0 gb_tty->port.console 0
PARAM_VALUE 0 gb_tty->port.count 0
PARAM_VALUE 0 gb_tty->port.delta_msr_wait.head.next 4096-ptr_max
PARAM_VALUE 0 gb_tty->port.delta_msr_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 gb_tty->port.delta_msr_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 gb_tty->port.delta_msr_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 gb_tty->port.delta_msr_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 gb_tty->port.drain_delay 0
PARAM_VALUE 0 gb_tty->port.flags 0
PARAM_VALUE 0 gb_tty->port.iflags 0
PARAM_VALUE 0 gb_tty->port.itty 0
PARAM_VALUE 0 gb_tty->port.kref.refcount.refs.counter 1
PARAM_VALUE 0 gb_tty->port.open_wait.head.next 4096-ptr_max
PARAM_VALUE 0 gb_tty->port.open_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 gb_tty->port.open_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 gb_tty->port.open_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 gb_tty->port.open_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 gb_tty->port.ops 0
PARAM_VALUE 0 gb_tty->port.tty 0
PARAM_VALUE 0 gb_tty->port.xmit_buf 0
PARAM_VALUE 0 gb_tty->port.xmit_fifo.const_type 0
PARAM_VALUE 0 gb_tty->port.xmit_fifo.kfifo.data 0
PARAM_VALUE 0 gb_tty->port.xmit_fifo.kfifo.esize 0
PARAM_VALUE 0 gb_tty->port.xmit_fifo.kfifo.in 0
PARAM_VALUE 0 gb_tty->port.xmit_fifo.kfifo.mask 0
PARAM_VALUE 0 gb_tty->port.xmit_fifo.kfifo.out 0
PARAM_VALUE 0 gb_tty->port.xmit_fifo.ptr 0
PARAM_VALUE 0 gb_tty->port.xmit_fifo.ptr_const 0
PARAM_VALUE 0 gb_tty->port.xmit_fifo.rectype 0
PARAM_VALUE 0 gb_tty->port.xmit_fifo.type 0
BUF_SIZE 0 gb_tty 1264
BUF_SIZE 0 gb_tty->parent 360
BUF_SIZE 0 gb_tty->parent->dev (-1),8,96,248,1296
BUF_SIZE 0 gb_tty->tiocmget (-1),320
BUF_SIZE 0 gb_tty->tiocmget->serial_state_notification (-1),10
CAPPED_DATA 0 gb_tty->parent->dev 1
DATA_SOURCE 0 gb_tty $0
MEM_ZERO 0 &gb_tty->port
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/usb/hso.c hso_serial_tty_unregister() -> release_minor()

Type Parameter Key Value
PARAM_VALUE 0 gb_tty 4096-ptr_max
PARAM_VALUE 0 gb_tty->parent 4096-ptr_max
PARAM_VALUE 0 gb_tty->parent->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 gb_tty->parent->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gb_tty->parent->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 gb_tty->port.client_ops->lookahead_buf 0,5552213984272089088
PARAM_VALUE 0 gb_tty->port.client_ops->receive_buf 0,2070410949742354432,5991726090128461824
PARAM_VALUE 0 gb_tty->port.client_ops->write_wakeup 0,4180907491510067200,7004002109319299072
BUF_SIZE 0 gb_tty (-1),1264
BUF_SIZE 0 gb_tty (-1),1264
BUF_SIZE 0 gb_tty->parent (-1),360
BUF_SIZE 0 gb_tty->parent->dev (-1),1616
BUF_SIZE 0 gb_tty->tiocmget (-1),320
BUF_SIZE 0 gb_tty->tiocmget->serial_state_notification (-1),10
BUF_SIZE 0 gb_tty->tx_buffer (-1),64,8192
BUF_SIZE 0 gb_tty->tx_data (-1),64,8192
DATA_SOURCE 0 gb_tty $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL