• Home
  • Raw
  • Download

Lines Matching refs:buf

53 int tipc_skb_dump(struct sk_buff *skb, bool more, char *buf)  in tipc_skb_dump()  argument
61 i += scnprintf(buf, sz, "msg: (null)\n"); in tipc_skb_dump()
69 i += scnprintf(buf, sz, "msg: %u", msg_user(hdr)); in tipc_skb_dump()
70 i += scnprintf(buf + i, sz - i, " %u", msg_type(hdr)); in tipc_skb_dump()
71 i += scnprintf(buf + i, sz - i, " %u", msg_hdr_sz(hdr)); in tipc_skb_dump()
72 i += scnprintf(buf + i, sz - i, " %u", msg_data_sz(hdr)); in tipc_skb_dump()
73 i += scnprintf(buf + i, sz - i, " %x", msg_orignode(hdr)); in tipc_skb_dump()
74 i += scnprintf(buf + i, sz - i, " %x", msg_destnode(hdr)); in tipc_skb_dump()
75 i += scnprintf(buf + i, sz - i, " %u", msg_seqno(hdr)); in tipc_skb_dump()
76 i += scnprintf(buf + i, sz - i, " %u", msg_ack(hdr)); in tipc_skb_dump()
77 i += scnprintf(buf + i, sz - i, " %u", msg_bcast_ack(hdr)); in tipc_skb_dump()
80 i += scnprintf(buf + i, sz - i, " %c", msg_net_plane(hdr)); in tipc_skb_dump()
81 i += scnprintf(buf + i, sz - i, " %u", msg_probe(hdr)); in tipc_skb_dump()
82 i += scnprintf(buf + i, sz - i, " %u", msg_peer_stopping(hdr)); in tipc_skb_dump()
83 i += scnprintf(buf + i, sz - i, " %u", msg_session(hdr)); in tipc_skb_dump()
84 i += scnprintf(buf + i, sz - i, " %u", msg_next_sent(hdr)); in tipc_skb_dump()
85 i += scnprintf(buf + i, sz - i, " %u", msg_seq_gap(hdr)); in tipc_skb_dump()
86 i += scnprintf(buf + i, sz - i, " %u", msg_bc_snd_nxt(hdr)); in tipc_skb_dump()
87 i += scnprintf(buf + i, sz - i, " %u", msg_bc_gap(hdr)); in tipc_skb_dump()
95 i += scnprintf(buf + i, sz - i, " | %u", msg_origport(hdr)); in tipc_skb_dump()
96 i += scnprintf(buf + i, sz - i, " %u", msg_destport(hdr)); in tipc_skb_dump()
99 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
101 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
105 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
107 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
109 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
115 i += scnprintf(buf + i, sz - i, " | %u", in tipc_skb_dump()
117 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
119 i += scnprintf(buf + i, sz - i, " %u", msg_errcode(hdr)); in tipc_skb_dump()
120 i += scnprintf(buf + i, sz - i, " %u", msg_reroute_cnt(hdr)); in tipc_skb_dump()
127 i += scnprintf(buf + i, sz - i, "\n"); in tipc_skb_dump()
132 i += scnprintf(buf + i, sz - i, "skb: %s", in tipc_skb_dump()
134 i += scnprintf(buf + i, sz - i, " %u", skb->len); in tipc_skb_dump()
135 i += scnprintf(buf + i, sz - i, " %u", skb->data_len); in tipc_skb_dump()
136 i += scnprintf(buf + i, sz - i, " %u", skb->hdr_len); in tipc_skb_dump()
137 i += scnprintf(buf + i, sz - i, " %u", skb->truesize); in tipc_skb_dump()
138 i += scnprintf(buf + i, sz - i, " %u", skb_cloned(skb)); in tipc_skb_dump()
139 i += scnprintf(buf + i, sz - i, " %p", skb->sk); in tipc_skb_dump()
140 i += scnprintf(buf + i, sz - i, " %u", skb_shinfo(skb)->nr_frags); in tipc_skb_dump()
141 i += scnprintf(buf + i, sz - i, " %llx", in tipc_skb_dump()
143 i += scnprintf(buf + i, sz - i, " %llx\n", in tipc_skb_dump()
147 i += scnprintf(buf + i, sz - i, "cb[]: %u", skbcb->bytes_read); in tipc_skb_dump()
148 i += scnprintf(buf + i, sz - i, " %u", skbcb->orig_member); in tipc_skb_dump()
149 i += scnprintf(buf + i, sz - i, " %u", in tipc_skb_dump()
151 i += scnprintf(buf + i, sz - i, " %u", skbcb->validated); in tipc_skb_dump()
152 i += scnprintf(buf + i, sz - i, " %u", skbcb->chain_imp); in tipc_skb_dump()
153 i += scnprintf(buf + i, sz - i, " %u\n", skbcb->ackers); in tipc_skb_dump()
166 int tipc_list_dump(struct sk_buff_head *list, bool more, char *buf) in tipc_list_dump() argument
174 i += scnprintf(buf, sz, "(null)\n"); in tipc_list_dump()
179 i += scnprintf(buf, sz, "len = %d\n", len); in tipc_list_dump()
186 i += scnprintf(buf + i, sz - i, " head "); in tipc_list_dump()
187 i += tipc_skb_dump(hskb, false, buf + i); in tipc_list_dump()
190 i += scnprintf(buf + i, sz - i, " tail "); in tipc_list_dump()
191 i += tipc_skb_dump(tskb, false, buf + i); in tipc_list_dump()
198 i += scnprintf(buf + i, sz - i, " .\n .\n"); in tipc_list_dump()
201 i += scnprintf(buf + i, sz - i, " #%d ", count); in tipc_list_dump()
202 i += tipc_skb_dump(skb, false, buf + i); in tipc_list_dump()