/osnet-11/usr/src/lib/libfsmgt/common/ |
H A D | sys_info.c | 39 char *sys_get_hostname(int *errp) { argument 44 *errp = 0; 46 *errp = errno; 52 *errp = errno;
|
H A D | nfs_netcfg.c | 46 netcfg_get_networkid_list(int *num_elements, int *errp) argument 57 *errp = errno; 71 *errp = errno; 82 *errp = ENOMEM;
|
H A D | nfs_nfssec.c | 63 * - int *errp - the error indicator. This will be set to a non-zero 73 nfssec_get_default_secmode(int *errp) argument 79 *errp = 0; 82 *errp = err; 88 *errp = err; 94 *errp = ENOMEM; 110 * - int *errp - the error indicator. This will be set to a non-zero 122 nfssec_get_nfs_secmode_list(int *num_elements, int *errp) argument 128 *errp = 0; 133 *errp [all...] |
H A D | cmd.c | 172 * - int *errp - the error indicator. This will be set to a non-zero 179 cmd_execute_command_and_retrieve_string(char *cmd, int *errp) { argument 186 *errp = 0; 188 *errp = errno; 193 *errp = errno; 211 *errp = errno; 212 exit(*errp); 216 *errp = errno; 217 exit(*errp); 224 *errp 288 cmd_retrieve_string(int filedes, int *errp) argument [all...] |
H A D | fs_shares.c | 51 int *errp); 80 fs_get_share_list(int *errp) argument 96 newp = create_sharelist_entry(sharetab_entry, errp); 119 *errp = errno; 279 create_sharelist_entry(struct share *sharetab_entry, int *errp) argument 291 *errp = errno; 300 *errp = errno; 310 *errp = errno; 320 *errp = errno; 330 *errp [all...] |
H A D | fileutil.c | 66 fileutil_get_first_column_data(FILE *fp, int *num_elements, int *errp) argument 72 *errp = 0; 83 *errp = errno; 92 *errp = ENOMEM;
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_dump.c | 56 inuse_dump(char *slice, nvlist_t *attrs, int *errp) argument 62 *errp = 0; 87 DM_USE_DUMP, errp); 89 DM_USE_DUMP, errp);
|
H A D | inuse_zpool.c | 68 inuse_zpool_common(char *slice, nvlist_t *attrs, int *errp, char *type) argument 76 *errp = 0; 115 type, errp); 117 name, errp); 130 inuse_active_zpool(char *slice, nvlist_t *attrs, int *errp) argument 132 return (inuse_zpool_common(slice, attrs, errp, DM_USE_ACTIVE_ZPOOL)); 136 inuse_exported_zpool(char *slice, nvlist_t *attrs, int *errp) argument 138 return (inuse_zpool_common(slice, attrs, errp, DM_USE_EXPORTED_ZPOOL));
|
H A D | alias.c | 41 int *errp) 45 return (drive_get_assocs(desc, errp)); 48 *errp = EINVAL; 53 alias_get_attributes(descriptor_t *dp, int *errp) argument 60 *errp = ENODEV; 67 *errp = ENOMEM; 74 *errp = ENOMEM; 80 *errp = ENOMEM; 88 *errp = ENOMEM; 99 if ((*errp 40 alias_get_assoc_descriptors(descriptor_t *desc, dm_desc_type_t type, int *errp) argument 118 alias_get_descriptor_by_name(char *name, int *errp) argument 148 alias_get_descriptors(int filter[], int *errp) argument 161 alias_get_stats(descriptor_t *dp, int stat_type, int *errp) argument [all...] |
H A D | bus.c | 35 static descriptor_t **get_assoc_buses(descriptor_t *desc, int *errp); 36 static descriptor_t **get_assoc_controllers(descriptor_t *desc, int *errp); 39 bus_get_assoc_descriptors(descriptor_t *desc, dm_desc_type_t type, int *errp) argument 43 return (get_assoc_buses(desc, errp)); 45 return (get_assoc_controllers(desc, errp)); 48 *errp = EINVAL; 53 bus_get_attributes(descriptor_t *dp, int *errp) argument 59 *errp = ENOMEM; 67 *errp = ENOMEM; 74 *errp 92 bus_get_descriptor_by_name(char *name, int *errp) argument 122 bus_get_descriptors(int filter[], int *errp) argument 135 bus_get_stats(descriptor_t *dp, int stat_type, int *errp) argument 161 get_assoc_buses(descriptor_t *desc, int *errp) argument 215 get_assoc_controllers(descriptor_t *desc, int *errp) argument [all...] |
H A D | controller.c | 35 static descriptor_t **get_assoc_buses(descriptor_t *desc, int *errp); 36 static descriptor_t **get_assoc_drives(descriptor_t *desc, int *errp); 37 static descriptor_t **get_assoc_paths(descriptor_t *desc, int *errp); 41 int *errp) 45 return (get_assoc_drives(desc, errp)); 47 return (get_assoc_paths(desc, errp)); 49 return (get_assoc_buses(desc, errp)); 52 *errp = EINVAL; 57 controller_get_attributes(descriptor_t *dp, int *errp) argument 63 *errp 40 controller_get_assoc_descriptors(descriptor_t *desc, dm_desc_type_t type, int *errp) argument 134 controller_get_descriptor_by_name(char *name, int *errp) argument 164 controller_get_descriptors(int filter[], int *errp) argument 177 controller_get_stats(descriptor_t *dp, int stat_type, int *errp) argument 203 get_assoc_buses(descriptor_t *desc, int *errp) argument 232 get_assoc_drives(descriptor_t *desc, int *errp) argument 266 get_assoc_paths(descriptor_t *desc, int *errp) argument [all...] |
H A D | inuse_lu.c | 72 inuse_lu(char *slice, nvlist_t *attrs, int *errp) argument 77 *errp = 0; 95 *errp = load_lu(); /* load the cache */ 99 if (*errp == 0) { 105 libdiskmgt_add_str(attrs, DM_USED_BY, DM_USE_LU, errp); 106 libdiskmgt_add_str(attrs, DM_USED_NAME, listp->name, errp);
|
H A D | path.c | 36 static descriptor_t **get_assoc_drives(descriptor_t *desc, int *errp); 37 static descriptor_t **get_assoc_controllers(descriptor_t *desc, int *errp); 41 path_get_assoc_descriptors(descriptor_t *desc, dm_desc_type_t type, int *errp) argument 45 return (get_assoc_drives(desc, errp)); 47 return (get_assoc_controllers(desc, errp)); 50 *errp = EINVAL; 55 path_get_attributes(descriptor_t *dp, int *errp) argument 63 *errp = ENOMEM; 69 *errp = ENOMEM; 81 *errp 96 path_get_descriptor_by_name(char *name, int *errp) argument 126 path_get_descriptors(int filter[], int *errp) argument 139 path_get_stats(descriptor_t *dp, int stat_type, int *errp) argument 249 get_assoc_controllers(descriptor_t *desc, int *errp) argument 282 get_assoc_drives(descriptor_t *desc, int *errp) argument [all...] |
H A D | events.c | 89 dm_get_event(int *errp) argument 93 *errp = 0; 102 *errp = EINTR; 110 *errp = event_error; 124 if (*errp != 0 || event != NULL) { 133 dm_init_event_queue(void (*cb)(nvlist_t *, int), int *errp) argument 137 *errp = 0; 150 *errp = thr_create(NULL, NULL, 160 *errp = sema_init(&semaphore, 0, USYNC_THREAD, NULL); 161 if (*errp ! [all...] |
/osnet-11/usr/src/lib/libsmbios/common/ |
H A D | smb_subr.c | 39 smb_open_error(smbios_hdl_t *shp, int *errp, int err) argument 44 if (errp != NULL) 45 *errp = err;
|
H A D | smb_lib.c | 52 smb_fileopen(int fd, int version, int flags, int *errp) argument 60 return (smb_open_error(shp, errp, n < 0 ? errno : ESMB_NOHDR)); 63 return (smb_open_error(shp, errp, ESMB_HEADER)); 68 return (smb_open_error(shp, errp, n < 0 ? errno : ESMB_NOHDR)); 71 return (smb_open_error(shp, errp, ESMB_NOMEM)); 76 return (smb_open_error(shp, errp, n < 0 ? errno : ESMB_NOSTAB)); 79 shp = smbios_bufopen(ep, stbuf, ep->smbe_stlen, version, flags, errp); 90 smb_biosopen(int fd, int version, int flags, int *errp) argument 101 return (smb_open_error(shp, errp, ESMB_MAPDEV)); 112 return (smb_open_error(NULL, errp, ESMB_NOTFOUN 148 smbios_fdopen(int fd, int version, int flags, int *errp) argument 160 smbios_open(const char *file, int version, int flags, int *errp) argument [all...] |
/osnet-11/usr/src/lib/libipmi/common/ |
H A D | libipmi.c | 34 ipmi_open(int *errp, char **msg, uint_t xport_type, nvlist_t *params) argument 43 *errp = EIPMI_NOMEM; 65 *errp = ihp->ih_errno;
|
/osnet-11/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_date.c | 55 ns_datetosecs(const char *cp, int *errp) { argument 63 *errp = 1; 66 *errp = 0; 69 time.tm_year = datepart(cp + 0, 4, 1990, 9999, errp) - 1900; 70 time.tm_mon = datepart(cp + 4, 2, 01, 12, errp) - 1; 71 time.tm_mday = datepart(cp + 6, 2, 01, 31, errp); 72 time.tm_hour = datepart(cp + 8, 2, 00, 23, errp); 73 time.tm_min = datepart(cp + 10, 2, 00, 59, errp); 74 time.tm_sec = datepart(cp + 12, 2, 00, 59, errp); 75 if (*errp) /* 113 datepart(const char *buf, int size, int min, int max, int *errp) argument [all...] |
/osnet-11/usr/src/lib/libtsnet/common/ |
H A D | tsol_sgetrhent.c | 163 rhstr_to_ent(tsol_rhstr_t *rhstrp, int *errp, char **errstrp) argument 178 if (errp == NULL) 179 errp = &err; 186 *errp = LTSNET_EMPTY; 195 *errp = LTSNET_NO_ADDR; 203 *errp = LTSNET_NO_HOSTTYPE; 207 *errp = LTSNET_SYSERR; 213 *errp = LTSNET_ILL_ADDR; 222 *errp = LTSNET_SYSERR; 227 *errp [all...] |
H A D | tsol_sgettpent.c | 300 tpstr_to_ent(tsol_tpstr_t *tpstrp, int *errp, char **errstrp) argument 314 if (errp == NULL) 315 errp = &err; 322 *errp = LTSNET_EMPTY; 330 *errp = LTSNET_NO_NAME; 337 *errp = LTSNET_NO_ATTRS; 341 *errp = LTSNET_SYSERR; 347 *errp = LTSNET_ILL_NAME; 351 *errp = parse_remainder(tpentp, kv); 353 if (*errp [all...] |
H A D | tsol_sgetzcent.c | 106 parse_mlp_list(tsol_mlp_t **list, char *str, int *errp, char **errstrp) argument 128 *errp = LTSNET_SYSERR; 135 *errp = LTSNET_ILL_MLP; 144 *errp = LTSNET_SYSERR; 155 tsol_sgetzcent(const char *instr, int *errp, char **errstrp) argument 170 if (errp == NULL) 171 errp = &err; 179 *errp = LTSNET_SYSERR; 188 *errp = LTSNET_EMPTY; 190 *errp [all...] |
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | clnt_raw.c | 264 clnt_raw_geterr(CLIENT *cl, struct rpc_err *errp) argument 289 clnt_raw_abort(CLIENT *cl, struct rpc_err *errp) argument
|
H A D | svid_funcs.c | 101 clnt_geterr(CLIENT *cl, struct rpc_err *errp) argument 103 (*(cl)->cl_ops->cl_geterr)(cl, errp);
|
H A D | clnt_door.c | 309 clnt_door_geterr(CLIENT *cl, struct rpc_err *errp) argument 314 *errp = rpc_callerr;
|
/osnet-11/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 75 ctf_zopen(int *errp) argument 83 return (ctf_set_open_errno(errp, ECTF_ZMISSING)); 86 return (ctf_set_open_errno(errp, ECTF_ZINIT)); 94 return (ctf_set_open_errno(errp, ECTF_ZINIT)); 194 ctf_fdopen(int fd, int *errp) argument 214 return (ctf_set_open_errno(errp, errno)); 217 return (ctf_set_open_errno(errp, nbytes < 0? errno : ECTF_FMT)); 226 return (ctf_set_open_errno(errp, ECTF_CTFVERS)); 232 return (ctf_set_open_errno(errp, errno)); 241 if ((fp = ctf_bufopen(&ctfsect, NULL, NULL, errp)) 420 ctf_open(const char *filename, int *errp) argument [all...] |