Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 33 files:

Smatch caller information:

drivers/tty/serial/8250/8250_ingenic.c ingenic_early_console_setup_clock() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 1 nodeoffset 0
PARAM_VALUE 2 name 6543120947808800768
PARAM_VALUE 3 lenp 0
BUF_SIZE 2 name 16
DATA_SOURCE 1 nodeoffset r fdt_path_offset
STR_LEN 0 fdt 15
TERMINATED 2 name 1

drivers/of/kexec.c of_kexec_alloc_and_setup_fdt() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 0 fdt 4096-ptr_max
PARAM_VALUE 0 fdt->totalsize 0-4294967295
PARAM_VALUE 0 fdt->version 17
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 3493725052800430080
PARAM_VALUE 3 lenp 5570074164127465472
BUF_SIZE 0 fdt 0-u64max
BUF_SIZE 2 name 19
CAPPED_DATA 0 fdt 1
DATA_SOURCE 0 fdt r __kvmalloc_node_noprof
STR_LEN 0 fdt 18
TERMINATED 2 name 1

drivers/of/kexec.c of_kexec_alloc_and_setup_fdt() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 0 fdt 4096-ptr_max
PARAM_VALUE 0 fdt->totalsize 0-4294967295
PARAM_VALUE 0 fdt->version 17
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 766641222270496768
PARAM_VALUE 3 lenp 5570074164127465472
BUF_SIZE 0 fdt 0-u64max
BUF_SIZE 2 name 17
CAPPED_DATA 0 fdt 1
DATA_SOURCE 0 fdt r __kvmalloc_node_noprof
STR_LEN 0 fdt 16
TERMINATED 2 name 1

drivers/of/kexec.c remove_ima_buffer() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 0 fdt 4096-ptr_max
PARAM_VALUE 0 fdt->size_dt_strings 0-4294967295
PARAM_VALUE 0 fdt->size_dt_struct 0-4294967295
PARAM_VALUE 0 fdt->totalsize 0-4294967295
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 6172574800061636608
PARAM_VALUE 3 lenp 6518619508988375040
BUF_SIZE 2 name 23
CAPPED_DATA 0 fdt 1
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset $1
STR_LEN 0 fdt 22
TERMINATED 2 name 1

lib/fdt_wip.c fdt_setprop_inplace() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 3 lenp 1973196514368266240
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset $1
DATA_SOURCE 2 name $2

drivers/of/fdt.c of_fdt_limit_memory() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 2 name 2028916093784371200
PARAM_VALUE 3 lenp 4729041368650100736
BUF_SIZE 2 name 4
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 1 nodeoffset r fdt_path_offset
STR_LEN 0 fdt 3
BIT_INFO 1 nodeoffset 0x0,0x0
TERMINATED 2 name 1

drivers/of/fdt.c of_get_flat_dt_prop() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 2 name 4096-ptr_max
PARAM_VALUE 3 lenp 0,1772021144189202432,2314107694172401664,3931897879706497024,8041022004670083072
BUF_SIZE 2 name 4-5,7,9-20,26
BUF_SIZE 2 name 4-5,7,9-20,26
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 1 nodeoffset $0
DATA_SOURCE 2 name $1
DATA_SOURCE 3 lenp $2
STR_LEN 0 fdt 3-4,6,8-19,25
STR_LEN 1 nodeoffset (-1),17
STR_LEN 2 name (-1),17
NO_OVERFLOW_SIMPLE 1 nodeoffset

lib/fdt_ro.c fdt_get_phandle() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 2 name 9181771710616899584
PARAM_VALUE 3 lenp 3460802471075950592
BUF_SIZE 2 name 8
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset $1
STR_LEN 0 fdt 7
TERMINATED 2 name 1

lib/fdt_ro.c fdt_get_phandle() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 2 name 8455113042186268672
PARAM_VALUE 3 lenp 3460802471075950592
BUF_SIZE 2 name 14
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset $1
STR_LEN 0 fdt 13
TERMINATED 2 name 1

lib/fdt_ro.c fdt_node_check_compatible() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 4525827905242320896
PARAM_VALUE 3 lenp 1506738077412556800
BUF_SIZE 2 name 11
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset $1
STR_LEN 0 fdt (-1),6,11,14
STR_LEN 0 fdt (-1),6,11,14
STR_LEN 1 nodeoffset 10
TERMINATED 2 name 1

