Lines Matching refs:tag

47 	uint32_t	*end;			/* End tag position */
63 uint32_t dword, tag;
66 tag = __LE_TO_CPU_32(dword);
68 return (tag);
107 * TLV item DWORD length is tag + length + value (rounded up to DWORD)
135 /* No more tags after END tag */
181 __in uint32_t tag)
187 if (tlv_tag(cursor) == tag)
212 /* Check current item has space for tag and length */
219 /* Check we have value data for current item and another tag */
303 /* Return space used (including the END tag) */
318 __in uint32_t tag,
327 *ptr++ = __CPU_TO_LE_32(tag);
342 __in uint32_t tag,
355 if (tag == TLV_TAG_END) {
374 tlv_write(cursor, tag, data, size);
393 __in uint32_t tag,
410 if (tlv_tag(cursor) != tag) {
455 tlv_write(cursor, tag, data, size);
508 /* Check TLV partition length (includes the END tag) */
607 /* A PARTITION_HEADER tag must be the first item at the given offset */
619 /* Check TLV segment length (includes the END tag) */
711 __in uint32_t tag,
726 /* Find requested TLV tag in segment data */
732 if ((rc = tlv_find(&cursor, tag)) != 0) {
773 __in uint32_t tag,
819 tag, &data, &length)) != 0)
860 /* A PARTITION_HEADER tag must be the first item at the given offset */
872 /* Check TLV segment length (includes the END tag) */
907 * max_seg_size and the total_length field in the HEADER tag.
921 /* Skip over the first HEADER tag. */
927 /* Check that the END tag is the one found earlier. */
932 /* Check for duplicate HEADER tags before the END tag. */
981 __in uint32_t tag,
994 /* A PARTITION_HEADER tag must be the first item (at offset zero) */
1007 if ((rc = tlv_find(&cursor, tag)) == 0) {
1009 if ((rc = tlv_modify(&cursor, tag,
1019 if ((rc = tlv_insert(&cursor, tag,
1026 /* Find the trailer tag */
1082 __in uint32_t tag,
1086 return ef10_nvram_partn_write_segment_tlv(enp, partn, tag, data,
1092 * and optionally write a new tag to it.
1098 __in uint32_t tag,
1131 *dest_remain_lenp, tag, data, size,
1181 __in uint32_t tag,
1219 rc = ef10_nvram_segment_write_tlv(enp, partn, tag, data, size,