Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 25 of 26) sorted by relevance

12

/illumos-kvm-cmd/linux-user/
H A Dlinuxload.c100 if (retval < 0) { in prepare_binprm()
106 memset(bprm->buf + retval, 0, BPRM_BUF_SIZE - retval); in prepare_binprm()
108 return retval; in prepare_binprm()
160 int retval; in loader_exec() local
166 if (retval < 0) in loader_exec()
167 return retval; in loader_exec()
168 bprm->fd = retval; in loader_exec()
177 if(retval>=0) { in loader_exec()
196 if(retval>=0) { in loader_exec()
199 return retval; in loader_exec()
[all …]
H A Dflatload.c142 int ret, retval; in decompress_exec() local
155 retval = -ENOMEM; in decompress_exec()
167 retval = -ENOEXEC; in decompress_exec()
249 retval = 0; in decompress_exec()
257 return retval; in decompress_exec()
H A Delfload.c1175 int i, retval; in load_elf_image() local
1193 retval = pread(image_fd, phdr, i, ehdr->e_phoff); in load_elf_image()
1194 if (retval != i) { in load_elf_image()
1367 retval = pread(image_fd, interp_name, eppnt->p_filesz, in load_elf_image()
1369 if (retval != eppnt->p_filesz) { in load_elf_image()
1395 if (retval >= 0) { in load_elf_image()
1409 int fd, retval; in load_elf_interp() local
1416 retval = read(fd, bprm_buf, BPRM_BUF_SIZE); in load_elf_interp()
1417 if (retval < 0) { in load_elf_interp()
1420 if (retval < BPRM_BUF_SIZE) { in load_elf_interp()
[all …]
H A Dvm86.c125 static inline void return_to_32bit(CPUX86State *env, int retval) in return_to_32bit() argument
127 LOG_VM86("return_to_32bit: ret=0x%x\n", retval); in return_to_32bit()
129 env->regs[R_EAX] = retval; in return_to_32bit()
/illumos-kvm-cmd/hw/
H A Dopenpic.c477 return retval; in read_IRQreg()
525 return retval;
563 return retval;
687 return retval; in openpic_gbl_read()
751 return retval; in openpic_timer_read()
794 return retval; in openpic_src_read()
925 return retval; in openpic_cpu_read()
984 return retval; in openpic_readl()
1343 return retval; in mpic_timer_read()
1393 return retval; in mpic_src_ext_read()
[all …]
H A Dm48t59.c374 retval = 0; in m48t59_read()
459 return retval; in m48t59_read()
504 uint32_t retval; in NVRAM_readb() local
512 retval = -1; in NVRAM_readb()
517 return retval; in NVRAM_readb()
548 uint32_t retval; in nvram_readb() local
551 return retval; in nvram_readb()
557 uint32_t retval; in nvram_readw() local
561 return retval; in nvram_readw()
567 uint32_t retval; in nvram_readl() local
[all …]
H A Dppc_prep.c135 retval); in _PPC_intack_read()
138 return retval; in _PPC_intack_read()
221 retval);
223 return retval;
231 retval);
233 return retval;
241 retval);
243 return retval;
369 retval = 0x00; in PREP_io_800_readb()
390 retval = 0x3C; in PREP_io_800_readb()
[all …]
H A Dunin_pci.c49 int retval; in pci_unin_map_irq() local
52 retval = (((devfn >> 11) & 0x1F) + irq_num) & 3; in pci_unin_map_irq()
54 return retval; in pci_unin_map_irq()
89 uint32_t retval; in unin_get_config_reg() local
93 retval = reg | (addr & 3); in unin_get_config_reg()
96 retval = (reg & ~7u) | (addr & 7); in unin_get_config_reg()
106 retval = (reg & (0xff - 7)) | (addr & 7); in unin_get_config_reg()
108 retval |= slot << 11; in unin_get_config_reg()
110 retval |= func << 8; in unin_get_config_reg()
115 reg, addr, retval); in unin_get_config_reg()
[all …]
H A Dfdc.c534 uint32_t retval; in fdctrl_read() local
564 return retval; in fdctrl_read()
847 return retval; in fdctrl_read_statusA()
857 return retval; in fdctrl_read_statusB()
869 return retval; in fdctrl_read_dor()
917 return retval; in fdctrl_read_tape()
949 return retval; in fdctrl_read_main_status()
989 uint32_t retval = 0; in fdctrl_read_dir() local
999 if (retval != 0) { in fdctrl_read_dir()
1003 return retval; in fdctrl_read_dir()
[all …]
H A Dusb-ohci.c1411 uint32_t retval; in ohci_mem_read() local
1425 retval = 0x10; in ohci_mem_read()
1429 retval = ohci->ctl; in ohci_mem_read()
1442 retval = ohci->intr; in ohci_mem_read()
1446 retval = ohci->hcca; in ohci_mem_read()
1470 retval = ohci->done; in ohci_mem_read()
1490 retval = ohci->lst; in ohci_mem_read()
1515 retval = ohci->hmask; in ohci_mem_read()
1519 retval = ohci->htest; in ohci_mem_read()
1524 retval = 0xffffffff; in ohci_mem_read()
[all …]
H A Dapplesmc.c139 uint8_t retval = 0; in applesmc_io_data_readb() local
144 retval = s->data[s->data_pos]; in applesmc_io_data_readb()
146 retval); in applesmc_io_data_readb()
155 smc_debug("DATA Read b: %#x = %#x\n", addr1, retval); in applesmc_io_data_readb()
157 return retval; in applesmc_io_data_readb()
H A Dsb16.c962 int iport, retval, ack = 0; in IO_READ_PROTO() local
968 retval = 0xff; in IO_READ_PROTO()
973 retval = s->out_data[--s->out_data_len]; in IO_READ_PROTO()
974 s->last_read_byte = retval; in IO_READ_PROTO()
981 retval = s->last_read_byte; in IO_READ_PROTO()
987 retval = s->can_write ? 0 : 0x80; in IO_READ_PROTO()
992 retval = 0; in IO_READ_PROTO()
996 retval = (!s->out_data_len || s->highspeed) ? 0 : 0x80; in IO_READ_PROTO()
1005 retval = 0xff; in IO_READ_PROTO()
1018 ldebug ("read %#x -> %#x\n", nport, retval); in IO_READ_PROTO()
[all …]
H A Dvirtio-9p.c466 int retval = 0; in v9fs_xattr_fid_clunk() local
478 retval = -EINVAL; in v9fs_xattr_fid_clunk()
482 retval = v9fs_do_lsetxattr(s, &fidp->path, &fidp->fs.xattr.name, in v9fs_xattr_fid_clunk()
487 retval = v9fs_do_lremovexattr(s, &fidp->path, &fidp->fs.xattr.name); in v9fs_xattr_fid_clunk()
495 return retval; in v9fs_xattr_fid_clunk()
500 int retval = 0; in free_fid() local
521 retval = v9fs_xattr_fid_clunk(s, fidp); in free_fid()
526 return retval; in free_fid()
/illumos-kvm-cmd/bsd-user/
H A Dbsdload.c101 if(retval >= 0) { in prepare_binprm()
104 if(retval < 0) { in prepare_binprm()
110 return(retval); in prepare_binprm()
161 int retval; in loader_exec() local
168 if (retval < 0) in loader_exec()
169 return retval; in loader_exec()
170 bprm.fd = retval; in loader_exec()
179 if(retval>=0) { in loader_exec()
191 if(retval>=0) { in loader_exec()
194 return retval; in loader_exec()
[all …]
H A Delfload.c848 int retval; in load_elf_interp() local
889 if(retval >= 0) { in load_elf_interp()
894 if (retval < 0) { in load_elf_interp()
898 return retval; in load_elf_interp()
1168 int retval; in load_elf_binary() local
1196 retval = -E2BIG; in load_elf_binary()
1206 if(retval > 0) { in load_elf_binary()
1211 if (retval < 0) { in load_elf_binary()
1262 if(retval >= 0) { in load_elf_binary()
1265 if(retval < 0) { in load_elf_binary()
[all …]
/illumos-kvm-cmd/hw/ide/
H A Dmacio.c203 uint8_t retval; in pmac_ide_readb() local
216 retval = 0xFF; in pmac_ide_readb()
219 return retval; in pmac_ide_readb()
236 uint16_t retval; in pmac_ide_readw() local
243 retval = 0xFFFF; in pmac_ide_readw()
245 retval = bswap16(retval); in pmac_ide_readw()
246 return retval; in pmac_ide_readw()
263 uint32_t retval; in pmac_ide_readl() local
270 retval = 0xFFFFFFFF; in pmac_ide_readl()
272 retval = bswap32(retval); in pmac_ide_readl()
[all …]
/illumos-kvm-cmd/
H A Ddef-helper.h61 #define dh_retvar_decl0_i32 TCGv_i32 retval
62 #define dh_retvar_decl0_i64 TCGv_i64 retval
63 #define dh_retvar_decl0_ptr TCGv_ptr retval
67 #define dh_retvar_decl_i32 TCGv_i32 retval,
68 #define dh_retvar_decl_i64 TCGv_i64 retval,
69 #define dh_retvar_decl_ptr TCGv_ptr retval,
73 #define dh_retvar_i32 GET_TCGV_i32(retval)
74 #define dh_retvar_i64 GET_TCGV_i64(retval)
75 #define dh_retvar_ptr GET_TCGV_ptr(retval)
H A Dqemu-timer.h143 int64_t retval; in cpu_get_real_ticks() local
151 : "=r" (retval)); in cpu_get_real_ticks()
160 : "=r" (retval), "=r" (junk)); in cpu_get_real_ticks()
162 return retval; in cpu_get_real_ticks()
H A Dqemu-thread.c189 void qemu_thread_exit(void *retval) in qemu_thread_exit() argument
191 pthread_exit(retval); in qemu_thread_exit()
H A Dcutils.c332 int64_t retval = -1; in strtosz_suffix() local
403 retval = val * mul; in strtosz_suffix()
410 return retval; in strtosz_suffix()
H A Dqemu-thread.h42 void qemu_thread_exit(void *retval);
H A Dcris-dis.c1605 int retval = 0; in cris_constraint() local
1712 retval = (((insn >> 12) & 15) == (insn & 15)); in cris_constraint()
1713 if (!retval) in cris_constraint()
1716 retval += 4; in cris_constraint()
1738 retval += 3; in cris_constraint()
1749 return retval; in cris_constraint()
H A Dia64-dis.c10395 int slotnum, j, status, need_comma, retval, slot_multiplier; in print_insn_ia64() local
10409 retval = slot_multiplier; in print_insn_ia64()
10443 retval += slot_multiplier; in print_insn_ia64()
10593 retval += 16 - 3*slot_multiplier; in print_insn_ia64()
10594 return retval; in print_insn_ia64()
/illumos-kvm-cmd/target-ppc/
H A Dkvm.c355 uint32_t retval = get_ticks_per_sec(); in kvmppc_get_tbfreq() local
358 return retval; in kvmppc_get_tbfreq()
362 return retval; in kvmppc_get_tbfreq()
367 retval = atoi(ns); in kvmppc_get_tbfreq()
368 return retval; in kvmppc_get_tbfreq()
H A Dhelper.c678 ppc_slb_t *retval = &env->slb[nr]; in slb_get_entry() local
687 retval->tmp64 = ldq_phys(sr_base); in slb_get_entry()
688 retval->tmp = ldl_phys(sr_base + 8); in slb_get_entry()
692 return retval; in slb_get_entry()

Completed in 138 milliseconds

12