lib/fdt_ro.c fdt_node_offset_by_prop_value() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 3 lenp 4284325672628776960
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 0 fdt $0
DATA_SOURCE 2 name $2

lib/fdt_ro.c fdt_stringlist_count() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 3 lenp 2729576403880796160
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset $1
DATA_SOURCE 2 name $2

lib/fdt_ro.c fdt_stringlist_get() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 2 name 940151621414920192,4525827905242320896,5247305987737841664,5962537540789329920,6675539804180074496,7923835490030014464
PARAM_VALUE 3 lenp 4664828068933242880
BUF_SIZE 2 name 6-7,11-12,18
BUF_SIZE 2 name 6-7,11-12,18
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset $1
DATA_SOURCE 2 name $2
STR_LEN 0 fdt 5-6,10-11,17
STR_LEN 0 fdt 5-6,10-11,17
TERMINATED 2 name 1
RX_PATH
TASK_NOT_RUNNING

lib/fdt_ro.c fdt_stringlist_search() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 3 lenp 226722230612422656
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset $1
DATA_SOURCE 2 name $2

lib/test_kho.c kho_test_restore() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 1 nodeoffset 0
PARAM_VALUE 2 name 8617657459760386048
PARAM_VALUE 3 lenp 386625304769409024
BUF_SIZE 2 name 6
DATA_SOURCE 0 fdt r phys_to_virt
DATA_SOURCE 1 nodeoffset r fdt_path_offset
STR_LEN 0 fdt 5
TERMINATED 2 name 1

lib/test_kho.c kho_test_restore_data() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 1 nodeoffset s32min-0
PARAM_VALUE 2 name 1603646577221337088
PARAM_VALUE 3 lenp 126160154017267712
BUF_SIZE 2 name 10
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset r fdt_path_offset
STR_LEN 0 fdt 9
TERMINATED 2 name 1

lib/test_kho.c kho_test_restore_data() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 1 nodeoffset s32min-0
PARAM_VALUE 2 name 5433328364907216896
PARAM_VALUE 3 lenp 126160154017267712
PARAM_VALUE 3 *lenp 4
BUF_SIZE 2 name 5
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset r fdt_path_offset
STR_LEN 0 fdt 4
TERMINATED 2 name 1

lib/test_kho.c kho_test_restore_data() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 1 nodeoffset s32min-0
PARAM_VALUE 2 name 6520547876353785856
PARAM_VALUE 3 lenp 126160154017267712
PARAM_VALUE 3 *lenp 4
BUF_SIZE 2 name 12
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset r fdt_path_offset
STR_LEN 0 fdt 11
TERMINATED 2 name 1

kernel/liveupdate/kexec_handover_debugfs.c kho_in_debugfs_init() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 0 fdt 4096-ptr_max
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 1601392305949667328
PARAM_VALUE 3 lenp 650918009081434112
PARAM_VALUE 3 *lenp 0
BUF_SIZE 2 name 15
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 0 fdt $1
STR_LEN 0 fdt 14
TERMINATED 2 name 1

kernel/liveupdate/kexec_handover_debugfs.c kho_in_debugfs_init() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 0 fdt 4096-ptr_max
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 8085629113291464704
PARAM_VALUE 3 lenp 650918009081434112
PARAM_VALUE 3 *lenp 8
BUF_SIZE 2 name 10
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 0 fdt $1
STR_LEN 0 fdt 9
TERMINATED 2 name 1

mm/memblock.c reserve_mem_kho_revive() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 0 fdt 1-u64max
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 8233018453138296832
PARAM_VALUE 3 lenp 5984595576391344128
BUF_SIZE 2 name 6
DATA_SOURCE 0 fdt r reserve_mem_kho_retrieve_fdt
DATA_SOURCE 1 nodeoffset r fdt_subnode_offset
STR_LEN 0 fdt 5
TERMINATED 2 name 1
HALF_LOCKED2 irq

mm/memblock.c reserve_mem_kho_revive() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 0 fdt 1-u64max
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 2448912641491230720
PARAM_VALUE 3 lenp 752569829557440512
BUF_SIZE 2 name 5
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 0 fdt r reserve_mem_kho_retrieve_fdt
DATA_SOURCE 1 nodeoffset r fdt_subnode_offset
STR_LEN 0 fdt 4
TERMINATED 2 name 1
HALF_LOCKED2 irq

