Home
last modified time | relevance | path

Searched refs:temp (Results 126 – 150 of 454) sorted by relevance

12345678910>>...19

/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dworkfile.c405 Board_node *temp = root->bd_list; in littleneck_insert_board() local
418 if (temp == NULL) in littleneck_insert_board()
421 else if (temp->board_num > board) { in littleneck_insert_board()
422 bnode->next = temp; in littleneck_insert_board()
426 while ((temp->next != NULL) && (board > temp->next->board_num)) in littleneck_insert_board()
427 temp = temp->next; in littleneck_insert_board()
429 bnode->next = temp->next; in littleneck_insert_board()
430 temp->next = bnode; in littleneck_insert_board()
/illumos-gate/usr/src/cmd/bnu/
H A Dpermission.c795 char *temp, *tend; local
805 if ( (temp = strdup(name)) != NULL ) {
806 for ( tend = temp + strlen(temp) ; *temp; ) {
807 if ( stat(temp, &statbuf) == 0 ) {
818 free(temp);
824 if ( (tend = strrchr(temp, '/')) == NULL ) {
825 free(temp);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_config.c152 char *temp; in spa_config_write() local
167 temp = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in spa_config_write()
174 (void) snprintf(temp, MAXPATHLEN, "%s.tmp", dp->scd_path); in spa_config_write()
176 err = vn_open(temp, UIO_SYSSPACE, oflags, 0644, &vp, CRCREAT, 0); in spa_config_write()
183 err = vn_rename(temp, dp->scd_path, UIO_SYSSPACE); in spa_config_write()
188 (void) vn_remove(temp, UIO_SYSSPACE, RMFILE); in spa_config_write()
191 kmem_free(temp, MAXPATHLEN); in spa_config_write()
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/
H A DT.rt8 TEMP0=$WORKDIR/test.temp.0
9 TEMP1=$WORKDIR/test.temp.1
10 TEMP2=$WORKDIR/test.temp.2
H A DT.recache8 TEMP1=$WORKDIR/test.temp.1
9 TEMP2=$WORKDIR/test.temp.2
H A DT.exprconv8 TEMP1=$WORKDIR/test.temp.1
9 TEMP2=$WORKDIR/test.temp.2
H A DT.system8 TEMP1=$WORKDIR/test.temp.1
9 TEMP2=$WORKDIR/test.temp.2
H A DT.chem10 TEMP1=$WORKDIR/test.temp.1
11 TEMP2=$WORKDIR/test.temp.2
H A DT.gawk8 TEMP0=$WORKDIR/test.temp.0
9 TEMP1=$WORKDIR/test.temp.1
10 TEMP2=$WORKDIR/test.temp.2
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex.c1354 char *temp; in ibnex_devname2port() local
1360 if (temp != NULL) { in ibnex_devname2port()
1361 temp++; in ibnex_devname2port()
1362 *port = ibnex_str2int(temp, strlen(temp), &ret); in ibnex_devname2port()
1734 if (temp == 0) in ibnex_get_pkey_commsvc_index_portnum()
1736 temp++; in ibnex_get_pkey_commsvc_index_portnum()
1850 *ioc_guid = ibnex_str2hex(temp, (temp1 - temp), &ret); in ibnex_devname_to_node_n_ioc_guids()
1855 (void) strncpy(ioc_guid_str, temp, temp1 - temp + 1); in ibnex_devname_to_node_n_ioc_guids()
2509 char *temp; in ibnex_create_ioc_compatible_prop() local
3308 char *temp; in ibnex_create_port_compatible_prop() local
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/
H A Dp.472 $3 > 100 { print > (ENVIRON["WORKDIR"] "/test.temp.big") }
3 $3 <= 100 { print > (ENVIRON["WORKDIR"] "/test.temp.small") }
/illumos-gate/usr/src/cmd/oawk/
H A Dtokenscript7 w temp
10 -r temp
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvd.c667 *temp = (tempr_t)y_of_x(sensorp->crtbl, *temp); in get_temperature()
1171 tempr_t temp; in check_fanstat() local
1174 if (get_raw_temperature(sensorp, &temp) == -1) in check_fanstat()
1177 if (temp < (sensorp->tmin - ADM_HYSTERISIS)) { in check_fanstat()
1183 } else if (temp >= sensorp->tmin) { in check_fanstat()
1267 tempr_t temp; in handle_overtemp_interrupt() local
1297 if (get_temperature(sensorp, &temp) == -1) in handle_overtemp_interrupt()
1300 sensorp->cur_temp = temp; in handle_overtemp_interrupt()
1306 sensorp->name, temp, in handle_overtemp_interrupt()
1321 temp, in handle_overtemp_interrupt()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_nx.c768 uint32_t i, temp, sz[2], loop, shift_amount; in ql_8021_pci_mem_read_2M() local
810 temp = (uint32_t)(off8 + (i << shift_amount)); in ql_8021_pci_mem_read_2M()
812 temp = 0; in ql_8021_pci_mem_read_2M()
814 temp = MIU_TA_CTL_ENABLE; in ql_8021_pci_mem_read_2M()
816 temp = MIU_TA_CTL_START | MIU_TA_CTL_ENABLE; in ql_8021_pci_mem_read_2M()
821 if ((temp & MIU_TA_CTL_BUSY) == 0) { in ql_8021_pci_mem_read_2M()
835 &temp); in ql_8021_pci_mem_read_2M()
879 uint32_t i, temp, loop, sz[2]; in ql_8021_pci_mem_write_2M() local
973 temp = 0; in ql_8021_pci_mem_write_2M()
988 temp = MIU_TA_CTL_ENABLE | MIU_TA_CTL_WRITE; in ql_8021_pci_mem_write_2M()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dtelnet.c813 unsigned char temp[50]; in suboption() local
818 bytes = snprintf((char *)temp, sizeof (temp), in suboption()
823 printsub('>', &temp[2], len-2); in suboption()
838 unsigned char temp[50]; in suboption() local
843 bytes = snprintf((char *)temp, sizeof (temp), in suboption()
849 ring_supply_data(&netoring, temp, len); in suboption()
850 printsub('>', temp+2, len - 2); in suboption()
941 unsigned char temp[50], *dp; in suboption() local
953 bytes = snprintf((char *)temp, sizeof (temp), in suboption()
959 ring_supply_data(&netoring, temp, len); in suboption()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dphysmem.c162 struct physmem_hash *temp; in physmem_add_hash() local
176 for (temp = iterator->pph_hash; temp != NULL; in physmem_add_hash()
177 temp = temp->ph_next) { in physmem_add_hash()
178 if ((php->ph_base_pa >= temp->ph_base_pa && in physmem_add_hash()
179 php->ph_base_pa < temp->ph_base_pa + in physmem_add_hash()
180 temp->ph_seg_len) || in physmem_add_hash()
181 (temp->ph_base_pa >= php->ph_base_pa && in physmem_add_hash()
182 temp->ph_base_pa < php->ph_base_pa + in physmem_add_hash()
/illumos-gate/usr/src/cmd/lp/lib/users/
H A Dloadpri.c197 long temp; in next_user() local
210 temp = strtol(p, pp, 10); in next_user()
214 pri = temp; in next_user()
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c203 uint32_t temp, crbaddr; in get_flash_mac_addr() local
215 *pmac16++ = (temp >> 16); in get_flash_mac_addr()
217 &temp, 4); in get_flash_mac_addr()
219 *pmac16++ = (temp >> 16); in get_flash_mac_addr()
225 &temp, 4); in get_flash_mac_addr()
254 uint32_t hi, lo, temp; in unm_initialize_dummy_dma() local
277 temp = DUMMY_BUF_INIT; in unm_initialize_dummy_dma()
279 &temp, 4); in unm_initialize_dummy_dma()
1153 int ret, temp; in unmattach() local
1259 temp = 0; in unmattach()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Dsiena_nvram.c511 uint16_t temp[4]; variable
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/sun4u/sunfire/io/
H A Dfhc.c2197 return ((short)temp); in calibrate_temp()
2226 if (temp < IO_MN_CNT) { in calibrate_temp()
2231 result = io_table[temp]; in calibrate_temp()
2236 if (temp < CLK_MN_CNT) { in calibrate_temp()
2402 volatile uint_t temp; in update_board_leds() local
2427 temp &= ~mask; in update_board_leds()
2430 temp |= value; in update_board_leds()
2438 temp = temp; in update_board_leds()
3238 uint_t temp; in fhc_cpu_poweroff() local
3247 if (temp & FHC_EPDA_OFF) in fhc_cpu_poweroff()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_util.c198 char **temp; in add_db_arg() local
200 temp = realloc(db5util_db_args, in add_db_arg()
202 if (temp == NULL) in add_db_arg()
204 db5util_db_args = temp; in add_db_arg()
331 char *temp = NULL; local
332 retval = krb5_get_default_realm(util_context, &temp);
338 util_context->default_realm = temp;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/
H A Dchat.c672 char temp[STR_LEN], env_str[STR_LEN], cur_chr; local
681 s1 = temp;
834 return dup_mem (temp, (size_t) (s1 - temp)); /* may have embedded nuls */
1355 char temp[STR_LEN]; local
1357 register char *s = temp, *end = s + STR_LEN;
1358 char *logged = temp;
1413 s - temp >= (report_len = strlen(report_string[n])) &&
1439 if (s - temp >= len &&
1477 memmove(temp, s, minlen);
1478 logged = temp + (logged - s);
[all …]
/illumos-gate/usr/src/lib/libjedec/common/
H A Dlibjedec_temp.c53 libjedec_temp_range(libjedec_temp_range_t temp, int32_t *min, int32_t *max) in libjedec_temp_range() argument
56 if (temp == libjedec_temp_map[i].ltm_temp) { in libjedec_temp_range()
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_ip_route.c83 mib_item_t *temp; in mibget() local
163 temp = (mib_item_t *)malloc(sizeof (mib_item_t)); in mibget()
164 if (!temp) { in mibget()
169 last_item->next_item = temp; in mibget()
171 first_item = temp; in mibget()
172 last_item = temp; in mibget()
/illumos-gate/usr/src/lib/sasl_plugins/cram/
H A Dcram.c160 unsigned char temp[5]; /* random 32-bit number */ in randomdigits() local
168 nread = read(fd, temp, 4); in randomdigits()
173 (char *) temp, 4); in randomdigits()
176 sparams->utils->rand(sparams->utils->rpool,(char *) temp,4); in randomdigits()
178 num=(temp[0] * 256 * 256 * 256) + in randomdigits()
179 (temp[1] * 256 * 256) + in randomdigits()
180 (temp[2] * 256) + in randomdigits()
181 (temp[3] ); in randomdigits()

12345678910>>...19