Home
last modified time | relevance | path

Searched refs:str_len (Results 1 – 4 of 4) sorted by relevance

/net/tipc/
Dconfig.c111 int str_len; in tipc_show_stats() local
129 str_len = tipc_snprintf(pb, pb_len, "TIPC version " TIPC_MOD_VER "\n"); in tipc_show_stats()
130 str_len += 1; /* for "\0" */ in tipc_show_stats()
131 skb_put(buf, TLV_SPACE(str_len)); in tipc_show_stats()
132 TLV_SET(rep_tlv, TIPC_TLV_ULTRA_STRING, NULL, str_len); in tipc_show_stats()
Dname_table.c915 int str_len; in tipc_nametbl_get() local
929 str_len = nametbl_list(pb, pb_len, ntohl(argv->depth), in tipc_nametbl_get()
933 str_len += 1; /* for "\0" */ in tipc_nametbl_get()
934 skb_put(buf, TLV_SPACE(str_len)); in tipc_nametbl_get()
935 TLV_SET(rep_tlv, TIPC_TLV_ULTRA_STRING, NULL, str_len); in tipc_nametbl_get()
Dsocket.c2258 int str_len = 0; in tipc_sk_socks_show() local
2271 str_len += tipc_sk_show(tsk, pb + str_len, in tipc_sk_socks_show()
2272 pb_len - str_len, 0); in tipc_sk_socks_show()
2276 str_len += 1; /* for "\0" */ in tipc_sk_socks_show()
2277 skb_put(buf, TLV_SPACE(str_len)); in tipc_sk_socks_show()
2278 TLV_SET(rep_tlv, TIPC_TLV_ULTRA_STRING, NULL, str_len); in tipc_sk_socks_show()
Dlink.c2303 int str_len; in tipc_link_cmd_show_stats() local
2317 str_len = tipc_link_stats((char *)TLV_DATA(req_tlv_area), in tipc_link_cmd_show_stats()
2319 if (!str_len) { in tipc_link_cmd_show_stats()
2323 str_len += 1; /* for "\0" */ in tipc_link_cmd_show_stats()
2324 skb_put(buf, TLV_SPACE(str_len)); in tipc_link_cmd_show_stats()
2325 TLV_SET(rep_tlv, TIPC_TLV_ULTRA_STRING, NULL, str_len); in tipc_link_cmd_show_stats()