Lines Matching refs:tag
50 uint32_t *end; /* End tag position */
66 uint32_t dword, tag;
69 tag = __LE_TO_CPU_32(dword);
71 return (tag);
110 * TLV item DWORD length is tag + length + value (rounded up to DWORD)
138 /* No more tags after END tag */
184 __in uint32_t tag)
190 if (tlv_tag(cursor) == tag)
215 /* Check current item has space for tag and length */
222 /* Check we have value data for current item and another tag */
306 /* Return space used (including the END tag) */
321 __in uint32_t tag,
330 *ptr++ = __CPU_TO_LE_32(tag);
345 __in uint32_t tag,
358 if (tag == TLV_TAG_END) {
377 tlv_write(cursor, tag, data, size);
396 __in uint32_t tag,
413 if (tlv_tag(cursor) != tag) {
458 tlv_write(cursor, tag, data, size);
511 /* Check TLV partition length (includes the END tag) */
615 /* Check TLV partition length (includes the END tag) */
706 __in uint32_t tag,
721 /* Find requested TLV tag in partition data */
727 if ((rc = tlv_find(&cursor, tag)) != 0) {
770 __in uint32_t tag,
816 tag, &data, &length)) != 0)
850 __in uint32_t tag,
876 if ((rc = tlv_find(&cursor, tag)) == 0) {
878 if ((rc = tlv_modify(&cursor, tag,
888 if ((rc = tlv_insert(&cursor, tag,
895 /* Find the trailer tag */
942 __in uint32_t tag,
976 tag, data, size, &total_length)) != 0)