Lines Matching refs:segment
85 size_t segment; in at25_ee_read() local
100 segment = min(bytes_left, max_chunk); in at25_ee_read()
133 t[1].len = segment; in at25_ee_read()
143 msg_offset += segment; in at25_ee_read()
144 buf += segment; in at25_ee_read()
145 bytes_left -= segment; in at25_ee_read()
229 unsigned segment; in at25_ee_write() local
262 segment = buf_size - (offset % buf_size); in at25_ee_write()
263 if (segment > count) in at25_ee_write()
264 segment = count; in at25_ee_write()
265 if (segment > maxsz) in at25_ee_write()
266 segment = maxsz; in at25_ee_write()
267 memcpy(cp, buf, segment); in at25_ee_write()
269 segment + at25->addrlen + 1); in at25_ee_write()
271 segment, offset, status); in at25_ee_write()
300 segment, offset, in at25_ee_write()
307 off += segment; in at25_ee_write()
308 buf += segment; in at25_ee_write()
309 count -= segment; in at25_ee_write()