Searched refs:ROCKER_TLV_HDRLEN (Results 1 – 2 of 2) sorted by relevance
19 #define ROCKER_TLV_HDRLEN ROCKER_TLV_ALIGN(sizeof(struct rocker_tlv)) macro40 return remaining >= (int) ROCKER_TLV_HDRLEN && in rocker_tlv_ok()41 tlv->len >= ROCKER_TLV_HDRLEN && in rocker_tlv_ok()56 return ROCKER_TLV_HDRLEN + payload; in rocker_tlv_attr_size()76 return (char *) tlv + ROCKER_TLV_HDRLEN; in rocker_tlv_data()81 return tlv->len - ROCKER_TLV_HDRLEN; in rocker_tlv_len()
23 #define ROCKER_TLV_HDRLEN ROCKER_TLV_ALIGN(sizeof(RockerTlv)) macro44 return remaining >= (int) ROCKER_TLV_HDRLEN && in rocker_tlv_ok()45 le16_to_cpu(tlv->len) >= ROCKER_TLV_HDRLEN && in rocker_tlv_ok()59 return ROCKER_TLV_HDRLEN + payload; in rocker_tlv_size()79 return (char *) tlv + ROCKER_TLV_HDRLEN; in rocker_tlv_data()84 return le16_to_cpu(tlv->len) - ROCKER_TLV_HDRLEN; in rocker_tlv_len()