Lines Matching refs:F_ALN_LEN
388 #define F_ALN_LEN(len) ( ((len)+ForCES_ALNL-1) & ~(ForCES_ALNL-1) ) macro
390 #define TLV_SET_LEN(len) (F_ALN_LEN(TLV_HDRL) + (len))
391 #define TLV_ALN_LEN(len) F_ALN_LEN(TLV_SET_LEN(len))
394 #define GO_NXT_TLV(tlv,rlen) ((rlen) -= F_ALN_LEN(EXTRACT_16BITS(&(tlv)->length)), \
396 + F_ALN_LEN(EXTRACT_16BITS(&(tlv)->length))))
397 #define ILV_SET_LEN(len) (F_ALN_LEN(ILV_HDRL) + (len))
398 #define ILV_ALN_LEN(len) F_ALN_LEN(ILV_SET_LEN(len))
401 #define GO_NXT_ILV(ilv,rlen) ((rlen) -= F_ALN_LEN(EXTRACT_32BITS(&(ilv)->length)), \
403 + F_ALN_LEN(EXTRACT_32BITS(&(ilv)->length))))
425 if (rlen < F_ALN_LEN(EXTRACT_16BITS(&tlv->length))) in tlv_valid()
439 if (rlen < F_ALN_LEN(EXTRACT_32BITS(&ilv->length))) in ilv_valid()
941 aln = F_ALN_LEN(EXTRACT_16BITS(&pdtlv->length)); in pdatacnt_print()