/illumos-gate/usr/src/cmd/lp/lib/users/ |
H A D | loadpri.c | 199 long temp; local 212 temp = strtol(p, pp, 10); 216 pri = temp;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/ |
H A D | piclsensors.c | 255 /* read the temp from SMC f/w */ 286 /* read the curr temp from SMC f/w */ 358 * volatile callback function to set the temp thresholds 366 int8_t temp = *(int8_t *)bufp; local 380 if (temp <= temp_sensor.lo_shutdown) { 387 if (temp >= temp_sensor.lo_warning) { 396 if ((temp + 5) > temp_sensor.hi_shutdown) { 402 EEPROM_WARNING_CMD, temp); 405 if ((temp - 5) < temp_sensor.hi_warning) { 411 EEPROM_SHUTDOWN_CMD, temp); [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvd.c | 483 * temp, lpm, temp, lpm, ... 507 /* number of entries in the temp-lpm table */ 571 get_lpm_speed(lpm_dev_t *lpmdevs, int temp) argument 584 lpm = y_of_x(devp->temp_lpm_tbl, temp); 586 envd_log(LOG_INFO, "ambient %d lpm %d\n", temp, lpm); 704 xlate_obs2exp(env_sensor_t *sensorp, tempr_t temp) argument 714 new_temp = temp; 722 if (temp < map[i].observed) 738 ftemp = map[i-1].expected + (temp 752 xlate_exp2obs(env_sensor_t *sensorp, tempr_t temp) argument 1272 get_temperature(env_sensor_t *sensorp, tempr_t *temp) argument 1608 tempr_t temp; local 1794 tempr_t temp; local 1906 tempr_t temp; local [all...] |
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | lshiftl.s | 70 srl %o3,%o4,%o5 ! temp = R.l >> (31 - cnt) 74 or %o2,%o5,%o2 ! R.h = R.h | temp 86 sll %o2,%o1,%o5 ! temp = R.h << (31 - cnt) 90 or %o3,%o5,%o3 ! R.l = R.l | temp
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | getinst.c | 236 char temp[256]; local 259 (void) snprintf(temp, sizeof (temp), 262 if (setitem(menup, temp)) {
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_hw.c | 642 u32 temp = data; local 644 adapter->unm_nic_hw_write_wx(adapter, off, &temp, 4); 653 u32 temp; local 655 adapter->unm_nic_hw_read_wx(adapter, off, &temp, 4); 657 return (temp); 666 u32 temp = *data; local 668 adapter->unm_nic_hw_write_wx(adapter, off, &temp, 4); 679 u32 temp; local 681 adapter->unm_nic_hw_read_wx(adapter, off, &temp, 4); 683 *data = temp; 1240 __uint32_t temp; local 1333 __uint32_t temp; local 1426 __uint32_t temp; local 1531 __uint32_t temp; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_epkt.c | 93 uint32_t temp; local 96 temp = *(uint32_t *)&epktp->rc_descr >> 12; 97 if (entry->epkt_desc == temp) 104 fmd_hdl_debug(hdl, "Translate epkt DESC = %#x\n", temp); 122 temp = entry->pcie_ue_sts; 123 for (data->pcie_adv_ctl = (uint32_t)-1; temp; data->pcie_adv_ctl++) 124 temp = temp >> 1;
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | findlib.h | 70 char temp[PATH_MAX]; member in struct:__anon2637 87 char temp[PATH_MAX]; member in struct:__anon2638
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 246 unsigned temp; /* Temporary address */ local 249 temp = ntohl(addr->ipv4.sin_addr.s_addr); 251 snprintf(s, slen, "%d.%d.%d.%d", (temp >> 24) & 255, 252 (temp >> 16) & 255, (temp >> 8) & 255, temp & 255);
|
/illumos-gate/usr/src/lib/libunistat/ |
H A D | Makefile.com | 162 sed "s/\",/\"),/" > temp 163 xgettext -d unistat temp ; rm temp
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer2.c | 47 char answer[ANSLEN], temp[TLEN], line[BUFSIZ]; local 111 temp[0] = 0; 112 corout(buff, temp, "hunt", *sr, TLEN); 113 assert(strlen(temp) < TLEN); 114 if (strlen(temp)+strlen(answer) > BUFSIZ) 117 strcat(answer, temp);
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | adm1031.c | 611 uint8_t speed = 0, f_set = 0, temp = 0, write_value = 0; local 736 temp = ADM1031_AUTOFLAG & 738 temp = temp >> 7; 739 if (ddi_copyout((void *)&temp, (void *)arg, 740 sizeof (temp), mode) != DDI_SUCCESS) { 751 temp = ADM1031_AUTOFLAG | 755 temp = admp->adm1031_transfer->i2c_rbuf[0] & 762 admp->adm1031_transfer->i2c_wbuf[1] = temp; 830 temp 889 uint8_t temp[2]; local [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_import.c | 727 char *temp; local 732 temp = replicated_list_lookup(did->did_size, 734 if (temp == NULL) { 741 new_devid_len = devid_sizeof((ddi_devid_t)temp); 743 (void) memcpy(r_did, temp, new_devid_len); 1637 replicated_disk_t **repl_disk, *temp; local 1644 temp = *repl_disk; 1647 Free(temp->old_devid); 1648 Free(temp->new_devid); 1649 Free(temp); 1729 did_list_t *temp, *head; local 1760 md_im_replica_info_t *r, *temp; local 1782 md_im_drive_info_t *d, *temp; local 1829 md_im_set_desc_t *s, *temp; local 1878 char *bp = NULL, *temp; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_ldap.c | 627 struct loadmaster_cbdata *temp = (struct loadmaster_cbdata *)udata; local 628 char *defopts = temp->ptr1; 629 char **stack = temp->ptr2; 630 char ***stkptr = temp->ptr3; 786 struct loaddirect_cbdata *temp = (struct loaddirect_cbdata *)udata; local 787 char *opts = temp->ptr1; 788 char *localmap = temp->ptr2; 789 char **stack = temp->ptr3; 790 char ***stkptr = temp->ptr4; 901 struct dir_cbdata *temp local [all...] |
/illumos-gate/usr/src/cmd/troff/troff.d/ |
H A D | draw.c | 79 int itemp; /*temp. storage for value returned byint function sgn*/ 158 char temp[50], *p, *getstr(); local 163 for (N = 2; (p=getstr(p,temp)) != NULL && N < sizeof(x)/sizeof(x[0]); N++) { 164 x[N] = atoi(temp); 165 p = getstr(p, temp); 166 y[N] = atoi(temp); 204 char *getstr(p, temp) /* copy next non-blank string from p to temp, update p */ 205 char *p, *temp; 210 temp[ [all...] |
H A D | t10.c | 239 int temp, a, b; local 256 temp = absmot(*k); 258 temp = -temp; 259 dv += temp; 343 char temp[3]; local 345 temp[0] = n & BYTEMASK; 346 temp[1] = n >> BYTE; 347 temp[2] = 0; 348 ptfpcmd(0, temp); [all...] |
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_hca.c | 315 char *temp; local 326 temp = devname; 328 temp = strstr(temp, ",protocol=ip"); 329 if (temp == NULL) 332 if (strlen(devname) > (int)((temp - devname) + 12)) { 333 if (temp[12] == ',') 338 temp++; 339 } while (temp); 341 if (temp [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | main.c | 184 char temp[MAX_PKG_PARAM_LENGTH]; local 467 (void) snprintf(temp, sizeof (temp), 469 putparam("VERSION", temp); 471 logerr(gettext(WRN_SETPARAM), "VERSION", temp); local 489 (void) snprintf(temp, sizeof (temp), "%s%s", 491 putparam("PSTAMP", temp); 492 logerr(gettext(WRN_SETPARAM), "PSTAMP", temp); local 707 char *svpt, *path, temp[PATH_MA local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | piclenvd.c | 289 get_temperature(env_sensor_t *sensorp, tempr_t *temp) argument 296 else if (ioctl(fd, I2C_GET_TEMPERATURE, temp) == -1) { 451 tempr_t temp; local 492 if (get_temperature(sensorp, &temp) == 0) { 493 sensorp->cur_temp = temp; 521 tempr_t temp; local 530 if (get_temperature(sensorp, &temp) < 0) 533 sensorp->cur_temp = temp; 537 "sensor: %-13s temp cur:%3d target:%3d\n", 538 sensorp->name, temp, [all...] |
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb_yacc.y | 203 uint32_t temp; 228 if (inode_from_path(temp_cwd, &temp, 234 if ((temp = ud_xlate_to_daddr(ricb_prn, 248 value = temp << l2b; 250 i_number = temp; 338 uint64_t temp; 340 if (check_and_get_int($3, &temp) == 342 find_in = temp; 374 uint32_t temp; 377 temp [all...] |
/illumos-gate/usr/src/cmd/troff/ |
H A D | n9.c | 90 int w, cnt, delim, rem, temp; local 117 *i++ = makem(-(temp = ((w - length) / 2))); 119 *i++ = makem(-(w - length - temp)); 416 int length, ws, npad, temp, type; local 427 temp = npad = ws = 0; 465 temp = j; 480 *fp++ = temp; 482 temp = i = (j = length - ws) / npad; 487 if (temp < 0)
|
/illumos-gate/usr/src/cmd/valtools/ |
H A D | ckitem.c | 130 char temp[LSIZE * MB_LEN_MAX]; local 283 r = wcstombs(temp, wtemp, 290 if (setitem(mp, temp)) { 301 r = wcstombs(temp, wtemp, n * MB_LEN_MAX); 307 if (setitem(mp, temp)) {
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | puttext.c | 51 wchar_t *copy, *lastword, *lastend, temp[MWIDTH+1]; local 91 copy = temp; 279 mlen = wcstombs(mbtemp, temp, MWIDTH+1); 285 copy = temp; 301 mlen = wcstombs(mbtemp, temp, MWIDTH+1);
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | shim_changepasswd.c | 805 char *p, *str_end, *temp; local 811 if (NULL == (p = get_next_token(data->dptr, &temp, str_end))) 818 pwd->pw_name = temp; 821 if (NULL == (p = get_next_token(p, &temp, str_end))) 828 pwd->pw_passwd = temp; 1218 char *p, *str_end, *temp; local 1228 if (NULL == (p = get_next_token(p, &temp, str_end))) 1230 sp->sp_lstchg = atoi(temp); 1233 if (NULL == (p = get_next_token(p, &temp, str_end))) 1235 sp->sp_min = atoi(temp); [all...] |
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgtrans.c | 1190 temp[PATH_MAX], local 1236 (void) strlcpy(temp, srcinst, sizeof (temp)); 1237 if (pt = strchr(temp, '.')) 1239 (void) strlcat(temp, ".*", sizeof (temp)); 1241 if (pt = fpkginst(temp, info.arch, info.version)) { 1263 if (pt = strchr(temp, '.')) 1267 "%s.%d", temp, i); 1517 (void) snprintf(temp, sizeo 1699 char temp[MAXPATHLEN], local [all...] |