Searched refs:read_pos (Results 1 - 6 of 6) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/ipmi/ |
H A D | ipmi_kcs_sm.c | 114 int read_pos; member in struct:si_sm_data 131 kcs->read_pos = 0; 200 if (kcs->read_pos >= MAX_KCS_READ_SIZE) { 205 kcs->read_data[kcs->read_pos] = read_data(kcs); 206 (kcs->read_pos)++; 252 kcs->read_pos = 0; 284 kcs->read_pos = 0; 294 if (length < kcs->read_pos) { 295 kcs->read_pos = length; 299 memcpy(data, kcs->read_data, kcs->read_pos); [all...] |
H A D | ipmi_smic_sm.c | 116 int read_pos; member in struct:si_sm_data 130 smic->read_pos = 0; 164 smic->read_pos = 0; 177 for (i = 0; i < smic->read_pos; i ++) { 182 if (length < smic->read_pos) { 183 smic->read_pos = length; 186 memcpy(data, smic->read_data, smic->read_pos); 188 if ((length >= 3) && (smic->read_pos < 3)) { 190 smic->read_pos = 3; 196 return smic->read_pos; [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/ |
H A D | relay.c | 802 size_t read_pos, 815 if (!read_pos) 818 read_subbuf = read_pos / buf->chan->subbuf_size; 831 static int relay_file_read_avail(struct rchan_buf *buf, size_t read_pos) argument 838 relay_file_read_consume(buf, read_pos, 0); 866 * @read_pos: file read position 869 static size_t relay_file_read_subbuf_avail(size_t read_pos, argument 878 read_subbuf = read_pos / subbuf_size; 879 read_offset = read_pos % subbuf_size; 893 * @read_pos 801 relay_file_read_consume(struct rchan_buf *buf, size_t read_pos, size_t bytes_consumed) argument 900 relay_file_read_start_pos(size_t read_pos, struct rchan_buf *buf) argument 928 relay_file_read_end_pos(struct rchan_buf *buf, size_t read_pos, size_t count) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/ |
H A D | sendf.c | 551 size_t bytestocopy = CURLMIN(conn->buf_len - conn->read_pos, 556 memcpy(buf, conn->master_buffer + conn->read_pos, bytestocopy); 557 conn->read_pos += bytestocopy; 582 conn->read_pos = nread;
|
H A D | transfer.c | 315 DEBUGASSERT(conn->read_pos >= thismuch); 317 conn->read_pos -= thismuch; 325 show = CURLMIN(conn->buf_len - conn->read_pos, sizeof(buf)-1); 327 memcpy(buf, conn->master_buffer + conn->read_pos, show); 335 "Buffer after stream rewind (read_pos = %zu): [%s]", 336 conn->read_pos, buf));
|
H A D | urldata.h | 897 size_t read_pos; /* Current read position in the master buffer */ member in struct:connectdata
|
Completed in 78 milliseconds