/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | bzipfs.c | 87 int result; local 91 result = 0; 100 result = read(bzf->bzf_rawfd, bzf->bzf_buf + bzf->bzf_bzstream.avail_in, req); 102 if (result >= 0) 103 bzf->bzf_bzstream.avail_in += result; 105 return(result); 354 int result; local 357 if ((result = fstat(bzf->bzf_rawfd, sb)) == 0) 359 return(result);
|
H A D | environment.c | 168 int result; local 173 result = setenv(copy, value, 1); 175 return(result);
|
H A D | gzipfs.c | 68 int result; local 72 result = 0; 81 result = read(zf->zf_rawfd, zf->zf_buf + zf->zf_zstream.avail_in, req); 83 if (result >= 0) 84 zf->zf_zstream.avail_in += result; 86 return(result); 331 int result, res; local 336 if ((result = fstat(zf->zf_rawfd, sb)) == 0) { 338 return (result); 351 return(result); [all...] |
H A D | pager.c | 136 int result; local 146 result = -1; 150 result = 0; 155 result = 1; 160 return(result);
|
H A D | splitfs.c | 306 int result; local 310 if ((result = fstat(sf->curfd, sb)) == 0) 312 return (result);
|
/illumos-gate/usr/src/boot/sys/amd64/include/ |
H A D | cpufunc.h | 69 u_int result; local 71 __asm __volatile("bsfl %1,%0" : "=r" (result) : "rm" (mask)); 72 return (result); 78 u_long result; local 80 __asm __volatile("bsfq %1,%0" : "=r" (result) : "rm" (mask)); 81 return (result); 87 u_int result; local 89 __asm __volatile("bsrl %1,%0" : "=r" (result) : "rm" (mask)); 90 return (result); 96 u_long result; local 309 u_long result; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | bcache.c | 215 int result; local 230 result = 0; 285 result = dd->dv_strategy(dd->dv_devdata, rw, p_blk, 0, 312 result = 0; 316 if ((result == 0) && (rsize != NULL)) 318 return(result);
|
H A D | bootstrap.h | 215 int (* l_load)(char *filename, u_int64_t dest, struct preloaded_file **result); 249 int __elfN(loadfile)(char *filename, u_int64_t dest, struct preloaded_file **result); 251 struct preloaded_file **result); 256 struct preloaded_file **result, int multiboot);
|
H A D | commands.c | 469 int result; local 471 result = pager_file(filename); 473 if (result == -1) { 478 return result;
|
H A D | devopen.c | 39 int result; local 41 result = archsw.arch_getdev((void **)&dev, fname, file); 42 if (result) 43 return (result); 47 result = dev->d_dev->dv_open(f, dev); 48 if (result != 0) { 51 return (result);
|
H A D | interp.c | 64 int result; local 75 result = CMD_ERROR; 83 result = (cmd)(argc, argv); 87 RETURN(result);
|
H A D | interp_forth.c | 79 int argc, result; local 136 result = (cmd)(argc, argv); 139 result=BF_PARSE; 142 switch (result) { 155 if (result != CMD_OK) 156 ficlVmThrow(vm, result); 159 ficlStackPushInteger(ficlVmGetDataStack(vm),result); local 243 "postpone throw " /* throw stack-returned result */ \ 247 "throw " /* throw stack-returned result */ \ 331 int result; local [all...] |
H A D | load_elf.c | 147 * will be saved in (result). 150 __elfN(loadfile)(char *filename, u_int64_t dest, struct preloaded_file **result) argument 152 return (__elfN(loadfile_raw)(filename, dest, result, 0)); 157 struct preloaded_file **result, int multiboot) 275 *result = (struct preloaded_file *)fp; 308 ssize_t result; local 612 result = archsw.arch_readin(ef->fd, lastaddr, shdr[i].sh_size); 613 if (result < 0 || (size_t)result != shdr[i].sh_size) { 614 printf("\nelf" __XSTRING(__ELF_WORD_SIZE) "_loadimage: could not read symbols - skipped! (%ju != %ju)", (uintmax_t)result, 156 loadfile_raw(char *filename, u_int64_t dest, struct preloaded_file **result, int multiboot) argument [all...] |
H A D | load_elf_obj.c | 81 * will be saved in (result). 85 struct preloaded_file **result) 168 *result = (struct preloaded_file *)fp; 84 obj_loadfile(char *filename, u_int64_t dest, struct preloaded_file **result) argument
|
H A D | ls.c | 66 int result, ch; local 69 result = CMD_OK; 108 result = CMD_ERROR; 146 return(result);
|
H A D | misc.c | 85 char *result, *cp; local 87 result = malloc(strlenout(str) + 1); 88 for (cp = result; ;cp++) { 93 return(result);
|
H A D | module.c | 55 static int file_load(char *filename, vm_offset_t dest, struct preloaded_file **result); 318 file_load(char *filename, vm_offset_t dest, struct preloaded_file **result) argument 334 *result = fp; 678 char *result, *cp; local 691 result = malloc(pathlen + namelen + extlen + 2); 692 if (result == NULL) 694 bcopy(path, result, pathlen); 695 if (pathlen > 0 && result[pathlen - 1] != '/') 696 result[pathlen++] = '/'; 697 cp = result 736 char *result; local 771 char *result; local 841 char *result; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/amd64/ |
H A D | framebuffer.c | 67 int result; local 69 result = 0; 90 result = 1; 93 return (result); 100 int result; local 107 result = efifb_mask_from_pixfmt(efifb, info->PixelFormat, 109 return (result);
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm/ |
H A D | exec.c | 51 struct preloaded_file **result) 55 r = __elfN(loadfile)(filename, dest, result); 50 arm_load(char *filename, u_int64_t dest, struct preloaded_file **result) argument
|
/illumos-gate/usr/src/boot/sys/boot/i386/cdboot/ |
H A D | cdboot.S | 515 # Convert AL to hex, saving the result to [EDI].
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | bioscd.c | 313 u_int maxfer, resid, result, retry, x; local 383 result = V86_CY(v86.efl); 384 if (result == 0) 394 VTOP(p), result ? "failed" : "ok"); 398 if (result != 0)
|
H A D | biosdisk.c | 540 u_int x, sec, result, resid, retry, maxfer; local 612 result = bd_edd_io(dev, dblk, x, xp, dowrite); 614 result = bd_chs_io(dev, dblk, x, xp, dowrite); 615 if (result == 0) 621 p, VTOP(p), dblk, result ? "failed" : "ok"); 624 dblk, p, VTOP(p), result ? "failed" : "ok"); 625 if (result) {
|
H A D | biospnp.c | 114 int result; local 131 result = biospnp_f00(vsegofs(&pnp_NumNodes), vsegofs(&pnp_NodeSize)); 132 if (result != PNP_SUCCESS) { 139 result = biospnp_f40(vsegofs(&icfg)); 140 switch (result) { 160 int result; local 172 result = biospnp_f01(vsegofs(&Node), vsegofs(devNodeBuffer), 0x1); 173 if (result != PNP_SUCCESS) { 174 printf("PnP BIOS node %d: error 0x%x\n", Node, result);
|
H A D | linux.c | 47 test_addr(uint64_t addr, uint64_t length, vm_offset_t *result) argument 60 if (candidate > *result || *result == (vm_offset_t)-1) 61 *result = candidate; 90 linux_loadkernel(char *filename, uint64_t dest, struct preloaded_file **result) argument 269 *result = fp; 413 linux_loadinitrd(char *filename, uint64_t dest, struct preloaded_file **result) argument 431 *result = mfp;
|
H A D | multiboot.c | 71 struct preloaded_file **result, int multiboot); 74 struct preloaded_file **result); 118 struct preloaded_file **result) 222 *result = fp; 226 error = elf32_loadfile_raw(filename, dest, result, 1); 234 setenv("kernelname", (*result)->f_name, 1); 235 bios_addsmapdata(*result); 620 struct preloaded_file **result) 638 *result = rfp; 687 *result 117 multiboot_loadfile(char *filename, u_int64_t dest, struct preloaded_file **result) argument 619 multiboot_obj_loadfile(char *filename, u_int64_t dest, struct preloaded_file **result) argument [all...] |