Defined in 2 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/nvmem/layouts.c nvmem_layout_bus_populate() -> of_node_set_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
NOCHECK_CALL
HALF_LOCKED2 global &mtd_table_mutex

drivers/of/irq.c of_irq_init() -> of_node_set_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 3
NOCHECK_CALL

drivers/clk/clk.c of_clk_init() -> of_node_set_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 3
NOCHECK_CALL

drivers/of/fdt.c __unflatten_device_tree() -> of_node_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 1 flag 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &of_fdt_unflatten_mutex
HALF_LOCKED2 irq

drivers/mtd/mtdpart.c mtd_part_of_parse() -> of_node_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 n 1-u64max
PARAM_VALUE 1 flag 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/of/overlay.c add_changeset_node() -> of_node_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 1 flag 5
BUF_SIZE 0 n 392
BUF_SIZE 0 n->name s32min-(-2),1-s32max
DATA_SOURCE 0 n r __of_node_dup
STR_LEN 0 n->name (-1),6
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &of_mutex
HALF_LOCKED2 global &of_overlay_phandle_mutex

drivers/clocksource/renesas-ostm.c ostm_init() -> of_node_set_flag()

Type Parameter Key Value
PARAM_VALUE 1 flag 3
DATA_SOURCE 0 n $0 [m]
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 n unit_byte

drivers/of/dynamic.c __of_changeset_entry_destroy() -> of_node_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 1 flag 6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->list_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &of_mutex

drivers/of/dynamic.c __of_detach_node() -> of_node_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 1 flag 2
CAPPED_DATA 0 n 1
DATA_SOURCE 0 n $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 global &devtree_lock
LOCK2 global &of_mutex

drivers/of/dynamic.c __of_node_dup() -> of_node_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 1 flag 1
BUF_SIZE 0 n 392
DATA_SOURCE 0 n r _kzalloc_noprof
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/of/dynamic.c __of_node_dup() -> of_node_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 1 flag 2
BUF_SIZE 0 n 392
DATA_SOURCE 0 n r _kzalloc_noprof
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpio/gpiolib.c gpiochip_hog_lines() -> of_node_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 n 0,4096-ptr_max
PARAM_VALUE 1 flag 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &bank->deferred_lock
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &hdev->driver_input_lock

drivers/of/platform.c of_platform_bus_create() -> of_node_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
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
NOCHECK_CALL

drivers/of/platform.c of_platform_populate() -> of_node_set_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
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 n unit_byte

drivers/pci/of.c of_pci_make_host_bridge_node() -> of_node_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 1 flag 3
BUF_SIZE 0 n 392
DATA_SOURCE 0 n r of_changeset_create_node
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL