/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_get/ |
H A D | zpool_get_002_pos.ksh | 60 zpool get all $TESTPOOL > /tmp/values.$$ 63 grep ^"NAME " /tmp/values.$$ > /dev/null 2>&1 73 grep "$TESTPOOL *${properties[$i]}" /tmp/values.$$ > /dev/null 2>&1 85 COUNT=$(wc /tmp/values.$$ | awk '{print $1}') 93 rm /tmp/values.$$
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | result.c | 190 LDAPMessage *tmp; in check_response_queue() local 198 for ( tmp = lm; tmp != NULL; tmp = tmp->lm_chain ) { in check_response_queue() 203 if ( tmp == NULL ) { in check_response_queue() 782 for ( tmp = l; tmp->lm_chain != NULL && 785 tmp = tmp->lm_chain ) { 786 chainprev = tmp; 811 if ( l == tmp ) { 841 if ( l == tmp ) { 1407 LDAPMessage *tmp; 1415 for ( tmp = lm; tmp != NULL; tmp = tmp->lm_chain ) { [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | Makefile | 58 } > 1.$(tmp).h 59 if $(CMP) $(CMPFLAGS) 1.$(tmp).h $(<) 60 then $(RM) $(RMFLAGS) 1.$(tmp).h 61 else $(MV) 1.$(tmp).h $(<) 80 } > 1.$(tmp).h 81 if $(CMP) $(CMPFLAGS) 1.$(tmp).h $(<) 82 then $(RM) $(RMFLAGS) 1.$(tmp).h 83 else $(MV) 1.$(tmp).h $(<)
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_stats.c | 359 uint32_t pic0, pic1, tmp; in tavor_kstat_cntr_update() local 422 tmp = ((pic0 >> shift) & mask); in tavor_kstat_cntr_update() 424 ib_perf[indx].ks_old_pic0 = tmp; in tavor_kstat_cntr_update() 426 tmp = tmp - oldval; in tavor_kstat_cntr_update() 427 ksi->tki_pic0 += tmp; in tavor_kstat_cntr_update() 445 tmp = ((pic1 >> shift) & mask); in tavor_kstat_cntr_update() 447 ib_perf[indx].ks_old_pic1 = tmp; in tavor_kstat_cntr_update() 449 tmp = tmp - oldval; in tavor_kstat_cntr_update() 450 ksi->tki_pic1 += tmp; in tavor_kstat_cntr_update() 559 uint32_t tmp; in tavor_kstat_perfcntr64_read() local [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | systeminfo.c | 153 char *tmp; in systeminfo() local 157 tmp = ""; in systeminfo() 187 tmp = kmem_alloc(tlen, KM_SLEEP); in systeminfo() 188 (void) strncpy(tmp, dhcifname, IFNAMSIZ); in systeminfo() 190 &tmp[IFNAMSIZ], &octlen) != 0) { in systeminfo() 191 kmem_free(tmp, tlen); in systeminfo() 207 if (copyout(tmp, buf, getcnt)) in systeminfo() 211 kmem_free(tmp, tlen); in systeminfo() 215 kmem_free(tmp, tlen); in systeminfo()
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_hw.h | 50 u64 tmp; \ 52 tmp = UNM_NIC_PCI_READ_64(a); \ 53 UNM_NIC_PCI_WRITE_64(tmp, b); \ 62 u64 tmp; \ 64 tmp = UNM_NIC_PCI_READ_64(b); \ 65 UNM_NIC_PCI_WRITE_64(tmp, a); \
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | memlist.c | 139 struct memlist *tmp; in add_to_freelist() local 144 for (tmp = free_memlist_ptr; tmp->ml_next; tmp = tmp->ml_next) in add_to_freelist() 146 tmp->ml_next = ptr; in add_to_freelist()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/link_count/ |
H A D | link_count_001.ksh | 55 log_must mkdir -p ${TESTDIR}/tmp 60 touch ${TESTDIR}/tmp/x$i > /dev/null 2>&1 65 rm -f ${TESTDIR}/tmp/x* >/dev/null 2>&1 67 rm_lnkcnt_zero_file ${TESTDIR}/tmp/test$$ > /dev/null 2>&1 & 87 log_must rm -f ${TESTDIR}/tmp/test$$*
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rsrc_info.c | 631 if ((tmp = calloc(1, sizeof (*tmp))) == NULL) { in ap_list_unpack() 650 prev->next = tmp; in ap_list_unpack() 651 prev = tmp; in ap_list_unpack() 665 ri_ap_free(tmp); in ap_list_unpack() 690 if ((tmp = calloc(1, sizeof (*tmp))) == NULL) { in dev_list_unpack() 707 prev->next = tmp; in dev_list_unpack() 708 prev = tmp; in dev_list_unpack() 722 ri_dev_free(tmp); in dev_list_unpack() 747 if ((tmp = calloc(1, sizeof (*tmp))) == NULL) { in client_list_unpack() 766 prev->next = tmp; in client_list_unpack() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | signal.sh | 31 tmp=$(mktemp -dt) || { err_exit mktemp -dt failed; exit 1; } 32 trap "cd /; rm -rf $tmp" EXIT 34 cd $tmp || err_exit "cd $tmp failed" 302 …null -c 'sleep 2 && kill $$ & trap "print done; exit 3" EXIT; (sleep 5); print finished' > $tmp/sig 305 x=$(<$tmp/sig) 310 …v/null -c 'sleep 2 && kill $$ & trap "print done; exit 3" EXIT; sleep 5; print finished' > $tmp/sig 313 x=$(<$tmp/sig) 318 … && kill $$ & trap "print done; exit 3" EXIT; (sleep 5); print finished' > $tmp/sig ;} 2> /dev/null 321 x=$(<$tmp/sig) 326 … 2 && kill $$ & trap "print done; exit 3" EXIT; sleep 5; print finished' > $tmp/sig ;} 2> /dev/null [all …]
|
H A D | path.sh | 32 trap "cd /; rm -rf $tmp" EXIT 34 cd $tmp || exit 75 print print ok > $tmp/ok 76 /bin/chmod 755 $tmp/ok 79 typeset -x PATH=$tmp 241 PATH=/dev:$tmp 276 scr=$tmp/script 307 cd "$tmp" 374 mkdir -p $tmp/new/bin 375 mkdir $tmp/new/fun [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/misc/ |
H A D | tst.include.ksh | 41 cfile=${TMPDIR:-/tmp}/inc.$$.$file.c 42 cofile=${TMPDIR:-/tmp}/inc.$$.$file 125 ofile=${TMPDIR:-/tmp}/inc.$file.$$.out 126 errfile=${TMPDIR:-/tmp}/inc.$file.$$.err 143 bigofile=${TMPDIR:-/tmp}/inc.$$.out 147 ofile=${TMPDIR:-/tmp}/inc.$file.$$.out
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_testing_index_after_use.c | 73 struct sm_state *tmp; in match_condition() local 93 FOR_EACH_PTR(slist, tmp) { in match_condition() 94 if (tmp->state == &merged || tmp->state == &undefined) in match_condition() 96 boundary = PTR_INT(tmp->state->data); in match_condition() 105 } END_FOR_EACH_PTR(tmp); in match_condition()
|
H A D | smatch_conditions.c | 85 tmp = expr->right; in handle_zero_comparisons() 90 tmp = expr->left; in handle_zero_comparisons() 97 split_conditions(tmp); in handle_zero_comparisons() 103 split_conditions(tmp); in handle_zero_comparisons() 244 struct stree *tmp; in handle_select() local 334 free_stree(&tmp); in handle_select() 336 free_stree(&tmp); in handle_select() 683 struct statement *tmp; in split_then_return_last() local 692 if (tmp == last_stmt) { in split_then_return_last() 699 __split_stmt(tmp); in split_then_return_last() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | scandir.c | 118 struct dirent64 **tmp; in scandir64() local 126 tmp = realloc(names, in scandir64() 128 if (tmp == NULL) { in scandir64() 132 names = tmp; in scandir64() 203 struct dirent **tmp; in scandir() local 211 tmp = realloc(names, in scandir() 213 if (tmp == NULL) { in scandir() 217 names = tmp; in scandir()
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | xgettext.c | 1682 tmp = dom_head; in write_all_files() 1685 tmp = tmp->next; in write_all_files() 2165 tmp->linenum = 0; in new_element() 2166 tmp->next = NULL; in new_element() 2168 return (tmp); in new_element() 2185 tmp->next = NULL; in new_domain() 2187 return (tmp); in new_domain() 2199 tmp->str = NULL; in new_strlist() 2200 tmp->next = NULL; in new_strlist() 2202 return (tmp); in new_strlist() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_marshaling.c | 414 mbuf_chain_t tmp; in smb_mbc_peek() local 421 xx = smb_mbc_vdecodef(&tmp, fmt, ap); in smb_mbc_peek() 780 mbuf_chain_t tmp; in smb_mbc_poke() local 1394 uint16_t tmp; in mbc_marshal_get_short() local 1413 *data = tmp; in mbc_marshal_get_short() 1421 uint32_t tmp; in mbc_marshal_get_long() local 1441 *data = tmp; in mbc_marshal_get_long() 1460 uint64_t tmp; in mbc_marshal_get_odd_long_long() local 1486 *(uint64_t *)data = tmp; in mbc_marshal_get_odd_long_long() 1494 uint64_t tmp; in mbc_marshal_get_long_long() local [all …]
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | dict.c | 72 dict_entry_t *entry, tmp; in dict_lookup_byname() local 75 tmp.de_name = name; in dict_lookup_byname() 78 if ((entry = uu_list_find(dictionary->dict_list, &tmp, NULL, in dict_lookup_byname() 99 dict_entry_t *entry, tmp; in dict_insert() local 104 tmp.de_name = name; in dict_insert() 108 if ((entry = uu_list_find(dictionary->dict_list, &tmp, NULL, in dict_insert()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/projectquota/ |
H A D | projectid_003_pos.ksh | 69 echo "dummy attribute data" >/tmp/attr.$$ 70 log_must runat $PRJFILE cp /tmp/attr.$$ trusted.ea1 71 log_must runat $PRJFILE cp /tmp/attr.$$ trusted.ea2 72 log_must runat $PRJFILE cp /tmp/attr.$$ trusted.ea3 73 rm /tmp/attr.$$
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | memlist.c | 500 struct bootmem_props *tmp; in init_boot_memlists() local 520 tmp->maxsize = len; in init_boot_memlists() 521 tmp->ptr = (prom_memlist_t *)start; in init_boot_memlists() 525 sort_promlist(tmp); in init_boot_memlists() 526 compact_promlist(tmp); in init_boot_memlists() 533 tmp = &bootmem_props[PHYSAVAIL]; in init_boot_memlists() 534 tmp->maxsize = len; in init_boot_memlists() 535 tmp->ptr = (prom_memlist_t *)start; in init_boot_memlists() 538 tmp = &bootmem_props[VIRTAVAIL]; in init_boot_memlists() 539 tmp->maxsize = len; in init_boot_memlists() [all …]
|
/illumos-gate/usr/src/cmd/iscsid/ |
H A D | iscsid.c | 570 iscsi_lun_list_t *tmp; in get_luns_count() local 599 tmp = lun_list; in get_luns_count() 600 len = tmp->ll_out_cnt * sizeof (tmp->ll_luns); in get_luns_count() 601 len += sizeof (*tmp) - sizeof (tmp->ll_luns); in get_luns_count() 605 free(tmp); in get_luns_count() 610 lun_list->ll_in_cnt = tmp->ll_out_cnt; in get_luns_count() 612 free(tmp); in get_luns_count() 632 uint32_t tmp; in discovery_event_wait() local 664 tmp = get_luns_count(did); in discovery_event_wait() 665 if (tmp <= lun_count) { in discovery_event_wait() [all …]
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs_mpi.h | 91 uint32_t tmp = pmcs_rd_mpi_tbl(pwp, PMCS_MPI_EVQS + (woff << 2)); \ 92 tmp &= ~(0xff << shf); \ 93 tmp |= ((oq & 0xff) << shf); \ 94 pmcs_wr_mpi_tbl(pwp, PMCS_MPI_EVQS + (woff << 2), tmp); \ 101 uint32_t tmp = pmcs_rd_mpi_tbl(pwp, PMCS_MPI_SNCQ + (woff << 2)); \ 102 tmp &= ~(0xff << shf); \ 103 tmp |= ((oq & 0xff) << shf); \ 104 pmcs_wr_mpi_tbl(pwp, PMCS_MPI_SNCQ + (woff << 2), tmp); \
|
/illumos-gate/usr/src/common/crypto/arcfour/ |
H A D | arcfour_crypt.c | 62 uchar_t tmp; in arcfour_key_init() local 78 tmp = key->arr[i]; in arcfour_key_init() 80 key->arr[j] = tmp; in arcfour_key_init() 129 uchar_t tmp; in arcfour_crypt() local 142 tmp = key->arr[i]; in arcfour_crypt() 144 key->arr[j] = tmp; in arcfour_crypt() 145 tmp = key->arr[i] + key->arr[j]; in arcfour_crypt() 146 *out = *in ^ key->arr[tmp]; in arcfour_crypt()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | kdb_xdr.c | 43 krb5_octet * tmp; local 48 if ((tmp = (krb5_octet *) malloc(new_tl_data->tl_data_length)) == NULL) 63 free(tmp); 78 tl_data->tl_data_contents = tmp; 79 memcpy(tmp, new_tl_data->tl_data_contents, tl_data->tl_data_length); 133 krb5_int32 tmp; local 145 krb5_kdb_decode_int32(tl_data.tl_data_contents, tmp); 147 *stamp = (krb5_timestamp) tmp;
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zio_compress.c | 125 void *tmp = abd_borrow_buf_copy(src, s_len); in zio_compress_data() local 126 c_len = ci->ci_compress(tmp, dst, s_len, d_len, ci->ci_level); in zio_compress_data() 127 abd_return_buf(src, tmp, s_len); in zio_compress_data() 153 void *tmp = abd_borrow_buf_copy(src, s_len); in zio_decompress_data() local 154 int ret = zio_decompress_data_buf(c, tmp, dst, s_len, d_len); in zio_decompress_data() 163 bcopy(tmp, zio_decompress_failed_buf, s_len); in zio_decompress_data() 170 abd_return_buf(src, tmp, s_len); in zio_decompress_data()
|