Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/tty/tty_port.c tty_port_register_device() -> tty_port_register_device_attr()

Type Parameter Key Value
PARAM_VALUE 3 device 0,4096-ptr_max
PARAM_VALUE 3 device->dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 3 device->dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 3 device->dma_ops->cache_sync 0
PARAM_VALUE 3 device->dma_ops->dma_supported 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 3 device->dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 3 device->dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 3 device->dma_ops->get_merge_boundary 0
PARAM_VALUE 3 device->dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 3 device->dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 3 device->dma_ops->map_phys 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 3 device->dma_ops->map_sg 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 3 device->dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 3 device->dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 3 device->dma_ops->opt_mapping_size 0
PARAM_VALUE 3 device->dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 3 device->dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 3 device->dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 3 device->dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 3 device->dma_ops->unmap_phys 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 3 device->dma_ops->unmap_sg 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 3 device->kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 3 device->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 4 drvdata 0
PARAM_VALUE 5 attr_grp 0
BUF_SIZE 3 device (-1)-0,4,16,24-s32max
BUF_SIZE 3 device (-1)-0,4,16,24-s32max
DATA_SOURCE 0 port $0
DATA_SOURCE 1 driver $1
DATA_SOURCE 2 index $2
DATA_SOURCE 3 device $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 port->blocked_open 0
HOST_DATA 0 port->buf.lock.osq.tail.counter 0
HOST_DATA 0 port->buf.lock.owner.counter 0
HOST_DATA 0 port->buf.mem_limit 655360
HOST_DATA 0 port->buf.mem_used.counter 0
HOST_DATA 0 port->buf.priority.counter 0
HOST_DATA 0 port->buf.sentinel.commit 0
HOST_DATA 0 port->buf.sentinel.flags 1
HOST_DATA 0 port->buf.sentinel.lookahead 0
HOST_DATA 0 port->buf.sentinel.read 0
HOST_DATA 0 port->buf.sentinel.size 0
HOST_DATA 0 port->buf.sentinel.used 0
HOST_DATA 0 port->buf.work.data.counter 0
HOST_DATA 0 port->buf_mutex.osq.tail.counter 0
HOST_DATA 0 port->buf_mutex.owner.counter 0
HOST_DATA 0 port->close_delay 125
HOST_DATA 0 port->closing_wait 7500
HOST_DATA 0 port->console 0
HOST_DATA 0 port->count 0
HOST_DATA 0 port->drain_delay 0
HOST_DATA 0 port->flags 0
HOST_DATA 0 port->iflags 0
HOST_DATA 0 port->kref.refcount.refs.counter 1
HOST_DATA 0 port->xmit_fifo.kfifo.esize 0
HOST_DATA 0 port->xmit_fifo.kfifo.in 0
HOST_DATA 0 port->xmit_fifo.kfifo.mask 0
HOST_DATA 0 port->xmit_fifo.kfifo.out 0
HOST_DATA 3 device->flags 4096-u32max
USER_DATA 2 index 0-255[c]
UNITS 2 index unit_array_size
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &goldfish_tty_lock
HALF_LOCKED2 global &rfcomm_ioctl_mutex
HALF_LOCKED2 3 &device->mutex

