Searched refs:TLV_SPACE (Results 1 – 8 of 8) sorted by relevance
65 int new_tlv_space = TLV_SPACE(tlv_data_size); in tipc_cfg_append_tlv()82 buf = tipc_cfg_reply_alloc(TLV_SPACE(sizeof(value))); in tipc_cfg_reply_unsigned_type()101 buf = tipc_cfg_reply_alloc(TLV_SPACE(string_len)); in tipc_cfg_reply_string_type()124 buf = tipc_cfg_reply_alloc(TLV_SPACE(MAX_STATS_INFO)); in tipc_show_stats()136 skb_put(buf, TLV_SPACE(str_len)); in tipc_show_stats()
338 reply = tipc_cfg_reply_alloc(TLV_SPACE(str_len)); in tipc_log_dump()346 skb_put(reply, TLV_SPACE(str_len)); in tipc_log_dump()
400 payload_size = TLV_SPACE(sizeof(node_info)) * tipc_num_nodes; in tipc_node_get_nodes()450 payload_size = TLV_SPACE(sizeof(link_info)) * in tipc_node_get_links()
211 buf = tipc_cfg_reply_alloc(MAX_MEDIA * TLV_SPACE(TIPC_MAX_MEDIA_NAME)); in tipc_media_get_names()323 buf = tipc_cfg_reply_alloc(MAX_BEARERS * TLV_SPACE(TIPC_MAX_BEARER_NAME)); in tipc_bearer_get_names()
989 buf = tipc_cfg_reply_alloc(TLV_SPACE(MAX_NAME_TBL_QUERY)); in tipc_nametbl_get()1002 skb_put(buf, TLV_SPACE(str_len)); in tipc_nametbl_get()
621 buf = tipc_cfg_reply_alloc(TLV_SPACE(MAX_PORT_QUERY)); in tipc_port_get_ports()636 skb_put(buf, TLV_SPACE(str_len)); in tipc_port_get_ports()
2915 buf = tipc_cfg_reply_alloc(TLV_SPACE(MAX_LINK_STATS_INFO)); in tipc_link_cmd_show_stats()2928 skb_put(buf, TLV_SPACE(str_len)); in tipc_link_cmd_show_stats()
255 #define TLV_SPACE(datalen) (TLV_ALIGN(TLV_LENGTH(datalen))) macro269 return (space >= TLV_SPACE(0)) && in TLV_OK()290 return TLV_SPACE(len); in TLV_SET()