Searched refs:errorp (Results 1 - 25 of 85) sorted by relevance

1234

/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/lib/libsldap/common/
H A Dllib-lsldap47 ns_ldap_error_t ** errorp,
61 ns_ldap_error_t ** errorp,
71 ns_ldap_error_t **errorp);
79 ns_ldap_error_t **errorp);
87 ns_ldap_error_t **errorp);
95 ns_ldap_error_t **errorp);
104 ns_ldap_error_t **errorp);
111 ns_ldap_error_t **errorp);
124 ns_ldap_error_t **errorp,
130 ns_ldap_error_t **errorp);
[all...]
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_sldap.h247 NS_LDAP_SUCCESS = 0, /* success, no info in errorp */
248 NS_LDAP_OP_FAILED = 1, /* failed operation, no info in errorp */
249 NS_LDAP_NOTFOUND = 2, /* entry not found, no info in errorp */
250 NS_LDAP_MEMORY = 3, /* memory failure, no info in errorp */
251 NS_LDAP_CONFIG = 4, /* config problem, detail in errorp */
252 NS_LDAP_PARTIAL = 5, /* partial result, detail in errorp */
253 NS_LDAP_INTERNAL = 7, /* LDAP error, detail in errorp */
254 NS_LDAP_INVALID_PARAM = 8, /* LDAP error, no info in errorp */
256 = 9 /* success, with info in errorp */
590 * errorp
[all...]
H A Dns_connect.c74 ns_ldap_error_t **errorp,
680 * Failure: returns NULL, error code and message should be in errorp
686 ns_ldap_error_t **errorp, int fail_if_new_pwd_reqd,
703 if (conp == NULL || errorp == NULL || auth == NULL)
705 if (*errorp)
706 (void) __ns_ldap_freeError(errorp);
752 *errorp,
783 rc = openConnection(&ld, *bindHost, auth, timeoutSec, errorp,
813 rc = __s_api_requestServer(hReq, host, &sinfo, errorp,
818 if (*errorp) {
684 makeConnection(Connection **conp, const char *serverAddr, const ns_cred_t *auth, ConnectionID *cID, int timeoutSec, ns_ldap_error_t **errorp, int fail_if_new_pwd_reqd, int nopasswd_acct_mgmt, int flags, char ***badsrvrs, ns_conn_user_t *conn_user) argument
1129 process_pwd_mgmt(char *bind_type, int ldaprc, LDAPControl **controls, char *errmsg, ns_ldap_error_t **errorp, int fail_if_new_pwd_reqd, int passwd_mgmt) argument
1344 openConnection(LDAP **ldp, const char *serverAddr, const ns_cred_t *auth, int timeoutSec, ns_ldap_error_t **errorp, int fail_if_new_pwd_reqd, int passwd_mgmt, ns_conn_user_t *conn_user, int flags) argument
1501 ns_ldap_error_t *errorp = NULL; local
1697 getConnection( const char *server, const int flags, const ns_cred_t *cred, ConnectionID *sessionId, Connection **session, ns_ldap_error_t **errorp, int fail_if_new_pwd_reqd, int nopasswd_acct_mgmt, ns_conn_user_t *conn_user) argument
1987 __s_api_getConnection( const char *server, const int flags, const ns_cred_t *cred, ConnectionID *sessionId, Connection **session, ns_ldap_error_t **errorp, int fail_if_new_pwd_reqd, int nopasswd_acct_mgmt, ns_conn_user_t *conn_user) argument
2036 createTLSSession(const ns_cred_t *auth, const char *serverAddr, uint16_t port, int timeoutMilliSec, LDAP **ldp, ns_ldap_error_t **errorp) argument
2216 createNonTLSSession(const char *serverAddr, uint16_t port, int gssapi, LDAP **ldp, ns_ldap_error_t **errorp) argument
2285 createSession(const ns_cred_t *auth, const char *serverAddr, uint16_t port, int timeoutMilliSec, LDAP **ldp, ns_ldap_error_t **errorp) argument
2333 doSimpleBind(const ns_cred_t *auth, LDAP *ld, int timeoutSec, ns_ldap_error_t **errorp, int fail_if_new_pwd_reqd, int passwd_mgmt) argument
2431 doSASLBind(const ns_cred_t *auth, LDAP *ld, int timeoutSec, ns_ldap_error_t **errorp, int fail_if_new_pwd_reqd, int passwd_mgmt) argument
2633 performBind(const ns_cred_t *auth, LDAP *ld, int timeoutSec, ns_ldap_error_t **errorp, int fail_if_new_pwd_reqd, int passwd_mgmt) argument
[all...]
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_reads.c823 &curEntry, &cookie->errorp);
1041 if (cookie->errorp)
1042 (void) __ns_ldap_freeError(&cookie->errorp);
1364 MKERROR(LOG_WARNING, cookie->errorp,
1548 (void ***)&param, &cookie->errorp);
1605 &cookie->errorp, fail_if_new_pwd_reqd,
1609 * If password control attached in *cookie->errorp,
1617 &cookie->errorp);
1618 cookie->errorp = NULL;
1652 &cookie->errorp, fail_if_new_pwd_req
2031 ns_ldap_error_t **errorp = NULL; local
2263 ns_ldap_error_t **errorp; local
2636 ns_ldap_error_t *errorp = NULL; local
2772 ns_ldap_error_t *errorp = NULL; local
3050 ldap_list( ns_ldap_list_batch_t *batch, const char *service, const char *filter, const char *sortattr, int (*init_filter_cb)(const ns_ldap_search_desc_t *desc, char **realfilter, const void *userdata), const char * const *attribute, const ns_cred_t *auth, const int flags, ns_ldap_result_t **rResult, ns_ldap_error_t **errorp, int *rcp, int (*callback)(const ns_ldap_entry_t *entry, const void *userdata), const void *userdata, ns_conn_user_t *conn_user) argument
3275 __ns_ldap_list( const char *service, const char *filter, int (*init_filter_cb)(const ns_ldap_search_desc_t *desc, char **realfilter, const void *userdata), const char * const *attribute, const ns_cred_t *auth, const int flags, ns_ldap_result_t **rResult, ns_ldap_error_t **errorp, int (*callback)(const ns_ldap_entry_t *entry, const void *userdata), const void *userdata) argument
3308 __ns_ldap_list_sort( const char *service, const char *filter, const char *sortattr, int (*init_filter_cb)(const ns_ldap_search_desc_t *desc, char **realfilter, const void *userdata), const char * const *attribute, const ns_cred_t *auth, const int flags, ns_ldap_result_t **rResult, ns_ldap_error_t **errorp, int (*callback)(const ns_ldap_entry_t *entry, const void *userdata), const void *userdata) argument
3355 __ns_ldap_list_batch_add( ns_ldap_list_batch_t *batch, const char *service, const char *filter, int (*init_filter_cb)(const ns_ldap_search_desc_t *desc, char **realfilter, const void *userdata), const char * const *attribute, const ns_cred_t *auth, const int flags, ns_ldap_result_t **rResult, ns_ldap_error_t **errorp, int *rcp, int (*callback)(const ns_ldap_entry_t *entry, const void *userdata), const void *userdata) argument
3451 ns_ldap_error_t *errorp = NULL; local
3598 find_domainname(const char *dn, char **domainname, const ns_cred_t *cred, ns_ldap_error_t **errorp, ns_conn_user_t *conn_user) argument
3697 __s_api_find_domainname(const char *dn, char **domainname, const ns_cred_t *cred, ns_ldap_error_t **errorp) argument
3715 firstEntry( const char *service, const char *filter, const char *sortattr, int (*init_filter_cb)(const ns_ldap_search_desc_t *desc, char **realfilter, const void *userdata), const char * const *attribute, const ns_cred_t *auth, const int flags, void **vcookie, ns_ldap_result_t **result, ns_ldap_error_t ** errorp, const void *userdata, ns_conn_user_t *conn_user) argument
3918 __ns_ldap_firstEntry( const char *service, const char *filter, const char *vlv_sort, int (*init_filter_cb)(const ns_ldap_search_desc_t *desc, char **realfilter, const void *userdata), const char * const *attribute, const ns_cred_t *auth, const int flags, void **vcookie, ns_ldap_result_t **result, ns_ldap_error_t ** errorp, const void *userdata) argument
3949 __ns_ldap_nextEntry(void *vcookie, ns_ldap_result_t **result, ns_ldap_error_t ** errorp) argument
3992 __ns_ldap_endEntry( void **vcookie, ns_ldap_error_t ** errorp) argument
4060 __ns_ldap_auth(const ns_cred_t *auth, const int flags, ns_ldap_error_t **errorp, LDAPControl **serverctrls, LDAPControl **clientctrls) argument
4133 __ns_ldap_uid2dn(const char *uid, char **userDN, const ns_cred_t *cred, ns_ldap_error_t **errorp) argument
4236 __ns_ldap_host2dn(const char *host, const char *domain, char **hostDN, const ns_cred_t *cred, ns_ldap_error_t **errorp) argument
4314 __ns_ldap_dn2domain(const char *dn, char **domain, const ns_cred_t *cred, ns_ldap_error_t **errorp) argument
4422 __ns_ldap_getServiceAuthMethods(const char *service, ns_auth_t ***auth, ns_ldap_error_t **errorp) argument
[all...]
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_writes.c665 ns_ldap_error_t ** errorp)
707 *errorp = conn_user->ns_error;
728 &followRef, errorp);
738 errorp);
753 flags, cred, &connectionId, &conp, errorp,
759 * in *errorp,
766 (void) __ns_ldap_freeError(errorp);
767 *errorp = NULL;
941 if (*errorp)
942 (void) __ns_ldap_freeError(errorp);
659 write_state_machine( int ldap_op, char *dn, LDAPMod **mods, const ns_cred_t *cred, const int flags, ns_ldap_error_t ** errorp) argument
1114 __ns_ldap_addAttr( const char *service, const char *dn, const ns_ldap_attr_t * const *attr, const ns_cred_t *cred, const int flags, ns_ldap_error_t ** errorp) argument
1150 __ns_ldap_delAttr( const char *service, const char *dn, const ns_ldap_attr_t * const *attr, const ns_cred_t *cred, const int flags, ns_ldap_error_t ** errorp) argument
1185 get_admin_passwd(ns_cred_t *cred, ns_ldap_error_t **errorp) argument
1239 ns_ldap_error_t *errorp = NULL; local
1271 __ns_ldap_repAttr( const char *service, const char *dn, const ns_ldap_attr_t * const *attr, const ns_cred_t *cred, const int flags, ns_ldap_error_t ** errorp) argument
1353 __ns_ldap_addEntry( const char *service, const char *dn, const ns_ldap_entry_t *entry, const ns_cred_t *cred, const int flags, ns_ldap_error_t ** errorp) argument
1403 __ns_ldap_delEntry( const char *service, const char *dn, const ns_cred_t *cred, const int flags, ns_ldap_error_t ** errorp) argument
1525 __s_cvt_passwd(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
1667 __s_cvt_project(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
1779 __s_cvt_shadow(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
1903 __s_cvt_group(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2007 __s_cvt_hosts(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2141 __s_cvt_rpc(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2231 __s_cvt_protocols(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2319 __s_cvt_services(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2423 __s_cvt_networks(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2515 __s_cvt_netmasks(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2578 __s_cvt_netgroups(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2676 __s_cvt_bootparams(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2757 __s_cvt_ethers(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2830 modify_ethers_bootp( const char *service, const char *rdn, const char *fulldn, const ns_ldap_attr_t * const *attrlist, const ns_cred_t *cred, const int flags, ns_ldap_error_t **errorp) argument
2930 __s_cvt_publickey(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
2993 __s_cvt_aliases(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3073 __s_cvt_auto_mount(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3176 __s_cvt_authattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3268 __s_cvt_execattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3379 __s_cvt_profattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3463 __s_cvt_userattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3545 __s_cvt_audituser(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3612 __s_cvt_tnrhtp(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3682 __s_cvt_tnrhdb(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument
3785 __ns_ldap_addTypedEntry( const char *servicetype, const char *basedn, const void *data, const int create, const ns_cred_t *cred, const int flags, ns_ldap_error_t **errorp) argument
4105 send_to_cachemgr( const char *dn, ns_ldap_attr_t **attr, ns_ldap_error_t **errorp) argument
[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_config.c905 nscd_cfg_error_t **errorp)
925 if (errorp == NULL)
943 if (errorp == NULL)
963 if (errorp == NULL)
985 if (errorp == NULL)
1003 if (rc != NSCD_SUCCESS && errorp != NULL) {
1004 *errorp = _nscd_cfg_make_error(rc, msg);
1007 (me, "invalid argument: %s\n", (*errorp)->msg);
1018 nscd_cfg_error_t **errorp)
1030 if (errorp !
902 _nscd_cfg_prelim_check( nscd_cfg_param_desc_t *desc, void *data, nscd_cfg_error_t **errorp) argument
1014 _nscd_cfg_notify_i( nscd_cfg_param_desc_t *desc, nscd_cfg_id_t *nswdb, int *skip, nscd_cfg_error_t **errorp) argument
1176 _nscd_cfg_notify_init( nscd_cfg_error_t **errorp) argument
1233 _nscd_cfg_init( nscd_cfg_error_t **errorp) argument
1405 _nscd_cfg_get_handle_common( nscd_cfg_list_type_t type, char *name, char *nswdb_name, nscd_cfg_handle_t **handle, nscd_cfg_error_t **errorp) argument
1582 _nscd_cfg_get_handle( char *param_name, char *nswdb_name, nscd_cfg_handle_t **handle, nscd_cfg_error_t **errorp) argument
1594 _nscd_cfg_get_stat_handle( char *stat_name, char *nswdb_name, nscd_cfg_handle_t **handle, nscd_cfg_error_t **errorp) argument
1998 _nscd_cfg_get( nscd_cfg_handle_t *handle, void **data, int *data_len, nscd_cfg_error_t **errorp) argument
2118 _nscd_cfg_notify_s( nscd_cfg_param_desc_t *desc, nscd_cfg_id_t *nswdb, void *data, nscd_cfg_error_t **errorp) argument
2271 _nscd_cfg_str_to_data( nscd_cfg_param_desc_t *desc, char *str, void *data, void **data_p, nscd_cfg_error_t **errorp) argument
2422 _nscd_cfg_set( nscd_cfg_handle_t *handle, void *data, nscd_cfg_error_t **errorp) argument
2581 _nscd_cfg_set_linked( nscd_cfg_handle_t *handle, void *data, nscd_cfg_error_t **errorp) argument
[all...]
H A Dnscd_config.h576 nscd_cfg_error_t **errorp);
605 nscd_cfg_error_t **errorp);
611 nscd_cfg_error_t **errorp);
619 nscd_cfg_error_t **errorp);
625 nscd_cfg_error_t **errorp);
630 nscd_cfg_error_t **errorp);
636 nscd_cfg_error_t **errorp);
646 nscd_cfg_error_t **errorp);
/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 Dldapclient.c650 ns_ldap_error_t *errorp; local
660 if ((errorp = __ns_ldap_print_config(mode_verbose)) != NULL) {
665 CLIENT_FPUTS(errorp->message, stderr);
666 (void) __ns_ldap_freeError(&errorp);
781 ns_ldap_error_t *errorp; local
959 errorp = __ns_ldap_DumpConfiguration(NSCONFIGFILE);
960 if (errorp != NULL) {
962 gettext("%s manual: errorp is not NULL; %s\n"),
963 cmd, errorp->message);
979 (void) __ns_ldap_freeError(&errorp);
1095 ns_ldap_error_t *errorp; local
1342 ns_ldap_error_t *errorp; local
1448 ns_ldap_error_t *errorp; local
2092 ns_ldap_error_t *errorp = NULL; local
2272 ns_ldap_error_t *errorp; local
2407 ns_ldap_error_t *errorp = NULL; local
[all...]
/illumos-gate/usr/src/cmd/sgs/error/common/
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...]
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 Derrortouch.c40 static void errorprint(FILE *place, Eptr errorp, boolean print_all);
76 Eptr errorp; local
89 ECITERATE(ei, errorp, 0) {
90 if (!(NOTSORTABLE(errorp->error_e_class)))
101 ECITERATE(ei, errorp, ei) {
102 if ((errorp->error_e_class == C_NULLED) ||
103 (errorp->error_e_class == C_TRUE)) {
104 if (strcmp(errorp->error_text[0], name) != 0) {
105 name = errorp->error_text[0];
122 Eptr errorp; local
194 Eptr errorp; local
224 Eptr errorp; local
387 Eptr errorp; local
714 errorprint(FILE *place, Eptr errorp, boolean print_all) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Ddbtab.c86 static struct db_list *db_get_db(char *fhpath, fsid_t *fsid, int *errorp,
98 void *dataaddr, int *errorp, char *str);
107 int *errorp);
110 int *errorp);
113 int *errorp, char *msg);
116 fhlist_ent *fhrecp, linkinfo_ent *linkp, int *errorp);
118 char *name, fhlist_ent *fhrecp, int *errorp);
122 int nextsize, char *prevkey, int prevsize, int *errorp);
126 int nextsize, char *prevkey, int prevsize, int *errorp);
130 int *linksizep, int *errorp, cha
217 db_get_db(char *fhpath, fsid_t *fsid, int *errorp, int create_flag) argument
514 fetch_record(struct db_list *dbp, void *keyaddr, int keysize, void *dataaddr, int *errorp, char *str) argument
656 create_primary_struct(struct db_list *dbp, fhandle_t *dfh, char *name, fhandle_t *fh, uint_t flags, fhlist_ent *fhrecp, int *errorp) argument
710 db_add_primary(struct db_list *dbp, fhandle_t *dfh, char *name, fhandle_t *fh, uint_t flags, fhlist_ent *fhrecp, int *errorp) argument
758 get_next_link(struct db_list *dbp, char *linkkey, int *linksizep, linkinfo_ent *linkp, void **cookiep, int *errorp, char *msg) argument
842 add_mc_path(struct db_list *dbp, fhandle_t *dfh, char *name, fhlist_ent *fhrecp, linkinfo_ent *linkp, int *errorp) argument
905 create_link_struct(struct db_list *dbp, fhandle_t *dfh, char *name, fhlist_ent *fhrecp, int *errorp) argument
1100 update_next_link(struct db_list *dbp, char *nextkey, int nextsize, char *prevkey, int prevsize, int *errorp) argument
1187 update_linked_list(struct db_list *dbp, char *nextkey, int nextsize, char *prevkey, int prevsize, int *errorp) argument
1363 db_lookup(char *fhpath, fhandle_t *fh, fhlist_ent *fhrecp, int *errorp) argument
1400 db_lookup_link(char *fhpath, fhandle_t *dfh, char *name, fhlist_ent *fhrecp, int *errorp) argument
1457 delete_link_by_key(struct db_list *dbp, char *linkkey, int *linksizep, int *errorp, char *errstr) argument
1550 delete_link(struct db_list *dbp, fhandle_t *dfh, char *name, char *nextlinkkey, int *nextlinksizep, int *errorp, char *errstr) argument
[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
/illumos-gate/usr/src/uts/common/fs/sockfs/
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...]
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...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dfilesys_rcm.c266 char **errorp, rcm_info_t **dependent_info)
276 assert(errorp != NULL);
278 *errorp = NULL;
283 if (use_cache(rsrc, errorp, &dependents) < 0) {
323 *errorp = create_message(MSG_HDR_STD, MSG_HDR_STD_MULTI, dependents);
324 if (*errorp == NULL) {
342 mnt_online(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **errorp, argument
348 assert(errorp != NULL);
363 char **errorp, nvlist_t *props, rcm_info_t **depend_info)
372 assert(errorp !
265 mnt_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **dependent_info) argument
362 mnt_getinfo(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **usagep, char **errorp, nvlist_t *props, rcm_info_t **depend_info) argument
416 mnt_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval, uint_t flag, char **errorp, rcm_info_t **depend_info) argument
460 mnt_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **errorp, rcm_info_t **depend_info) argument
655 mnt_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **errorp, rcm_info_t **depend_info) argument
1275 detect_critical_failure(char **errorp, uint_t flags, char **dependents) argument
1368 use_cache(char *rsrc, char **errorp, char ***dependentsp) argument
[all...]
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 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...]

Completed in 200 milliseconds

1234