drivers/ipack/devices/ipoctal.c ipoctal_inst_slot() -> tty_port_register_device_attr()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->buf.flip_wq 0
PARAM_VALUE 0 port->buf.head 256
PARAM_VALUE 0 port->buf.lock.magic 4096-ptr_max
PARAM_VALUE 0 port->buf.mem_limit 655360
PARAM_VALUE 0 port->buf.sentinel.flags 1
PARAM_VALUE 0 port->buf.tail 256
PARAM_VALUE 0 port->buf_mutex.magic 4096-ptr_max
PARAM_VALUE 0 port->client_ops 6331571049099714560
PARAM_VALUE 0 port->close_delay 125
PARAM_VALUE 0 port->closing_wait 7500
PARAM_VALUE 0 port->console 0
PARAM_VALUE 0 port->count 0
PARAM_VALUE 0 port->delta_msr_wait.head.next 4096-ptr_max
PARAM_VALUE 0 port->delta_msr_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 port->flags 0
PARAM_VALUE 0 port->iflags 0
PARAM_VALUE 0 port->itty 0
PARAM_VALUE 0 port->kref.refcount.refs.counter 1
PARAM_VALUE 0 port->open_wait.head.next 4096-ptr_max
PARAM_VALUE 0 port->open_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 port->ops 4431124432647593984
PARAM_VALUE 0 port->tty 0
PARAM_VALUE 0 port->xmit_buf 18379471554275704832,18446612682070032384
PARAM_VALUE 1 driver 4096-ptr_max
PARAM_VALUE 1 driver->cdevs 4096-ptr_max
PARAM_VALUE 1 driver->driver_name 1791996953108234240
PARAM_VALUE 1 driver->flags 7,13,15,45,135,327,351
PARAM_VALUE 1 driver->flip_wq 0,4096-ptr_max
PARAM_VALUE 1 driver->init_termios.c_cflag 3261
PARAM_VALUE 1 driver->init_termios.c_ispeed 9600
PARAM_VALUE 1 driver->init_termios.c_ospeed 9600
PARAM_VALUE 1 driver->kref.refcount.refs.counter 1
PARAM_VALUE 1 driver->major 0-4095
PARAM_VALUE 1 driver->minor_start 0-1048575
PARAM_VALUE 1 driver->name 1-u64max
PARAM_VALUE 1 driver->num 8
PARAM_VALUE 1 driver->ops 2329165790880276480
PARAM_VALUE 1 driver->ops->break_ctl 0
PARAM_VALUE 1 driver->ops->chars_in_buffer 2293146448913694720
PARAM_VALUE 1 driver->ops->cleanup 4482994266171424768
PARAM_VALUE 1 driver->ops->close 3911613829490806784
PARAM_VALUE 1 driver->ops->compat_ioctl 0
PARAM_VALUE 1 driver->ops->flush_buffer 0
PARAM_VALUE 1 driver->ops->flush_chars 0
PARAM_VALUE 1 driver->ops->get_icount 9156211559499685888
PARAM_VALUE 1 driver->ops->get_serial 0
PARAM_VALUE 1 driver->ops->hangup 1780034822346186752
PARAM_VALUE 1 driver->ops->install 7431950701837320192
PARAM_VALUE 1 driver->ops->ioctl 0
PARAM_VALUE 1 driver->ops->ldisc_ok 0
PARAM_VALUE 1 driver->ops->lookup 0
PARAM_VALUE 1 driver->ops->open 3019900784034222080
PARAM_VALUE 1 driver->ops->poll_get_char 0
PARAM_VALUE 1 driver->ops->poll_init 0
PARAM_VALUE 1 driver->ops->poll_put_char 0
PARAM_VALUE 1 driver->ops->proc_show 0
PARAM_VALUE 1 driver->ops->put_char 0
PARAM_VALUE 1 driver->ops->remove 0
PARAM_VALUE 1 driver->ops->resize 0
PARAM_VALUE 1 driver->ops->send_xchar 0
PARAM_VALUE 1 driver->ops->set_ldisc 0
PARAM_VALUE 1 driver->ops->set_serial 0
PARAM_VALUE 1 driver->ops->set_termios 2407333402187386880
PARAM_VALUE 1 driver->ops->show_fdinfo 0
PARAM_VALUE 1 driver->ops->shutdown 3518621193109893120
PARAM_VALUE 1 driver->ops->start 0
PARAM_VALUE 1 driver->ops->stop 0
PARAM_VALUE 1 driver->ops->throttle 0
PARAM_VALUE 1 driver->ops->tiocmget 0
PARAM_VALUE 1 driver->ops->tiocmset 0
PARAM_VALUE 1 driver->ops->unthrottle 0
PARAM_VALUE 1 driver->ops->wait_until_sent 0
PARAM_VALUE 1 driver->ops->write 2216440728745025536
PARAM_VALUE 1 driver->ops->write_room 2611772199105671168
PARAM_VALUE 1 driver->owner 0
PARAM_VALUE 1 driver->proc_entry 0,356236415985979392,5729891321464528896,9011853526131630080
PARAM_VALUE 1 driver->subtype 1
PARAM_VALUE 1 driver->tty_drivers.next 4096-ptr_max
PARAM_VALUE 1 driver->tty_drivers.prev 2658480706137264128
PARAM_VALUE 1 driver->type 2
PARAM_VALUE 2 index 0-7
PARAM_VALUE 3 device 0
PARAM_VALUE 4 drvdata 4096-ptr_max
PARAM_VALUE 5 attr_grp 0
BUF_SIZE 1 driver 200
BUF_SIZE 1 driver->driver_name 8
BUF_SIZE 1 driver->name 0-s32max
CAPPED_DATA 1 driver->name 1
DATA_SOURCE 1 driver r __tty_alloc_driver
STR_LEN 1 driver->driver_name 7
PARAM_COMPARE 1 driver->num >= $2
PARAM_COMPARE 2 index <= $1->num
TERMINATED 1 driver->driver_name 1
MEM_ZERO 0 port
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 driver->num

