Searched defs:errorp (Results 1 - 25 of 78) sorted by relevance

1234

/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_error.c93 __ns_ldap_freeError(ns_ldap_error_t **errorp) argument
97 if (errorp == NULL || *errorp == NULL)
100 err = *errorp;
105 *errorp = NULL;
H A Dns_getalias.c116 ns_ldap_error_t *errorp = NULL; local
159 &errorp, NULL, userdata);
169 if (errorp) {
170 if (errorp->message)
172 errorp->message);
176 (void) __ns_ldap_freeError(&errorp);
H A Dns_confmgr.c242 ns_ldap_error_t **errorp)
247 if (errorp == NULL) {
251 *errorp = NULL;
268 MKERROR(LOG_ERR, *errorp, NS_LDAP_CONFIG, strdup(errmsg), NULL);
272 return (__ns_ldap_setParamValue(config_struct, idx, attr_val, errorp));
286 __s_api_create_config_door_str(char *config, ns_ldap_error_t **errorp) argument
292 if (config == NULL || errorp == NULL)
299 *errorp = NULL;
307 MKERROR(LOG_ERR, *errorp, NS_LDAP_CONFIG, strdup(errmsg), NULL);
318 MKERROR(LOG_ERR, *errorp, NS_LDAP_CONFI
239 set_attr(ns_config_t *config_struct, char *attr_name, char *attr_val, ns_ldap_error_t **errorp) argument
476 ns_ldap_error_t *errorp; local
576 ns_ldap_error_t *errorp; local
683 ns_ldap_error_t *errorp = NULL; local
835 ns_ldap_error_t *errorp; local
997 __ns_ldap_download(const char *profile, char *addr, char *baseDN, ns_ldap_error_t **errorp) argument
1074 ns_ldap_error_t *errorp; local
[all...]
H A Dns_mapping.c333 ns_ldap_error_t **errorp = NULL; local
357 &paramVal, errorp)) != NS_LDAP_SUCCESS) {
358 (void) __ns_ldap_freeError(errorp);
655 ns_ldap_error_t **errorp)
669 if ((desc == NULL) || (errorp == NULL))
673 *errorp = NULL;
676 (void ***)&param, errorp);
690 MKERROR(LOG_ERR, *errorp, NS_CONFIG_NOTLOADED, strdup(errstr),
700 rc = __s_api_get_search_DNs_v1(&sdl, service, errorp);
725 &paramVal, errorp)) !
652 __ns_ldap_getSearchDescriptors( const char *service, ns_ldap_search_desc_t ***desc, ns_ldap_error_t **errorp) argument
829 __ns_ldap_getAttributeMaps( const char *service, ns_ldap_attribute_map_t ***maps, ns_ldap_error_t **errorp) argument
912 __ns_ldap_getObjectClassMaps( const char *service, ns_ldap_objectclass_map_t ***maps, ns_ldap_error_t **errorp) argument
[all...]
/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c99 ns_ldap_error_t *errorp = NULL; local
109 ldaprc = __ns_ldap_uid2dn(usrname, &binddn, NULL, &errorp);
123 (void ***)&certpath, &errorp);
130 ldaprc = __ns_ldap_getServiceAuthMethods("pam_ldap", &authpp, &errorp);
140 &errorp);
170 ldaprc = __ns_ldap_auth(credp, 0, &errorp, NULL, NULL);
200 if (errorp) {
201 if (errorp->pwd_mgmt.status ==
209 errorp->
211 } else if (errorp
[all...]
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsockmod_sdp.c75 int version, int sflags, int *errorp, cred_t *cr)
83 *errorp = 0;
85 *errorp = EOPNOTSUPP;
90 *errorp = EINVAL;
100 *errorp = EINVAL;
106 *errorp = ENOMEM;
74 socksdp_create(struct sockparams *sp, int family, int type, int protocol, int version, int sflags, int *errorp, cred_t *cr) argument
H A Dsockmod_sctp.c120 int version, int sflags, int *errorp, cred_t *cr)
127 *errorp = EINVAL;
137 *errorp = EINVAL;
143 *errorp = ENOMEM;
119 socksctp_create(struct sockparams *sp, int family, int type, int protocol, int version, int sflags, int *errorp, cred_t *cr) argument
/illumos-gate/usr/src/cmd/sgs/error/common/
H A Derrorfilter.c159 discardit(Eptr errorp) argument
163 Errorclass errorclass = errorp->error_e_class;
173 if (errorp->error_lgtext < 2) {
176 language = errorp->error_language;
180 if (strcmp(errorp->error_text[0],
190 if (ispunct(lastchar(errorp->error_text[2])))
191 clob_last(errorp->error_text[2], '\0');
193 errorp->error_text[errorclass == C_NONSPEC ? 0 : 2]) >= 0) {
H A Derrorsubr.c41 Eptr errorp; local
46 for (errorp = header, listlength = 0;
47 errorp; errorp = errorp->error_next, listlength++)
50 for (listindex = 0, errorp = header;
52 listindex++, errorp = errorp->error_next) {
53 array[listindex] = errorp;
54 errorp
250 Eptr errorp; local
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_cfgfile.c87 nscd_cfg_error_t **errorp)
113 if (errorp != NULL)
114 *errorp = _nscd_cfg_make_error(
159 if (errorp != NULL)
160 *errorp = _nscd_cfg_make_error(
173 rc = _nscd_cfg_get_handle(fields[0], dbname, &h, errorp);
181 &data_p, errorp);
186 rc = _nscd_cfg_prelim_check(pdesc, data_p, errorp);
190 rc = _nscd_cfg_set_linked(h, data_p, errorp);
196 _nscd_cfg_free_error(*errorp);
85 _nscd_cfg_read_file( char *filename, nscd_cfg_error_t **errorp) argument
219 _nscd_cfg_read_nsswitch_file( char *filename, nscd_cfg_error_t **errorp) argument
[all...]
H A Dnscd_nswcfgst.c85 nscd_cfg_error_t **errorp,
152 nscd_cfg_error_t **errorp,
206 if (*errorp)
207 *errorp = _nscd_cfg_make_error(
222 if (*errorp)
223 *errorp = _nscd_cfg_make_error(
250 nscd_cfg_error_t **errorp)
80 _nscd_cfg_switch_notify( void *data, struct nscd_cfg_param_desc *pdesc, nscd_cfg_id_t *nswdb, nscd_cfg_flag_t dflag, nscd_cfg_error_t **errorp, void *cookie) argument
147 _nscd_cfg_switch_verify( void *data, struct nscd_cfg_param_desc *pdesc, nscd_cfg_id_t *nswdb, nscd_cfg_flag_t dflag, nscd_cfg_error_t **errorp, void **cookie) argument
244 _nscd_cfg_switch_get_stat( void **stat, struct nscd_cfg_stat_desc *sdesc, nscd_cfg_id_t *nswdb, nscd_cfg_flag_t *dflag, void (**free_stat)(void *stat), nscd_cfg_error_t **errorp) argument
H A Dnscd_log.c262 nscd_cfg_error_t **errorp,
318 nscd_cfg_error_t **errorp,
400 nscd_cfg_error_t **errorp)
257 _nscd_cfg_log_notify( void *data, struct nscd_cfg_param_desc *pdesc, nscd_cfg_id_t *nswdb, nscd_cfg_flag_t dflag, nscd_cfg_error_t **errorp, void *cookie) argument
313 _nscd_cfg_log_verify( void *data, struct nscd_cfg_param_desc *pdesc, nscd_cfg_id_t *nswdb, nscd_cfg_flag_t dflag, nscd_cfg_error_t **errorp, void **cookie) argument
394 _nscd_cfg_log_get_stat( void **stat, struct nscd_cfg_stat_desc *sdesc, nscd_cfg_id_t *nswdb, nscd_cfg_flag_t *dflag, void (**free_stat)(void *stat), nscd_cfg_error_t **errorp) argument
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_attr.c66 union nfs4_attr_u *nap, int flags, int *errorp)
75 *errorp = 0;
91 if (*errorp = nfs_idmap_uid_str(vap->va_uid, &nap->owner,
100 if (*errorp = nfs_idmap_gid_str(vap->va_gid, &nap->owner_group,
106 (*errorp = nfs4_time_vton(&vap->va_ctime,
118 (*errorp = nfs4_time_vton(&vap->va_mtime,
129 if (*errorp = nfs4_time_vton(&vap->va_ctime,
155 int *errorp)
164 *errorp = 0;
180 if (*errorp
65 nfs4_ver_fattr4_attr(vattr_t *vap, struct nfs4_ntov_map *ntovp, union nfs4_attr_u *nap, int flags, int *errorp) argument
153 nfs4_set_fattr4_attr(vattr_t *vap, vsecattr_t *vsap, struct nfs4_ntov_map *ntovp, union nfs4_attr_u *nap, int flags, int *errorp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dtty_common.c121 ttycommon_ioctl(tty_common_t *tc, queue_t *q, mblk_t *mp, int *errorp) argument
127 *errorp = 0; /* no error detected yet */
132 *errorp = -1; /* we don't understand it, maybe they do */
152 *errorp = -1;
184 *errorp = -1;
204 *errorp = -1;
245 *errorp = -1;
266 *errorp = -1;
401 *errorp = -1; /* we don't understand it, maybe they do */
H A Dstrsun.c249 ssize_t maxblk, int *errorp)
282 *errorp = ENOMEM;
292 if ((*errorp = uiomove(mp->b_rptr, (size_t)blocksize,
294 ASSERT(*errorp != ENOMEM);
303 *errorp = 0;
248 mcopyinuio(struct stdata *stp, uio_t *uiop, ssize_t iosize, ssize_t maxblk, int *errorp) argument
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dpool_rcm.c114 processorid_t *del_cpus, char **errorp)
184 *errorp = errval;
202 pset_validate_remove(nvlist_t *nvl, char **errorp) argument
231 *errorp = strdup(generic_error);
240 *errorp = strdup(generic_error);
332 if (pool_check_pset(conf, res[i], removed_list, errorp) < 0) {
348 if (error != RCM_SUCCESS && *errorp == NULL)
349 *errorp = strdup(generic_error);
360 uint_t flags, nvlist_t *nvlist, char **errorp, rcm_info_t **dependent_info)
364 *errorp
113 pool_check_pset(pool_conf_t *conf, pool_resource_t *res, processorid_t *del_cpus, char **errorp) argument
359 pool_request_capacity_change(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, nvlist_t *nvlist, char **errorp, rcm_info_t **dependent_info) argument
434 pool_get_info(rcm_handle_t *hdl, char *rsrcname, id_t pid, uint_t flag, char **infop, char **errorp, nvlist_t *props, rcm_info_t **dependent_info) argument
[all...]
H A Drcm_impl.c684 int *errorp)
783 *errorp = error;
788 *errorp = RCM_SUCCESS;
682 query(char **rsrcnames, int cmd, const char *opname, int querystate, pid_t pid, uint_t flag, timespec_t *interval, int seq_num, rcm_info_t **info, int *errorp) argument
H A Dbridge_rcm.c283 char **errorp, rcm_info_t **info)
295 bridge_log_err(DATALINK_INVALID_LINKID, errorp,
311 bridge_log_err(node->vc_linkid, errorp, "offline failed");
330 char **errorp, rcm_info_t **info)
341 bridge_log_err(DATALINK_INVALID_LINKID, errorp, "no such link");
349 bridge_log_err(node->vc_linkid, errorp, "link not offlined");
382 char **usagep, char **errorp, nvlist_t *props, rcm_info_t **info)
423 uint_t flags, char **errorp, rcm_info_t **info)
435 char **errorp, rcm_info_t **info)
447 char **errorp, rcm_info_
282 bridge_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **info) argument
329 bridge_undo_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **info) argument
381 bridge_get_info(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **usagep, char **errorp, nvlist_t *props, rcm_info_t **info) argument
422 bridge_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval, uint_t flags, char **errorp, rcm_info_t **info) argument
434 bridge_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **info) argument
446 bridge_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **info) argument
482 bridge_notify_event(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, nvlist_t *nvl, rcm_info_t **info) argument
824 bridge_log_err(datalink_id_t linkid, char **errorp, char *errmsg) argument
[all...]
H A Dnetwork_rcm.c818 char **errorp, nvlist_t *nvl, rcm_info_t **depend_info)
817 net_notify_event(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, nvlist_t *nvl, rcm_info_t **depend_info) argument
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldaplist.c195 ns_ldap_error_t *errorp; local
221 listflag, &result, &errorp, NULL, userdata);
225 if (errorp && errorp->message) {
227 p, errorp->message);
228 (void) __ns_ldap_freeError(&errorp);
273 ns_ldap_error_t *errorp = NULL; local
385 &errorp) != NS_LDAP_SUCCESS) {
386 if (errorp) {
387 (void) fprintf(stderr, "%s", errorp
[all...]
H A Dmapping.c386 ns_ldap_error_t *errorp = NULL; local
406 rc = __ns_ldap_getParam(NS_LDAP_FILE_VERSION_P, &paramVal, &errorp);
409 (void) __ns_ldap_freeError(&errorp);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_ire.c1137 int *errorp, boolean_t *multirtp)
1141 return (ip_select_route(dst, src, ixa, generationp, setsrcp, errorp,
1135 ip_select_route_v6(const in6_addr_t *dst, const in6_addr_t src, ip_xmit_attr_t *ixa, uint_t *generationp, in6_addr_t *setsrcp, int *errorp, boolean_t *multirtp) argument
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon.c68 int flags, int version, struct cred *cr, int *errorp)
78 *errorp = solookup(family, type, protocol, &sp);
79 saved_error = *errorp;
89 protocol, devpath, kmflags, errorp);
93 protocol, mod, kmflags, errorp);
95 *errorp = solookup(family, type, 0, &sp);
99 if (saved_error && (*errorp == EPROTONOSUPPORT ||
100 *errorp == EPROTOTYPE || *errorp == ENOPROTOOPT))
101 *errorp
67 socket_create(int family, int type, int protocol, char *devpath, char *mod, int flags, int version, struct cred *cr, int *errorp) argument
129 socket_newconn(struct sonode *parent, sock_lower_handle_t lh, sock_downcalls_t *dc, int flags, int *errorp) argument
[all...]
H A Dsockparams.c159 * char *devpath, int devpathlen, int flags, int kmflags, int *errorp)
176 * errorp : Value-return argument, set when an error occurs.
179 * On success a new sockparams entry is returned, and *errorp is set
180 * to 0. On failure NULL is returned and *errorp is set to indicate the
188 char *devpath, int devpathlen, int flags, int kmflags, int *errorp)
195 *errorp = EINVAL;
201 *errorp = EINVAL;
207 *errorp = ENOMEM;
240 *errorp = ENOMEM;
249 *errorp
187 sockparams_create(int family, int type, int protocol, char *modname, char *devpath, int devpathlen, int flags, int kmflags, int *errorp) argument
401 sockparams_hold_ephemeral(int family, int type, int protocol, const char *name, boolean_t by_devpath, int kmflag, int *errorp) argument
498 sockparams_hold_ephemeral_bydev(int family, int type, int protocol, const char *dev, int kmflag, int *errorp) argument
506 sockparams_hold_ephemeral_bymod(int family, int type, int protocol, const char *mod, int kmflag, int *errorp) argument
[all...]
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c993 ns_ldap_error_t *errorp = NULL; local
1011 (void ***)&certpath, &errorp);
1020 &errorp);
1031 &errorp);
1064 credp, flags, &errorp);
1075 errorp->status == NS_CONFIG_NOTALLOW) {
1086 (errorp->pwd_mgmt.status == NS_PASSWD_GOOD) &&
1087 ((errorp->status == LDAP_INAPPROPRIATE_AUTH) ||
1088 (errorp->status == LDAP_INVALID_CREDENTIALS))) {
1098 errorp
1143 ns_ldap_error_t *errorp; local
[all...]

Completed in 74 milliseconds

1234