/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcpolicy/ |
H A D | psvcpolicy.c | 84 gettext("WARNING: Temperature Sensor %s returning faulty temp\n") 220 int32_t seg_found, temp; local 288 temp = temp_array[j]; 290 threshold_names[j], &temp); 311 int32_t temp; local 363 status = psvc_get_attr(hdlp, id, PSVC_SENSOR_VALUE_ATTR, &temp); 369 * The following code is to check to see if the temp sensor is 374 if ((temp == 127) && (strcmp(state, PSVC_ERROR) != 0)) { 396 if ((features & PSVC_LOW_SHUT) && temp < lo_shut) { 415 temp, labe 1250 int32_t temp; local [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | permission.c | 794 char *temp, *tend; local 804 if ( (temp = strdup(name)) != NULL ) { 805 for ( tend = temp + strlen(temp) ; *temp; ) { 806 if ( stat(temp, &statbuf) == 0 ) { 817 free(temp); 823 if ( (tend = strrchr(temp, '/')) == NULL ) { 824 free(temp);
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | siena_nvram.c | 511 uint16_t temp[4]; local 540 temp[0] = EFX_WORD_FIELD(verp->version_w, EFX_WORD_0); 541 temp[1] = EFX_WORD_FIELD(verp->version_x, EFX_WORD_0); 542 temp[2] = EFX_WORD_FIELD(verp->version_y, EFX_WORD_0); 543 temp[3] = EFX_WORD_FIELD(verp->version_z, EFX_WORD_0); 544 if (memcmp(version, temp, sizeof (temp)) < 0) 545 (void) memcpy(version, temp, sizeof (temp));
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_gem.c | 198 uint32_t temp, crbaddr; local 208 adapter->unm_nic_hw_read_wx(adapter, crbaddr, &temp, 4); 210 *pmac16++ = (temp >> 16); 212 &temp, 4); 213 *pmac16++ = (temp & 0xffff); 214 *pmac16++ = (temp >> 16); 217 *pmac16++ = (temp & 0xffff); 218 *pmac16++ = (temp >> 16); 220 &temp, 4); 221 *pmac16++ = (temp 249 uint32_t hi, lo, temp; local 1148 int ret, temp; local [all...] |
/illumos-gate/usr/src/grub/grub-0.97/lib/ |
H A D | getopt.c | 778 char *temp = my_index (optstring, c); 784 if (temp == NULL || c == ':') 800 if (temp[0] == 'W' && temp[1] == ';') 923 if (temp[1] == ':') 925 if (temp[2] == ':') 774 char *temp = my_index (optstring, c); local
|
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
H A D | bootparam_ip_route.c | 85 mib_item_t *temp; local 165 temp = (mib_item_t *)malloc(sizeof (mib_item_t)); 166 if (!temp) { 171 last_item->next_item = temp; 173 first_item = temp; 174 last_item = temp;
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_changelist.c | 538 zfs_handle_t *temp; local 643 if ((temp = zfs_open(zhp->zfs_hdl, zfs_get_name(zhp), 655 zfs_close(temp); 660 cn->cn_handle = temp; 662 zfs_is_mounted(temp, NULL); 663 cn->cn_shared = zfs_is_shared(temp);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvd.c | 650 get_temperature(env_sensor_t *sensorp, tempr_t *temp) argument 657 else if (ioctl(fd, I2C_GET_TEMPERATURE, temp) == -1) { 669 *temp = (tempr_t)y_of_x(sensorp->crtbl, *temp); 680 get_raw_temperature(env_sensor_t *sensorp, tempr_t *temp) argument 687 else if (ioctl(fd, I2C_GET_TEMPERATURE, temp) == -1) { 1143 * We know the fan is on if temp >= tmin and fan is off if 1144 * temp < (Tmin - Hysterisis). 1173 tempr_t temp; local 1176 if (get_raw_temperature(sensorp, &temp) 1269 tempr_t temp; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_subr.c | 234 char *temp, *res; local 249 temp = (char *)xmlNodeGetContent(nodes->nodeTab[0]); 250 fmd_hdl_debug(hdl, "query result: %s\n", temp); 251 res = fmd_hdl_strdup(hdl, temp, FMD_SLEEP); 252 xmlFree(temp); 397 char *retval, *temp; local 490 temp = GET_PROP(devNode, "value"); 491 retval = fmd_hdl_strdup(hdl, temp, FMD_SLEEP); 493 xmlFree(temp); 629 char *retval, *temp; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_drv.c | 1114 acpidev_class_list_t *temp; local 1134 for (temp = *listpp; temp != NULL; temp = temp->acl_next) { 1135 if (temp->acl_class == clsp) { 1165 acpidev_class_list_t *temp; local 1176 for (temp = NULL; *listpp; listpp = &(*listpp)->acl_next) { 1178 temp = *listpp; 1183 if (temp [all...] |
/illumos-gate/usr/src/common/crypto/aes/ |
H A D | aes_impl.c | 880 uint32_t temp; local 889 temp = rk[3]; 891 (Te4[(temp >> 16) & 0xff] & 0xff000000) ^ 892 (Te4[(temp >> 8) & 0xff] & 0x00ff0000) ^ 893 (Te4[temp & 0xff] & 0x0000ff00) ^ 894 (Te4[temp >> 24] & 0x000000ff) ^ 912 temp = rk[5]; 914 (Te4[(temp >> 16) & 0xff] & 0xff000000) ^ 915 (Te4[(temp >> 8) & 0xff] & 0x00ff0000) ^ 916 (Te4[temp 1032 uint32_t temp; local 1234 uint32_t temp; local [all...] |
/illumos-gate/usr/src/lib/sasl_plugins/cram/ |
H A D | cram.c | 161 unsigned char temp[5]; /* random 32-bit number */ local 169 nread = read(fd, temp, 4); 174 (char *) temp, 4); 177 sparams->utils->rand(sparams->utils->rpool,(char *) temp,4); 179 num=(temp[0] * 256 * 256 * 256) + 180 (temp[1] * 256 * 256) + 181 (temp[2] * 256) + 182 (temp[3] );
|
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 1772 logical_drive_t *temp; local 2055 for (temp = fdisk_get_ld_head(epp); temp != NULL; 2056 temp = temp->next) { 2057 relsect = temp->abs_secnum + temp->logdrive_offset; 2058 if (temp->parts[0].systid == id && 2059 temp->parts[0].bootid == act && 2060 temp 3110 struct ipart *temp = partition[i]; local 4172 logical_drive_t *temp; local 5420 logical_drive_t *temp; local 5461 logical_drive_t *temp; local [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_crypt.c | 116 int ic, i, k, temp; local 143 temp = t1[k]; 145 t1[ic] = temp;
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | _crypt.c | 394 int temp; local 427 temp = E[6*i+j]; 429 E[6*i+j+24] = temp;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | drand48.c | 88 #define REST(v) for (i = 0; i < 3; i++) { xsubi[i] = x[i]; x[i] = temp[i]; } \ 91 int i; TYPE v; unsigned temp[3]; \ 92 for (i = 0; i < 3; i++) { temp[i] = x[i]; x[i] = LOW(xsubi[i]); } \
|
/illumos-gate/usr/src/cmd/news/ |
H A D | news.c | 227 struct n_file temp; local 228 temp = n_list[i]; 230 n_list[j] = temp;
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | htbl.c | 46 hashb_t *temp; local 59 temp = &htp->tbl[i]; 60 (void) mutex_init(&temp->block, USYNC_THREAD, NULL);
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | pkgparam.c | 111 char temp[PATH_MAX]; local 113 if (pkginfofind(temp, pkg_dir, pkginst)) 114 fp = fopen(temp, "r");
|
/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/lib/crypt_modules/bsdbf/ |
H A D | blowfish.c | 419 uint32_t temp; local 421 temp = 0x00000000; 427 temp = (temp << 8) | data[j]; 431 return temp; 440 uint32_t temp; local 447 temp = Blowfish_stream2word(key, keybytes, &j); 448 c->P[i] = c->P[i] ^ temp; 479 uint32_t temp; local 486 temp [all...] |
/illumos-gate/usr/src/cmd/su/ |
H A D | su.c | 1091 char *temp; local 1112 temp = getpassphrase(m->msg); 1115 if (temp != NULL) { 1116 r->resp = strdup(temp); 1130 temp = strchr(respbuf, '\n'); 1131 if (temp != NULL) 1132 *temp = '\0'; 1178 char *temp; local 1237 temp = strchr(respbuf, '\n'); 1238 if (temp ! [all...] |
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/ |
H A D | apic_common.c | 662 hrtime_t temp; local 680 temp = apic_nsec_since_boot; 685 return (temp); 698 hrtime_t temp; local 756 temp = apic_last_hrtime; 762 return (temp); 773 temp = apic_nsec_since_boot + curr_timeval; 781 if (temp < apic_last_hrtime) { 784 temp = apic_last_hrtime; 787 apic_last_hrtime = temp; [all...] |
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_misc.c | 870 s1394_target_t *temp; local 875 temp = hal->target_head; 876 while (temp != NULL) { 877 if (temp->target_dip == tdip) { 878 return (temp); 880 temp = temp->target_next;
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | fhc.c | 245 short dft_warn_temp = 60; /* default warning temp value */ 246 short dft_danger_temp = 68; /* default danger temp value */ 248 short cpu_warn_temp_4x = 60; /* CPU/Memory warning temp for 400 MHZ */ 249 short cpu_danger_temp_4x = 68; /* CPU/Memory danger temp for 400 MHZ */ 1628 uint_t tmp_index; /* temp index into upper level array */ 1964 * This routine determines if the temp of the device passed in is heating 2193 calibrate_temp(enum board_type type, uchar_t temp, uint_t ac_comp) argument 2198 return ((short)temp); 2208 if (temp >= CPU2_MX_CNT) { 2211 result = cpu2_table[temp]; 2258 get_temp_state(enum board_type type, short temp, int board) argument 2403 volatile uint_t temp; local 3239 uint_t temp; local [all...] |