Lines Matching refs:msglen
42 uint16_t msglen; in dlm_process_incoming_buffer() local
51 msglen = get_unaligned_le16(&hd->h_length); in dlm_process_incoming_buffer()
52 if (msglen > DEFAULT_BUFFER_SIZE || in dlm_process_incoming_buffer()
53 msglen < sizeof(struct dlm_header)) { in dlm_process_incoming_buffer()
55 msglen, nodeid); in dlm_process_incoming_buffer()
62 if (msglen > len) in dlm_process_incoming_buffer()
67 if (msglen < sizeof(struct dlm_message)) { in dlm_process_incoming_buffer()
69 msglen); in dlm_process_incoming_buffer()
75 if (msglen < sizeof(struct dlm_rcom)) { in dlm_process_incoming_buffer()
77 msglen); in dlm_process_incoming_buffer()
95 memmove(buf, ptr, msglen); in dlm_process_incoming_buffer()
99 ret += msglen; in dlm_process_incoming_buffer()
100 len -= msglen; in dlm_process_incoming_buffer()
101 ptr += msglen; in dlm_process_incoming_buffer()