Searched refs:TLV_SPACE (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/net/tipc/
H A Dnetlink_compat.c49 #define TIPC_SKB_MAX TLV_SPACE(ULTRA_STRING_MAX_LEN)
92 if (tipc_skb_tailroom(skb) < TLV_SPACE(len)) tipc_add_tlv()
95 skb_put(skb, TLV_SPACE(len)); tipc_add_tlv()
143 size = TLV_SPACE(size); tipc_tlv_alloc()
160 buf = tipc_tlv_alloc(TLV_SPACE(str_len)); tipc_get_err_tlv()
917 msg->rep_size = MAX_BEARERS * TLV_SPACE(TIPC_MAX_BEARER_NAME); tipc_nl_compat_handle()
971 msg->rep_size = MAX_MEDIA * TLV_SPACE(TIPC_MAX_MEDIA_NAME); tipc_nl_compat_handle()
/linux-4.1.27/include/uapi/linux/
H A Dtipc_config.h251 #define TLV_SPACE(datalen) (TLV_ALIGN(TLV_LENGTH(datalen))) macro
265 return (space >= TLV_SPACE(0)) && TLV_OK()
306 return TLV_SPACE(len); TLV_SET()

Completed in 132 milliseconds