buffer_pos 127 drivers/media/usb/usbtv/usbtv-audio.c size_t i, frame_bytes, chunk_length, buffer_pos, period_pos; buffer_pos 152 drivers/media/usb/usbtv/usbtv-audio.c buffer_pos = chip->snd_buffer_pos; buffer_pos 159 drivers/media/usb/usbtv/usbtv-audio.c if (buffer_pos + chunk_length >= runtime->buffer_size) { buffer_pos 160 drivers/media/usb/usbtv/usbtv-audio.c size_t cnt = (runtime->buffer_size - buffer_pos) * buffer_pos 162 drivers/media/usb/usbtv/usbtv-audio.c memcpy(runtime->dma_area + buffer_pos * frame_bytes, buffer_pos 167 drivers/media/usb/usbtv/usbtv-audio.c memcpy(runtime->dma_area + buffer_pos * frame_bytes, buffer_pos 171 drivers/media/usb/usbtv/usbtv-audio.c buffer_pos += chunk_length; buffer_pos 174 drivers/media/usb/usbtv/usbtv-audio.c if (buffer_pos >= runtime->buffer_size) buffer_pos 175 drivers/media/usb/usbtv/usbtv-audio.c buffer_pos -= runtime->buffer_size; buffer_pos 185 drivers/media/usb/usbtv/usbtv-audio.c chip->snd_buffer_pos = buffer_pos; buffer_pos 34 drivers/oprofile/event_buffer.c static size_t buffer_pos; buffer_pos 55 drivers/oprofile/event_buffer.c if (buffer_pos == buffer_size) { buffer_pos 60 drivers/oprofile/event_buffer.c event_buffer[buffer_pos] = value; buffer_pos 61 drivers/oprofile/event_buffer.c if (++buffer_pos == buffer_size - buffer_watershed) { buffer_pos 93 drivers/oprofile/event_buffer.c buffer_pos = 0; buffer_pos 106 drivers/oprofile/event_buffer.c buffer_pos = 0; buffer_pos 153 drivers/oprofile/event_buffer.c buffer_pos = 0; buffer_pos 191 drivers/oprofile/event_buffer.c count = buffer_pos * sizeof(unsigned long); buffer_pos 197 drivers/oprofile/event_buffer.c buffer_pos = 0; buffer_pos 51 drivers/staging/most/sound/sound.c unsigned int buffer_pos; buffer_pos 202 drivers/staging/most/sound/sound.c fr0 = min(buffer_size - channel->buffer_pos, frames); buffer_pos 204 drivers/staging/most/sound/sound.c channel->copy_fn(runtime->dma_area + channel->buffer_pos * frame_bytes, buffer_pos 215 drivers/staging/most/sound/sound.c channel->buffer_pos += frames; buffer_pos 216 drivers/staging/most/sound/sound.c if (channel->buffer_pos >= buffer_size) buffer_pos 217 drivers/staging/most/sound/sound.c channel->buffer_pos -= buffer_size; buffer_pos 409 drivers/staging/most/sound/sound.c channel->buffer_pos = 0; buffer_pos 457 drivers/staging/most/sound/sound.c return channel->buffer_pos; buffer_pos 528 fs/reiserfs/xattr.c size_t buffer_pos = 0; buffer_pos 547 fs/reiserfs/xattr.c while (buffer_pos < buffer_size || buffer_pos == 0) { buffer_pos 552 fs/reiserfs/xattr.c if (buffer_size - buffer_pos > PAGE_SIZE) buffer_pos 555 fs/reiserfs/xattr.c chunk = buffer_size - buffer_pos; buffer_pos 581 fs/reiserfs/xattr.c memcpy(data + skip, buffer + buffer_pos, chunk); buffer_pos 589 fs/reiserfs/xattr.c buffer_pos += chunk; buffer_pos 663 fs/reiserfs/xattr.c size_t buffer_pos = 0; buffer_pos 734 fs/reiserfs/xattr.c memcpy(buffer + buffer_pos, data + skip, chunk); buffer_pos 738 fs/reiserfs/xattr.c buffer_pos += chunk; buffer_pos 280 lib/decompress_unlzma.c size_t buffer_pos; buffer_pos 295 lib/decompress_unlzma.c wr->global_pos + wr->buffer_pos; buffer_pos 305 lib/decompress_unlzma.c pos = wr->buffer_pos - offs; buffer_pos 308 lib/decompress_unlzma.c uint32_t pos = wr->buffer_pos - offs; buffer_pos 318 lib/decompress_unlzma.c wr->buffer[wr->buffer_pos++] = wr->previous_byte = byte; buffer_pos 319 lib/decompress_unlzma.c if (wr->flush && wr->buffer_pos == wr->header->dict_size) { buffer_pos 320 lib/decompress_unlzma.c wr->buffer_pos = 0; buffer_pos 342 lib/decompress_unlzma.c } while (len != 0 && wr->buffer_pos < wr->header->dst_size); buffer_pos 576 lib/decompress_unlzma.c wr.buffer_pos = 0; buffer_pos 655 lib/decompress_unlzma.c if (!wr.flush || wr.flush(wr.buffer, wr.buffer_pos) == wr.buffer_pos) buffer_pos 110 sound/usb/misc/ua101.c unsigned int buffer_pos; buffer_pos 220 sound/usb/misc/ua101.c source = runtime->dma_area + stream->buffer_pos * frame_bytes; buffer_pos 221 sound/usb/misc/ua101.c if (stream->buffer_pos + frames <= runtime->buffer_size) { buffer_pos 225 sound/usb/misc/ua101.c frames1 = runtime->buffer_size - stream->buffer_pos; buffer_pos 231 sound/usb/misc/ua101.c stream->buffer_pos += frames; buffer_pos 232 sound/usb/misc/ua101.c if (stream->buffer_pos >= runtime->buffer_size) buffer_pos 233 sound/usb/misc/ua101.c stream->buffer_pos -= runtime->buffer_size; buffer_pos 324 sound/usb/misc/ua101.c dest = runtime->dma_area + stream->buffer_pos * frame_bytes; buffer_pos 325 sound/usb/misc/ua101.c if (stream->buffer_pos + frames <= runtime->buffer_size) { buffer_pos 329 sound/usb/misc/ua101.c frames1 = runtime->buffer_size - stream->buffer_pos; buffer_pos 336 sound/usb/misc/ua101.c stream->buffer_pos += frames; buffer_pos 337 sound/usb/misc/ua101.c if (stream->buffer_pos >= runtime->buffer_size) buffer_pos 338 sound/usb/misc/ua101.c stream->buffer_pos -= runtime->buffer_size; buffer_pos 789 sound/usb/misc/ua101.c ua->capture.buffer_pos = 0; buffer_pos 817 sound/usb/misc/ua101.c ua->playback.buffer_pos = 0; buffer_pos 864 sound/usb/misc/ua101.c pos = stream->buffer_pos;