/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | server.c | 60 #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/last/ |
H A D | last.c | 513 char *res = malloc(ressize); local 515 if (res == NULL) { 519 (void) strlcpy(res, left, ressize); 520 (void) strlcat(res, right, ressize); 521 return (res);
|
/illumos-gate/usr/src/cmd/lms/ |
H A D | LMEConnection.cpp | 156 int res = _sendMessage(buf, sizeof(buf)); local 158 return (res == sizeof(buf)); 188 int res = _sendMessage(buf, len); local 192 return (res == len); 205 int res = _sendMessage(&buf, sizeof(buf)); local 207 return (res == sizeof(buf)); 226 int res = _sendMessage((unsigned char *)&protVersion, sizeof(protVersion)); local 228 return (res == sizeof(protVersion)); 244 int res = _sendMessage((unsigned char *)&message, sizeof(message)); local 246 return (res 259 int res = _sendMessage(&buf, sizeof(buf)); local 274 int res = _sendMessage(&buf, sizeof(buf)); local 289 int res = _sendMessage(&buf, sizeof(buf)); local 350 int res = _sendMessage(buf, (int)(pCurrent - buf)); local 372 int res = _sendMessage((unsigned char *)&message, sizeof(message)); local 394 int res = _sendMessage((unsigned char *)&message, sizeof(message)); local 412 int res = _sendMessage((unsigned char *)&message, sizeof(message)); local 455 int res = _sendMessage((unsigned char *)&message, sizeof(message)); local [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client_secinfo.c | 460 COMPOUND4res_clnt res; local 481 rfs4call(mi, &args, &res, cr, &doqueue, RFSCALL_SOFT, &e); 488 if (res.status == NFS4ERR_WRONGSEC) { 489 (void) xdr_free(xdr_COMPOUND4res_clnt, (caddr_t)&res); 497 return (geterrno4(res.status)); 505 (void) xdr_free(xdr_COMPOUND4res_clnt, (caddr_t)&res); 509 if (res.status) { 510 (void) xdr_free(xdr_COMPOUND4res_clnt, (caddr_t)&res); 511 return (geterrno4(res.status)); 521 (void) xdr_free(xdr_COMPOUND4res_clnt, (caddr_t)&res); 621 COMPOUND4res_clnt res; local 916 COMPOUND4res_clnt res; local [all...] |
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_addr_finder.c | 80 int res = 0; local 84 res = dwarf_elf_init(elf_file_ptr, DW_DLC_READ, /* errhand */ 0, 86 if (res == DW_DLV_ERROR) { 91 if (res == DW_DLV_NO_ENTRY) { 92 return res; 97 res = handle_debug_info(dbg, &errval); 98 switch (res) { 109 return res; 112 res = handle_debug_aranges(dbg, cb_func, &errval); 113 switch (res) { 182 int res = 0; local 255 int res = DW_DLV_OK; local 319 int res; local 407 int res; local 504 int res = 0; local 585 int res; local 648 int res; local [all...] |
H A D | dwarf_alloc.c | 536 int res = 539 if (res != DW_DLV_OK) { 583 int res = local 585 if (res != DW_DLV_OK) {
|
H A D | dwarf_global.c | 93 int res = _dwarf_load_section(dbg, &dbg->de_debug_pubnames,error); local 94 if (res != DW_DLV_OK) { 95 return res; 211 int res = _dwarf_load_debug_info(dbg, error); local 213 if (res != DW_DLV_OK) { 214 return res; 537 int res = _dwarf_load_debug_info(dbg, error); local 539 if (res != DW_DLV_OK) { 540 return res;
|
H A D | dwarf_loc.c | 598 int res = _dwarf_read_loc_section(dbg, &b, local 602 if (res != DW_DLV_OK) { 603 return res; 979 int res = 0; local 981 res = dwarf_loclist_from_expr_a(dbg,expression_in, 983 return res; 1048 int res = DW_DLV_ERROR; local 1059 res = _dwarf_read_loc_section(dbg, 1062 if (res != DW_DLV_OK) { 1063 return res; [all...] |
H A D | dwarf_print_lines.c | 171 int res = DW_DLV_ERROR; local 182 res = _dwarf_load_section(dbg, &dbg->de_debug_line,error); 183 if (res != DW_DLV_OK) { 184 return res; 700 int res = _dwarf_internal_printlines(die, error, local 703 if (res != DW_DLV_OK) { 704 return res; 706 return res; 713 int res = _dwarf_internal_printlines(die, error, local 717 if (res ! [all...] |
H A D | dwarf_query.c | 333 int res = DW_DLV_ERROR; local 366 res = _dwarf_load_section(dbg, &dbg->de_debug_str,error); 367 if (res != DW_DLV_OK) { 368 return res; 575 int res = _dwarf_die_attr_unsigned_constant(die, DW_AT_byte_size, local 578 return res; 587 int res = _dwarf_die_attr_unsigned_constant(die, DW_AT_bit_size, local 590 return res; 599 int res = _dwarf_die_attr_unsigned_constant(die, local 602 return res; 612 int res = _dwarf_die_attr_unsigned_constant(die, DW_AT_language, local 625 int res = _dwarf_die_attr_unsigned_constant(die, DW_AT_ordering, local [all...] |
H A D | dwarf_util.c | 482 int res = DW_DLV_ERROR; local 492 res = _dwarf_load_section(dbg, &dbg->de_debug_abbrev,error); 493 if (res != DW_DLV_OK) { 494 return res; 496 res = _dwarf_load_section(dbg, &dbg->de_debug_info, error); 497 return res;
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | protocmp.c | 231 int res = 0; local 272 res |= TYPE_F; 274 res |= TYPE_F; 282 if (check_sym && ((res == 0) && (i->file_type == SYM_LINK_T))) { 284 res |= SYM_F; 296 res |= SYM_F; 298 return (res); 303 res |= REF_F; 305 res |= OWNER_F; 307 res | [all...] |
/illumos-gate/usr/src/uts/common/brand/solaris10/ |
H A D | s10_brand.c | 258 int res; local 265 res = brand_solaris_cmd(cmd, arg1, arg2, arg3, &s10_brand, S10_VERSION); 266 if (res >= 0) 267 return (res);
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_cache.c | 804 int res; local 806 res = bcmp(key1, key2, NETBIOS_NAME_SZ); 807 if (res == 0) { 809 res = strcmp(key1 + NETBIOS_NAME_SZ, key2 + NETBIOS_NAME_SZ); 812 return (res);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | priv.c | 576 int res = 0; local 599 res = EACCES; 605 res = EACCES; 621 res = EACCES; 624 if (res == 0 && pcr != NULL) 628 return (res);
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xenbus_dev.c | 442 int res, ret; local 463 res = uiop->uio_resid; 469 if (len > res) 470 len = res; 473 xbs->read_cons += res - uiop->uio_resid;
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_drv.c | 657 ACPI_STATUS res, rc = AE_OK; local 758 res = it->acl_class->adc_probe(cinfop); 759 if (ACPI_FAILURE(res)) { 760 rc = res; 801 acpidev_filter_result_t res; local 911 res = clsp->adc_filter(infop, devname, ACPIDEV_MAX_NAMELEN); 913 res = clsp->adc_filter(infop, NULL, 0); 920 (res == ACPIDEV_FILTER_DEFAULT || res == ACPIDEV_FILTER_CREATE)) { 1008 switch (res) { 1081 acpidev_filter_result_t res; local [all...] |
/illumos-gate/usr/src/uts/common/klm/ |
H A D | nlm_dispatch.c | 44 xdrproc_t de_xres; /* XDR res encode function */ 45 nlm_freeres_func_t de_resfree; /* free res function */ 108 void *res = &resu; local 154 dupstat = SVC_DUP_EXT(transp, rqstp, res, de->de_ressz, &dr, 174 do_reply = (*func)(args, res, rqstp); 179 SVC_DUPDONE_EXT(transp, dr, res, NULL, 184 SVC_DUPDONE_EXT(transp, dr, res, de->de_resfree, 209 if (!svc_sendreply(transp, de->de_xres, res)) { 215 xdr_free(de->de_xres, res);
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_espc.h | 141 uint32_t res : 16; member in struct:_mac_addr_1_t::__anon8202::__anon8203 147 uint32_t res : 16;
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | dr_io.c | 427 dr_io_configure(dr_vio_req_t *req, dr_vio_res_t *res) argument 454 res->result = DR_VIO_RES_FAILURE; 461 res->result = DR_VIO_RES_OK; 462 res->status = DR_VIO_STAT_CONFIGURED; 468 res->status = DR_VIO_STAT_NOT_PRESENT; 490 res->result = DR_VIO_RES_NOT_IN_MD; 557 (void) strlcpy(res->reason, 560 DR_DBG_IO("%s: %s\n", __func__, res->reason); 570 res->result = DR_VIO_RES_BLOCKED; 575 (void) strlcpy(res 640 dr_io_unconfigure(dr_vio_req_t *req, dr_vio_res_t *res) argument [all...] |
H A D | vnex.c | 672 int res; local 681 res = (*handler)(handler_arg1, handler_arg2); 685 return (res);
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | mach_descrip.c | 830 int res; local 838 res = md_scan_dag(ptr, startnode, 846 if (res < 1) { 851 return (res);
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | validate.c | 1035 int res; local 1040 res = chkauthattr(auth, in_name); 1044 res = chkauthattr(auth, cp+1); 1047 res = chkauthattr(auth, in_name); 1049 return (res);
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_mindex3.cc | 342 db_query **res; local 400 res = mapFromLDAP(t, q, &nq, dbId, &stat, &oa); 404 myself, res, stat, stat == LDAP_SUCCESS ? "" : 421 if (res == 0 && stat != LDAP_NO_SUCH_OBJECT) { 559 freeQueries(res, nq); 676 if (res[i] == 0) 680 printQuery(res[i], t); 724 nc = res[i]->size(); 725 qc = res[i]->queryloc(); 727 freeQuery(res[ [all...] |
H A D | ldap_xdr.c | 748 bool_t res; local 759 res = sameNisPlusObj(o1, o2); 763 return (res);
|