Searched refs:TLV_SPACE (Results 1 – 2 of 2) sorted by relevance
251 #define TLV_SPACE(datalen) (TLV_ALIGN(TLV_LENGTH(datalen))) macro265 return (space >= TLV_SPACE(0)) && in TLV_OK()306 return TLV_SPACE(len); in TLV_SET()
49 #define TIPC_SKB_MAX TLV_SPACE(ULTRA_STRING_MAX_LEN)94 if (tipc_skb_tailroom(skb) < TLV_SPACE(len)) in tipc_add_tlv()97 skb_put(skb, TLV_SPACE(len)); in tipc_add_tlv()145 size = TLV_SPACE(size); in tipc_tlv_alloc()162 buf = tipc_tlv_alloc(TLV_SPACE(str_len)); in tipc_get_err_tlv()1008 msg->rep_size = MAX_BEARERS * TLV_SPACE(TIPC_MAX_BEARER_NAME); in tipc_nl_compat_handle()1062 msg->rep_size = MAX_MEDIA * TLV_SPACE(TIPC_MAX_MEDIA_NAME); in tipc_nl_compat_handle()