Searched defs:error (Results 1 - 25 of 1783) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/lib/libstand/
H A Dbzipfs.c156 int error; local
206 if ((error = BZ2_bzDecompressInit(&(bzf->bzf_bzstream), 0, 1)) != BZ_OK) {
207 printf("bzf_open: BZ2_bzDecompressInit returned %d\n", error);
233 int error; local
240 printf("bzf_read: fill error\n");
250 error = BZ2_bzDecompress(&bzf->bzf_bzstream); /* decompression pass */
251 if (error == BZ_STREAM_END) { /* EOF, all done */
255 if (error != BZ_OK) { /* argh, decompression error */
256 printf("bzf_read: BZ2_bzDecompress returned %d\n", error);
[all...]
H A Dcd9660.c129 int error; local
145 error = f->f_dev->dv_strategy(f->f_devdata, F_READ,
150 if (error != 0 || read != ISO_DEFAULT_BLOCK_SIZE)
500 int error = 0; local
507 error = buf_read_file(f, &buf, &buf_size);
508 if (error)
509 return (error);
H A Dext2fs.c190 u_int16_t fd_eflag; /* error flags */
341 int error = 0; local
357 error = (f->f_dev->dv_strategy)(f->f_devdata, F_READ,
359 if (error)
363 error = EINVAL;
399 error = (f->f_dev->dv_strategy)(f->f_devdata, F_READ,
402 if (error)
420 if ((error = read_inode(inumber, f)) != 0)
425 error = ENOMEM;
442 error
565 int level, error = 0; local
607 int error; local
708 int error = 0; local
765 int error; local
822 int error = 0; local
889 int error; local
[all...]
H A Dgzipfs.c165 int error; local
216 if ((error = inflateInit2(&(zf->zf_zstream), -15)) != Z_OK) {
217 printf("zf_open: inflateInit returned %d : %s\n", error, zf->zf_zstream.msg);
243 int error; local
250 printf("zf_read: fill error\n");
260 error = inflate(&zf->zf_zstream, Z_SYNC_FLUSH); /* decompression pass */
261 if (error == Z_STREAM_END) { /* EOF, all done */
265 if (error != Z_OK) { /* argh, decompression error */
H A Dnandfs.c199 int sectors_to_read, error; local
212 error = ioread(f, i * fs->nf_sectorsize, (char *)sb,
214 if (error) {
215 NANDFS_DEBUG("error %d\n", error);
247 int offset, error, i; local
253 error = ioread(f, offset, (char *)fs->nf_fsdata,
255 if (error)
256 return (error);
266 return (error);
272 int error; local
456 int error = 0; local
774 int error; local
[all...]
H A Dnfs.c216 * Return zero or error number.
272 * Return zero or error number.
325 /* saerrno.h now matches NFS error numbers. */
438 * return zero or error number
458 int error; local
488 if ((error = nfs_getrootfh(desc, rootpath, nfs_root_node.fh)))
489 return (error);
508 error = ENOMEM;
518 error = ENOMEM;
534 error
1100 int error; local
[all...]
H A Dopen.c96 int fd, i, error, besterror; local
114 error = (fs->fo_open)(fname, f);
115 if (error == 0)
120 error = devopen(f, fname, &file);
121 if (error ||
136 error = (fs->fo_open)(file, f);
137 if (error == 0)
139 if (error != EINVAL)
140 besterror = error;
142 error
[all...]
H A Dpkgfs.c164 int error, fd; local
178 error = new_package(fd, &pkg);
179 if (error) {
181 return (error);
337 int error; local
369 error = pkg_read(f, buf, sz, &res);
370 if (error != 0) {
371 errno = error;
618 int flags, i, error; local
630 error
[all...]
H A Dufs.c838 int error; local
846 error = buf_read_file(f, &buf, &buf_size);
847 if (error)
848 return (error);
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dminigzip.c70 /* Map the Windows error number in ERROR to a locale-dependent error
80 static char *strwinerror (error)
81 DWORD error;
90 error,
112 sprintf(buf, "unknown win32 error (%ld)", error);
338 void error OF((const char *msg));
349 * Display error message and exit
351 void error(ms function
[all...]
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Dsd-card.c142 unsigned int error; local
156 error = wait_ready();
158 if ((error & errorMask) != 0) {
/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/
H A Dixp425_board.c243 u_int8_t error; member in struct:__anon122
476 dskinf.error = cfread8(CF_ERROR);
477 printf("%s: error, status 0x%x error 0x%x\n",
478 __func__, status, dskinf.error);
517 dskinf.error = cfread8(CF_ERROR);
622 (u_int32_t)dskinf.error);
637 putstr("cfprintregs: regs error ");
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dboot.c299 int fd, error; local
304 error = 1;
366 error = 0;
372 if (error) {
380 error = 0;
384 return(error);
H A Ddev_net.c117 int error = 0; local
150 error = net_getparams(netdev_sock);
151 if (error) {
156 return (error);
175 return (error);
H A Dinstall.c77 int count, error, idx; local
95 error = setpath(*what + idx, val);
96 if (error)
97 return (error);
110 int error; local
121 * Return an error if this is not possible.
127 error = 0;
129 while (!error && *tag != '\0') {
132 error = EINVAL;
138 error
191 int error, fd, i, local; local
[all...]
H A Dload_elf.c112 goto error;
119 goto error;
127 goto error;
132 error:
905 int error, modcnt, minfolen; local
912 error = __elfN(reloc_ptr)(fp, ef, p, &v, sizeof(v));
913 if (error == EOPNOTSUPP)
915 else if (error != 0)
916 return (error);
919 error
1055 int error; local
[all...]
H A Dload_elf_obj.c360 int error, modcnt, minfolen; local
370 error = __elfN(obj_reloc_ptr)(fp, ef, p, &v, sizeof(v));
371 if (error != 0)
372 return (error);
375 error = __elfN(obj_reloc_ptr)(fp, ef, v, &md64, sizeof(md64));
376 if (error != 0)
377 return (error);
384 error = __elfN(obj_reloc_ptr)(fp, ef, v, &md, sizeof(md));
385 if (error != 0)
386 return (error);
470 int error, i, j, nrel, nrela; local
[all...]
H A Dmodule.c106 int dofile, dokld, ch, error; local
127 /* getopt has already reported an error */
163 error = mod_loadkld(argv[1], argc - 2, argv + 2);
164 if (error == EEXIST) {
170 return (error == 0 ? CMD_OK : CMD_CRIT);
175 error = mod_load(argv[1], NULL, argc - 2, argv + 2);
176 if (error == EEXIST) {
182 return (error == 0 ? CMD_OK : CMD_CRIT);
215 /* getopt has already reported an error */
271 /* getopt has already reported an error */
322 int error; local
362 int error; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Defipart.c258 * to be within the media size and returns an error if such is not
318 int error; local
352 error = 0;
357 error = efipart_readwrite(blkio, rw, blk, 1, blkbuf);
358 if (error)
371 return (error);
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm/
H A Dexec.c68 int error; local
76 if ((error = bi_load(fp->f_args, &modulep, &kernend)) != 0)
77 return (error);
/illumos-gate/usr/src/boot/sys/boot/i386/cdboot/
H A Dcdboot.S156 jmp error # Halt
176 jmp error # Halt
188 call error
326 jmp error
438 read.error: mov %ah,%al # Save error
441 mov $msg_badread,%si # Display Read error message
444 # Display error message at [SI] and halt.
446 error: call putstr # Display message label
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbioscd.c278 DEBUG("read error");
296 DEBUG("frag read error");
309 /* return negative value for an error, otherwise blocks read */
318 int error; local
391 error = (v86.eax >> 8) & 0xff;
395 DEBUG("unit %d status 0x%x", unit, error);
397 /* still an error? break off */
H A Dcomconsole.c537 int error; local
549 error = comc_pcidev_handle(cp, locator);
550 if (error != CMD_OK)
551 return (error);
H A Dlinux.c96 int fd, error = 0; local
122 error = errno;
124 return (error);
129 printf("error reading kernel header\n");
130 error = EIO;
136 error = EFTYPE;
146 error = EFTYPE;
152 error = ENOMEM;
169 error = ENOMEM;
203 error
[all...]
H A Dmultiboot.c121 int i, error; local
163 error = EFTYPE;
172 error = EFTYPE;
179 error = EFTYPE;
190 error = EIO;
199 printf("error reading: %s", strerror(errno));
200 error = EIO;
208 error = ENOMEM;
217 error = EIO;
223 error
420 int error, num, i; local
624 int error, mod_num; local
[all...]

Completed in 176 milliseconds

1234567891011>>