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.c43 int *errp) in controller_get_assoc_descriptors() argument
54 *errp = EINVAL; in controller_get_assoc_descriptors()
80 *errp = ENOMEM; in controller_get_attributes()
126 *errp = ENOMEM; in controller_get_attributes()
131 *errp = 0; in controller_get_attributes()
143 if (*errp != 0) { in controller_get_descriptor_by_name()
182 *errp = EINVAL; in controller_get_stats()
229 *errp = 0; in get_assoc_buses()
255 errp); in get_assoc_drives()
263 *errp = 0; in get_assoc_drives()
[all …]
H A Dbus.c50 *errp = EINVAL; in bus_get_assoc_descriptors()
61 *errp = ENOMEM; in bus_get_attributes()
69 *errp = ENOMEM; in bus_get_attributes()
76 *errp = ENOMEM; in bus_get_attributes()
84 *errp = ENOMEM; in bus_get_attributes()
89 *errp = 0; in bus_get_attributes()
101 if (*errp != 0) { in bus_get_descriptor_by_name()
140 *errp = EINVAL; in bus_get_stats()
177 if (*errp != 0) { in get_assoc_buses()
212 *errp = 0; in get_assoc_buses()
[all …]
H A Dpath.c51 *errp = EINVAL; in path_get_assoc_descriptors()
64 *errp = ENOMEM; in path_get_attributes()
70 *errp = ENOMEM; in path_get_attributes()
82 *errp = ENOMEM; in path_get_attributes()
87 *errp = ENOMEM; in path_get_attributes()
92 *errp = 0; in path_get_attributes()
104 if (*errp != 0) { in path_get_descriptor_by_name()
143 *errp = EINVAL; in path_get_stats()
275 *errp = 0; in get_assoc_controllers()
301 errp); in get_assoc_drives()
[all …]
H A Dalias.c43 int *errp) in alias_get_assoc_descriptors() argument
50 *errp = EINVAL; in alias_get_assoc_descriptors()
62 *errp = ENODEV; in alias_get_attributes()
68 *errp = ENOMEM; in alias_get_attributes()
75 *errp = ENOMEM; in alias_get_attributes()
81 *errp = ENOMEM; in alias_get_attributes()
89 *errp = ENOMEM; in alias_get_attributes()
110 *errp = 0; in alias_get_attributes()
126 if (*errp != 0) { in alias_get_descriptor_by_name()
141 *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.c87 *errp = 0; in fs_get_availablesize()
112 *errp = 0; in fs_get_avail_for_nonsuperuser_size()
137 *errp = 0; in fs_get_blocksize()
165 *errp = 0; in fs_get_filtered_mount_list()
224 *errp = 0; in fs_get_fragsize()
248 *errp = 0; in fs_get_maxfilenamelen()
276 *errp = 0; in fs_get_mounts_by_mntopt()
332 *errp = 0; in fs_get_mount_list()
388 *errp = 0; in fs_is_readonly()
432 *errp = 0; in fs_parse_optlist_for_option()
[all …]
H A Dlibfsmgt.h202 char *cmd_retrieve_string(int filedes, int *errp);
414 fs_mntdefaults_t *filter, int *errp);
475 int *errp);
521 int *errp);
571 boolean_t find_overlays, int *errp);
663 int *errp);
692 fs_sharelist_t *fs_get_share_list(int *errp);
1022 int *errp);
1043 int *errp);
1123 char *nfssec_get_default_secmode(int *errp);
[all …]
H A Dcmd.c184 *errp = 0; in cmd_execute_command_and_retrieve_string()
186 *errp = errno; in cmd_execute_command_and_retrieve_string()
191 *errp = errno; in cmd_execute_command_and_retrieve_string()
209 *errp = errno; in cmd_execute_command_and_retrieve_string()
210 exit(*errp); in cmd_execute_command_and_retrieve_string()
214 *errp = errno; in cmd_execute_command_and_retrieve_string()
215 exit(*errp); in cmd_execute_command_and_retrieve_string()
223 exit(*errp); in cmd_execute_command_and_retrieve_string()
228 exit(*errp); in cmd_execute_command_and_retrieve_string()
236 exit(*errp); in cmd_execute_command_and_retrieve_string()
[all …]
H A Dfs_mount_defaults.c58 int *errp);
60 int *errp);
93 int *errp) { in fs_get_filtered_mount_defaults() argument
149 *errp = errno; in fs_get_filtered_mount_defaults()
198 *errp = errno; in fs_get_mount_defaults()
225 *errp = errno; in fs_add_mount_default()
240 int *errp) in fs_edit_mount_defaults() argument
352 *errp = errno; in fs_edit_mount_defaults()
470 *errp = errno; in fs_del_mount_default_ent()
491 *errp = errno; in create_mntdefaults_entry()
[all …]
H A Dnfs_mntinfo.c172 *errp = errno; in get_kstat_info()
215 *errp = errno; in load_kstat_data()
220 *errp = errno; in load_kstat_data()
323 *errp = errno; in get_mount_data()
330 *errp = errno; in get_mount_data()
337 *errp = errno; in get_mount_data()
411 *errp = errno; in get_mount_data()
416 *errp = errno; in get_mount_data()
421 *errp = errno; in get_mount_data()
426 *errp = errno; in get_mount_data()
[all …]
H A Dnfs_nfssec.c71 nfssec_get_default_secmode(int *errp) in nfssec_get_default_secmode() argument
77 *errp = 0; in nfssec_get_default_secmode()
80 *errp = err; in nfssec_get_default_secmode()
86 *errp = err; in nfssec_get_default_secmode()
92 *errp = ENOMEM; in nfssec_get_default_secmode()
120 nfssec_get_nfs_secmode_list(int *num_elements, int *errp) in nfssec_get_nfs_secmode_list() argument
126 *errp = 0; in nfssec_get_nfs_secmode_list()
131 *errp = errno; in nfssec_get_nfs_secmode_list()
138 *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.c177 if (errp == NULL) in rhstr_to_ent()
178 errp = &err; in rhstr_to_ent()
185 *errp = LTSNET_EMPTY; in rhstr_to_ent()
194 *errp = LTSNET_NO_ADDR; in rhstr_to_ent()
202 *errp = LTSNET_NO_HOSTTYPE; in rhstr_to_ent()
206 *errp = LTSNET_SYSERR; in rhstr_to_ent()
212 *errp = LTSNET_ILL_ADDR; in rhstr_to_ent()
221 *errp = LTSNET_SYSERR; in rhstr_to_ent()
226 *errp = LTSNET_ILL_ADDR; in rhstr_to_ent()
237 *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.c123 if (errp == NULL) in ctf_elfconvert()
124 errp = &err; in ctf_elfconvert()
127 *errp = EINVAL; in ctf_elfconvert()
132 *errp = ECTF_FMT; in ctf_elfconvert()
138 *errp = ECTF_ELF; in ctf_elfconvert()
171 *errp = err; in ctf_elfconvert()
198 if (errp == NULL) in ctf_convert_init()
199 errp = &err; in ctf_convert_init()
200 *errp = 0; in ctf_convert_init()
204 *errp = ENOMEM; in ctf_convert_init()
[all …]
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Dgethostent6.c98 errp = outerr; in cloneName()
100 errp = &error; in cloneName()
103 *errp = 0; in cloneName()
110 *errp = 1; in cloneName()
116 *errp = 0; in cloneName()
143 *errp = 0; in cloneAddrList()
165 *errp = 1; in cloneAddrList()
192 *errp = 0; in cloneAddrList()
223 *errp = 0; in cloneAliasList()
251 *errp = 1; in cloneAliasList()
[all …]
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c105 #define errp prom_printf macro
553 DEBUGP(errp("resume system...\n")); in sysctrl_resume()
561 DEBUGP(errp("release cpus...")); in sysctrl_resume()
600 DEBUGP(errp("done\n")); in sysctrl_resume()
619 DEBUGP(errp("done\n")); in sysctrl_resume()
630 DEBUGP(errp("done\n")); in sysctrl_resume()
641 DEBUGP(errp("done\n")); in sysctrl_resume()
684 DEBUGP(errp("done\n")); in sysctrl_suspend()
695 DEBUGP(errp("done\n")); in sysctrl_suspend()
721 DEBUGP(errp("done\n")); in sysctrl_suspend()
[all …]

123456