Searched refs:max_buf_size (Results 1 – 5 of 5) sorted by relevance
472 int max_buf_size; /* Max size of packet output buffer */ local481 max_buf_size = min (remote_write_size, PBUFSIZ);483 max_buf_size = min (max_buf_size, remote_register_buf_size);486 max_buf_size -= 2 + hexnumlen (memaddr + len - 1) + 1 + hexnumlen (len) + 4;502 todo = min (len, max_buf_size);507 todo = min (len, max_buf_size / 2); /* num bytes that will fit */525 (i < todo) && (i + escaped) < (max_buf_size - 2);
110 if (dfu->max_buf_size && dfu_buf_size > dfu->max_buf_size) in dfu_get_buf()111 dfu_buf_size = dfu->max_buf_size; in dfu_get_buf()395 dfu->max_buf_size = 0; in dfu_fill_entity()
128 dfu->max_buf_size = dfu->data.sf.dev->sector_size; in dfu_fill_entity_sf()
2935 max_buf_size = 650002937 … max_buf_size = self._dialects_parameters['MaxBufferSize'] & ~0x3ff # Read in multiple KB blocks2941 data = self.read_andx(tid, fid, read_offset, max_buf_size)2948 max_buf_size = 650002950 … max_buf_size = self._dialects_parameters['MaxBufferSize'] & ~0x3ff # Write in multiple KB blocks2954 data = callback(max_buf_size)4011 max_buf_size = 650004013 … max_buf_size = self._dialects_parameters['MaxBufferSize'] & ~0x3ff # Write in multiple KB blocks4019 writeData = data[:max_buf_size]4020 data = data[max_buf_size:]
103 unsigned long max_buf_size; member