Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 22 files:
- arch/arm/xen/enlighten.c, line 280
- arch/mips/jazz/setup.c, line 76
- arch/mips/sgi-ip22/ip22-setup.c
- arch/mips/sgi-ip32/ip32-setup.c, line 95
- arch/mips/sni/setup.c
- arch/powerpc/kernel/legacy_serial.c
- arch/powerpc/platforms/chrp/setup.c, line 292
- arch/powerpc/platforms/powermac/setup.c, line 540
- arch/powerpc/platforms/powernv/setup.c, line 245
- arch/s390/kernel/setup.c
- arch/x86/xen/enlighten.c
- drivers/acpi/spcr.c, line 234
- drivers/of/base.c, line 2073
- drivers/tty/ehv_bytechan.c, line 333
- drivers/tty/hvc/hvc_opal.c, line 388
- drivers/tty/hvc/hvc_rtas.c, line 107
- drivers/tty/hvc/hvc_udbg.c, line 79
- drivers/tty/hvc/hvc_vio.c, line 429
- drivers/tty/serial/8250/8250_hp300.c
- drivers/tty/serial/8250/8250_omap.c, line 1863
- drivers/tty/serial/suncore.c, line 79
- kernel/printk/printk.c, line 4396
Smatch caller information:
drivers/tty/serial/8250/8250_omap.c omap8250_console_fixup() -> add_preferred_console()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4956029407499657216 |
| PARAM_VALUE | 1 | idx | 0-9 |
| PARAM_VALUE | 2 | options | 0,4098-18446744073709547521 |
| BUF_SIZE | 0 | name | 5 |
| FUZZY_MAX | 1 | idx | 9 |
| STR_LEN | 0 | name | 4 |
| TERMINATED | 0 | name | 1 |
| HARD_MAX | 1 | idx | 9 |
| NOCHECK_CALL |
drivers/acpi/spcr.c acpi_parse_spcr() -> add_preferred_console()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 1705030692206833664,1716303888013570048,3533413364143583232,3792530808013737984 |
| PARAM_VALUE | 1 | idx | 0 |
| PARAM_VALUE | 2 | options | 4096-ptr_max |
| BUF_SIZE | 0 | name | 4-6,12 |
| BUF_SIZE | 0 | name | 4-6,12 |
| STR_LEN | 0 | name | 3-5,11 |
| STR_LEN | 0 | name | 3-5,11 |
| BIT_INFO | 0 | name | 0x1001000000201000,0x3fffffffffffffff |
| BIT_INFO | 0 | name | 0x1001000000201000,0xffffffffffffffff |
| TERMINATED | 0 | name | 1 |
| LOCK2 | irq |
drivers/of/base.c of_console_check() -> add_preferred_console()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | name | 5,16 |
| BUF_SIZE | 0 | name | 5,16 |
| CAPPED_DATA | 1 | idx | 1 |
| DATA_SOURCE | 0 | name | $1 |
| DATA_SOURCE | 1 | idx | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | idx | unit_array_size |
| HALF_LOCKED2 | _T->lock |
arch/x86/xen/enlighten.c xen_add_preferred_consoles() -> add_preferred_console()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 729358310758285312 |
| PARAM_VALUE | 1 | idx | 0 |
| PARAM_VALUE | 2 | options | 0 |
| BUF_SIZE | 0 | name | 8 |
| STR_LEN | 0 | name | 7 |
| TERMINATED | 0 | name | 1 |
| NOCHECK_CALL | |||
| LOCK2 | irq |
arch/x86/xen/enlighten.c xen_add_preferred_consoles() -> add_preferred_console()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4645416878314401792 |
| PARAM_VALUE | 1 | idx | 0 |
| PARAM_VALUE | 2 | options | 0 |
| BUF_SIZE | 0 | name | 4 |
| STR_LEN | 0 | name | 3 |
| TERMINATED | 0 | name | 1 |
| NOCHECK_CALL | |||
| LOCK2 | irq |
arch/x86/xen/enlighten.c xen_add_preferred_consoles() -> add_preferred_console()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 1060689499527737344 |
| PARAM_VALUE | 1 | idx | 0 |
| PARAM_VALUE | 2 | options | 0 |
| BUF_SIZE | 0 | name | 4 |
| STR_LEN | 0 | name | 3 |
| TERMINATED | 0 | name | 1 |
| NOCHECK_CALL | |||
| LOCK2 | irq |
arch/x86/xen/enlighten.c xen_add_preferred_consoles() -> add_preferred_console()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4645416878314401792 |
| PARAM_VALUE | 1 | idx | 0 |
| PARAM_VALUE | 2 | options | 0 |
| BUF_SIZE | 0 | name | 4 |
| STR_LEN | 0 | name | 3 |
| TERMINATED | 0 | name | 1 |
| NOCHECK_CALL | |||
| LOCK2 | irq |