Home
last modified time | relevance | path

Searched refs:err_code (Results 1 – 25 of 50) sorted by relevance

12

/minix3/minix/fs/mfs/
H A Dopen.c29 r = err_code; in fs_create()
70 return(err_code); in fs_mknod()
90 if(rip == NULL || err_code == EEXIST) { in fs_mkdir()
93 return(err_code); in fs_mkdir()
121 return(err_code); /* new_node() always sets 'err_code' */ in fs_mkdir()
145 if( (r = err_code) == OK) { in fs_slink()
148 r = err_code; in fs_slink()
209 err_code = ENOENT; in new_node()
215 err_code = EMLINK; in new_node()
222 if ( rip == NULL && err_code == ENOENT) { in new_node()
[all …]
H A Dpath.c27 return err_code; in fs_lookup()
63 err_code = ENOENT;
69 err_code = ENOENT;
74 if ( (err_code = search_dir(dirp, string, &numb, LOOK_UP)) != OK) {
80 assert(err_code != OK);
84 assert(err_code == OK);
220 return(err_code);
H A Dlink.c74 r = err_code; in fs_link()
118 r = err_code; in fs_unlink()
232 err_code = search_dir(dirp, file_name, &numb, LOOK_UP);
233 if (err_code == OK) rip = get_inode(dirp->i_dev, (int) numb);
234 if (err_code != OK || rip == NULL) return(err_code);
269 return(err_code); in fs_rename()
272 r = err_code; in fs_rename()
289 return(err_code); in fs_rename()
332 err_code = OK; in fs_rename()
H A Dglo.h11 EXTERN int err_code; /* temporary storage for error number */ variable
H A Dwrite.c83 return(err_code);
129 return(err_code); /* couldn't create single ind */
287 err_code = r;
/minix3/minix/lib/libpuffs/
H A Dpath.c33 return err_code; in fs_lookup()
78 err_code = OK; in advance()
82 err_code = ENOENT; in advance()
88 err_code = ENOENT; in advance()
120 err_code = ENOENT; in advance()
131 err_code = ENOENT; in advance()
149 err_code = error < 0 ? error : -error; in advance()
153 err_code = OK; in advance()
H A Dglo.h24 EXTERN int err_code; /* temporary storage for error number */ variable
/minix3/minix/fs/ext2/
H A Dopen.c35 r = err_code; in fs_create()
76 return(err_code); in fs_mknod()
96 if(rip == NULL || err_code == EEXIST) { in fs_mkdir()
99 return(err_code); in fs_mkdir()
129 return(err_code); /* new_node() always sets 'err_code' */ in fs_mkdir()
155 if( (r = err_code) == OK) { in fs_slink()
168 r = err_code; in fs_slink()
222 err_code = ENOENT; in new_node()
229 err_code = EMLINK; in new_node()
236 if ( rip == NULL && err_code == ENOENT) { in new_node()
[all …]
H A Dlink.c78 r = err_code; in fs_link()
122 r = err_code; in fs_unlink()
245 err_code = search_dir(dirp, file_name, &numb, LOOK_UP, 0);
246 if (err_code == OK) rip = get_inode(dirp->i_dev, (int) numb);
247 if (err_code != OK || rip == NULL) return(err_code);
282 return(err_code); in fs_rename()
285 r = err_code; in fs_rename()
302 return(err_code); in fs_rename()
350 err_code = OK; in fs_rename()
H A Dpath.c31 return err_code; in fs_lookup()
67 err_code = ENOENT;
73 err_code = ENOENT;
78 if ( (err_code = search_dir(dirp, string, &numb, LOOK_UP, 0)) != OK) {
84 assert(err_code != OK);
273 return(err_code);
H A Dglo.h12 EXTERN int err_code; /* temporary storage for error number */ variable
/minix3/minix/lib/libddekit/src/
H A Dirq.c182 int err_code; in ddekit_interrupt_attach() local
211 if (0 != (err_code = sys_irqsetpolicy(irq, 0, &irq_s->irq_hook))) in ddekit_interrupt_attach()
212 ddekit_panic("Failed to attach interrupt (ERROR %d)", err_code); in ddekit_interrupt_attach()
231 int err_code; in ddekit_interrupt_detach() local
235 if (0 != (err_code = sys_irqrmpolicy(&irq_s->irq_hook))) in ddekit_interrupt_detach()
236 ddekit_panic("Failed to detach interrupt (ERROR %d)", err_code); in ddekit_interrupt_detach()
286 int err_code; in _ddekit_interrupt_trigger() local
293 if (0 != (err_code = sys_irqenable(&irq_s->irq_hook))) in _ddekit_interrupt_trigger()
295 "(ERROR %d)", err_code); in _ddekit_interrupt_trigger()
/minix3/minix/servers/vfs/
H A Dlink.c50 if (fetch_name(vname1, vname1_length, fullpath) != OK) return(err_code); in do_link()
51 if ((vp = eat_path(&resolve, fp)) == NULL) return(err_code); in do_link()
58 r = err_code; in do_link()
60 r = err_code; in do_link()
105 return(err_code); in do_unlink()
112 if ((dirp = last_dir(&resolve, fp)) == NULL) return(err_code); in do_unlink()
145 r = err_code; in do_unlink()
192 if (fetch_name(vname1, vname1_length, fullpath) != OK) return(err_code); in do_rename()
193 if ((old_dirp = last_dir(&resolve, fp)) == NULL) return(err_code); in do_rename()
210 r = err_code; in do_rename()
[all …]
H A Dutility.c38 err_code = ENAMETOOLONG; in copy_path()
50 err_code = ENAMETOOLONG; in copy_path()
66 err_code = ENAMETOOLONG; in fetch_name()
72 err_code = EINVAL; in fetch_name()
79 err_code = EINVAL; in fetch_name()
84 err_code = ENAMETOOLONG; in fetch_name()
H A Dstadir.c41 if ((rfilp = get_filp(rfd, VNODE_READ)) == NULL) return(err_code); in do_fchdir()
63 return(err_code); in do_chdir()
69 if ((vp = eat_path(&resolve, fp)) == NULL) return(err_code); in do_chdir()
97 return(err_code); in do_chroot()
103 if ((vp = eat_path(&resolve, fp)) == NULL) return(err_code); in do_chroot()
159 if (fetch_name(vname1, vname1_length, fullpath) != OK) return(err_code); in do_stat()
160 if ((vp = eat_path(&resolve, fp)) == NULL) return(err_code); in do_stat()
184 if ((rfilp = get_filp(rfd, VNODE_READ)) == NULL) return(err_code); in do_fstat()
314 if (fetch_name(vname1, vname1_length, fullpath) != OK) return(err_code); in do_statvfs()
315 if ((vp = eat_path(&resolve, fp)) == NULL) return(err_code); in do_statvfs()
[all …]
H A Dopen.c50 return(err_code); in do_open()
75 return(err_code); in do_creat()
111 r = err_code; in common_open()
126 return(err_code); in common_open()
349 if (vp == NULL && err_code == ENOENT) { in new_node()
397 err_code = r; in new_node()
426 r = err_code; in new_node()
430 err_code = EIO; /* Impossible, we have verified that in new_node()
434 err_code = r; in new_node()
462 r = err_code; /* Other problem. */ in new_node()
[all …]
H A Dprotect.c50 return(err_code); in do_chmod()
51 if ((vp = eat_path(&resolve, fp)) == NULL) return(err_code); in do_chmod()
56 if ((flp = get_filp(rfd, VNODE_WRITE)) == NULL) return(err_code); in do_chmod()
128 return(err_code); in do_chown()
129 if ((vp = eat_path(&resolve, fp)) == NULL) return(err_code); in do_chown()
135 return(err_code); in do_chown()
222 return(err_code); in do_access()
223 if ((vp = eat_path(&resolve, fp)) == NULL) return(err_code); in do_access()
H A Dmount.c130 return(err_code); in do_mount()
132 return(err_code); in do_mount()
136 return(err_code); in do_mount()
141 if (fetch_name(vname2, vname2_length, mount_path) != OK) return(err_code); in do_mount()
145 if (fetch_name(type, type_len, mount_type) != OK) return(err_code); in do_mount()
217 r = err_code; in mount_fs()
247 return(err_code); in mount_fs()
451 return(err_code); in do_umount()
453 return(err_code); in do_umount()
614 err_code = ENOTBLK; in name_to_dev()
[all …]
H A Dpath.c65 err_code = r; in advance()
185 err_code = ENOENT; in last_dir()
204 err_code = ENAMETOOLONG; in last_dir()
217 err_code = ENAMETOOLONG; in last_dir()
277 err_code = r; in last_dir()
352 err_code = ELOOP; in last_dir()
675 if ((dir_vp = last_dir(&resolve, rfp)) == NULL) return(err_code); in canonical_path()
738 return(err_code); in canonical_path()
857 if ((vp = eat_path(&resolve, rfp)) == NULL) return(err_code); in do_socketpath()
883 if ((dirp = last_dir(&resolve, rfp)) == NULL) return(err_code); in do_socketpath()
[all …]
H A Dtime.c74 if (fetch_name(vname, vname_length, fullpath) != OK) return(err_code); in do_utimens()
75 if ((vp = eat_path(&resolve, fp)) == NULL) return(err_code); in do_utimens()
83 return err_code; in do_utimens()
/minix3/external/bsd/tcpdump/dist/
H A Dprint-pptp.c113 uint8_t err_code; member
130 uint8_t err_code; member
141 uint8_t err_code; member
164 uint8_t err_code; member
188 uint8_t err_code; member
211 uint8_t err_code; member
341 const uint8_t *err_code) in pptp_err_code_print() argument
343 ND_PRINT((ndo, " ERR_CODE(%u", *err_code)); in pptp_err_code_print()
345 ND_PRINT((ndo, ":%s", tok2str(pptp_errcode_str, "?", *err_code))); in pptp_err_code_print()
560 ND_TCHECK(ptr->err_code); in pptp_sccrp_print()
[all …]
/minix3/minix/lib/liblwip/dist/src/netif/ppp/
H A Dppp.c326 pcb->err_code = PPPERR_USER; in ppp_close()
336 pcb->link_status_cb(pcb, pcb->err_code, pcb->ctx_cb); in ppp_close()
428 *(int *)arg = (int)(pcb->err_code); in ppp_ioctl()
751 pcb->err_code = PPPERR_OPEN; in ppp_link_failed()
752 pcb->link_status_cb(pcb, pcb->err_code, pcb->ctx_cb); in ppp_link_failed()
759 if (pcb->err_code == PPPERR_NONE) { in ppp_link_end()
760 pcb->err_code = PPPERR_CONNECT; in ppp_link_end()
762 pcb->link_status_cb(pcb, pcb->err_code, pcb->ctx_cb); in ppp_link_end()
1180 pcb->err_code = PPPERR_NONE; in sifup()
1183 PPPDEBUG(LOG_DEBUG, ("sifup[%d]: err_code=%d\n", pcb->netif->num, pcb->err_code)); in sifup()
[all …]
/minix3/minix/share/beaglebone/weather/
H A Dweatherstation.lua165 function response(err_code, content_type, content)
166 io.write("HTTP/1.1 " .. err_code .. "\r\n")
/minix3/external/bsd/flex/dist/
H A Dscanopt.c641 static int find_opt (s, lookup_long, optstart, len, err_code, opt_offset) in find_opt() argument
646 int *err_code;
651 *err_code = 0;
694 *err_code = SCANOPT_ERR_OPT_UNRECOGNIZED;
698 *err_code = SCANOPT_ERR_OPT_AMBIGUOUS;
702 return *err_code ? 0 : 1;
/minix3/minix/lib/liblwip/dist/src/include/netif/ppp/
H A Dppp.h192 typedef void (*ppp_link_status_cb_fn)(ppp_pcb *pcb, int err_code, void *ctx);
316 void (*link_status_cb)(ppp_pcb *pcb, int err_code, void *ctx); /* Status change callback */
323 u8_t err_code; /* Code indicating why interface is down. */ member

12