Lines Matching refs:msglen
69 uint16_t msglen; in dlm_process_incoming_buffer() local
81 msglen = le16_to_cpu(p->header.h_length); in dlm_process_incoming_buffer()
85 if (msglen < sizeof(struct dlm_header)) in dlm_process_incoming_buffer()
88 if (msglen < sizeof(struct dlm_message)) in dlm_process_incoming_buffer()
91 if (msglen < sizeof(struct dlm_rcom)) in dlm_process_incoming_buffer()
95 if (msglen > dlm_config.ci_buffer_size) { in dlm_process_incoming_buffer()
97 msglen, nodeid, len); in dlm_process_incoming_buffer()
107 if (msglen > len) in dlm_process_incoming_buffer()
114 if (msglen > sizeof(__tmp) && p == &__tmp.p) { in dlm_process_incoming_buffer()
120 copy_from_cb(p, base, offset, msglen, limit); in dlm_process_incoming_buffer()
124 ret += msglen; in dlm_process_incoming_buffer()
125 offset += msglen; in dlm_process_incoming_buffer()
127 len -= msglen; in dlm_process_incoming_buffer()