/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvd.c | 839 *temp = (tempr_t)y_of_x(sensorp->crtbl, *temp); in get_temperature() 857 *temp = diskp->current_temp; in disk_temperature() 1543 tempr_t temp; in check_fanstat() local 1546 if (get_raw_temperature(sensorp, &temp) == -1) in check_fanstat() 1555 } else if (temp >= sensorp->tmin) { in check_fanstat() 1634 tempr_t temp; in handle_overtemp_interrupt() local 1670 if (get_temperature(sensorp, &temp) == -1) in handle_overtemp_interrupt() 1673 sensorp->cur_temp = temp; in handle_overtemp_interrupt() 1679 sensorp->name, temp, in handle_overtemp_interrupt() 1694 temp, in handle_overtemp_interrupt() [all …]
|
H A D | piclenvsetup.c | 179 tempr_t temp; in get_current_temp() local 194 if (get_temperature(snodep->sensorp, &temp) < 0) in get_current_temp() 196 (void) memcpy(buf, (caddr_t)&temp, sizeof (tempr_t)); in get_current_temp() 208 tempr_t temp; in get_disk_temp() local 223 if (disk_temperature(dnodep->diskp, &temp) < 0) in get_disk_temp() 225 (void) memcpy(buf, (caddr_t)&temp, sizeof (tempr_t)); in get_disk_temp()
|
/illumos-gate/usr/src/uts/sun4v/io/px/ |
H A D | px_err.c | 753 uint32_t temp; in px_pcie_epkt_severity() local 760 temp = PCIE_AER_UCE_UR | PCIE_AER_UCE_CA; in px_pcie_epkt_severity() 763 pec_p->pec_descr.U && (pec_p->ue_reg_status & temp)) { in px_pcie_epkt_severity() 801 temp = pcie->ue_reg; in px_pcie_epkt_severity() 802 if (temp) { in px_pcie_epkt_severity() 804 for (x = 0; !(temp & 0x1); x++) { in px_pcie_epkt_severity() 805 temp = temp >> 1; in px_pcie_epkt_severity()
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_vadj.c | 644 unsigned char temp[LBSIZE]; in vredraw() local 667 CP(temp, linebuf); in vredraw() 683 strcLIN(temp); in vredraw() 746 strcLIN(temp); in vredraw() 860 unsigned char temp[LBSIZE]; in vsync1() local 876 CP(temp, linebuf); in vsync1() 895 strcLIN(temp); in vsync1() 920 strcLIN(temp); in vsync1()
|
/illumos-gate/usr/src/cmd/priocntl/ |
H A D | subr.c | 586 long temp; local 651 temp = result + 1; 652 if (temp - 1 == result) 663 temp = result + 1; 664 if (temp - 1 == result)
|
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/ |
H A D | T.misc | 10 TEMP0=$WORKDIR/test.temp.0 11 TEMP1=$WORKDIR/test.temp.1 12 TEMP2=$WORKDIR/test.temp.2 13 TEMP3=$WORKDIR/test.temp.3
|
H A D | T.clv | 8 TEMP0=$WORKDIR/test.temp.0 9 TEMP1=$WORKDIR/test.temp.1 10 TEMP2=$WORKDIR/test.temp.2
|
H A D | T.expr | 8 TEMP1=$WORKDIR/test.temp.1 9 TEMP2=$WORKDIR/test.temp.2
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | htbl.c | 44 hashb_t *temp; in init_hash() local 57 temp = &htp->tbl[i]; in init_hash() 58 (void) mutex_init(&temp->block, USYNC_THREAD, NULL); in init_hash()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | drand48.c | 86 #define REST(v) for (i = 0; i < 3; i++) { xsubi[i] = x[i]; x[i] = temp[i]; } \ 89 int i; TYPE v; unsigned temp[3]; \ 90 for (i = 0; i < 3; i++) { temp[i] = x[i]; x[i] = LOW(xsubi[i]); } \
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | debug.h | 55 #define DEBUG_TEMP(temp) (temp) /* debugging stuff that should be removed */ argument
|
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/ |
H A D | apic_common.c | 690 hrtime_t temp; in apic_gettime() local 708 temp = apic_nsec_since_boot; in apic_gettime() 713 return (temp); in apic_gettime() 726 hrtime_t temp; in apic_gethrtime() local 784 temp = apic_last_hrtime; in apic_gethrtime() 790 return (temp); in apic_gethrtime() 801 temp = apic_nsec_since_boot + curr_timeval; in apic_gethrtime() 809 if (temp < apic_last_hrtime) { in apic_gethrtime() 812 temp = apic_last_hrtime; in apic_gethrtime() 815 apic_last_hrtime = temp; in apic_gethrtime() [all …]
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | ms.c | 1083 int temp; in msinput() local 1119 temp = (int)(mi->mi_x + c); in msinput() 1120 mi->mi_x = BYTECLIP(temp); in msinput() 1131 temp = (int)(mi->mi_y - c); in msinput() 1132 mi->mi_y = BYTECLIP(temp); in msinput() 1139 temp = (int)(mi->mi_x + c); in msinput() 1140 mi->mi_x = BYTECLIP(temp); in msinput() 1148 temp = (int)(mi->mi_y - c); in msinput() 1149 mi->mi_y = BYTECLIP(temp); in msinput()
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | lib.c | 114 char temp[50]; in makefields() local 122 (void) sprintf(temp, "%d", i); in makefields() 123 fldtab[i]->nval = tostring(temp); in makefields() 350 char *s, temp[50]; in getargv() local 353 (void) sprintf(temp, "%d", n); in getargv() 354 if (lookup(temp, ARGVtab) == NULL) in getargv() 356 x = setsymtab(temp, "", 0.0, STR, ARGVtab); in getargv()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | swapgeneric.c | 1105 char *temp; in netboot_over_ib() local 1123 if ((temp = strstr(bootpath, ":port=")) != NULL) { in netboot_over_ib() 1124 if ((temp = strstr(temp, ",pkey=")) != NULL) in netboot_over_ib() 1125 if ((temp = strstr(temp, in netboot_over_ib()
|
H A D | contract.c | 2535 ct_kevent_t *temp; in cte_get_event() local 2565 temp = l->ctl_position; in cte_get_event() 2566 cte_hold(temp); in cte_get_event() 2583 if (temp->cte_data) { in cte_get_event() 2584 VERIFY(nvlist_size(temp->cte_data, &size, in cte_get_event() 2589 VERIFY(nvlist_size(temp->cte_gdata, &gsize, in cte_get_event() 2608 VERIFY(nvlist_pack(temp->cte_gdata, &tmp, in cte_get_event() 2628 STRUCT_FSET(ev, ctev_evid, temp->cte_id); in cte_get_event() 2633 STRUCT_FSET(ev, ctev_type, temp->cte_type); in cte_get_event() 2649 (l->ctl_position == temp)) in cte_get_event() [all …]
|
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | main.c | 501 char **temp = realloc( db_args, sizeof(char*) * (db_args_size+1)); /* one for NULL */ local 502 if( temp == NULL ) 509 db_args = temp; 555 char **temp = realloc( db_args, sizeof(char*) * (db_args_size+1)); /* one for NULL */ local 556 if( temp == NULL ) 563 db_args = temp;
|
/illumos-gate/usr/src/uts/sun4u/javelin/io/ |
H A D | envctrltwo.c | 793 struct envctrl_chip temp, a_fanspeed; in envctrl_ioctl() local 890 if (ddi_copyin((caddr_t)arg, (caddr_t)&temp, in envctrl_ioctl() 895 if (((temp.chip_num != ENVCTRL_DEV2) && in envctrl_ioctl() 896 (temp.chip_num != ENVCTRL_DEV7)) || in envctrl_ioctl() 897 (temp.index > EHC_PCF8591_CH_3)) { in envctrl_ioctl() 903 temp.chip_num, temp.index, &temp.val, 1); in envctrl_ioctl() 1101 if (ddi_copyin((caddr_t)arg, (caddr_t)&temp, in envctrl_ioctl() 1107 status = envctrl_write_chip(unitp, temp.type, temp.chip_num, in envctrl_ioctl() 1108 temp.index, &temp.val, 1); in envctrl_ioctl() 1124 status = envctrl_read_chip(unitp, temp.type, temp.chip_num, in envctrl_ioctl() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/ |
H A D | serengeti.c | 1876 Board_node *temp = root->bd_list; in serengeti_insert_board() local 1889 if (temp == NULL) in serengeti_insert_board() 1892 else if ((temp->board_num > board) && (temp->node_id >= nodeid)) { in serengeti_insert_board() 1893 bnode->next = temp; in serengeti_insert_board() 1897 while ((temp->next != NULL) && in serengeti_insert_board() 1898 ((board > temp->next->board_num) || in serengeti_insert_board() 1899 (nodeid > temp->node_id))) in serengeti_insert_board() 1900 temp = temp->next; in serengeti_insert_board() 1902 bnode->next = temp->next; in serengeti_insert_board() 1903 temp->next = bnode; in serengeti_insert_board()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | ix_altsctr.c | 648 struct alts_ent temp; in ent_sort() local 653 temp = buf[cnt-1]; in ent_sort() 657 if (buf[j-1].bad_start < temp.bad_start) { in ent_sort() 658 buf[j] = temp; in ent_sort() 659 temp = buf[j - 1]; in ent_sort() 665 buf[i] = temp; in ent_sort()
|
/illumos-gate/usr/src/cmd/find/ |
H A D | find.c | 2201 mode_t temp; in getmode() local 2217 temp = startmode & S_IRWXU; in getmode() 2218 if (temp & (S_IRUSR|S_IRGRP|S_IROTH)) in getmode() 2221 if (temp & (S_IWUSR|S_IWGRP|S_IWOTH)) in getmode() 2223 if (temp & (S_IXUSR|S_IXGRP|S_IXOTH)) in getmode() 2228 temp = startmode & S_IRWXG; in getmode() 2229 if (temp & (S_IRUSR|S_IRGRP|S_IROTH)) in getmode() 2231 if (temp & (S_IWUSR|S_IWGRP|S_IWOTH)) in getmode() 2233 if (temp & (S_IXUSR|S_IXGRP|S_IXOTH)) in getmode() 2238 temp = startmode & S_IRWXO; in getmode() [all …]
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_main.c | 218 __uint32_t temp = 0; in unm_nic_disable_int() local 221 &temp, 4); in unm_nic_disable_int() 227 uint32_t mask, temp, our_int, status; in unm_nic_clear_int() local 245 ISR_INT_STATE_REG, &temp); in unm_nic_clear_int() 264 CRB_INT_VECTOR, temp); in unm_nic_clear_int() 271 temp = 0xffffffff; in unm_nic_clear_int() 286 temp = 0xffffffff; in unm_nic_clear_int() 299 u32 temp = 1; in unm_nic_enable_int() local 302 &temp, 4); in unm_nic_enable_int() 1125 temp_val = nx_get_temp_val(temp); in unm_nic_check_temp() [all …]
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_80003es2lan.c | 478 u16 temp; in e1000_read_phy_reg_gg82563_80003es2lan() local 496 temp = (u16)((u16)offset >> GG82563_PAGE_SHIFT); in e1000_read_phy_reg_gg82563_80003es2lan() 497 ret_val = e1000_write_phy_reg_mdic(hw, page_select, temp); in e1000_read_phy_reg_gg82563_80003es2lan() 511 ret_val = e1000_read_phy_reg_mdic(hw, page_select, &temp); in e1000_read_phy_reg_gg82563_80003es2lan() 513 if (((u16)offset >> GG82563_PAGE_SHIFT) != temp) { in e1000_read_phy_reg_gg82563_80003es2lan() 549 u16 temp; in e1000_write_phy_reg_gg82563_80003es2lan() local 567 temp = (u16)((u16)offset >> GG82563_PAGE_SHIFT); in e1000_write_phy_reg_gg82563_80003es2lan() 568 ret_val = e1000_write_phy_reg_mdic(hw, page_select, temp); in e1000_write_phy_reg_gg82563_80003es2lan() 582 ret_val = e1000_read_phy_reg_mdic(hw, page_select, &temp); in e1000_write_phy_reg_gg82563_80003es2lan() 584 if (((u16)offset >> GG82563_PAGE_SHIFT) != temp) { in e1000_write_phy_reg_gg82563_80003es2lan()
|
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | doprnt.c | 1667 wchar_t temp; in _wndoprnt() local 1671 if (temp) { in _wndoprnt() 1672 buf[0] = temp; in _wndoprnt() 1681 if (temp) { in _wndoprnt() 1682 retcode = wctomb(buf, temp); in _wndoprnt() 1703 wchar_t temp; in _wndoprnt() local 1706 if (temp) { in _wndoprnt() 1707 retcode = wctomb(buf, temp); in _wndoprnt() 1721 long long temp; in _wndoprnt() local 1724 buf[0] = (wchar_t)temp; in _wndoprnt() [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | pkgparam.c | 111 char temp[PATH_MAX]; in pkginfopen() local 113 if (pkginfofind(temp, pkg_dir, pkginst)) in pkginfopen() 114 fp = fopen(temp, "r"); in pkginfopen()
|