Searched refs:total_len (Results 1 – 6 of 6) sorted by relevance
59 size_t total_len, off_t offset) in setup_mmap_io_state() argument64 mio->resid = total_len; in setup_mmap_io_state()66 total_len / MMAP_ENTS); in setup_mmap_io_state()67 while (total_len > 0) { in setup_mmap_io_state()71 MIN((u_int64_t)total_len, (u_int64_t)slice); in setup_mmap_io_state()72 total_len -= mio->table[mio->num_entries].len; in setup_mmap_io_state()
775 uint32_t total_len; in add_attr() local792 total_len = attr_len - 4 + (uint16_t)sizeof(tSDP_DISC_ATTR); in add_attr()794 total_len = sizeof(tSDP_DISC_ATTR); in add_attr()797 total_len = (total_len + 3) & ~3; in add_attr()800 if (p_db->mem_free < total_len) return (NULL); in add_attr()820 total_len = 0; in add_attr()900 total_len = 0; in add_attr()940 p_db->p_free_mem += total_len; in add_attr()941 p_db->mem_free -= total_len; in add_attr()
1106 uint16_t total_len = 0; in USERIAL_Read() local1119 if ((pbuf_USERIAL_Read->len) <= (len - total_len)) in USERIAL_Read()1122 copy_len = (len - total_len); in USERIAL_Read()1124 memcpy((p_data + total_len), current_packet, copy_len); in USERIAL_Read()1126 total_len += copy_len; in USERIAL_Read()1137 if (pbuf_USERIAL_Read == NULL && (total_len < len)) in USERIAL_Read()1140 } while ((pbuf_USERIAL_Read != NULL) && (total_len < len)); in USERIAL_Read()1143 ALOGD("%s: returned %d bytes", __func__, total_len); in USERIAL_Read()1145 return total_len; in USERIAL_Read()
239 const size_t total_len = end_offset - start_offset; in WritePayload() local240 size_t remaining_len = total_len; in WritePayload()268 return (total_len - remaining_len); in WritePayload()
116 uint16_t ii, total_len, len; in process_read_multi_rsp() local165 total_len = (p_buf->len + p_rsp->attr_value.len); in process_read_multi_rsp()167 if (total_len > mtu) { in process_read_multi_rsp()169 len = p_rsp->attr_value.len - (total_len - mtu); in process_read_multi_rsp()
193 static constexpr size_t total_len = 80; variable222 std::max(size.length() + 1, EntryBaseConstants::total_len - in formatLine()