Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/tty/tty_port.c tty_port_alloc_xmit_buf() -> __kfifo_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fifo | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 2 | size | 4096 |
| PARAM_VALUE | 3 | esize | 1 |
| BUF_SIZE | 0 | fifo | 24 |
| DATA_SOURCE | 1 | buffer | r get_zeroed_page_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | esize | unit_byte |
| LOCK2 | _T->lock |
drivers/tty/serial/serial_core.c uart_alloc_xmit_buf() -> __kfifo_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fifo | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 2 | size | 4096 |
| PARAM_VALUE | 3 | esize | 1 |
| BUF_SIZE | 0 | fifo | 24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | esize | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &state->uart_port->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | flags |
drivers/media/platform/amphion/vpu_core.c vpu_core_register() -> __kfifo_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fifo | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 16,4096-ptr_max |
| PARAM_VALUE | 2 | size | 0-4000000 |
| PARAM_VALUE | 3 | esize | 1 |
| BUF_SIZE | 0 | fifo | 24 |
| BUF_SIZE | 1 | buffer | 0-u32max |
| BUF_SIZE | 1 | buffer | 0-u32max |
| DATA_SOURCE | 1 | buffer | r _kzalloc_noprof |
| MEM_ZERO | 0 | fifo | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | esize | unit_byte |
drivers/media/platform/amphion/vpu_v4l2.c vpu_v4l2_open() -> __kfifo_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fifo | 4096-ptr_max |
| PARAM_VALUE | 3 | esize | 1 |
| BUF_SIZE | 0 | fifo | 24 |
| BUF_SIZE | 1 | buffer | 8192 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | esize | unit_byte |
drivers/media/platform/chips-media/coda/coda-bit.c coda_alloc_bitstream_buffer() -> __kfifo_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fifo | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 1-ptr_max |
| PARAM_VALUE | 3 | esize | 1 |
| BUF_SIZE | 0 | fifo | 24 |
| BUF_SIZE | 1 | buffer | s32min-s32max |
| DATA_SOURCE | 1 | buffer | r dma_alloc_wc |
| DATA_SOURCE | 2 | size | r __roundup_pow_of_two |
| UNITS | 2 | size | unit_byte |
| UNITS | 3 | esize | unit_byte |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/chips-media/coda/coda-bit.c coda_bitstream_flush() -> __kfifo_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fifo | 4096-ptr_max |
| PARAM_VALUE | 3 | esize | 1 |
| BUF_SIZE | 0 | fifo | 24 |
| UNITS | 2 | size | unit_byte |
| UNITS | 3 | esize | unit_byte |
| LOCK2 | &ctx->bitstream_mutex | ||
| LOCK2 | &dev->coda_mutex | ||
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock | ||
| TYPE_LOCK | (struct coda_ctx)->bitstream_mutex | ||
| TYPE_LOCK | (struct coda_dev)->coda_mutex |
drivers/media/platform/chips-media/coda/coda-bit.c coda_finish_decode() -> __kfifo_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fifo | 4096-ptr_max |
| PARAM_VALUE | 3 | esize | 1 |
| BUF_SIZE | 0 | fifo | 24 |
| UNITS | 2 | size | unit_byte |
| UNITS | 3 | esize | unit_byte |
| LOCK2 | &ctx->buffer_mutex | ||
| LOCK2 | &dev->coda_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct coda_ctx)->buffer_mutex | ||
| TYPE_LOCK | (struct coda_dev)->coda_mutex |
drivers/media/platform/chips-media/coda/coda-bit.c coda_free_bitstream_buffer() -> __kfifo_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fifo | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 0 |
| PARAM_VALUE | 2 | size | 0 |
| PARAM_VALUE | 3 | esize | 1 |
| BUF_SIZE | 0 | fifo | 24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | esize | unit_byte |
| HALF_LOCKED2 | &ctx->buffer_mutex |
drivers/media/platform/chips-media/coda/coda-bit.c coda_seq_end_work() -> __kfifo_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fifo | 4096-ptr_max |
| PARAM_VALUE | 3 | esize | 1 |
| BUF_SIZE | 0 | fifo | 24 |
| UNITS | 2 | size | unit_byte |
| UNITS | 3 | esize | unit_byte |
| LOCK2 | &ctx->buffer_mutex | ||
| LOCK2 | &dev->coda_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct coda_ctx)->buffer_mutex | ||
| TYPE_LOCK | (struct coda_dev)->coda_mutex |
drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76x02_dma_init() -> __kfifo_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fifo | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 1-u64max |
| PARAM_VALUE | 3 | esize | 6 |
| BUF_SIZE | 0 | fifo | 24 |
| BUF_SIZE | 1 | buffer | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | buffer | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 1 | buffer | r devm_kzalloc |
| MEM_ZERO | 1 | buffer | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | esize | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/libiscsi.c iscsi_pool_init() -> __kfifo_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fifo | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 1-18446744073709551614 |
| PARAM_VALUE | 3 | esize | 1 |
| BUF_SIZE | 0 | fifo | 24 |
| BUF_SIZE | 1 | buffer | 8 |
| BUF_SIZE | 1 | buffer | 8 |
| DATA_SOURCE | 1 | buffer | r _kvmalloc_array_node_noprof |
| MEM_ZERO | 0 | fifo | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | size | 128-32768[c] |
| UNITS | 3 | esize | unit_byte |
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/media/platform/chips-media/coda/coda-common.c coda_stop_streaming() -> __kfifo_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fifo | 4096-ptr_max |
| PARAM_VALUE | 3 | esize | 1 |
| BUF_SIZE | 0 | fifo | 24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| UNITS | 3 | esize | unit_byte |
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | &q->mmap_lock |