Searched defs:error (Results 276 - 300 of 1783) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/troff/
H A Dn2.c70 int error; variable
260 error |= x;
297 error |= x;
336 error |= x;
345 exit(error);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dddt_zap.c63 int error; local
65 error = zap_length_uint64(os, object, (uint64_t *)&dde->dde_key,
67 if (error)
68 return (error);
73 error = zap_lookup_uint64(os, object, (uint64_t *)&dde->dde_key,
75 if (error)
76 return (error);
115 int error; local
118 if ((error = zap_cursor_retrieve(&zc, &za)) == 0) {
122 error
[all...]
H A Dzfs_onexit.c152 int error; local
154 error = zfs_onexit_minor_to_state(minor, &zo);
155 if (error)
156 return (error);
198 int error; local
200 error = zfs_onexit_minor_to_state(minor, &zo);
201 if (error)
202 return (error);
214 error = SET_ERROR(ENOENT);
217 return (error);
230 int error; local
[all...]
/illumos-gate/usr/src/uts/common/gssapi/
H A Dgssd_handle.c97 int error; local
110 if ((error = lookupname("/dev/ticotsord", UIO_SYSSPACE,
112 GSSLOG(1, "getgssd_handle: lookupname: %d\n", error);
162 error = clnt_tli_kcreate(&gssg->gss_config, &tmpaddr, GSSPROG,
167 if (error != 0) {
169 "getgssd_handle: clnt_tli_kcreate: error %d\n", error);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-platform.h103 and an extra variable is declared to hold an error code and a "yes
105 isn't set, otherwise returns the error code.
109 (pthread_once_t or int), an error code, and a pointer to the
113 just check the flag) and returns the stored error code (or the
114 pthread_once error).
202 typedef struct { k5_once_t once; int error, did_run; void (*fn)(void); } k5_init_t; member in struct:__anon4670
218 : (assert(k5int_i->did_run != 0), k5int_i->error)); \
230 return i->error; \
244 JOIN__2(NAME, once).error = NAME(); \
246 /* so ';' following macro use won't get error */ \
276 typedef struct { int error; unsigned char did_run; } k5_init_t; member in struct:__anon4671
302 typedef struct { int error; unsigned char did_run; } k5_init_t; member in struct:__anon4672
[all...]
/illumos-gate/usr/src/uts/common/inet/
H A Dinetddi.c70 #error inetddi.c: INET_NAME is not defined!
73 #error inetddi.c: at least one of INET_DEVDESC or INET_MODDESC or \
76 #error inetddi.c: INET_DEVDESC is defined but INET_DEVSTRTAB is not!
78 #error inetddi.c: INET_DEVDESC is defined but INET_DEVMTFLAGS is not!
80 #error inetddi.c: INET_DEVDESC is defined but INET_DEVMINOR is not!
82 #error inetddi.c: INET_MODDESC is defined but INET_MODSTRTAB is not!
84 #error inetddi.c: INET_MODDESC is defined but INET_MODMTFLAGS is not!
86 #error inetddi.c: INET_SOCKDESC is defined but SOCKMOD_VERSION is not!
88 #error inetddi.c: INET_SOCKDESC is defined but INET_SOCK_PROTO_CREATE_FUNC \
91 #error inetdd
167 int error = DDI_FAILURE; local
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_helper_stream.c183 int error; local
193 error = 0;
202 error = ldi_open_by_name((connp->conn_family == AF_INET6 ? DEV_IP6 :
205 if (error != 0) {
207 return (error);
223 error = ldi_ioctl(helper->iphs_handle, SIOCSQPTR, (intptr_t)connp,
226 if (error != 0) {
228 * Passing in a zero flag indicates that an error
236 return (error);
/illumos-gate/usr/src/uts/common/exec/elf/
H A Dold_notes.c123 int error; local
137 error = elfnote(vp, &offset, NT_PRPSINFO, sizeof (bigwad->psinfo),
139 if (error)
142 error = elfnote(vp, &offset, NT_PLATFORM, strlen(platform) + 1,
144 if (error)
152 error = elfnote(vp, &offset, NT_AUXV, sizeof (bigwad->auxv),
154 if (error)
191 error = elfnote(vp, &offset, NT_PRSTATUS,
194 if (error)
199 error
[all...]
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_tmpl.c129 int error; local
142 error = ctmpl_create(tmplnode->ctfs_tmn_tmpl, &ctid);
143 if (error)
144 return (error);
148 error = ctparam_copyin((void *)arg, &kparam, flag, cmd);
149 if (error != 0)
150 return (error);
151 error = ctmpl_set(tmplnode->ctfs_tmn_tmpl, &kparam, cr);
154 return (error);
156 error
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_sys.c95 int error = 0; local
139 error = svc_pool_create(&p);
149 error = svc_wait(id);
159 error = svc_do_run(id);
186 error = rdma_start(&rsa);
200 error = nfs_svc(STRUCT_BUF(nsa), get_udatamodel());
205 error = nfs_export(arg);
218 error = nfs_getfh(STRUCT_BUF(nga), get_udatamodel(), CRED());
230 error = sec_clnt_revoke(STRUCT_FGET(nra, authtype),
260 error
[all...]
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_tnode.c237 int error = 0; local
273 error = ENOSPC;
332 error = EINVAL;
339 error = EINVAL;
357 ASSERT(error == 0 || newsize != 0);
358 return (error);
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_original_elf_init.c61 _dwarf_error(dbg, error, errval); return(retval);
73 Dwarf_Error * error);
79 Return a libdwarf error code on error, return DW_DLV_OK
86 Dwarf_Ptr errarg, Dwarf_Debug * ret_dbg, Dwarf_Error * error)
126 error);
140 Dwarf_Debug * ret_dbg, Dwarf_Error * error)
148 error);
162 Dwarf_Error * error)
186 ret_dbg, error);
83 dwarf_init(int fd, Dwarf_Unsigned access, Dwarf_Handler errhand, Dwarf_Ptr errarg, Dwarf_Debug * ret_dbg, Dwarf_Error * error) argument
136 dwarf_elf_init(dwarf_elf_handle elf_file_pointer, Dwarf_Unsigned access, Dwarf_Handler errhand, Dwarf_Ptr errarg, Dwarf_Debug * ret_dbg, Dwarf_Error * error) argument
156 dwarf_elf_init_file_ownership(dwarf_elf_handle elf_file_pointer, int libdwarf_owns_elf, Dwarf_Unsigned access, Dwarf_Handler errhand, Dwarf_Ptr errarg, Dwarf_Debug * ret_dbg, Dwarf_Error * error) argument
203 dwarf_finish(Dwarf_Debug dbg, Dwarf_Error * error) argument
[all...]
H A Ddwarf_ranges.c60 Dwarf_Error * error)
74 res = _dwarf_load_section(dbg, &dbg->de_debug_ranges,error);
79 _dwarf_error(dbg, error, DW_DLE_DEBUG_RANGES_OFFSET_BAD);
92 _dwarf_error(dbg, error, DW_DLE_DEBUG_RANGES_OUT_OF_MEM);
99 _dwarf_error(dbg, error, DW_DLE_DEBUG_RANGES_OFFSET_BAD);
131 _dwarf_error(dbg, error, DW_DLE_DEBUG_RANGES_OUT_OF_MEM);
156 Dwarf_Error * error)
160 rangesbuf,listlen,bytecount,error);
54 dwarf_get_ranges_a(Dwarf_Debug dbg, Dwarf_Off rangesoffset, Dwarf_Die die, Dwarf_Ranges ** rangesbuf, Dwarf_Signed * listlen, Dwarf_Unsigned * bytecount, Dwarf_Error * error) argument
151 dwarf_get_ranges(Dwarf_Debug dbg, Dwarf_Off rangesoffset, Dwarf_Ranges ** rangesbuf, Dwarf_Signed * listlen, Dwarf_Unsigned * bytecount, Dwarf_Error * error) argument
H A Dpro_arange.c55 given Dwarf_P_Debug. It returns 0 on error,
62 Dwarf_Signed symbol_index, Dwarf_Error * error)
67 error);
73 given Dwarf_P_Debug. It returns 0 on error,
82 Dwarf_Addr offset_from_end_sym, Dwarf_Error * error)
87 _dwarf_p_error(NULL, error, DW_DLE_DBG_NULL);
94 _dwarf_p_error(dbg, error, DW_DLE_ALLOC_FAIL);
117 _dwarf_transform_arange_to_disk(Dwarf_P_Debug dbg, Dwarf_Error * error) argument
174 arange, (unsigned long) arange_num_bytes, error);
177 _dwarf_p_error(dbg, error, DW_DLE_ALLOC_FAI
59 dwarf_add_arange(Dwarf_P_Debug dbg, Dwarf_Addr begin_address, Dwarf_Unsigned length, Dwarf_Signed symbol_index, Dwarf_Error * error) argument
77 dwarf_add_arange_b(Dwarf_P_Debug dbg, Dwarf_Addr begin_address, Dwarf_Unsigned length, Dwarf_Unsigned symbol_index, Dwarf_Unsigned end_symbol_index, Dwarf_Addr offset_from_end_sym, Dwarf_Error * error) argument
[all...]
H A Dpro_expr.c53 dwarf_new_expr(Dwarf_P_Debug dbg, Dwarf_Error * error) argument
58 _dwarf_p_error(NULL, error, DW_DLE_DBG_NULL);
65 _dwarf_p_error(dbg, error, DW_DLE_ALLOC_FAIL);
79 Dwarf_Unsigned val2, Dwarf_Error * error)
116 _dwarf_p_error(NULL, error, DW_DLE_EXPR_NULL);
121 _dwarf_p_error(NULL, error, DW_DLE_DBG_NULL);
200 _dwarf_p_error(expr->ex_dbg, error, DW_DLE_EXPR_LENGTH_BAD);
211 _dwarf_p_error(expr->ex_dbg, error, DW_DLE_EXPR_LENGTH_BAD);
252 _dwarf_p_error(expr->ex_dbg, error, DW_DLE_BAD_EXPR_OPCODE);
289 _dwarf_p_error(expr->ex_dbg, error, DW_DLE_EXPR_LENGTH_BA
76 dwarf_add_expr_gen(Dwarf_P_Expr expr, Dwarf_Small opcode, Dwarf_Unsigned val1, Dwarf_Unsigned val2, Dwarf_Error * error) argument
491 dwarf_add_expr_addr_b(Dwarf_P_Expr expr, Dwarf_Unsigned addr, Dwarf_Unsigned sym_index, Dwarf_Error * error) argument
539 dwarf_add_expr_addr(Dwarf_P_Expr expr, Dwarf_Unsigned addr, Dwarf_Signed sym_index, Dwarf_Error * error) argument
550 dwarf_expr_current_offset(Dwarf_P_Expr expr, Dwarf_Error * error) argument
566 dwarf_expr_reset(Dwarf_P_Expr expr, Dwarf_Error * error) argument
577 dwarf_expr_into_block(Dwarf_P_Expr expr, Dwarf_Unsigned * length, Dwarf_Error * error) argument
[all...]
H A Dpro_reloc.c155 Return DW_DLV_ERROR if fails (malloc error).
218 Dwarf_Error * error)
242 Dwarf_Error * error)
214 dwarf_get_relocation_info_count(Dwarf_P_Debug dbg, Dwarf_Unsigned * count_of_relocation_sections, int *drd_buffer_version, Dwarf_Error * error) argument
237 dwarf_get_relocation_info(Dwarf_P_Debug dbg, Dwarf_Signed * elf_section_index, Dwarf_Signed * elf_section_index_link, Dwarf_Unsigned * relocation_buffer_count, Dwarf_Relocation_Data * reldata_buffer, Dwarf_Error * error) argument
H A Dpro_types.c52 It returns 0 on error, and 1 otherwise.
57 char *type_name, Dwarf_Error * error)
61 dwarf_snk_typename, error);
76 Dwarf_Error * error)
84 _dwarf_p_error(NULL, error, DW_DLE_DBG_NULL);
89 _dwarf_p_error(NULL, error, DW_DLE_DIE_NULL);
98 _dwarf_p_error(dbg, error, DW_DLE_ALLOC_FAIL);
104 _dwarf_p_error(dbg, error, DW_DLE_ALLOC_FAIL);
146 Dwarf_Error * error)
207 stream_bytes, (unsigned long) stream_bytes_count, error);
55 dwarf_add_typename(Dwarf_P_Debug dbg, Dwarf_P_Die die, char *type_name, Dwarf_Error * error) argument
72 _dwarf_add_simple_name_entry(Dwarf_P_Debug dbg, Dwarf_P_Die die, char *entry_name, enum dwarf_sn_kind entrykind, Dwarf_Error * error) argument
142 _dwarf_transform_simplename_to_disk(Dwarf_P_Debug dbg, enum dwarf_sn_kind entrykind, int section_index, Dwarf_Error * error) argument
[all...]
/illumos-gate/usr/src/tools/protocmp/
H A Dproto_list.c40 error(const char *msg, int lc) function
79 error("bad name", lc);
82 error("bad source/symbolic line", lc);
85 error("bad permissions", lc);
88 error("bad owner", lc);
91 error("bad group", lc);
94 error("bad i-node", lc);
97 error("bad link-count", lc);
103 error("bad type", lc);
106 error("ba
[all...]
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_start.c127 int error,
139 if (error) {
243 int error,
290 (*audit_s2e[scid].au_finish)(tad, error, rval);
295 if (flag = audit_success(kctx, tad, error, NULL)) {
333 au_to_return32(error, 0));
335 au_write(&(u_ad), au_to_return32(error,
342 au_to_return32(error, 0));
345 au_to_return32(error,
348 au_write(&(u_ad), au_to_return32(error,
123 audit_start( unsigned type, unsigned scid, uint32_t audit_state, int error, klwp_t *lwp) argument
240 audit_finish( unsigned type, unsigned scid, int error, rval_t *rval) argument
398 audit_success(au_kcontext_t *kctx, struct t_audit_data *tad, int error, cred_t *cr) argument
[all...]
/illumos-gate/usr/src/uts/common/ctf/
H A Dctf_mod.c120 ctf_modopen(struct module *mp, int *error) argument
126 if (error == NULL)
127 error = &err;
159 if ((fp = ctf_bufopen(&ctfsect, &symsect, &strsect, error)) == NULL)
/illumos-gate/usr/src/uts/common/io/
H A Dconnld.c152 int error = 0; local
165 error = EINVAL;
173 error = EPIPE;
183 error = ENXIO;
192 return (error);
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dgetdents4.c68 * (-1 if there's an error).
160 dprintf("nfs4_getdents: RPC error\n");
183 int error; local
190 error = nfs4getattr(nfp, &va);
191 if (error)
205 (void) nfs4lookupp(nfp, &error, &fileid);
206 if (error)
H A Dlookup.c84 int error; local
90 error = stpn_get(pathname, &pnp);
91 if (error)
92 return (error);
93 error = stlookuppn(&pnp, cur_file, needroothandle);
94 return (error);
103 int error = 0; local
130 error = ENOTDIR;
136 error = stpn_stripcomponent(pnp, component);
137 if (error)
[all...]
/illumos-gate/usr/src/test/os-tests/tests/sigqueue/
H A Dsigqueue_queue_size.c81 int error; local
96 error = sighold(SIGQUEUE_SIGNAL);
97 if (error == -1) {
107 error = sigemptyset(&action.sa_mask);
108 if (error == -1) {
115 error = sigaction(SIGQUEUE_SIGNAL, &action, 0);
116 if (error == -1) {
124 error = sigqueue(pid, SIGQUEUE_SIGNAL, value);
125 if (error == -1) {
132 * error
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dfbio.c192 int error, fberror; local
215 error = biowait(bp);
221 return (error ? error : fberror);

Completed in 113 milliseconds

<<11121314151617181920>>