Lines Matching refs:block_len
39 size_t block_len, unsigned int dir_offset, size_t dir_len,
53 size_t block_len) in tb_property_entry_valid() argument
59 if (entry->length > block_len) in tb_property_entry_valid()
61 if (entry->value + entry->length > block_len) in tb_property_entry_valid()
95 static struct tb_property *tb_property_parse(const u32 *block, size_t block_len, in tb_property_parse() argument
102 if (!tb_property_entry_valid(entry, block_len)) in tb_property_parse()
116 dir = __tb_property_parse_dir(block, block_len, entry->value, in tb_property_parse()
162 size_t block_len, unsigned int dir_offset, size_t dir_len, bool is_root) in __tb_property_parse_dir() argument
195 property = tb_property_parse(block, block_len, &entries[i]); in __tb_property_parse_dir()
221 size_t block_len) in tb_property_parse_dir() argument
228 if (rootdir->length > block_len) in tb_property_parse_dir()
231 return __tb_property_parse_dir(block, block_len, 0, rootdir->length, in tb_property_parse_dir()
349 u32 *block, unsigned int start_offset, size_t block_len) in __tb_property_format_dir() argument
408 if (dir_end > block_len) in __tb_property_format_dir()
437 block_len); in __tb_property_format_dir()
489 size_t block_len) in tb_property_format_dir() argument
500 ret = __tb_property_format_dir(dir, block, 0, block_len); in tb_property_format_dir()