Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/mtd/parsers/ofpart_core.c parse_fixed_partitions() -> of_n_size_cells()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 np->kobj.release.work.entry.next->prev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/of/kexec.c get_addr_size_cells() -> of_n_size_cells()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
BUF_SIZE 0 np (-1)-0,392
BUF_SIZE 0 np (-1)-0,392
DATA_SOURCE 0 np r of_find_node_by_path

block/partitions/of.c add_of_partition() -> of_n_size_cells()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
DATA_SOURCE 0 np $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &disk->open_mutex
HALF_LOCKED2 &hd->open_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gendisk)->open_mutex

block/partitions/of.c validate_of_partition() -> of_n_size_cells()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
DATA_SOURCE 0 np $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &disk->open_mutex
HALF_LOCKED2 &hd->open_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gendisk)->open_mutex

drivers/of/address.c of_bus_default_count_cells() -> of_n_size_cells()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
BUF_SIZE 0 np (-1)-0,392
BUF_SIZE 0 np (-1)-0,392
DATA_SOURCE 0 np $0
STR_LEN 0 np (-1),7,9,12,16,31
STR_LEN 0 np (-1),7,9,12,16,31
RX_PATH
TASK_NOT_RUNNING