Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

drivers/tty/serial/serial_core.c uart_configure_port() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
PARAM_VALUE 0 con->index s16min-(-2),0-s16max
PARAM_VALUE 0 con->node.pprev 1-u64max
CAPPED_DATA 0 con->index 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &_T->lock->lock
LOCK2 _T->flags
LOCK2 _T->lock
HALF_LOCKED2 global &max3100s_lock

drivers/tty/serial/serial_core.c uart_console_registered() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
CAPPED_DATA 0 con->index 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex

drivers/net/netconsole.c cleanup_netconsole() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 1009270431607222272

drivers/net/netconsole.c cleanup_netconsole() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 8222776370724024320

drivers/net/netconsole.c enabled_store() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 1009270431607222272
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 global &dynamic_netconsole_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/net/netconsole.c enabled_store() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 8222776370724024320
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 global &dynamic_netconsole_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/net/netconsole.c unregister_netcons_consoles() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 1009270431607222272
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 global &dynamic_netconsole_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/net/netconsole.c unregister_netcons_consoles() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 8222776370724024320
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 global &dynamic_netconsole_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/tty/hvc/hvc_console.c hvc_check_console() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 8593895625506955264
RX_PATH
TASK_NOT_RUNNING

drivers/tty/serial/xilinx_uartps.c cdns_uart_probe() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 0,1436767147912654848
BUF_SIZE 0 con (-1),280
BUF_SIZE 0 con (-1),280
RX_PATH
TASK_NOT_RUNNING

drivers/usb/early/xhci-dbc.c xdbc_unregister_console() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 835688933731860480

drivers/firmware/efi/earlycon.c efi_earlycon_remap_fb() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max

drivers/firmware/efi/earlycon.c efi_earlycon_unmap_fb() -> console_is_registered()

Type Parameter Key Value

drivers/tty/serial/samsung_tty.c s3c24xx_serial_unregister_console() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 145175288851701760

drivers/tty/serial/pic32_uart.c pic32_late_console_init() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 7923694253000921088

