/illumos-gate/usr/src/cmd/fmtmsg/ |
H A D | main.c | 362 char *current; /* Ptr to current sev def'n */ 363 char *tokend; /* Ptr to end of current sev def'n */ 368 int val; /* Converted severity value */ 374 current = (ptr == (char *) NULL) ? leftoff : ptr; 378 if (current == (char *) NULL) { 384 * Look through the string "current" for a token of the form 394 while (*(tokend = exttok(current, ":,")) == ':') { 395 current = tokend + 1; 400 kywd = current; 358 char *current; /* Ptr to current sev def'n */ local 364 int val; /* Converted severity value */ local [all...] |
/illumos-gate/usr/src/cmd/cron/ |
H A D | elm.c | 97 /* current points to the front of the list of notices (events) */ 98 struct notice *current = NULL; variable in typeref:struct:notice 216 current = NULL; 299 if ((current == NULL) || (current->time > time)) 300 current = n; 322 if ((index == NULL) || (current == NULL)) 325 n = current; 380 /* now reset current */ 385 current 409 int ctr, *val; local [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | fmtmsg.c | 401 char *current; /* Ptr to current sev def'n */ local 402 char *tokend; /* Ptr to end of current sev def'n */ 407 int val; /* Converted severity value */ local 413 current = (ptr == (char *)NULL) ? leftoff : ptr; 417 if (current == (char *)NULL) { 423 * Look through the string "current" for a token of the form 432 while (*(tokend = exttok(current, ":,")) == ':') { 433 current = tokend + (ptrdiff_t)1; 438 kywd = current; [all...] |
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_tblout.c | 80 def = (definition *)l->val; 92 int current; local 114 current = atoi(proc->proc_num); 115 if (current != expected++) { 125 expected = current + 1;
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | utility.c | 450 compute_next_token_obj_name(CK_BYTE *current, CK_BYTE *next) { argument 451 int val[8]; local 454 if (! current || ! next) { 460 if (current[i] >= '0' && current[i] <= '9') 461 val[i] = current[i] - '0'; 463 if (current[i] >= 'A' && current[i] <= 'Z') 464 val[ [all...] |
H A D | obj_mgr.c | 399 CK_BYTE current[8]; local 423 (void) memcpy(current, 427 (void) memcpy(&o->name, current, 8); 429 (void) compute_next_token_obj_name(current, next); 584 CK_BYTE current[8]; local 606 (void) memcpy(current, 610 (void) memcpy(&new_obj->name, current, 8); 612 (void) compute_next_token_obj_name(current, next); 775 CK_BYTE current[8]; local 797 (void) memcpy(current, 1978 int val; local 2089 int val; local [all...] |
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 241 double val = secs; local 244 if (val >= 24*60*60) { 245 val /= 86400; 247 } else if (val >= 60*60) { 248 val /= 60*60; 250 } else if (val >= 60) { 251 val /= 60; 256 if (snprintf(buf, bufsiz, "%.2f %s%s", val, unit, 257 val >= 2 ? "s" : "") >= bufsiz) 531 char **current; local 1874 print_lifetimes(FILE *file, time_t wallclock, struct sadb_lifetime *current, struct sadb_lifetime *hard, struct sadb_lifetime *soft, struct sadb_lifetime *idle, boolean_t vflag) argument 2644 uint64_t *current; local 3018 uint64_t *current; local [all...] |
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 286 intlist_t *current; local 297 current = &(*speeds_mem)[i]; 298 current->val = GET16(p); 303 if (current->val == (*nextp)->val) { 306 } else if (current->val > (*nextp)->val) { [all...] |
/illumos-gate/usr/src/lib/libproject/common/ |
H A D | setproject.c | 60 char *current; local 63 current = next = s; 68 *current++ = *next++; 70 *current = '\0'; 105 unsigned long long val; local 113 val = strtoull(component, &t, 10); 117 rctlblk_set_value(blk, (rctl_qty_t)val); 190 rctl_set(char *ctl_name, char *val, struct ps_prochandle *Pr, int flags) argument 212 remove_spaces(val); 222 for (tmp = val; *tm [all...] |
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | pmap.c | 152 int c, val; local 154 for (val = 0, c = *str++; c >= '0' && c <= '9'; c = *str++) { 155 val *= 10; 156 val += c - '0'; 159 return (val); 410 * bpmap_getport: Queries current list of cached pmap_list entries, 520 struct pmaplist *current, *tmp; local 526 current = pre_init[PMAP_STATIC].pml_next; 527 while (current != NULL) { 528 tmp = current [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | init.c | 128 char *val; member in struct:match 204 static void put_ed(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 211 if(!(cp=val) && (*name=='E' || !(cp=nv_getval(sh_scoped(shp,EDITNOD))))) 229 nv_putv(np, val, flags, fp); 233 static void put_history(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 238 if(val && histopen) 240 if(np==HISTFILE && (cp=nv_getval(np)) && strcmp(val,cp)==0) 242 if(np==HISTSIZE && sh_arith(val)==nv_getnum(HISTSIZE)) 246 nv_putv(np, val, flags, fp); 249 if(val) 257 put_optindex(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 282 put_restricted(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 326 put_cdpath(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 359 put_lang(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 460 put_ifs(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 539 put_seconds(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 588 put_rand(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 646 put_lineno(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 681 put_lastarg(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 749 char *val; local 820 put_vpath(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 989 put_mode(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument 1437 int current; member in struct:Stats 1759 char *ep,*val = nv_getval(np); local [all...] |
/illumos-gate/usr/src/cmd/lockstat/ |
H A D | lockstat.c | 291 " -x opt[=val] enable or modify DTrace options\n" 484 lsrec_t *target, *current; local 489 current = lock[i]; 490 if (cmp(current, target) != 0) { 491 target = current; 494 current->ls_event = LS_MAX_EVENTS; 495 target->ls_count += current->ls_count; 496 target->ls_refcnt += current->ls_refcnt; 499 target->ls_time += current->ls_time; 503 target->ls_hist[j] += current 792 dtrace_optval_t val, status, agg; local 1019 lsrec_t *lsp, **current, **first, **sort_buf, **merge_buf; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | telnet.c | 293 * is in disagreement as to what the current state should be. 1184 cc_t val; member in struct:spc 1202 spcp->val = 0; 1210 spcp->val = *spcp->valp; \ 1213 spcp->val = 0; \ 1323 if (spcp->val == (cc_t)(_POSIX_VDISABLE)) 1328 spcp->val = *spcp->valp; 1329 slc_add_reply(spcp - spc_data, spcp->flags, spcp->val); 1367 if ((cp[SLC_VALUE] == (unsigned char)spcp->val) && 1383 spcp->val [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | labelsys.c | 228 tsol_tnrhc_t *current; local 259 while ((current = *prevp) != NULL) { 260 if (TNADDR_EQ(&rhent->rh_address, ¤t->rhc_host)) 262 prevp = ¤t->rhc_next; 265 if (current != NULL) { 267 *prevp = current->rhc_next; 268 mutex_enter(¤t->rhc_lock); 269 current->rhc_next = NULL; 270 current->rhc_invalid = 1; 271 mutex_exit(¤t 624 tpc_delete(mod_hash_key_t key, mod_hash_val_t *val, void *arg) argument [all...] |
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | zfssubr.c | 954 uint8_t log, val; local 1003 val = 0; 1007 val = vdev_raidz_pow2[ll]; 1011 dst[cc][x] = val; 1013 dst[cc][x] ^= val; 1375 int current, next, i, c, n; local 1423 current = 0; 1424 next = tgts[current]; 1426 while (current != n) { 1427 tgts[current] [all...] |
/illumos-gate/usr/src/uts/common/io/bfe/ |
H A D | bfe.c | 69 * interrupt, the stat register will point to current descriptor being 94 * 'r_curr_desc' : pointer to current descriptor which can be used to transmit 124 * 'r_curr_desc' : pointer to current descriptor while receving a packet. 355 bfe_write_phy(bfe_t *bfe, uint32_t reg, uint32_t val) argument 363 (val & BFE_MDIO_DATA_DATA))); 512 uint32_t val, flow; local 514 val = INL(bfe, BFE_TX_CTRL); 515 val &= ~BFE_TX_DUPLEX; 517 val |= BFE_TX_DUPLEX; 529 OUTL(bfe, BFE_TX_CTRL, val); 928 uint32_t val; local 958 uint32_t bar_orig, val; local 989 uint32_t val; local 1078 uint32_t val; local 1368 bfe_mac_getstat(void *arg, uint_t stat, uint64_t *val) argument 1654 bfe_mac_getprop(void *arg, const char *name, mac_prop_id_t num, uint_t sz, void *val) argument 1766 bfe_mac_setprop(void *arg, const char *name, mac_prop_id_t num, uint_t sz, const void *val) argument 2199 int rxstat, current; local [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/pr/md/unix/ |
H A D | os_SunOS_amd64.s | 71 / Return the current sp (for debugging) 88 / PRInt32 _MD_AtomicIncrement(PRInt32 *val) 90 / Atomically increment the integer pointed to by 'val' and return 104 / PRInt32 _MD_AtomicDecrement(PRInt32 *val) 106 / Atomically decrement the integer pointed to by 'val' and return 120 / PRInt32 _MD_AtomicSet(PRInt32 *val, PRInt32 newval) 122 / Atomically set the integer pointed to by 'val' to the new 149 / PRInt32 _MD_AtomicAdd(PRInt32 *ptr, PRInt32 val) 151 / Atomically add 'val' to the integer pointed to by 'ptr'
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_usage.c | 204 * The entity structure keeps the current rss/swap counts for each entity 211 * vme_next_calc: links the list of entities related to the current process 343 vmu_free_object(mod_hash_val_t val) argument 345 vmu_object_t *obj = (vmu_object_t *)val; 363 vmu_free_entity(mod_hash_val_t val) argument 365 vmu_entity_t *entity = (vmu_entity_t *)val; 383 vmu_free_zone(mod_hash_val_t val) argument 385 vmu_zone_t *zone = (vmu_zone_t *)val; 619 caddr_t val; local 622 (mod_hash_val_t *)&val); 860 vmu_bound_t *current; local [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dhchap.c | 1932 * call. in case of ACC, the host must be the initiator because its current 1991 * current state unchanged and mark itself as auth_initiator. 2885 bzero(un_cval.md5.val, sizeof (MD5_CVAL)); 2886 bcopy((void *)tmp, (void *)un_cval.md5.val, 2902 bzero(un_cval.sha1.val, sizeof (SHA1_CVAL)); 2903 bcopy((void *)tmp, (void *)un_cval.sha1.val, 3347 bzero(un_cval.md5.val, LE_SWAP32(rsp_size)); 3350 (void *)un_cval.md5.val, 3355 (void *)un_cval.md5.val, 3360 bzero(un_cval.sha1.val, LE_SWAP3 [all...] |
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-opl/common/ |
H A D | memcpy.s | 90 mov %o0, %g1 ! save dest address for return val 238 std %d10, [%o0+56] ! store the current 8 bytes 241 std %d12, [%o0+48] ! store the current 8 bytes 243 std %d14, [%o0+40] ! store the current 8 bytes 245 std %d16, [%o0+32] ! store the current 8 bytes 247 std %d20, [%o0+24] ! store the current 8 bytes 249 std %d22, [%o0+16] ! store the current 8 bytes 251 std %d24, [%o0+8] ! store the current 8 bytes 254 std %d26, [%o0] ! store the current 8 bytes 269 std %d10, [%o0+24] ! store the current [all...] |
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-us3/common/ |
H A D | memcpy.s | 85 mov %o0, %g1 ! save dest address for return val 262 std %d10, [%o0+56] ! store the current 8 bytes 264 std %d12, [%o0+48] ! store the current 8 bytes 266 std %d14, [%o0+40] ! store the current 8 bytes 268 std %d16, [%o0+32] ! store the current 8 bytes 270 std %d20, [%o0+24] ! store the current 8 bytes 272 std %d22, [%o0+16] ! store the current 8 bytes 274 std %d24, [%o0+8] ! store the current 8 bytes 277 std %d26, [%o0] ! store the current 8 bytes 292 std %d10, [%o0+24] ! store the current [all...] |
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_kernel.c | 561 * Update the current cross-reference for the supplied type of 585 pool_set_xref_t *current, *prev, *next; local 587 for (prev = NULL, current = psl->psl_xref; current != NULL; 588 current = next) { 591 if (current->psx_pset_id == id) 592 current->psx_pool->pkp_assoc[PREC_PSET] = 598 next = current->psx_next; 599 if (current->psx_pool->pkp_assoc[PREC_PSET] != NULL) { 601 prev->psx_next = current 892 pool_knl_put_xml_property(pool_elem_t *pe, xmlNodePtr node, const char *name, const pool_value_t *val) argument 1283 pool_value_t val = POOL_VALUE_INITIALIZER; local 1348 pool_value_t val = POOL_VALUE_INITIALIZER; local 1440 pool_value_t val = POOL_VALUE_INITIALIZER; local 1528 pool_value_t val = POOL_VALUE_INITIALIZER; local 2299 pool_knl_get_property(const pool_elem_t *pe, const char *name, pool_value_t *val) argument 2333 pool_knl_get_dynamic_property(const pool_elem_t *pe, const char *name, pool_value_t *val) argument 2391 pool_knl_put_property(pool_elem_t *pe, const char *name, const pool_value_t *val) argument 2794 pool_value_t val = POOL_VALUE_INITIALIZER; local 3068 pool_value_t val = POOL_VALUE_INITIALIZER; local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_raidz.c | 1222 uint8_t val; local 1270 val = 0; 1274 val = vdev_raidz_pow2[ll]; 1278 dst[cc][x] = val; 1280 dst[cc][x] ^= val; 1927 int current, next, i, c, n; local 1975 current = 0; 1976 next = tgts[current]; 1978 while (current != n) { 1979 tgts[current] [all...] |
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | common_asm.s | 69 * the current hummingbird version of %stick and %stick_cmp 375 * Get current tick 576 * Similar to gethrestime(), but gethrestime_sec() returns current hrestime 582 retl ! %o0 current hrestime seconds 645 * Subtract start time of current microstate from time 652 * Add current value of ms_acct[LMS_USER] 691 ldx [%l4 + %lo(hrtime_base)], %g1 ! load current hrtime_base 692 GET_NATIVE_TIME(%l0, %l3, %l6) ! current native time 693 stx %l0, [%l4 + %lo(hres_last_tick)]! prev = current 719 bl,pt %xcc, 2f ! yes, use current ad [all...] |
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcie.c | 1894 pcie_max_supported_t *current = (pcie_max_supported_t *)arg; local 1900 if (ddi_get_child(current->dip) == NULL) { 1925 if (pcie_map_phys(ddi_get_child(current->dip), reg, &virt, 1943 if (max_supported < current->highest_common_mps) 1944 current->highest_common_mps = max_supported; 2103 pcie_set_rber_fatal(dev_info_t *dip, boolean_t val) argument 2106 bus_p->bus_pfd->pe_rber_fatal = val; 2275 uint32_t val; local 2295 val = PCI_CAP_GET32(handle, NULL, cap_ptr, PCIE_ARI_CAP); 2297 next_function = (val >> PCIE_ARI_CAP_NEXT_FUNC_SHIF 2381 uint_t val; local [all...] |