/illumos-gate/usr/src/stand/lib/tcp/ |
H A D | tcp_sack.c | 208 tmp = *head; in tcp_notsack_insert() 211 while ((tmp != NULL) && SEQ_LEQ(tmp->end, begin)) { in tcp_notsack_insert() 214 tmp = tmp->next; in tcp_notsack_insert() 239 if (end == tmp->end && SEQ_LEQ(begin, tmp->begin)) { in tcp_notsack_insert() 246 *sum -= tmp->end - tmp->begin; in tcp_notsack_insert() 291 tmp = tmp->next; in tcp_notsack_insert() 302 tmp_sum -= tmp->end - tmp->begin; in tcp_notsack_insert() 362 tmp_sum -= tmp->end - tmp->begin; in tcp_notsack_remove() 372 tmp = tmp->next; in tcp_notsack_remove() 426 tmp = tmp->next; in tcp_notsack_update() [all …]
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_sack.c | 202 tmp = *head; in tcp_notsack_insert() 205 while ((tmp != NULL) && SEQ_LEQ(tmp->end, begin)) { in tcp_notsack_insert() 206 prev = tmp; in tcp_notsack_insert() 208 tmp = tmp->next; in tcp_notsack_insert() 233 if (end == tmp->end && SEQ_LEQ(begin, tmp->begin)) { in tcp_notsack_insert() 240 *sum -= tmp->end - tmp->begin; in tcp_notsack_insert() 286 tmp = tmp->next; in tcp_notsack_insert() 297 tmp_sum -= tmp->end - tmp->begin; in tcp_notsack_insert() 357 tmp_sum -= tmp->end - tmp->begin; in tcp_notsack_remove() 419 tmp = tmp->next; in tcp_notsack_update() [all …]
|
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | hash.c | 79 tmp = tmp->next_entry; in get_hash() 86 tmp = tmp->next_entry; in get_hash() 120 for (; tmp != NULL; tmp = tmp->next_entry) { in find_hash() 127 for (; tmp != NULL; tmp = tmp->next_entry) { in find_hash() 157 tmp = tmp->next_entry; in del_hash() 165 tmp = tmp->next_entry; in del_hash() 207 (*ptr)(tmp->data, usr_arg, tmp->key); in operate_hash() 208 tmp = tmp->left_entry; in operate_hash() 221 (*ptr)(&(tmp->data), usr_arg, tmp->key); in operate_hash_addr() 222 tmp = tmp->left_entry; in operate_hash_addr() [all …]
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | lut.c | 94 tmp = tmp->lut_left; in lut_add() 98 tmp = tmp->lut_right; in lut_add() 172 tmp = tmp->lut_left; in lut_walk() 175 (*callback)(tmp->lut_lhs, tmp->lut_rhs, arg); in lut_walk() 179 tmp = tmp->lut_right; in lut_walk() 181 tmp = tmp->lut_left; in lut_walk() 187 tmp = tmp->lut_parent; in lut_walk() 212 tmp = tmp->lut_left; in lut_free() 220 tmp = tmp->lut_right; in lut_free() 222 tmp = tmp->lut_left; in lut_free() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathtemp.c | 126 if (tmp.dir && !*tmp.dir++) in pathtemp() 127 tmp.dir = tmp.vec; in pathtemp() 200 tmp.dir = tmp.vec; in pathtemp() 221 *tmp.vec = strcpy((char*)(tmp.vec + 2), d); in pathtemp() 223 tmp.dir = tmp.vec; in pathtemp() 227 tmp.dir = tmp.vec; in pathtemp() 291 if (!tmp.rng || !tmp.seed && (attempt || tmp.pid != getpid())) in pathtemp() 302 tmp.key = (tmp.rng >> 16) | ((tmp.rng & 0xffff) << 16); in pathtemp() 303 tmp.rng ^= tmp.key; in pathtemp() 317 key = tmp.rng * tmp.key + tv.tv_nsec; in pathtemp() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | io.sh | 53 cd $tmp || { err_exit "cd $tmp failed"; exit ; } 177 script=$tmp/2 192 chmod +x $tmp/1 282 $SHELL -c "{ > $tmp/1 ; date;} >&- 2> /dev/null" > $tmp/2 310 if ! $SHELL -c "head -1 $tmp/1" <>; $tmp/1 2> /dev/null 448 exec 1> $tmp/21.out 2> $tmp/22.out 452 print :1:Z:" 1> $tmp/11.out 2> $tmp/12.out 466 sed -e 's/there //' $tmp/foobar >; $tmp/foobar 484 rm -f $tmp/file1 $tmp/file2 486 ln -s $tmp/file3 $tmp/file2 [all …]
|
H A D | basic.sh | 62 cd $tmp || { err_exit "cd $tmp failed"; exit 1; } 123 if [[ $($tmp/script) != "$tmp/script" ]] 136 cd /tmp 154 } > $tmp/foobar 173 rm -f $tmp/foobar 201 print ". $tmp/script" > $tmp/scriptx 203 if [[ $($tmp/scriptx) != $tmp/scriptx ]] 206 cd $tmp || { err_exit "cd $tmp failed"; exit 1; } 333 > $tmp/scriptx 363 [[ $($tmp/scriptx) == $tmp/scriptx ]] || err_exit "\$0 is $0 instead of $tmp/scriptx" [all …]
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | FCSyseventBridge.cc | 120 tmp != adapterAddEventListeners.end(); tmp++) { in removeListener() 139 tmp != adapterEventListeners.end(); tmp++) { in removeListener() 158 tmp != adapterPortEventListeners.end(); tmp++) { in removeListener() 196 tmp != targetEventListeners.end(); tmp++) { in removeListener() 275 tmp != adapterPortEventListeners.end(); tmp++) { in dispatch() 298 tmp != adapterPortEventListeners.end(); tmp++) { in dispatch() 379 tmp != adapterPortEventListeners.end(); tmp++) { in dispatch() 413 tmp != adapterPortEventListeners.end(); tmp++) { in dispatch() 444 tmp != targetEventListeners.end(); tmp++) { in dispatch() 461 tmp != adapterAddEventListeners.end(); tmp++) { in dispatch() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | conf.sh | 82 tmp=conf.tmp 130 if $cc -o $tmp.exe $tmp.c >/dev/null 2>&1 && ./$tmp.exe 391 mv $tmp.t $tmp.g 786 sort -u < $tmp.q > $tmp.t 787 mv $tmp.t $tmp.q 788 sort -u < $tmp.v > $tmp.t 789 mv $tmp.t $tmp.v 813 [ -f $tmp.1.c ] || cp $tmp.c $tmp.1.c 817 [ -f $tmp.1.e ] || cp $tmp.e $tmp.1.e 827 mv $tmp.n $tmp.p [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_tracker.c | 24 struct tracker *tmp; in alloc_tracker() local 28 tmp->owner = owner; in alloc_tracker() 29 tmp->sym = sym; in alloc_tracker() 30 return tmp; in alloc_tracker() 36 struct tracker *tmp; in add_tracker() local 66 struct tracker *tmp; in del_tracker() local 69 if (tmp->owner == owner && tmp->sym == sym in del_tracker() 72 free_tracker(tmp); in del_tracker() 81 struct tracker *tmp; in in_tracker_list() local 84 if (tmp->owner == owner && tmp->sym == sym in in_tracker_list() [all …]
|
H A D | smatch_var_sym.c | 24 struct var_sym *tmp; in alloc_var_sym() local 28 tmp->sym = sym; in alloc_var_sym() 29 return tmp; in alloc_var_sym() 148 struct var_sym *tmp; in del_var_sym() local 151 if (tmp->sym == sym && strcmp(tmp->var, var) == 0) { in del_var_sym() 153 free_var_sym(tmp); in del_var_sym() 161 struct var_sym *tmp; in in_var_sym_list() local 164 if (tmp->sym == sym && strcmp(tmp->var, var) == 0) in in_var_sym_list() 176 clone_vs = alloc_var_sym(tmp->var, tmp->sym); in clone_var_sym_list() 187 add_var_sym(dest, tmp->var, tmp->sym); in merge_var_sym_list() [all …]
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | depend.c | 50 pkg_list *tmp; in processed_package() local 53 for (tmp = packages[bucket]; tmp != NULL; tmp = tmp->next) { in processed_package() 64 pkg_list *tmp; in mark_processed() local 77 pkg_list *tmp; in add_dependency() local 88 for (tmp = dependlist; tmp->next != NULL; tmp = tmp->next) { in add_dependency() 98 pkg_list *tmp; in free_dependency_list() local 104 free(tmp); in free_dependency_list() 112 pkg_list *tmp; in print_dependencies() local 115 for (tmp = dependlist; tmp != NULL; tmp = tmp->next) in print_dependencies() 223 pkg_list *tmp; in process_dependencies() local [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-printers.c | 138 PRINTER *tmp; in lpsched_printer_configuration_to_attributes() local 157 if (tmp->name != NULL) { in lpsched_printer_configuration_to_attributes() 161 tmp->name); in lpsched_printer_configuration_to_attributes() 224 tmp->fault_alert.Q); in lpsched_printer_configuration_to_attributes() 274 if (tmp->ppd != NULL) { in lpsched_printer_configuration_to_attributes() 305 freeprinter(tmp); in lpsched_printer_configuration_to_attributes() 362 CLASS *tmp; in lpsched_class_configuration_to_attributes() local 377 if (tmp->name != NULL) { in lpsched_class_configuration_to_attributes() 381 tmp->name); in lpsched_class_configuration_to_attributes() 396 freeclass(tmp); in lpsched_class_configuration_to_attributes() [all …]
|
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_fru.c | 66 char *tmp; in ipmi_fru_read() local 127 free(tmp); in ipmi_fru_read() 135 free(tmp); in ipmi_fru_read() 141 *buf = tmp; in ipmi_fru_read() 150 char *tmp; in ipmi_fru_parse_product() local 172 tmp += len + 1; in ipmi_fru_parse_product() 178 tmp += len + 1; in ipmi_fru_parse_product() 183 tmp += len + 1; in ipmi_fru_parse_product() 189 tmp += len + 1; in ipmi_fru_parse_product() 214 char *tmp; in ipmi_fru_parse_board() local [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | puterror.c | 47 char *tmp; in puterror() local 54 (void) strcpy(tmp, DEFMSG); in puterror() 64 (void) strcat(tmp, "\n"); in puterror() 66 (void) strcat(tmp, error); in puterror() 71 (void) strcat(tmp, error); in puterror() 73 tmp[MS-1+n-1] = '\0'; in puterror() 74 (void) strcat(tmp, "\n"); in puterror() 79 (void) strcat(tmp, error); in puterror() 84 (void) strcpy(tmp, DEFMSG); in puterror() 85 (void) strcat(tmp, error); in puterror() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | neti_stack.c | 428 if (tmp == NULL) { in net_instance_unregister() 432 parent = tmp; in net_instance_unregister() 565 if (tmp == NULL) { in neti_stack_apply_create() 570 tmp->nini_ref++; in neti_stack_apply_create() 604 tmp->nini_ref--; in neti_stack_apply_create() 631 if (tmp == NULL) { in neti_stack_apply_shutdown() 637 tmp->nini_ref++; in neti_stack_apply_shutdown() 651 tmp->nini_ref--; in neti_stack_apply_shutdown() 689 tmp->nini_ref--; in neti_stack_apply_shutdown() 720 tmp->nini_ref++; in neti_stack_apply_destroy() [all …]
|
/illumos-gate/usr/src/contrib/bhyve/sys/ |
H A D | tree.h | 414 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \ 424 elm = tmp; \ 430 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \ 606 tmp = RB_LEFT(tmp, field); \ 608 tmp = RB_RIGHT(tmp, field); \ 634 tmp = RB_LEFT(tmp, field); \ 636 tmp = RB_RIGHT(tmp, field); \ 654 tmp = RB_LEFT(tmp, field); \ 657 tmp = RB_RIGHT(tmp, field); \ 716 tmp = RB_LEFT(tmp, field); \ [all …]
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_hash.c | 89 sip_hash_obj_t *tmp; in sip_hash_find() local 99 return (tmp->sip_obj); in sip_hash_find() 101 tmp = tmp->next_obj; in sip_hash_find() 117 sip_hash_obj_t *tmp; in sip_walk_hash() local 126 tmp = tmp->next_obj; in sip_walk_hash() 143 sip_hash_obj_t *tmp; in sip_hash_delete() local 171 tmp->prev_obj; in sip_hash_delete() 174 tmp->prev_obj = NULL; in sip_hash_delete() 175 tmp->next_obj = NULL; in sip_hash_delete() 176 free(tmp); in sip_hash_delete() [all …]
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | time_util.c | 45 uint32_t sec, nsec, tmp; in hrt2ts() 48 sec = tmp - (tmp >> 2); in hrt2ts() 49 sec = tmp - (sec >> 5); in hrt2ts() 50 sec = tmp + (sec >> 1); in hrt2ts() 51 sec = tmp - (sec >> 6) + 7; in hrt2ts() 52 sec = tmp - (sec >> 3); in hrt2ts() 53 sec = tmp + (sec >> 1); in hrt2ts() 54 sec = tmp + (sec >> 3); in hrt2ts() 55 sec = tmp + (sec >> 4); in hrt2ts() 57 tmp = (tmp << 7) - tmp - tmp - tmp; in hrt2ts() [all …]
|
/illumos-gate/usr/src/contrib/ast/lib/package/ |
H A D | package.mk | 765 mkdir $tmp 793 mkdir $tmp 802 cp $tmp/Makefile $tmp/Makefile1 805 cp $tmp/Makefile $tmp/Makefile2 831 cp $tmp/Mamfile2 $tmp/Mamfile3 1151 then tmp=/tmp/pkg$(tmp) 1152 mkdir $tmp 1215 then tmp=/tmp/pkg$(tmp) 1216 mkdir $tmp 1243 then tmp=/tmp/pkg$(tmp) [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | package.mk | 765 mkdir $tmp 793 mkdir $tmp 802 cp $tmp/Makefile $tmp/Makefile1 805 cp $tmp/Makefile $tmp/Makefile2 831 cp $tmp/Mamfile2 $tmp/Mamfile3 1151 then tmp=/tmp/pkg$(tmp) 1152 mkdir $tmp 1215 then tmp=/tmp/pkg$(tmp) 1216 mkdir $tmp 1243 then tmp=/tmp/pkg$(tmp) [all …]
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pzone.c | 332 if ((rv = resolvepath(tmp, tmp, sizeof (tmp) - 1)) >= 0) in Plofspath() 376 p = &tmp[strlen(tmp)]; in Plofspath() 403 p = &tmp[strlen(tmp)]; in Plofspath() 438 if ((rv = resolvepath(tmp, tmp, sizeof (tmp) - 1)) >= 0) in Plofspath() 446 (void) Plofspath(tmp, tmp, PATH_MAX); in Plofspath() 538 (void) strlcat(tmp, "/", sizeof (tmp)); in Pzonepath() 539 (void) strlcat(tmp, path, sizeof (tmp)); in Pzonepath() 554 (void) memmove(tmp, tmp + i, strlen(tmp + i) + 1); in Pzonepath() 641 (void) Plofspath(tmp, tmp, sizeof (tmp)); in Pzonepath() 733 (void) strlcpy(tmp, zroot, sizeof (tmp)); in Pzonepath() [all …]
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | clock.c | 96 uint32_t sec, nsec, tmp; in hrt2ts() local 99 sec = tmp - (tmp >> 2); in hrt2ts() 100 sec = tmp - (sec >> 5); in hrt2ts() 101 sec = tmp + (sec >> 1); in hrt2ts() 102 sec = tmp - (sec >> 6) + 7; in hrt2ts() 103 sec = tmp - (sec >> 3); in hrt2ts() 104 sec = tmp + (sec >> 1); in hrt2ts() 105 sec = tmp + (sec >> 3); in hrt2ts() 106 sec = tmp + (sec >> 4); in hrt2ts() 108 tmp = (tmp << 7) - tmp - tmp - tmp; in hrt2ts() [all …]
|
/illumos-gate/usr/src/cmd/hal/probing/network-printer/ |
H A D | probe-snmp.c | 116 char *tmp = NULL; in snmp_brother_printer_info() local 128 free(tmp); in snmp_brother_printer_info() 156 free(tmp); in snmp_ricoh_printer_info() 184 free(tmp); in snmp_lexmark_printer_info() 223 free(tmp); in snmp_xerox_phaser_printer_info() 276 free(tmp); in snmp_qms_printer_info() 287 *uri = tmp; in snmp_qms_printer_info() 311 free(tmp); in snmp_oki_printer_info() 339 free(tmp); in snmp_hp_printer_info() 366 free(tmp); in snmp_ppm_printer_info() [all …]
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | htbl.c | 68 hentry_t *tmp; in destroy_hash() local 78 prev = tmp; in destroy_hash() 79 tmp = tmp->next; in destroy_hash() 120 hentry_t *tmp; in add_fcall() local 129 tmp = cur->first; in add_fcall() 138 tmp = tmp->next; in add_fcall() 156 tmp = new->next; in add_fcall() 192 new->next = tmp; in iterate_hash() 218 hentry_t *tmp; in iter_next() local 230 tmp = ret->next; in iter_next() [all …]
|