Lines Matching refs:grab_buffer
798 meye.grab_buffer[reqnr].size = mchip_hsize() * mchip_vsize() * 2;
799 meye.grab_buffer[reqnr].state = MEYE_BUF_DONE;
800 do_gettimeofday(&meye.grab_buffer[reqnr].timestamp);
801 meye.grab_buffer[reqnr].sequence = sequence++;
818 meye.grab_buffer[reqnr].size = size;
819 meye.grab_buffer[reqnr].state = MEYE_BUF_DONE;
820 do_gettimeofday(&meye.grab_buffer[reqnr].timestamp);
821 meye.grab_buffer[reqnr].sequence = sequence++;
850 meye.grab_buffer[i].state = MEYE_BUF_UNUSED;
935 switch (meye.grab_buffer[*i].state) {
946 (meye.grab_buffer[*i].state != MEYE_BUF_USING))) {
952 meye.grab_buffer[*i].state = MEYE_BUF_UNUSED;
971 if (meye.grab_buffer[vm->frame].state != MEYE_BUF_UNUSED)
992 meye.grab_buffer[vm->frame].state = MEYE_BUF_USING;
1053 if (meye.grab_buffer[*nb].state != MEYE_BUF_UNUSED)
1058 meye.grab_buffer[*nb].state = MEYE_BUF_USING;
1072 switch (meye.grab_buffer[*i].state) {
1083 (meye.grab_buffer[*i].state != MEYE_BUF_USING))) {
1089 meye.grab_buffer[*i].state = MEYE_BUF_UNUSED;
1092 *i = meye.grab_buffer[*i].size;
1101 if (meye.grab_buffer[0].state != MEYE_BUF_UNUSED)
1104 meye.grab_buffer[0].state = MEYE_BUF_USING;
1109 meye.grab_buffer[0].state = MEYE_BUF_DONE;
1119 if (meye.grab_buffer[0].state != MEYE_BUF_UNUSED)
1122 meye.grab_buffer[0].state = MEYE_BUF_USING;
1128 meye.grab_buffer[0].state = MEYE_BUF_DONE;
1530 buf->bytesused = meye.grab_buffer[index].size;
1532 if (meye.grab_buffer[index].state == MEYE_BUF_USING)
1534 if (meye.grab_buffer[index].state == MEYE_BUF_DONE)
1537 buf->timestamp = meye.grab_buffer[index].timestamp;
1538 buf->sequence = meye.grab_buffer[index].sequence;
1554 if (meye.grab_buffer[buf->index].state != MEYE_BUF_UNUSED)
1559 meye.grab_buffer[buf->index].state = MEYE_BUF_USING;
1589 if (meye.grab_buffer[reqnr].state != MEYE_BUF_DONE) {
1594 buf->bytesused = meye.grab_buffer[reqnr].size;
1597 buf->timestamp = meye.grab_buffer[reqnr].timestamp;
1598 buf->sequence = meye.grab_buffer[reqnr].sequence;
1602 meye.grab_buffer[reqnr].state = MEYE_BUF_UNUSED;
1632 meye.grab_buffer[i].state = MEYE_BUF_UNUSED;