Lines Matching refs:length
47 display_buffer(char *buffer, int length) in display_buffer() argument
52 while (length > 0) { in display_buffer()
54 length--; in display_buffer()
70 pimfor_encode_header(int operation, u32 oid, u32 length, pimfor_header_t *h) in pimfor_encode_header() argument
77 h->length = cpu_to_be32(length); in pimfor_encode_header()
91 le32_to_cpus(&h->length); in pimfor_decode_header()
94 be32_to_cpus(&h->length); in pimfor_decode_header()
164 void *data, int length) in islpci_mgt_transmit() argument
176 int frag_len = length + PIMFOR_HEADER_SIZE; in islpci_mgt_transmit()
196 pimfor_encode_header(operation, oid, length, (pimfor_header_t *) p); in islpci_mgt_transmit()
200 memcpy(p, data, length); in islpci_mgt_transmit()
202 memset(p, 0, length); in islpci_mgt_transmit()
209 h->operation, oid, h->device_id, h->flags, length); in islpci_mgt_transmit()
213 display_buffer(p, length); in islpci_mgt_transmit()
337 header->flags, header->length); in islpci_mgt_receive()
342 header->length); in islpci_mgt_receive()
354 size = PIMFOR_HEADER_SIZE + header->length; in islpci_mgt_receive()
376 header->length); in islpci_mgt_receive()