Searched refs:wr_index (Results 1 – 6 of 6) sorted by relevance
62 unsigned int wr_index; member145 if (s->rd_index == s->wr_index) { in block_from_buf()230 s->buffer[s->wr_index] = blockbuf[i]; in block_to_buf()231 s->wr_index++; in block_to_buf()234 if (s->wr_index >= s->buf_size) in block_to_buf()235 s->wr_index = 0; in block_to_buf()237 if (s->wr_index == s->rd_index) { in block_to_buf()472 s->wr_index = 0; in saa6588_probe()
306 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); in si470x_i2c_interrupt()307 radio->wr_index += 3; in si470x_i2c_interrupt()310 if (radio->wr_index >= radio->buf_size) in si470x_i2c_interrupt()311 radio->wr_index = 0; in si470x_i2c_interrupt()314 if (radio->wr_index == radio->rd_index) { in si470x_i2c_interrupt()322 if (radio->wr_index != radio->rd_index) in si470x_i2c_interrupt()430 radio->wr_index = 0; in si470x_i2c_probe()
443 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); in si470x_int_in_callback()444 radio->wr_index += 3; in si470x_int_in_callback()447 if (radio->wr_index >= radio->buf_size) in si470x_int_in_callback()448 radio->wr_index = 0; in si470x_int_in_callback()451 if (radio->wr_index == radio->rd_index) { in si470x_int_in_callback()458 if (radio->wr_index != radio->rd_index) in si470x_int_in_callback()723 radio->wr_index = 0; in si470x_usb_driver_probe()
471 while (radio->wr_index == radio->rd_index) { in si470x_fops_read()477 radio->wr_index != radio->rd_index) < 0) { in si470x_fops_read()488 if (radio->rd_index == radio->wr_index) in si470x_fops_read()529 if (radio->rd_index != radio->wr_index) in si470x_fops_poll()
150 unsigned int wr_index; member
694 my $wr_index = $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END};697 …$perprocess{$process}->{HIGH_DIRECT_RECLAIM_LATENCY}[$wr_index] = $perprocesspid{$process_pid}->{H…699 $wr_index++;701 $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END} = $wr_index;704 my $wr_index = $perprocess{$process}->{MM_VMSCAN_KSWAPD_SLEEP};707 …$perprocess{$process}->{HIGH_KSWAPD_LATENCY}[$wr_index] = $perprocesspid{$process_pid}->{HIGH_KSWA…709 $wr_index++;711 $perprocess{$process}->{MM_VMSCAN_DIRECT_RECLAIM_END} = $wr_index;