Searched refs:res (Results 151 - 175 of 852) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/passwdutil/
H A Dnss_attr.c225 int res = 0; local
227 res = nss_getpwnam(name, items, rep, (void **)&pwbuf);
228 if (res != PWU_SUCCESS)
229 return (res);
234 for (w = items; res == PWU_SUCCESS && w != NULL; w = w->next) {
238 res = PWU_NOMEM;
242 res = PWU_NOMEM;
246 res = PWU_NOMEM;
250 res = PWU_NOMEM;
254 res
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypxfrd_client.c83 static struct pag res; local
95 if (!xdr_pag(xdrs, &res))
97 PAG = &res;
127 if (!xdr_pag(xdrs, &res))
138 static struct dir res; local
146 if (!xdr_dir(xdrs, &res))
148 DIR = &res;
172 if (!xdr_dir(xdrs, &res))
214 int res; local
290 (void) memset((char *)&res,
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dwhois.c221 struct addrinfo hints, *res; local
228 error = getaddrinfo(host, port, &hints, &res);
235 return (res);
259 struct addrinfo *hostres, *res; local
272 for (res = hostres; res; res = res->ai_next) {
273 s = socket(res->ai_family, res
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_acl_vnops.c129 GETACL2res res; local
159 res.resok.acl.vsa_aclentp = NULL;
160 res.resok.acl.vsa_dfaclentp = NULL;
168 xdr_GETACL2res, (caddr_t)&res, cr,
169 &doqueue, &res.status, 0, &fi);
174 error = geterrno(res.status);
176 (void) nfs_cache_fattr(vp, &res.resok.attr, &va, t, cr);
177 nfs_acl_dup_res(rp, &res.resok.acl);
178 *vsp = res.resok.acl;
192 SETACL2res res; local
242 GETATTR2res res; local
282 ACCESS2res res; local
425 GETXATTRDIR2res res; local
510 GETACL3res res; local
574 SETACL3res res; local
625 GETXATTRDIR3res res; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_elf.c721 nfslog_writeresult_print(struct nfsl_log_file *elfrec, nfslog_writeresult *res, argument
728 nfslog_nfsstat_print(elfrec, &res->wr_status, print_status);
729 } else if (res->wr_status == NFS_OK) {
731 res->nfslog_writeresult_u.wr_size);
839 nfslog_nfsstat_print(struct nfsl_log_file *elfrec, enum nfsstat *res, argument
843 char *statp = nfslog_get_status((short)(*res));
852 *res);
857 nfslog_diropres_print(struct nfsl_log_file *elfrec, nfslog_diropres *res, argument
861 nfslog_nfsstat_print(elfrec, &res->dr_status, print_status);
862 } else if (res
869 nfslog_rdlnres_print(struct nfsl_log_file *elfrec, nfslog_rdlnres *res, bool_t print_status) argument
881 nfslog_rdresult_print(struct nfsl_log_file *elfrec, nfslog_rdresult *res, bool_t print_status) argument
895 nfslog_rddirres_print(struct nfsl_log_file *elfrec, nfslog_rddirres *res, bool_t print_status) argument
1069 nfslog_nfsstat3_print(struct nfsl_log_file *elfrec, enum nfsstat3 *res, bool_t print_status) argument
1087 nfslog_LOOKUP3res_print(struct nfsl_log_file *elfrec, nfslog_LOOKUP3res *res, bool_t print_status) argument
1098 nfslog_READLINK3res_print(struct nfsl_log_file *elfrec, nfslog_READLINK3res *res, bool_t print_status) argument
1110 nfslog_READ3res_print(struct nfsl_log_file *elfrec, nfslog_READ3res *res, bool_t print_status) argument
1132 nfslog_WRITE3res_print(struct nfsl_log_file *elfrec, nfslog_WRITE3res *res, bool_t print_status) argument
1152 nfslog_CREATE3res_print(struct nfsl_log_file *elfrec, nfslog_CREATE3res *res, bool_t print_status) argument
1166 nfslog_MKDIR3res_print(struct nfsl_log_file *elfrec, nfslog_MKDIR3res *res, bool_t print_status) argument
1180 nfslog_SYMLINK3res_print(struct nfsl_log_file *elfrec, nfslog_SYMLINK3res *res, bool_t print_status) argument
1194 nfslog_MKNOD3res_print(struct nfsl_log_file *elfrec, nfslog_MKNOD3res *res, bool_t print_status) argument
1208 nfslog_READDIRPLUS3res_print(struct nfsl_log_file *elfrec, nfslog_READDIRPLUS3res *res, bool_t print_status) argument
[all...]
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dether_addr.c87 nss_status_t res; local
98 res = _nss_files_XY_all(be, argp, 0, argp->key.name, check_host);
105 return (res);
149 nss_status_t res; local
153 res = _nss_files_XY_all(be, argp, 0, NULL, check_ether);
156 return (res);
/illumos-gate/usr/src/lib/pam_modules/smbfs/
H A Dsmbfs_login.c67 int res = PAM_SUCCESS; local
108 res = smbfs_default_dom_usr(home, NULL, dom, sizeof (dom), NULL, 0);
109 if (res != 0)
118 res = smbfs_keychain_add(uid, dom, user, pw);
121 res = smbfs_keychain_del(uid, dom, user);
126 switch (res) {
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgetauthattr.c119 nss_status_t res; local
122 res = nss_getent(&db_root, _nss_initf_authattr, &context, &arg);
123 arg.status = res;
134 nss_status_t res; local
139 res = nss_search(&db_root, _nss_initf_authattr,
141 arg.status = res;
H A Dgetauuser.c122 nss_status_t res; local
125 res = nss_getent(&db_root, _nss_initf_auuser, &context, &arg);
126 arg.status = res;
137 nss_status_t res; local
147 res = nss_search(&db_root, _nss_initf_auuser,
149 arg.status = res;
H A Dgetprofattr.c116 nss_status_t res; local
119 res = nss_getent(&db_root, _nss_initf_profattr, &context, &arg);
120 arg.status = res;
131 nss_status_t res; local
136 res = nss_search(&db_root, _nss_initf_profattr,
138 arg.status = res;
H A Dgetuserattr.c126 nss_status_t res; local
129 res = nss_getent(&db_root, _nss_initf_userattr, &context, &arg);
130 arg.status = res;
153 nss_status_t res; local
158 res = nss_search(&db_root, _nss_initf_userattr,
160 arg.status = res;
/illumos-gate/usr/src/common/mpi/
H A Dmplogic.c87 mp_err res; local
91 if((res = mp_copy(a, b)) != MP_OKAY)
92 return res;
106 mp_err res; local
110 if((res = mp_copy(a, b)) != MP_OKAY)
111 return res;
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_original_elf_init.c166 int res = DW_DLV_OK; local
174 res = dwarf_elf_object_access_init(
179 if(res != DW_DLV_OK){
185 res = dwarf_object_init(binary_interface, errhand, errarg,
187 if(res != DW_DLV_OK){
190 return res;
H A Dpro_expr.c87 int res; local
195 res = _dwarf_pro_encode_signed_leb128_nm(val1,
199 if (res != DW_DLV_OK) {
207 res = _dwarf_pro_encode_leb128_nm(val1, &operand_size,
210 if (res != DW_DLV_OK) {
284 res = _dwarf_pro_encode_leb128_nm(val1,
288 if (res != DW_DLV_OK) {
296 res = _dwarf_pro_encode_signed_leb128_nm(val1,
300 if (res != DW_DLV_OK) {
308 res
[all...]
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access.c123 int res; local
145 if (TRUE == singleReadFromDIT(map, domain, key, value, &res))
149 if (LDAP_TIMEOUT == res) { /* Exceeded search timeout */
154 if (is_fatal_error(res))
172 return (res);
200 int res; local
222 res = singleWriteToDIT(map, domain, &key, &value, replace);
223 if (LDAP_SUCCESS == res)
226 if (is_fatal_error(res)) {
234 switch (res) {
278 int interval, res; local
410 char **res; /* Result array */ local
545 int res; local
975 char **res; /* Result array */ local
1200 int res; local
[all...]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dserver.c60 #define PROCESS_LIST_SVC_SQL(rcode, db, dbname, sql, limit, flag, cb, res, len)\
61 rcode = process_list_svc_sql(db, dbname, sql, limit, flag, cb, res);\
63 res->retcode = IDMAP_ERR_BUSY;\
65 res->retcode = IDMAP_ERR_NOTFOUND;
189 idmap_id_res *res; local
251 res = &result->ids.ids_val[i];
256 TRACE(req, res, "Start mapping");
261 res);
266 res, 1);
271 res,
924 idmap_update_1_svc(idmap_update_batch batch, idmap_update_res *res, struct svc_req *rqstp) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c315 bpanswer(res, nb)
316 struct bp_whoami_res *res;
325 (void) memcpy(&router_addr, &res->router_address.bp_address_u.ip_addr,
339 fprintf(stdout, "hostname = %s\n", res->client_name);
340 fprintf(stdout, "\t\typdomain = %s\n", res->domain_name);
352 len = strlen(res->client_name);
355 if (sysinfo(SI_SET_HOSTNAME, res->client_name,
359 res->client_name);
364 res->client_name);
367 len = strlen(res
395 struct bp_whoami_res res; local
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirs_data.c78 res_ndestroy(net_data->res);
183 net_data->res = (*net_data->irs->res_get)(net_data->irs);
184 if (net_data->res == NULL) {
190 if ((net_data->res->options & RES_INIT) == 0U &&
191 res_ninit(net_data->res) == -1) {
202 res_nclose(net_data->res);
210 if (net_data && net_data->res)
211 return (net_data->res);
228 if (net_data && net_data->res)
229 return (&net_data->res
242 __h_errno_set(struct __res_state *res, int err) argument
[all...]
/illumos-gate/usr/src/cmd/dispadmin/
H A Dfxdispadmin.c57 "dispadmin -c FX -g [-r res]\n"
69 ulong_t res; local
97 res = strtoul(optarg, &endp, 10);
98 if (res == 0 || errno != 0 || *endp != '\0')
129 res = 1000;
131 get_fxdptbl(res);
150 * values to the resolution specified by res and write the table to stdout.
153 get_fxdptbl(ulong_t res) argument
188 (void) printf("RES=%ld\n\n", res);
193 if (res !
228 ulong_t res; local
[all...]
/illumos-gate/usr/src/common/crypto/ecc/
H A Decp_test.c116 res = MP_NO; \
123 res = MP_NO; \
152 mp_err res; local
207 res = MP_NO;
228 res = MP_NO;
246 res = MP_NO;
263 res = MP_NO;
281 res = MP_NO;
300 res = MP_NO;
316 res
432 mp_err res; local
[all...]
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_resource.c79 struct memlist *res = NULL; local
88 if (acpi_find_bus_res(bus, type, &res) > 0)
89 return (res);
91 if (hrt_find_bus_res(bus, type, &res) > 0)
92 return (res);
94 (void) mps_find_bus_res(bus, type, &res);
95 return (res);
203 acpi_find_bus_res(int bus, int type, struct memlist **res) argument
208 *res = acpi_io_res[bus];
211 *res
460 mps_find_bus_res(int bus, int type, struct memlist **res) argument
532 hrt_find_bus_res(int bus, int type, struct memlist **res) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_persist.c1425 ipmgmt_release_scf_resources(scf_resources_t *res) argument
1427 scf_entry_destroy(res->sr_ent);
1428 scf_transaction_destroy(res->sr_tx);
1429 scf_value_destroy(res->sr_val);
1430 scf_property_destroy(res->sr_prop);
1431 scf_pg_destroy(res->sr_pg);
1432 scf_instance_destroy(res->sr_inst);
1433 (void) scf_handle_unbind(res->sr_handle);
1434 scf_handle_destroy(res->sr_handle);
1443 ipmgmt_create_scf_resources(const char *fmri, scf_resources_t *res) argument
1480 ipmgmt_set_scfprop_value(scf_resources_t *res, const char *pname, void *pval, scf_type_t ptype) argument
1553 ipmgmt_get_scfprop(scf_resources_t *res, const char *pgname, const char *pname, void *pval, scf_type_t ptype) argument
1580 ipmgmt_set_scfprop(scf_resources_t *res, const char *pgname, const char *pname, void *pval, scf_type_t ptype) argument
1629 scf_resources_t res; local
1662 ipmgmt_needs_upgrade(scf_resources_t *res) argument
1686 ipmgmt_update_dbver(scf_resources_t *res) argument
[all...]
/illumos-gate/usr/src/lib/pam_modules/smb/
H A Dsmb_passwd.c87 int res; local
131 res = __user_to_authenticate(user, &files_rep, &local_user,
133 if (res != PWU_SUCCESS) {
134 switch (res) {
150 res = smb_pwd_setpasswd(user, newpw);
158 switch (res) {
201 res = PAM_SYSTEM_ERR;
205 return (res);
/illumos-gate/usr/src/lib/policykit/libpolkit/common/
H A Dlibpolkit-rbac.c98 LibPolKitResult res; local
106 res = LIBPOLKIT_RESULT_ERROR;
110 res = LIBPOLKIT_RESULT_OK;
112 return res;
125 LibPolKitResult res; local
191 LibPolKitResult res; local
204 res = LIBPOLKIT_RESULT_OK;
206 return res;
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dcuserid.c42 static char res[L_cuserid]; variable
61 s = res;

Completed in 131 milliseconds

1234567891011>>