drivers/of/fdt_address.c fdt_bus_default_count_cells() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 494702969815814144
PARAM_VALUE 3 lenp 0
BUF_SIZE 2 name 15
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset $1
STR_LEN 0 fdt 14
TERMINATED 2 name 1

drivers/of/fdt_address.c fdt_bus_default_count_cells() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 476982733243572224
PARAM_VALUE 3 lenp 0
BUF_SIZE 2 name 12
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset $1
STR_LEN 0 fdt 11
TERMINATED 2 name 1

drivers/of/fdt_address.c fdt_translate_address() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 1 nodeoffset 0
PARAM_VALUE 2 name 2028916093784371200
PARAM_VALUE 3 lenp 4904550482948718592
BUF_SIZE 2 name 4
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset $1
STR_LEN 0 fdt 3
TERMINATED 2 name 1

drivers/of/fdt_address.c fdt_translate_one() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 3503084907264024576
PARAM_VALUE 3 lenp 7431576168813531136
BUF_SIZE 2 name 7
BUF_SIZE 2 name 7
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset $1
DATA_SOURCE 2 name $8
STR_LEN 0 fdt 6
STR_LEN 0 fdt 6
TERMINATED 2 name 1

lib/fdt_addresses.c fdt_cells() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 0 fdt 4096-ptr_max
PARAM_VALUE 0 fdt->totalsize 0-4294967295
PARAM_VALUE 1 nodeoffset 0
PARAM_VALUE 2 name 476982733243572224,494702969815814144
PARAM_VALUE 3 lenp 5090907865287155712
BUF_SIZE 2 name 12,15
BUF_SIZE 2 name 12,15
DATA_SOURCE 0 fdt $0
DATA_SOURCE 1 nodeoffset $1
DATA_SOURCE 2 name $2
STR_LEN 0 fdt 13,16-17,22,25
STR_LEN 0 fdt 13,16-17,22,25
STR_LEN 1 nodeoffset 11,14
TERMINATED 2 name 1

kernel/liveupdate/kexec_handover.c kho_get_mem_map_phys() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 1 nodeoffset 0
PARAM_VALUE 2 name 1905860594595217408
PARAM_VALUE 3 lenp 2986306926677278720
BUF_SIZE 2 name 21
DATA_SOURCE 0 fdt $0
STR_LEN 0 fdt 20
TERMINATED 2 name 1

kernel/liveupdate/kexec_handover.c kho_remove_subtree() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 0 fdt 18379471554275704832,18446612682070032384
PARAM_VALUE 0 fdt->totalsize 0-4294967295
PARAM_VALUE 0 fdt->version 17
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 1601392305949667328
PARAM_VALUE 3 lenp 292011952903892992
BUF_SIZE 2 name 15
CAPPED_DATA 0 fdt 1
CAPPED_DATA 1 nodeoffset 1
STR_LEN 0 fdt 14
TERMINATED 2 name 1
LOCK2 _T->lock

kernel/liveupdate/kexec_handover.c kho_retrieve_subtree() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 0 fdt 1-u64max
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 1601392305949667328
PARAM_VALUE 3 lenp 4476945266438799360
BUF_SIZE 2 name 15
DATA_SOURCE 0 fdt r kho_get_fdt
DATA_SOURCE 1 nodeoffset r fdt_subnode_offset
STR_LEN 0 fdt 14
TERMINATED 2 name 1

kernel/liveupdate/kexec_handover.c kho_retrieve_subtree() -> fdt_getprop()

Type Parameter Key Value
PARAM_VALUE 0 fdt 1-u64max
PARAM_VALUE 1 nodeoffset 0-s32max
PARAM_VALUE 2 name 8085629113291464704
PARAM_VALUE 3 lenp 4476945266438799360
PARAM_VALUE 3 *lenp 8
BUF_SIZE 2 name 10
CAPPED_DATA 1 nodeoffset 1
DATA_SOURCE 0 fdt r kho_get_fdt
DATA_SOURCE 1 nodeoffset r fdt_subnode_offset
STR_LEN 0 fdt 9
TERMINATED 2 name 1