/osnet-11/usr/src/lib/libdscfg/common/ |
H A D | cfg_lockdmsg.c | 61 int rc; local 74 rc = sendto(lock_soc, &message_buf, sizeof (message_buf), 0, 76 } while (rc == -1 && errno == EINTR); 78 if (rc < 0) { 88 int rc; local 99 rc = poll(&fds, 1, 500); 100 if (!rc) { 107 } while (rc == 0 || (rc == -1 && errno == EINTR)); 111 rc [all...] |
/osnet-11/usr/src/lib/libfru/libfru/ |
H A D | Ancestor.cc | 145 Ancestor *rc = NULL; local 162 if (rc == NULL) { 163 rc = ant; 165 Ancestor *tmp = rc; 179 return (rc); 191 Ancestor *rc = new Ancestor(element, tag, def); local 194 rc->addInstance("", 0); 195 return (rc); 208 offset, rc, path); 215 delete rc; [all...] |
/osnet-11/usr/src/lib/libilb/common/ |
H A D | ilb_hc.c | 43 ilb_status_t rc; local 57 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); 58 if (rc != ILB_STATUS_OK) 62 rc = *(ilb_status_t *)&ic->ic_data; 66 return (rc); 76 ilb_status_t rc; local 88 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); 89 if (rc != ILB_STATUS_OK) 93 rc = *(ilb_status_t *)&ic->ic_data; 97 return (rc); 106 ilb_status_t rc; local 145 ilb_status_t rc; local 191 ilb_status_t rc; local 226 ilb_status_t rc; local [all...] |
H A D | ilb_rules.c | 64 ilb_status_t rc; local 66 rc = ilb_walk_servers(h, i_drop_sg_srvs, sg->sgd_name, (void *)sg); 67 if (rc != ILB_STATUS_OK) 68 return (rc); 76 ilb_status_t rc; local 81 rc = ilb_walk_rules(h, i_drop_rule, NULL, NULL); 82 if (rc != ILB_STATUS_OK) 85 rc = ilb_walk_servergroups(h, i_drop_sg, NULL, NULL); 86 if (rc != ILB_STATUS_OK) 89 rc 97 ilb_status_t rc; local 153 ilb_status_t rc; local 203 ilb_status_t rc; local 231 ilb_status_t rc = ILB_STATUS_OK; local 293 ilb_status_t rc; local [all...] |
/osnet-11/usr/src/lib/libinetutil/common/ |
H A D | inetutil.c | 155 int rc = 0; local 173 rc += 8; 174 if (rc == limit) 186 rc++; 196 return (rc);
|
/osnet-11/usr/src/lib/fm/libfmd_agent/common/ |
H A D | fmd_agent.c | 266 int rc = fmd_agent_pageop(hdl, FM_IOC_PAGE_RETIRE, fmri); local 277 if (rc == 0 || err == EIO || err == EINVAL) { 278 if (rc == 0) 291 int rc = fmd_agent_pageop(hdl, FM_IOC_PAGE_UNRETIRE, fmri); local 302 if (rc == 0 || err == EIO || err == EINVAL) { 303 if (rc == 0) 314 int rc = fmd_agent_pageop(hdl, FM_IOC_PAGE_STATUS, fmri); local 325 if (rc == 0 || err == EINVAL) { 326 if (rc == 0)
|
/osnet-11/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/common/ |
H A D | opl_hostbridge.c | 263 int rc; local 281 for (rc = 0; rc < OPL_RC_MAX; rc++) { 282 p = iob->rcs[hb][rc]; 291 brd, hb, rc); 310 rcnode = opl_rc_node_create(mp, hbnode, p, rc);
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/hostbridge/common/ |
H A D | hb_mdesc.c | 81 int i, rc; local 107 rc = md_get_prop_str(mdp, listp[i], MD_STR_DEVICE_TYPE, &s); 108 if ((rc == 0) && (s != NULL) && (strcmp(s, MD_STR_PCIEX) == 0)) 133 rc = md_get_prop_str(mdp, listp[i], MD_STR_DEVICE_TYPE, &s); 134 if ((rc != 0) || s == NULL || strcmp(s, MD_STR_PCIEX) != 0) 145 topo_mod_dprintf(mod, "Found rc=%d ba=%llx\n", nrcs, x); 163 * Get the info. of the hb and rc from the PRI/MD 168 int rc = -1; local 200 rc = hb_rc_init(mod, mdp, phbmd); 206 return (rc); [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/pcibus/common/ |
H A D | pci_sun4v.c | 237 int result, rc; local 254 rc = topo_node_fru(node, &fmri, NULL, &err); 255 if (rc == 0) { 258 if (rc != 0) {
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_seq.c | 543 RCURSOR *rc; local 545 rc = *curs = malloc(sizeof(RCURSOR)); 546 if (rc == NULL) { 550 memset(rc, 0, sizeof(*rc)); 552 rc->ssize = RCURSOR_MINSS; 553 rc->stack = malloc(rc->ssize * sizeof(EPGNO)); 554 if (rc->stack == NULL) { 555 free(rc); 567 RCURSOR *rc; local 638 RCURSOR *rc; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/ |
H A D | tiger.c | 603 tiger_round( u64 *ra, u64 *rb, u64 *rc, u64 x, int mul ) argument 607 u64 c = *rc; 618 *rc = c; 623 pass( u64 *ra, u64 *rb, u64 *rc, u64 *x, int mul ) argument 627 u64 c = *rc; 640 *rc = c;
|
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | cfga.c | 53 cfga_err_t rc; local 55 if ((rc = ap_state_cmd(cfga_cmd, &cmd)) != CFGA_OK) 56 return (rc); 58 rc = CFGA_LIB_ERROR; 61 return (rc); 65 if ((rc = ap_cmd_parse(a, name, options, NULL)) == CFGA_OK) 66 rc = ap_cmd_seq(a, cmd); 70 return (rc); 111 cfga_err_t rc; local 115 rc 146 cfga_err_t rc; local 187 cfga_err_t rc; local [all...] |
/osnet-11/usr/src/cmd/hal/tools/ |
H A D | hal_set_property.c | 109 dbus_bool_t rc = 0; local 256 rc = libhal_device_remove_property (hal_ctx, udi, key, &error); 257 if (!rc) { 269 rc = libhal_device_set_property_string (hal_ctx, udi, key, str_value, &error); 272 rc = libhal_device_set_property_int (hal_ctx, udi, key, int_value, &error); 275 rc = libhal_device_set_property_uint64 (hal_ctx, udi, key, uint64_value, &error); 278 rc = libhal_device_set_property_double (hal_ctx, udi, key, double_value, &error); 281 rc = libhal_device_set_property_bool (hal_ctx, udi, key, bool_value, &error); 284 rc = libhal_device_property_strlist_prepend (hal_ctx, udi, key, str_value, &error); 287 rc [all...] |
/osnet-11/usr/src/cmd/ldap/common/ |
H A D | fileurl.c | 234 int rc = LDAPTOOL_FILEURL_SUCCESS; /* optimistic */ local 263 rc = ldaptool_fileurl2path( url, &path ); 264 switch( rc ) { 294 rc = LDAPTOOL_FILEURL_FILEIOERROR; 296 rc = berval_from_file( path, bvp, reporterrs ); 308 rc = berval_from_file( value, bvp, reporterrs ); 313 rc = LDAPTOOL_FILEURL_NOMEMORY; 320 return( rc ); 330 int rc; local 334 rc [all...] |
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | audit_crontab.c | 266 int rc = 0; /* 0 == allow */ local 270 rc = 1; /* deny access if invalid */ 272 rc = 0; /* editing his own crontab */ 274 rc = audit_crontab_process_not_audited(); 276 return (rc); 282 int rc; local 286 rc = 0; /* audit failure: not enabled */ 288 rc = (info.ap_auid == AU_NOAUDITID); 290 return (rc);
|
H A D | audit_rexd.c | 122 int rc; local 142 rc = setaudit_addr(&info, sizeof (info)); 143 if (rc < 0) {
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | _xftw.c | 131 int rc; local 135 rc = fwalk(path, fn, depth, &var); 136 return (rc); 147 int rc; local 201 rc = (*fn)(path, &sb, FTW_D); 202 if (rc != 0) { 204 return (rc); 250 rc = fwalk(subpath, fn, depth-1, vp); 251 if (rc != 0) { 255 return (rc); 334 int rc; local [all...] |
/osnet-11/usr/src/lib/libsqlite/src/ |
H A D | test2.c | 31 static char *errorName(int rc){ argument 33 switch( rc ){ 74 int rc; local 82 rc = sqlitepager_open(&pPager, argv[1], nPage, 0, 1); 83 if( rc!=SQLITE_OK ){ 84 Tcl_AppendResult(interp, errorName(rc), 0); 104 int rc; local 111 rc = sqlitepager_close(pPager); 112 if( rc!=SQLITE_OK ){ 113 Tcl_AppendResult(interp, errorName(rc), 131 int rc; local 158 int rc; local 185 int rc; local 212 int rc; local 239 int rc; local 326 int rc; local 387 int rc; local 462 int rc; local 494 int rc; local [all...] |
H A D | update.c | 147 int rc; local 148 rc = sqliteAuthCheck(pParse, SQLITE_UPDATE, pTab->zName, 150 if( rc==SQLITE_DENY ){ 152 }else if( rc==SQLITE_IGNORE ){
|
/osnet-11/usr/src/lib/libuvfs/common/ |
H A D | door.c | 227 int rc; local 231 rc = libuvfs_set_fsparam(fs); 232 if (rc != 0) 235 rc = door_xcreate(libuvfs_callback_server, fs, 238 if (rc == -1) 240 fs->fs_door = rc; 245 rc = libuvfs_daemon_register(fs); 246 if (rc != 0) 264 return (rc);
|
H A D | stash.c | 37 libuvfs_stash_node_t *rc; local 39 rc = umem_cache_alloc(libuvfs_stash_node_cache, UMEM_NOFAIL); 41 rc->st_fid.uvfid_len = fid->uvfid_len; 43 (void) memcpy(rc->st_fid.uvfid_data, fid->uvfid_data, 46 rc->st_key = key; 47 rc->st_value = value; 49 return (rc); 108 void *rc = NULL; local 113 rc = node->st_value; 129 return (rc); 160 int rc; local [all...] |
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_rename.c | 67 int rc; local 69 if ((rc = meta_isopen(sp, from_np, ep, (mdcmdopts_t)0)) < 0) { 73 } else if (rc > 0) { 261 int rc = 0; local 341 rc = meta_swap(sp, from_np, from_mdp, to_np, NULL, MDRNOP_RENAME, 344 if (rc == 0) { 352 return (rc); 438 int rc; local 506 rc = meta_swap(sp, to_np, to_mdp, from_np, from_mdp, 510 rc [all...] |
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | getether.c | 126 nss_status_t rc; local 143 rc = (nss_status_t)_nss_ldap_lookup(be, argp, 147 return (rc);
|
H A D | gethostent6.c | 93 int rc; local 99 rc = snprintf(searchfilter, sizeof (searchfilter), 101 if (rc >= sizeof (searchfilter) || rc < 0) 103 rc = snprintf(userdata, sizeof (userdata), 105 if (rc >= sizeof (userdata) || rc < 0) 109 rc = sysinfo(SI_SRPC_DOMAIN, realdomain, BUFSIZ); 110 if (rc <= 0) 135 rc [all...] |
H A D | getkeyent.c | 168 nss_status_t rc; local 200 rc = (nss_status_t)_nss_ldap_lookup(be, argp, 215 rc = (nss_status_t)_nss_ldap_lookup(be, argp, 219 return (rc);
|