Lines Matching refs:text
137 property->value.text = kcalloc(property->length, sizeof(u32), in tb_property_parse()
139 if (!property->value.text) { in tb_property_parse()
143 parse_dwdata(property->value.text, block + entry->value, in tb_property_parse()
146 property->value.text[property->length * 4 - 1] = '\0'; in tb_property_parse()
275 kfree(property->value.text); in tb_property_free()
455 format_dwdata(&block[data_offset], property->value.text, in __tb_property_format_dir()
549 p->value.text = kzalloc(p->length * 4, GFP_KERNEL); in tb_property_copy_dir()
550 if (!p->value.text) in tb_property_copy_dir()
552 strcpy(p->value.text, property->value.text); in tb_property_copy_dir()
647 const char *text) in tb_property_add_text() argument
650 size_t size = round_up(strlen(text) + 1, 4); in tb_property_add_text()
661 property->value.text = kzalloc(size, GFP_KERNEL); in tb_property_add_text()
662 if (!property->value.text) { in tb_property_add_text()
667 strcpy(property->value.text, text); in tb_property_add_text()