Searched refs:TLV_SPACE (Results 1 – 2 of 2) sorted by relevance
253 #define TLV_SPACE(datalen) (TLV_ALIGN(TLV_LENGTH(datalen))) macro267 return (space >= TLV_SPACE(0)) && in TLV_OK()308 memset((char *)TLV_DATA(tlv_ptr) + len, 0, TLV_SPACE(len) - tlv_len); in TLV_SET()310 return TLV_SPACE(len); in TLV_SET()
50 #define TIPC_SKB_MAX TLV_SPACE(ULTRA_STRING_MAX_LEN)94 return TLV_GET_LEN(tlv) - TLV_SPACE(0); in TLV_GET_DATA_LEN()101 if (tipc_skb_tailroom(skb) < TLV_SPACE(len)) in tipc_add_tlv()104 skb_put(skb, TLV_SPACE(len)); in tipc_add_tlv()105 memset(tlv, 0, TLV_SPACE(len)); in tipc_add_tlv()154 size = TLV_SPACE(size); in tipc_tlv_alloc()1206 msg->rep_size = MAX_BEARERS * TLV_SPACE(TIPC_MAX_BEARER_NAME); in tipc_nl_compat_handle()1260 msg->rep_size = MAX_MEDIA * TLV_SPACE(TIPC_MAX_MEDIA_NAME); in tipc_nl_compat_handle()