Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 11 of 11) sorted by relevance

/illumos-kvm-cmd/hw/
H A Dbaum.c249 *cur++ = ESC; in baum_write_packet()
252 *cur++ = ESC; in baum_write_packet()
254 len = cur - io_buf; in baum_write_packet()
278 cur += first; in baum_write_packet()
301 if (*cur++ != ESC) { in baum_eat_packet()
305 cur++; in baum_eat_packet()
426 cur--; in baum_eat_packet()
429 return cur - buf; in baum_eat_packet()
455 cur = 0; in baum_write()
461 if (cur) { in baum_write()
[all …]
H A Dacpi_piix4.c520 static void gpe_write_val(uint16_t *cur, int addr, uint32_t val) in gpe_write_val() argument
523 *cur = (*cur & 0xff) | (val << 8); in gpe_write_val()
525 *cur = (*cur & 0xff00) | (val & 0xff); in gpe_write_val()
528 static void gpe_reset_val(uint16_t *cur, int addr, uint32_t val) in gpe_reset_val() argument
533 x1 = (*cur >> shift) & 0xff; in gpe_reset_val()
537 *cur = (*cur & (0xff << (8 - shift))) | (x1 << shift); in gpe_reset_val()
H A Dusb-ohci.c1045 uint32_t cur; in ohci_service_ed_list() local
1053 for (cur = head; cur; cur = next_ed) { in ohci_service_ed_list()
1054 if (!ohci_read_ed(ohci, cur, &ed)) { in ohci_service_ed_list()
1055 fprintf(stderr, "usb-ohci: ED read error at %x\n", cur); in ohci_service_ed_list()
1075 "h=%u c=%u\n head=0x%.8x tailp=0x%.8x next=0x%.8x\n", cur, in ohci_service_ed_list()
1095 ohci_put_ed(ohci, cur, &ed); in ohci_service_ed_list()
H A Domap_gpio.c527 uint32_t cur = 0; in omap2_gpio_module_writep() local
550 cur = omap2_gpio_module_read(opaque, addr & ~3) & in omap2_gpio_module_writep()
565 omap2_gpio_module_write(opaque, addr, cur | value); in omap2_gpio_module_writep()
/illumos-kvm-cmd/scripts/
H A Dcheckpatch.pl847 my $cur = $stream;
851 while (length($cur)) {
855 if ($cur =~ /^(\s+)/o) {
945 } elsif ($cur =~ /^(\()/o) {
951 } elsif ($cur =~ /^(\))/o) {
988 } elsif ($cur =~/^(,)/) {
992 } elsif ($cur =~ /^(\?)/o) {
996 } elsif ($cur =~ /^(:)/o) {
1007 } elsif ($cur =~ /^(\[)/o) {
1030 } elsif ($cur =~ /(^.)/o) {
[all …]
/illumos-kvm-cmd/pc-bios/
H A Dohw.diff387 for (cur = _bd_parts(bd); *cur != NULL; cur = &(*cur)->next)
396 - part_t *cur;
416 + for (cur = *listp; cur != NULL; cur = cur->next) {
419 - cur = cur->next;
422 return cur;
462 for (cur = _bd_parts(bd); *cur != NULL; cur = &(*cur)->next) {
475 (*cur)->fs = fs_probe(*cur, 1);
477 (*cur)->fs = fs_probe(*cur, 0);
479 + (*cur)->fs = fs_probe(*cur, 2);
481 (*cur)->fs = fs_probe(*cur, 2);
[all …]
/illumos-kvm-cmd/block/
H A Dblkverify.c218 struct iovec *cur = sortelems[i].src_iov; in blkverify_iovec_clone() local
222 if (last_end && last_end > cur->iov_base) { in blkverify_iovec_clone()
223 rewind = last_end - cur->iov_base; in blkverify_iovec_clone()
227 buf += cur->iov_len - MIN(rewind, cur->iov_len); in blkverify_iovec_clone()
228 last_end = MAX(cur->iov_base + cur->iov_len, last_end); in blkverify_iovec_clone()
H A Dvvfat.c800 int cur = s->directory.next; in read_directory() local
802 memset(array_get(&(s->directory), cur), 0, in read_directory()
803 (ROOT_ENTRIES - cur) * sizeof(direntry_t)); in read_directory()
/illumos-kvm-cmd/
H A Dqemu-timer.h271 uint32_t cur, ofs; in cpu_get_real_ticks() local
274 cur = cc; in cpu_get_real_ticks()
276 return cur - ofs; in cpu_get_real_ticks()
H A Dqemu-option.c336 QEMUOptionParameter *cur = list; in free_option_parameters() local
338 while (cur && cur->name) { in free_option_parameters()
339 if (cur->type == OPT_STRING) { in free_option_parameters()
340 qemu_free(cur->value.s); in free_option_parameters()
342 cur++; in free_option_parameters()
H A Dqemu-timer.c344 int cur = 0; in configure_alarms() local
370 if (i < cur) in configure_alarms()
376 alarm_timers[i] = alarm_timers[cur]; in configure_alarms()
377 alarm_timers[cur] = tmp; in configure_alarms()
379 cur++; in configure_alarms()
386 if (cur) { in configure_alarms()
388 for (i = cur; i < count; i++) in configure_alarms()

Completed in 81 milliseconds