drivers/tty/serial/pic32_uart.c uart_console_registered() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con->dropped 0
PARAM_VALUE 0 con->index 0-5
PARAM_VALUE 0 con->kthread->cpus_ptr 4096-ptr_max
PARAM_VALUE 0 con->kthread->dl.inactive_timer.base->cpu_base->softirq_expires_next 0-s64max
PARAM_VALUE 0 con->kthread->dl.rq->active_balance s32min-s32max
PARAM_VALUE 0 con->kthread->dl.rq->clock_update_flags 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->core_enabled 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->core_forceidle_count 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->core_forceidle_occupation 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->core_forceidle_seq 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->core_pick_seq 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->core_sched_seq 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->core_task_seq 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->cpu s32min-s32max
PARAM_VALUE 0 con->kthread->dl.rq->has_blocked_load 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->hrtick_sched 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->idle_balance 0-255
PARAM_VALUE 0 con->kthread->dl.rq->membarrier_state s32min-s32max
PARAM_VALUE 0 con->kthread->dl.rq->nohz_idle_balance 0-255
PARAM_VALUE 0 con->kthread->dl.rq->nohz_tick_stopped 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->nr_llc_running 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->nr_numa_running 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->nr_pinned 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->nr_pref_llc_running 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->nr_preferred_running 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->nr_running 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->numa_migrate_on 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->online s32min-s32max
PARAM_VALUE 0 con->kthread->dl.rq->push_busy 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->push_cpu s32min-s32max
PARAM_VALUE 0 con->kthread->dl.rq->sched_count 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->sched_goidle 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->ticks_without_resched s32min-s32max
PARAM_VALUE 0 con->kthread->dl.rq->ttwu_count 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->ttwu_local 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->ttwu_pending 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->uclamp_flags 0-4294967295
PARAM_VALUE 0 con->kthread->dl.rq->yld_count 0-4294967295
PARAM_VALUE 0 con->kthread->migration_disabled 0-1
PARAM_VALUE 0 con->kthread->on_rq 0-1,3-255
PARAM_VALUE 0 con->kthread->sched_class->balance 0,4895810773273071616,6490409225490120704,7260575883162300416,8638459336928428032
PARAM_VALUE 0 con->kthread->sched_class->dequeue_task 0,144070366336110592,1947835499009560576,6189267449403002880,6455432424639717376,6899636822736904192
PARAM_VALUE 0 con->kthread->sched_class->enqueue_task 0,126196709549080576,1834828045319467008,6555940243012698112,7779016139136778240
PARAM_VALUE 0 con->kthread->sched_class->find_lock_rq 0,1273389266380275712,1330506845949976576,2186316422496772096,3746302679399247872,7992910395761221632
PARAM_VALUE 0 con->kthread->sched_class->get_prio 0,5165838827171962880,5589494719909007360,5857971317054578688,7142770315824652288
PARAM_VALUE 0 con->kthread->sched_class->get_rr_interval 0,160577115725877248,5264859755264851968,8566262156424376320
PARAM_VALUE 0 con->kthread->sched_class->pick_task 0,431140902756892672,1158575681758597120,5720692379550740480,7102393387566546944,7546922302727954432,7601726578106748928
PARAM_VALUE 0 con->kthread->sched_class->prio_changed 0,1146300274019463168,2737281516638617600,4228469244769832960,5589494719909007360,6494577740674654208,7383617159121645568
PARAM_VALUE 0 con->kthread->sched_class->put_prev_task 0,879997059321819136,2104802920512651264,2702168970777976832,3309484659987406848,4521943768044347392,6061791611826737152
PARAM_VALUE 0 con->kthread->sched_class->reweight_task 0,1146300274019463168,2737281516638617600,4228469244769832960,5264859755264851968,6494577740674654208,7383617159121645568
PARAM_VALUE 0 con->kthread->sched_class->rq_offline 0,1273389266380275712,1603218695044562944,3746302679399247872,3838970304731508736,6105480162315575296,7992910395761221632
PARAM_VALUE 0 con->kthread->sched_class->rq_online 0,1603218695044562944,1927640468783054848,3838970304731508736,5094656021401329664,6105480162315575296,7127180339355369472
PARAM_VALUE 0 con->kthread->sched_class->set_cpus_allowed 0,1927640468783054848,4090974917235912704,4284209241675612160,5094656021401329664,7127180339355369472
PARAM_VALUE 0 con->kthread->sched_class->switched_from 0,2762873923526262784,6932178706407411712,8530452231382753280,8897597262779232256
PARAM_VALUE 0 con->kthread->sched_class->switched_to 0,1207858565835722752,5165838827171962880,5857971317054578688,6355784522873475072,7142770315824652288
PARAM_VALUE 0 con->kthread->sched_class->switching_from 0,2762873923526262784,6742757381008068608
PARAM_VALUE 0 con->kthread->sched_class->switching_to 0,1207858565835722752,6355784522873475072,6932178706407411712,8530452231382753280,8897597262779232256
PARAM_VALUE 0 con->kthread->sched_class->task_change_group 0,2420086066110373888,2446272091500916736,2561397482238263296,2943871782664327168,7251702690162270208,8139140255186919424
PARAM_VALUE 0 con->kthread->sched_class->task_dead 0,1181151505743122432,6092562452304658432,6742757381008068608
PARAM_VALUE 0 con->kthread->sched_class->task_is_throttled 0,626302238049026048,4879098428662644736,6508522699847725056,7251702690162270208
PARAM_VALUE 0 con->kthread->sched_class->task_woken 0,1111187247153754112,4090974917235912704,4284209241675612160,4715741308934107136
PARAM_VALUE 0 con->kthread->sched_class->uclamp_enabled 0-1
PARAM_VALUE 0 con->kthread->sched_class->wakeup_preempt 0,1077039320164851712,1147033115188453376,2990157993661198336,6476960569952718848,6679893776262037504
PARAM_VALUE 0 con->kthread->sched_class->yield_task 0,2190573298372911104,3192817945493614592,3256919456170586112,7456815790656131072
PARAM_VALUE 0 con->kthread->sched_class->yield_to_task 0,3940359203731251200
PARAM_VALUE 0 con->kthread->se.cfs_rq->rq->curr->mm->sc_stat.cpu (-1)
PARAM_VALUE 0 con->kthread->se.cfs_rq->rq->curr->pref_llc_queued 0-1
PARAM_VALUE 0 con->kthread->se.cfs_rq->rq->donor->__state 0,512
PARAM_VALUE 0 con->kthread->se.cfs_rq->rq->donor->core_node.__rb_parent_color 1
PARAM_VALUE 0 con->kthread->se.cfs_rq->rq->donor->dl.inactive_timer.base->clockid 0-1,7,11
PARAM_VALUE 0 con->kthread->se.cfs_rq->rq->donor->dl.inactive_timer.base->index 0-7
PARAM_VALUE 0 con->kthread->se.cfs_rq->rq->donor->dl.inactive_timer.entry.next s64max
PARAM_VALUE 0 con->kthread->se.cfs_rq->rq->donor->dl.rb_node.__rb_parent_color 1
PARAM_VALUE 0 con->kthread->se.cfs_rq->rq->donor->rseq.event.ids_changed 1
PARAM_VALUE 0 con->kthread->se.cfs_rq->rq->donor->sched_migrated 1
PARAM_VALUE 0 con->kthread->se.cfs_rq->rq->donor->se.run_node.rb_left->__rb_parent_color 4096-s64max
PARAM_VALUE 0 con->kthread->se.cfs_rq->rq->donor->se.run_node.rb_right->__rb_parent_color 4096-s64max
PARAM_VALUE 0 con->kthread->wake_cpu 0-s32max
PARAM_VALUE 0 con->nbcon_prev_seq.counter (-1)
PARAM_VALUE 0 con->nbcon_state.counter 0
PARAM_VALUE 0 con->node.next->pprev 4096-ptr_max
PARAM_VALUE 0 con->node.pprev 1-u64max
PARAM_VALUE 0 con->pbufs 0,4096-ptr_max
PARAM_VALUE 0 con->rcuwait.task 0
PARAM_VALUE 0 *con->kthread->worker_private->exited.wait.lock.owner (-4611686018427387904)-4611686018427387903
CAPPED_DATA 0 con->index 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 con->kthread->dl.pi_se->dl_runtime

drivers/tty/serial/8250/8250_core.c uart_console_registered() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 4096-ptr_max
CAPPED_DATA 0 con->index 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/tty/serial/earlycon.c of_setup_earlycon() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 3916938866968207360

drivers/tty/serial/earlycon.c setup_earlycon() -> console_is_registered()

Type Parameter Key Value
PARAM_VALUE 0 con 3916938866968207360
HALF_LOCKED2 irq