Home
last modified time | relevance | path

Searched refs:errp (Results 1 – 25 of 142) sorted by relevance

123456

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dentry.c111 int *errp) in dm_get_associated_descriptors() argument
270 errp); in dm_get_descriptor_by_name()
280 errp); in dm_get_descriptor_by_name()
394 *errp = 0; in dm_get_name()
506 *errp = 0; in dm_get_slices()
543 *errp = 0; in dm_get_slice_stats()
810 *errp = 0; in dm_inuse_swap()
856 *errp = 0; in dm_inuse()
1131 *errp = 0; in libdiskmgt_empty_desc_array()
1200 *errp = 0; in desc_array_to_ptr_array()
[all …]
H A Ddisks_private.h153 dm_desc_type_t type, int *errp);
162 dm_desc_type_t type, int *errp);
167 int *errp);
172 dm_desc_type_t type, int *errp);
177 int *errp);
182 dm_desc_type_t type, int *errp);
193 dm_desc_type_t type, int *errp);
205 dm_desc_type_t type, int *errp);
214 dm_desc_type_t type, int *errp);
234 char *secondary_name, int *errp);
[all …]
H A Dcontroller.c45 int *errp) in controller_get_assoc_descriptors() argument
56 *errp = EINVAL; in controller_get_assoc_descriptors()
82 *errp = ENOMEM; in controller_get_attributes()
128 *errp = ENOMEM; in controller_get_attributes()
133 *errp = 0; in controller_get_attributes()
145 if (*errp != 0) { in controller_get_descriptor_by_name()
184 *errp = EINVAL; in controller_get_stats()
231 *errp = 0; in get_assoc_buses()
257 errp); in get_assoc_drives()
265 *errp = 0; in get_assoc_drives()
[all …]
H A Dbus.c52 *errp = EINVAL; in bus_get_assoc_descriptors()
63 *errp = ENOMEM; in bus_get_attributes()
71 *errp = ENOMEM; in bus_get_attributes()
78 *errp = ENOMEM; in bus_get_attributes()
86 *errp = ENOMEM; in bus_get_attributes()
91 *errp = 0; in bus_get_attributes()
103 if (*errp != 0) { in bus_get_descriptor_by_name()
142 *errp = EINVAL; in bus_get_stats()
179 if (*errp != 0) { in get_assoc_buses()
214 *errp = 0; in get_assoc_buses()
[all …]
H A Dpath.c53 *errp = EINVAL; in path_get_assoc_descriptors()
66 *errp = ENOMEM; in path_get_attributes()
72 *errp = ENOMEM; in path_get_attributes()
84 *errp = ENOMEM; in path_get_attributes()
89 *errp = ENOMEM; in path_get_attributes()
94 *errp = 0; in path_get_attributes()
106 if (*errp != 0) { in path_get_descriptor_by_name()
145 *errp = EINVAL; in path_get_stats()
277 *errp = 0; in get_assoc_controllers()
303 errp); in get_assoc_drives()
[all …]
H A Dalias.c45 int *errp) in alias_get_assoc_descriptors() argument
52 *errp = EINVAL; in alias_get_assoc_descriptors()
64 *errp = ENODEV; in alias_get_attributes()
70 *errp = ENOMEM; in alias_get_attributes()
77 *errp = ENOMEM; in alias_get_attributes()
83 *errp = ENOMEM; in alias_get_attributes()
91 *errp = ENOMEM; in alias_get_attributes()
112 *errp = 0; in alias_get_attributes()
128 if (*errp != 0) { in alias_get_descriptor_by_name()
143 *errp = ENODEV; in alias_get_descriptor_by_name()
[all …]
H A Dmedia.c48 int *errp);
59 int *errp) in media_get_assoc_descriptors() argument
62 *errp = ENODEV; in media_get_assoc_descriptors()
75 *errp = EINVAL; in media_get_assoc_descriptors()
104 *errp = ENOMEM; in media_get_assocs()
115 *errp = 0; in media_get_assocs()
126 *errp = ENODEV; in media_get_attributes()
131 *errp = ENOMEM; in media_get_attributes()
172 *errp = ENODEV; in media_get_descriptor_by_name()
213 *errp = EINVAL; in media_get_stats()
[all …]
H A Dslice.c83 int *errp) in slice_get_assoc_descriptors() argument
97 *errp = EINVAL; in slice_get_assoc_descriptors()
112 *errp = 0; in slice_get_assocs()
175 errp)); in slice_get_descriptor_by_name()
206 *errp = 0; in slice_get_stats()
540 *errp = 0; in get_fixed_assocs()
611 *errp = 0; in get_fixed_assocs()
751 *errp = 0; in match_fixed_name()
779 *errp = 0; in match_fixed_name()
792 *errp = 0; in match_fixed_name()
[all …]
H A Dpartition.c70 int *errp) in partition_get_assoc_descriptors() argument
73 *errp = ENODEV; in partition_get_assoc_descriptors()
90 *errp = EINVAL; in partition_get_assoc_descriptors()
120 *errp = ENOMEM; in partition_get_assocs()
174 errp); in partition_get_assocs()
223 *errp = 0; in partition_get_assocs()
234 *errp = ENODEV; in partition_get_attributes()
243 *errp = ENOMEM; in partition_get_attributes()
281 *errp = ENODEV; in partition_get_descriptor_by_name()
305 *errp = EINVAL; in partition_get_stats()
[all …]
H A Dlibdiskmgt.h436 int *errp);
438 dm_desc_type_t type, int *errp);
441 char *name, int *errp);
442 char *dm_get_name(dm_descriptor_t desc, int *errp);
446 int *errp);
448 int *errp);
449 nvlist_t *dm_get_event(int *errp);
451 int *errp);
453 int *errp);
457 int *errp);
[all …]
H A Ddrive.c367 int *errp) in drive_get_assoc_descriptors() argument
380 *errp = EINVAL; in drive_get_assoc_descriptors()
574 *errp = 0; in drive_get_stats()
598 *errp = errno; in drive_get_stats()
603 *errp = 0; in drive_get_stats()
608 *errp = EINVAL; in drive_get_stats()
691 *errp = 0; in apply_filter()
740 *errp = 0; in get_assoc_alias()
810 *errp = 0; in get_assoc_controllers()
845 NULL, errp); in get_assoc_paths()
[all …]
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c89 *errp = 0; in fs_get_availablesize()
114 *errp = 0; in fs_get_avail_for_nonsuperuser_size()
139 *errp = 0; in fs_get_blocksize()
167 *errp = 0; in fs_get_filtered_mount_list()
226 *errp = 0; in fs_get_fragsize()
250 *errp = 0; in fs_get_maxfilenamelen()
278 *errp = 0; in fs_get_mounts_by_mntopt()
334 *errp = 0; in fs_get_mount_list()
390 *errp = 0; in fs_is_readonly()
434 *errp = 0; in fs_parse_optlist_for_option()
[all …]
H A Dlibfsmgt.h204 char *cmd_retrieve_string(int filedes, int *errp);
416 fs_mntdefaults_t *filter, int *errp);
477 int *errp);
523 int *errp);
573 boolean_t find_overlays, int *errp);
665 int *errp);
694 fs_sharelist_t *fs_get_share_list(int *errp);
1024 int *errp);
1045 int *errp);
1125 char *nfssec_get_default_secmode(int *errp);
[all …]
H A Dcmd.c186 *errp = 0; in cmd_execute_command_and_retrieve_string()
188 *errp = errno; in cmd_execute_command_and_retrieve_string()
193 *errp = errno; in cmd_execute_command_and_retrieve_string()
211 *errp = errno; in cmd_execute_command_and_retrieve_string()
212 exit(*errp); in cmd_execute_command_and_retrieve_string()
216 *errp = errno; in cmd_execute_command_and_retrieve_string()
217 exit(*errp); in cmd_execute_command_and_retrieve_string()
225 exit(*errp); in cmd_execute_command_and_retrieve_string()
230 exit(*errp); in cmd_execute_command_and_retrieve_string()
238 exit(*errp); in cmd_execute_command_and_retrieve_string()
[all …]
H A Dfs_mount_defaults.c60 int *errp);
95 int *errp) { in fs_get_filtered_mount_defaults() argument
151 *errp = errno; in fs_get_filtered_mount_defaults()
200 *errp = errno; in fs_get_mount_defaults()
227 *errp = errno; in fs_add_mount_default()
242 int *errp) in fs_edit_mount_defaults() argument
349 *errp = errno; in fs_edit_mount_defaults()
354 *errp = errno; in fs_edit_mount_defaults()
472 *errp = errno; in fs_del_mount_default_ent()
493 *errp = errno; in create_mntdefaults_entry()
[all …]
H A Dnfs_mntinfo.c174 *errp = errno; in get_kstat_info()
217 *errp = errno; in load_kstat_data()
222 *errp = errno; in load_kstat_data()
325 *errp = errno; in get_mount_data()
332 *errp = errno; in get_mount_data()
339 *errp = errno; in get_mount_data()
413 *errp = errno; in get_mount_data()
418 *errp = errno; in get_mount_data()
423 *errp = errno; in get_mount_data()
428 *errp = errno; in get_mount_data()
[all …]
H A Dnfs_nfssec.c73 nfssec_get_default_secmode(int *errp) in nfssec_get_default_secmode() argument
79 *errp = 0; in nfssec_get_default_secmode()
82 *errp = err; in nfssec_get_default_secmode()
88 *errp = err; in nfssec_get_default_secmode()
94 *errp = ENOMEM; in nfssec_get_default_secmode()
122 nfssec_get_nfs_secmode_list(int *num_elements, int *errp) in nfssec_get_nfs_secmode_list() argument
128 *errp = 0; in nfssec_get_nfs_secmode_list()
133 *errp = errno; in nfssec_get_nfs_secmode_list()
140 *errp = err; in nfssec_get_nfs_secmode_list()
/illumos-gate/usr/src/lib/cfgadm_plugins/ccid/common/
H A Dcfga_ccid.c43 if (errp == NULL) in cfga_ccid_error()
51 (void) vasprintf(errp, fmt, ap); in cfga_ccid_error()
86 return (cfga_ccid_error(CFGA_ERROR, errp, in cfga_ccid_modify()
132 return (cfga_ccid_error(CFGA_ERROR, errp, in cfga_ccid_modify()
165 if (errp != NULL) { in cfga_change_state()
166 *errp = NULL; in cfga_change_state()
174 return (cfga_ccid_error(CFGA_ERROR, errp, in cfga_change_state()
203 if (errp != NULL) { in cfga_private_func()
204 *errp = NULL; in cfga_private_func()
312 if (errp != NULL) { in cfga_list_ext()
[all …]
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgetzcent.c128 *errp = LTSNET_SYSERR; in parse_mlp_list()
135 *errp = LTSNET_ILL_MLP; in parse_mlp_list()
144 *errp = LTSNET_SYSERR; in parse_mlp_list()
170 if (errp == NULL) in tsol_sgetzcent()
171 errp = &err; in tsol_sgetzcent()
179 *errp = LTSNET_SYSERR; in tsol_sgetzcent()
188 *errp = LTSNET_EMPTY; in tsol_sgetzcent()
190 *errp = LTSNET_NO_NAME; in tsol_sgetzcent()
192 *errp = LTSNET_ILL_NAME; in tsol_sgetzcent()
214 *errp = LTSNET_NO_LABEL; in tsol_sgetzcent()
[all …]
H A Dmisc.c193 if (errp == NULL) in rtsa_keyword()
194 errp = &err; in rtsa_keyword()
213 *errp = LTSNET_ILL_KEY; in rtsa_keyword()
241 *errp = LTSNET_DUP_KEY; in rtsa_keyword()
258 *errp = LTSNET_DUP_KEY; in rtsa_keyword()
275 *errp = LTSNET_DUP_KEY; in rtsa_keyword()
293 *errp = LTSNET_DUP_KEY; in rtsa_keyword()
300 *errp = LTSNET_ILL_DOI; in rtsa_keyword()
309 *errp = LTSNET_DUP_KEY; in rtsa_keyword()
324 *errp = LTSNET_NO_DOI; in rtsa_keyword()
[all …]
H A Dtsol_sgetrhent.c179 if (errp == NULL) in rhstr_to_ent()
180 errp = &err; in rhstr_to_ent()
187 *errp = LTSNET_EMPTY; in rhstr_to_ent()
196 *errp = LTSNET_NO_ADDR; in rhstr_to_ent()
204 *errp = LTSNET_NO_HOSTTYPE; in rhstr_to_ent()
208 *errp = LTSNET_SYSERR; in rhstr_to_ent()
214 *errp = LTSNET_ILL_ADDR; in rhstr_to_ent()
223 *errp = LTSNET_SYSERR; in rhstr_to_ent()
228 *errp = LTSNET_ILL_ADDR; in rhstr_to_ent()
239 *errp = LTSNET_ILL_NAME; in rhstr_to_ent()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_date.c49 ns_datetosecs(const char *cp, int *errp) { in ns_datetosecs() argument
57 *errp = 1; in ns_datetosecs()
60 *errp = 0; in ns_datetosecs()
65 time.tm_mday = datepart(cp + 6, 2, 01, 31, errp); in ns_datetosecs()
66 time.tm_hour = datepart(cp + 8, 2, 00, 23, errp); in ns_datetosecs()
67 time.tm_min = datepart(cp + 10, 2, 00, 59, errp); in ns_datetosecs()
68 time.tm_sec = datepart(cp + 12, 2, 00, 59, errp); in ns_datetosecs()
69 if (*errp) /*%< Any parse errors? */ in ns_datetosecs()
113 *errp = 1; in datepart()
117 *errp = 1; in datepart()
[all …]
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_convert.c122 if (errp == NULL) in ctf_elfconvert()
123 errp = &err; in ctf_elfconvert()
126 *errp = EINVAL; in ctf_elfconvert()
131 *errp = ECTF_FMT; in ctf_elfconvert()
137 *errp = ECTF_ELF; in ctf_elfconvert()
170 *errp = err; in ctf_elfconvert()
197 if (errp == NULL) in ctf_convert_init()
198 errp = &err; in ctf_convert_init()
199 *errp = 0; in ctf_convert_init()
203 *errp = ENOMEM; in ctf_convert_init()
[all …]
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Dgethostent6.c100 errp = outerr; in cloneName()
102 errp = &error; in cloneName()
105 *errp = 0; in cloneName()
112 *errp = 1; in cloneName()
118 *errp = 0; in cloneName()
145 *errp = 0; in cloneAddrList()
167 *errp = 1; in cloneAddrList()
194 *errp = 0; in cloneAddrList()
225 *errp = 0; in cloneAliasList()
253 *errp = 1; in cloneAliasList()
[all …]
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c101 #define errp prom_printf macro
552 DEBUGP(errp("resume system...\n")); in sysctrl_resume()
560 DEBUGP(errp("release cpus...")); in sysctrl_resume()
599 DEBUGP(errp("done\n")); in sysctrl_resume()
618 DEBUGP(errp("done\n")); in sysctrl_resume()
629 DEBUGP(errp("done\n")); in sysctrl_resume()
640 DEBUGP(errp("done\n")); in sysctrl_resume()
683 DEBUGP(errp("done\n")); in sysctrl_suspend()
694 DEBUGP(errp("done\n")); in sysctrl_suspend()
720 DEBUGP(errp("done\n")); in sysctrl_suspend()
[all …]

123456