Defined in 2 files as a function:
Referenced in 14 files:
- drivers/bus/imx-weim.c
- drivers/gpio/gpiolib-of.c, line 808
- drivers/gpio/gpiolib.c, line 1063
- drivers/gpu/drm/display/drm_dp_aux_bus.c, line 199
- drivers/i2c/i2c-core-of.c, line 191
- drivers/nvmem/layouts.c, line 140
- drivers/of/base.c, line 1288
- drivers/of/dynamic.c
- drivers/of/overlay.c
- drivers/of/platform.c
- drivers/of/resolver.c, line 263
- drivers/pci/of.c
- drivers/spi/spi.c, line 5246
- lib/vsprintf.c
Smatch caller information:
drivers/nvmem/layouts.c nvmem_layout_bus_populate() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 4 |
| DATA_SOURCE | 0 | n | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/gpio/gpiolib-of.c of_gpio_notify() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flag | 3 |
| UNITS | 0 | n | unit_byte |
lib/vsprintf.c device_node_string() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 1 |
| DATA_SOURCE | 0 | n | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/vsprintf.c device_node_string() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 2 |
| DATA_SOURCE | 0 | n | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/vsprintf.c device_node_string() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 3 |
| DATA_SOURCE | 0 | n | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/vsprintf.c device_node_string() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 4 |
| DATA_SOURCE | 0 | n | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/bus/imx-weim.c of_weim_notify() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 3 |
| UNITS | 0 | n | unit_byte |
drivers/bus/imx-weim.c of_weim_notify() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flag | 3 |
| UNITS | 0 | n | unit_byte |
drivers/i2c/i2c-core-of.c of_i2c_notify() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flag | 3 |
| UNITS | 0 | n | unit_byte |
drivers/spi/spi.c of_spi_notify() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flag | 3 |
| UNITS | 0 | n | unit_byte |
drivers/of/overlay.c add_changeset_property() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 0,4096-ptr_max |
| PARAM_VALUE | 1 | flag | 5 |
| BUF_SIZE | 0 | n->deadprops | (-1),136 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &of_mutex | ||
| HALF_LOCKED2 | global &of_overlay_phandle_mutex |
drivers/of/overlay.c init_overlay_changeset() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &of_mutex | ||
| LOCK2 | global &of_overlay_phandle_mutex |
drivers/of/overlay.c init_overlay_changeset() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &of_mutex | ||
| LOCK2 | global &of_overlay_phandle_mutex |
drivers/of/dynamic.c __of_attach_node() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flag | 5 |
| DATA_SOURCE | 0 | n | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | global &devtree_lock | ||
| LOCK2 | global &of_mutex |
drivers/of/dynamic.c __of_changeset_entry_destroy() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flag | 5 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->list_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &of_mutex |
drivers/of/dynamic.c __of_detach_node() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 2 |
| DATA_SOURCE | 0 | n | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | global &devtree_lock | ||
| LOCK2 | global &of_mutex |
drivers/of/dynamic.c of_node_release() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 2 |
| DATA_SOURCE | 0 | n | r kobj_to_device_node |
| HALF_LOCKED2 | &pool->lock |
drivers/of/dynamic.c of_node_release() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 1 |
| DATA_SOURCE | 0 | n | r kobj_to_device_node |
| HALF_LOCKED2 | &pool->lock |
drivers/of/dynamic.c of_node_release() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 5 |
| DATA_SOURCE | 0 | n | r kobj_to_device_node |
| HALF_LOCKED2 | &pool->lock |
drivers/of/dynamic.c of_node_release() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 6 |
| DATA_SOURCE | 0 | n | r kobj_to_device_node |
| HALF_LOCKED2 | &pool->lock |
drivers/of/base.c of_find_node_by_phandle() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 2 |
| CAPPED_DATA | 0 | n->phandle | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | global &devtree_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &of_mutex | ||
| HALF_LOCKED2 | global &of_overlay_phandle_mutex |
drivers/gpio/gpiolib.c gpiochip_hog_lines() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 0,4096-ptr_max |
| PARAM_VALUE | 1 | flag | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &bank->deferred_lock | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock |
drivers/of/resolver.c of_resolve_phandles() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 2 |
| DATA_SOURCE | 0 | n | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &of_overlay_phandle_mutex | ||
| HALF_LOCKED2 | global &of_mutex |
drivers/gpu/drm/display/drm_dp_aux_bus.c of_dp_aux_ep_destroy() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flag | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | n | unit_byte |
| HALF_LOCKED2 | &nh->srcu | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &ptp->n_vclocks_mux |
drivers/of/platform.c of_platform_bus_create() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 1-u64max |
| PARAM_VALUE | 1 | flag | 4 |
| BUF_SIZE | 0 | n | (-1)-0,392 |
| BUF_SIZE | 0 | n | (-1)-0,392 |
| DATA_SOURCE | 0 | n | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/of/platform.c of_platform_depopulate() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 1-u64max |
| PARAM_VALUE | 1 | flag | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | n | unit_byte |
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/of/platform.c of_platform_device_destroy() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 1-u64max |
| PARAM_VALUE | 1 | flag | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | n | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/of/platform.c of_platform_device_destroy() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | n | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/of/platform.c of_platform_notify() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flag | 4 |
| UNITS | 0 | n | unit_byte |
drivers/of/platform.c of_platform_notify() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 3 |
| UNITS | 0 | n | unit_byte |
drivers/of/platform.c of_platform_notify() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flag | 3 |
| UNITS | 0 | n | unit_byte |
drivers/pci/of.c of_pci_remove_host_bridge_node() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 1-u64max |
| PARAM_VALUE | 1 | flag | 1 |
| DATA_SOURCE | 0 | n | r pci_bus_to_OF_node |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/of.c of_pci_remove_node() -> of_node_check_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 1-u64max |
| PARAM_VALUE | 1 | flag | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | n | unit_byte |