drivers/misc/bcm-vk/bcm_vk_tty.c bcm_vk_tty_init() -> tty_port_register_device_attr()

Type Parameter Key Value
PARAM_VALUE 0 port->console 0
PARAM_VALUE 0 port->count 0
PARAM_VALUE 0 port->flags 0
PARAM_VALUE 0 port->iflags 0
PARAM_VALUE 0 port->itty 0
PARAM_VALUE 0 port->ops 0
PARAM_VALUE 0 port->tty 0
PARAM_VALUE 0 port->xmit_buf 0
PARAM_VALUE 1 driver 4096-ptr_max
PARAM_VALUE 1 driver->cdevs 4096-ptr_max
PARAM_VALUE 1 driver->driver_name 7158928358549999616
PARAM_VALUE 1 driver->flags 7,13,15,45,135,327,351
PARAM_VALUE 1 driver->flip_wq 0,4096-ptr_max
PARAM_VALUE 1 driver->kref.refcount.refs.counter 1
PARAM_VALUE 1 driver->minor_start 0-1048575
PARAM_VALUE 1 driver->name 4096-ptr_max
PARAM_VALUE 1 driver->num 2
PARAM_VALUE 1 driver->ops 5667846687408087040
PARAM_VALUE 1 driver->ops->break_ctl 0
PARAM_VALUE 1 driver->ops->chars_in_buffer 0
PARAM_VALUE 1 driver->ops->cleanup 0
PARAM_VALUE 1 driver->ops->close 4661976639044268032
PARAM_VALUE 1 driver->ops->compat_ioctl 0
PARAM_VALUE 1 driver->ops->flush_buffer 0
PARAM_VALUE 1 driver->ops->flush_chars 0
PARAM_VALUE 1 driver->ops->get_icount 0
PARAM_VALUE 1 driver->ops->get_serial 0
PARAM_VALUE 1 driver->ops->hangup 0
PARAM_VALUE 1 driver->ops->install 0
PARAM_VALUE 1 driver->ops->ioctl 0
PARAM_VALUE 1 driver->ops->ldisc_ok 0
PARAM_VALUE 1 driver->ops->lookup 0
PARAM_VALUE 1 driver->ops->open 4966735798774218752
PARAM_VALUE 1 driver->ops->poll_get_char 0
PARAM_VALUE 1 driver->ops->poll_init 0
PARAM_VALUE 1 driver->ops->poll_put_char 0
PARAM_VALUE 1 driver->ops->proc_show 0
PARAM_VALUE 1 driver->ops->put_char 0
PARAM_VALUE 1 driver->ops->remove 0
PARAM_VALUE 1 driver->ops->resize 0
PARAM_VALUE 1 driver->ops->send_xchar 0
PARAM_VALUE 1 driver->ops->set_ldisc 0
PARAM_VALUE 1 driver->ops->set_serial 0
PARAM_VALUE 1 driver->ops->set_termios 0
PARAM_VALUE 1 driver->ops->show_fdinfo 0
PARAM_VALUE 1 driver->ops->shutdown 0
PARAM_VALUE 1 driver->ops->start 0
PARAM_VALUE 1 driver->ops->stop 0
PARAM_VALUE 1 driver->ops->throttle 0
PARAM_VALUE 1 driver->ops->tiocmget 0
PARAM_VALUE 1 driver->ops->tiocmset 0
PARAM_VALUE 1 driver->ops->unthrottle 0
PARAM_VALUE 1 driver->ops->wait_until_sent 0
PARAM_VALUE 1 driver->ops->write 6904837668489355264
PARAM_VALUE 1 driver->ops->write_room 4488961669628780544
PARAM_VALUE 1 driver->owner 0
PARAM_VALUE 1 driver->proc_entry 0,356236415985979392,5729891321464528896,9011853526131630080
PARAM_VALUE 1 driver->subtype 1
PARAM_VALUE 1 driver->tty_drivers.next 4096-ptr_max
PARAM_VALUE 1 driver->tty_drivers.prev 2658480706137264128
PARAM_VALUE 1 driver->type 2
PARAM_VALUE 2 index 0-1
PARAM_VALUE 3 device 4096-ptr_max
PARAM_VALUE 3 device->dma_mask 4096-ptr_max
PARAM_VALUE 4 drvdata 4096-ptr_max
PARAM_VALUE 5 attr_grp 0
BUF_SIZE 1 driver 200
BUF_SIZE 1 driver->driver_name 7
BUF_SIZE 3 device 1616
BUF_SIZE 4 drvdata 30176
DATA_SOURCE 1 driver r __tty_alloc_driver
DATA_SOURCE 4 drvdata $0
STR_LEN 0 port 19
STR_LEN 1 driver->driver_name 6
PARAM_COMPARE 2 index <= $1->num
TERMINATED 1 driver->driver_name 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 driver->num

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

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->buf.flip_wq 0
PARAM_VALUE 0 port->buf.head 256
PARAM_VALUE 0 port->buf.lock.magic 4096-ptr_max
PARAM_VALUE 0 port->buf.mem_limit 655360
PARAM_VALUE 0 port->buf.sentinel.flags 1
PARAM_VALUE 0 port->buf.tail 256
PARAM_VALUE 0 port->buf_mutex.magic 4096-ptr_max
PARAM_VALUE 0 port->client_ops 6331571049099714560
PARAM_VALUE 0 port->close_delay 125
PARAM_VALUE 0 port->closing_wait 7500
PARAM_VALUE 0 port->console 0
PARAM_VALUE 0 port->count 0
PARAM_VALUE 0 port->delta_msr_wait.head.next 4096-ptr_max
PARAM_VALUE 0 port->delta_msr_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 port->flags 0
PARAM_VALUE 0 port->iflags 0
PARAM_VALUE 0 port->itty 0
PARAM_VALUE 0 port->kref.refcount.refs.counter 1
PARAM_VALUE 0 port->open_wait.head.next 4096-ptr_max
PARAM_VALUE 0 port->open_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 port->ops 0
PARAM_VALUE 0 port->tty 0
PARAM_VALUE 0 port->xmit_buf 0
PARAM_VALUE 2 index 0
PARAM_VALUE 3 device 4096-ptr_max
PARAM_VALUE 4 drvdata 4096-ptr_max
PARAM_VALUE 5 attr_grp 1022086492031836160
BUF_SIZE 4 drvdata 360
BUF_SIZE 5 attr_grp 16
MEM_ZERO 0 port
RX_PATH
TASK_NOT_RUNNING