Lines Matching refs:payload_length
1093 u32 payload_length = pdu_cb->dlen; in cxgbit_handle_nop_out() local
1123 if (payload_length && hdr->ttt == cpu_to_be32(0xFFFFFFFF)) { in cxgbit_handle_nop_out()
1124 ping_data = kzalloc(payload_length + 1, GFP_KERNEL); in cxgbit_handle_nop_out()
1133 ping_data, payload_length); in cxgbit_handle_nop_out()
1135 ping_data[payload_length] = '\0'; in cxgbit_handle_nop_out()
1140 cmd->buf_ptr_size = payload_length; in cxgbit_handle_nop_out()
1143 " data.\n", payload_length); in cxgbit_handle_nop_out()
1160 u32 payload_length = pdu_cb->dlen; in cxgbit_handle_text_cmd() local
1186 if (payload_length) { in cxgbit_handle_text_cmd()
1187 text_in = kzalloc(payload_length, GFP_KERNEL); in cxgbit_handle_text_cmd()
1190 payload_length); in cxgbit_handle_text_cmd()
1194 text_in, payload_length); in cxgbit_handle_text_cmd()
1196 text_in[payload_length - 1] = '\0'; in cxgbit_handle_text_cmd()