Home
last modified time | relevance | path

Searched refs:old (Results 1 – 25 of 1120) sorted by relevance

12345678910>>...45

/freebsd/usr.bin/jot/tests/
H A Dregress.ed.out1 2s/old/new/
2 7s/old/new/
3 12s/old/new/
4 17s/old/new/
5 22s/old/new/
6 27s/old/new/
7 32s/old/new/
8 37s/old/new/
9 42s/old/new/
10 47s/old/new/
[all …]
/freebsd/sys/sys/
H A Drefcount.h76 u_int old; in refcount_acquire() local
82 return (old); in refcount_acquire()
88 u_int old; in refcount_acquiren() local
96 return (old); in refcount_acquiren()
102 u_int old; in refcount_acquire_checked() local
121 u_int old; in refcount_acquire_if_gt() local
129 if (atomic_fcmpset_int(count, &old, old + 1)) in refcount_acquire_if_gt()
144 u_int old; in refcount_releasen() local
151 if (__predict_false(old < n || REFCOUNT_SATURATED(old))) { in refcount_releasen()
155 if (old > n) in refcount_releasen()
[all …]
H A D_atomic_subword.h81 wcomp = old; in _atomic_cmpset_masked_word()
92 ret = atomic_fcmpset_32(addr, &old, (old & ~mask) | val); in _atomic_cmpset_masked_word()
112 *old = (*addr & ~mask) | *old; in _atomic_fcmpset_masked_word()
113 return (atomic_fcmpset_32(addr, old, (*old & ~mask) | val)); in _atomic_fcmpset_masked_word()
138 wold = *old << shift; in atomic_fcmpset_8()
222 u_long bit, old; in atomic_testandset_acq_long() local
230 ret = atomic_fcmpset_acq_long(p, &old, old | bit); in atomic_testandset_acq_long()
240 u_long bit, old; in atomic_testandset_long() local
248 ret = atomic_fcmpset_long(p, &old, old | bit); in atomic_testandset_long()
258 u_long bit, old; in atomic_testandclear_long() local
[all …]
H A Dblockcount.h44 void _blockcount_wakeup(blockcount_t *bc, u_int old);
56 u_int old; in blockcount_acquire() local
58 old = atomic_fetchadd_int(&bc->__count, n); in blockcount_acquire()
59 KASSERT(old + n > old, ("%s: counter overflow %p", __func__, bc)); in blockcount_acquire()
68 u_int old; in blockcount_release() local
71 old = atomic_fetchadd_int(&bc->__count, -n); in blockcount_release()
72 KASSERT(old >= n, ("%s: counter underflow %p", __func__, bc)); in blockcount_release()
73 if (_BLOCKCOUNT_COUNT(old) == n && _BLOCKCOUNT_WAITERS(old)) in blockcount_release()
74 _blockcount_wakeup(bc, old); in blockcount_release()
/freebsd/tools/tools/iso/
H A Dcheck-iso3166.pl16 my %old = ();
34 $old{$two}{two} = $two;
35 $old{$two}{three} = $three;
36 $old{$two}{number} = $number;
37 $old{$two}{name} = $name;
101 …print "In old but not new1: $old{$two}{two}\t$old{$two}{three}\t$old{$two}{number}\t$old{$two}{nam…
105 print "In old but not new2: $old{$two}{two}\t$old{$two}{name}\n";
115 next if (defined $old{$two});
125 next if (defined $old{$two});
140 print "In old : $old{$two}{two}\t$old{$two}{three}\t$old{$two}{number}\t$old{$two}{name}\n";
[all …]
H A Dcheck-iso639.pl16 my %old = ();
34 $old{$bib}{a2} = $a2;
35 $old{$bib}{bib} = $bib;
36 $old{$bib}{term} = $term;
37 $old{$bib}{name} = $name;
66 foreach my $bib (sort(keys(%old))) {
68 print "In old but not new: $old{$bib}{a2}\t$old{$bib}{bib}\t$old{$bib}{term}\t$old{$bib}{name}\n";
77 next if (defined $old{$bib});
86 foreach my $bib (sort(keys(%old))) {
89 $old{$bib}{bib} eq $new{$bib}{bib} &&
[all …]
/freebsd/sys/dev/drm2/
H A Ddrm_lock.c191 old = *lock; in drm_lock_take()
200 } while (prev != old); in drm_lock_take()
240 old = *lock; in drm_lock_transfer()
243 } while (prev != old); in drm_lock_transfer()
273 old = *lock; in drm_lock_free()
276 } while (prev != old); in drm_lock_free()
278 if (_DRM_LOCK_IS_HELD(old) && _DRM_LOCKING_CONTEXT(old) != context) { in drm_lock_free()
312 old = s->lock->lock; in drm_notifier()
315 } while (prev != old); in drm_notifier()
354 unsigned int old, prev; in drm_idlelock_release() local
[all …]
/freebsd/usr.bin/diff3/
H A Ddiff3.c341 d1[1].old.from = d1->old.from; in merge()
349 d2[1].old.from = d2->old.from; in merge()
545 de[j].old.from = diff->old.from; in edit()
546 de[j].old.to = diff->old.to; in edit()
591 old = &de[n].old; in edscript()
633 old = &de[n].old; in Ascript()
635 deleteold = (old->from == old->to); in Ascript()
720 old = &de[n].old; in mergescript()
741 if (old->from == old->to) { in mergescript()
756 if (old->from == old->to) in mergescript()
[all …]
/freebsd/sys/ufs/ufs/
H A Dufs_acl.c234 len = sizeof(*old); in ufs_get_oldacl()
285 struct oldacl *old; in ufs_getacl_posix1e() local
294 old = malloc(sizeof(*old), M_ACL, M_WAITOK | M_ZERO); in ufs_getacl_posix1e()
314 old->acl_cnt = 3; in ufs_getacl_posix1e()
335 old->acl_cnt = 0; in ufs_getacl_posix1e()
350 free(old, M_ACL); in ufs_getacl_posix1e()
485 struct oldacl *old; in ufs_setacl_posix1e() local
532 old = malloc(sizeof(*old), M_ACL, M_WAITOK | M_ZERO); in ufs_setacl_posix1e()
540 free(old, M_ACL); in ufs_setacl_posix1e()
561 old = malloc(sizeof(*old), M_ACL, M_WAITOK | M_ZERO); in ufs_setacl_posix1e()
[all …]
/freebsd/sys/i386/linux/
H A Dlinux_copyout.c101 int old; in futex_orl_slow0() local
104 old = *(int *)kva; in futex_orl_slow0()
105 while (!atomic_fcmpset_int((int *)kva, &old, old | st->oparg)) in futex_orl_slow0()
107 *st->oldval = old; in futex_orl_slow0()
127 int old; in futex_andl_slow0() local
130 old = *(int *)kva; in futex_andl_slow0()
131 while (!atomic_fcmpset_int((int *)kva, &old, old & st->oparg)) in futex_andl_slow0()
133 *st->oldval = old; in futex_andl_slow0()
153 int old; in futex_xorl_slow0() local
156 old = *(int *)kva; in futex_xorl_slow0()
[all …]
/freebsd/sys/vm/
H A Dvm_unix.c89 vm_offset_t new, old, base; in kern_break() local
102 old = base + ctob(vm->vm_dsize); in kern_break()
124 new = old; in kern_break()
128 if (new > old) { in kern_break()
131 (new - old) > lmemlim) { in kern_break()
150 map->size + (new - old)); in kern_break()
153 old - base); in kern_break()
161 (new - old)); in kern_break()
164 old - base); in kern_break()
193 RACCT_DATA, old - base); in kern_break()
[all …]
/freebsd/lib/libc/isc/
H A Dev_streams.c153 evStream *old = id.opaque; in evCancelRW() local
164 if (old->prev != NULL) in evCancelRW()
165 old->prev->next = old->next; in evCancelRW()
168 if (old->next != NULL) in evCancelRW()
169 old->next->prev = old->prev; in evCancelRW()
175 if (old->prevDone == NULL && old->nextDone == NULL) { in evCancelRW()
187 old->prevDone->nextDone = old->nextDone; in evCancelRW()
191 old->nextDone->prevDone = old->prevDone; in evCancelRW()
197 if (old->file.opaque) in evCancelRW()
199 memput(old->iovOrig, sizeof (struct iovec) * old->iovOrigCount); in evCancelRW()
[all …]
/freebsd/contrib/one-true-awk/testdir/
H A Dctimes4 print " new old new/old"
22 old = time[1]
24 if (old > 0) {
25 printf "%8.2f %8.2f %8.3f %s\n", new, old, new/old, name
26 rat += new/old
30 totold += old
36 printf "avg new/old = %.3f\n", rat/nrat
37 printf "total new/old = %.3f\n", totnew/totold
H A Dsgi.ctimes4 print " new old new/old"
22 old = time[1]
24 if (old > 0) {
25 printf "%8.2f %8.2f %8.3f %s\n", new, old, new/old, name
26 rat += new/old
30 totold += old
36 printf "avg new/old = %.3f\n", rat/nrat
37 printf "total new/old = %.3f\n", totnew/totold
/freebsd/sys/kern/
H A Dsysv_ipc.c155 new->cuid = old->cuid; in ipcperm_old2new()
156 new->cgid = old->cgid; in ipcperm_old2new()
157 new->uid = old->uid; in ipcperm_old2new()
158 new->gid = old->gid; in ipcperm_old2new()
159 new->mode = old->mode; in ipcperm_old2new()
160 new->seq = old->seq; in ipcperm_old2new()
161 new->key = old->key; in ipcperm_old2new()
171 old->uid = new->uid; in ipcperm_new2old()
172 old->gid = new->gid; in ipcperm_new2old()
174 old->seq = new->seq; in ipcperm_new2old()
[all …]
/freebsd/tests/sys/netinet/
H A Dip_reass_test.c198 struct ipstat old, new; in ATF_TC_BODY() local
235 get_ipstat(&old); in ATF_TC_BODY()
243 get_ipstat(&old); in ATF_TC_BODY()
249 get_ipstat(&old); in ATF_TC_BODY()
255 get_ipstat(&old); in ATF_TC_BODY()
278 struct ipstat old, new; in ATF_TC_BODY() local
303 get_ipstat(&old); in ATF_TC_BODY()
309 get_ipstat(&old); in ATF_TC_BODY()
328 struct ipstat old, new; in ATF_TC_BODY() local
355 get_ipstat(&old); in ATF_TC_BODY()
[all …]
/freebsd/contrib/tcsh/
H A Dtw.spell.c40 const Char *old = oldname->s; in spell_me() local
48 while (*old == '/') { /* skip '/' */ in spell_me()
49 Strbuf_append1(&newname, *old++); in spell_me()
53 if (*old != '\0' && old[1] == '\0') in spell_me()
54 Strbuf_append1(&newname, *old++); in spell_me()
56 if (*old == '\0') { in spell_me()
67 for (; *old != '/' && *old != '\0'; old++)/* add current file name */ in spell_me()
68 Strbuf_append1(&guess, *old); in spell_me()
77 looking == TW_COMMAND && (foundslash || *old != '/') ? in spell_me()
/freebsd/sys/arm/arm/
H A Dstdatomic.c195 reg_t val32, negmask, old; \
216 return (get_##N(&old, mem)); \
257 return (get_##N(&old, mem)); \
268 reg_t val32, posmask, old; \
306 reg_t val32, old; \
341 uint32_t old, temp; in __sync_lock_test_and_set_4_c() local
352 return (old); in __sync_lock_test_and_set_4_c()
359 uint32_t old, temp; in __sync_val_compare_and_swap_4_c() local
373 return (old); in __sync_val_compare_and_swap_4_c()
380 uint32_t old, temp1, temp2; \
[all …]
/freebsd/sys/compat/linuxkpi/common/include/asm/
H A Datomic.h146 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() argument
148 int ret = old; in atomic_cmpxchg()
153 if (ret != old) in atomic_cmpxchg()
173 #define cmpxchg(ptr, old, new) ({ \ argument
294 int old; in atomic_dec_if_positive() local
296 old = atomic_read(v); in atomic_dec_if_positive()
298 retval = old - 1; in atomic_dec_if_positive()
310 int c, old; \
314 c = old; \
320 int c, old; \
[all …]
/freebsd/usr.sbin/etcupdate/tests/
H A Dfbsdid_test.sh62 OLD=$WORKDIR/old
100 cat >> $i/old <<EOF
102 an old file
105 cat >> $NEW/old <<EOF
117 another old file
139 this is the old file
301 C /old
337 U /old
347 noconflict /old
372 U /old
[all …]
/freebsd/tools/tools/locale/tools/
H A Dfinalize55 old=${OLD_DIR}
73 mkdir -p $old $new
74 cd $old
131 grep '^LOCALES+' ${old}/Makefile > ${TEMP}
136 (cd ${old} && md5 -r ${keep} | sort) > ${TEMP2}
140 cp ${old}/${original} ${new}/
158 }' ${old}/Makefile
161 sed -i '' "/^SAME.*$line$/d" ${old}/Makefile
168 cp ${old}/${original}.src ${new}/
175 cp ${old}/${original}.src ${new}/
[all …]
/freebsd/tools/tools/nanobsd/
H A Dmtree-dedup.awk106 function merge_kvs(old, new)
110 if (k == "uid" && "uname" in old)
111 delete old["uname"]
112 if (k == "uname" && "uid" in old)
113 delete old["uid"];
115 if (k == "gid" && "gname" in old)
116 delete old["gname"]
117 if (k == "gname" && "gid" in old)
118 delete old["gid"];
120 old[k] = new[k];
/freebsd/usr.bin/bsdiff/bsdiff/
H A Dbsdiff.c58 if(old[i]!=new[i]) break; in matchlen()
118 u_char *old,*new; in main() local
152 if (old == MAP_FAILED || close(fd) == -1) in main()
215 (old[scsc+lastoffset] == new[scsc])) in main()
222 (old[scan+lastoffset] == new[scan])) in main()
229 if(old[lastpos+i]==new[lastscan+i]) s++; in main()
238 if(old[pos-i]==new[scan-i]) s++; in main()
248 old[lastpos+lenf-overlap+i]) s++; in main()
250 old[pos-lenb+i]) s--; in main()
259 db[dblen+i]=new[lastscan+i]-old[lastpos+i]; in main()
[all …]
/freebsd/tools/ifnet/
H A Dconvert_ifapi.sh73 old=`echo $line|sed -e 's/^[ ]*//'`
74 line=`echo $line| sed -e's/'$old'/'$new'/g'`
85 old=`echo $line|sed -e 's/^[ ]*//'`
88 line=`echo $line| sed -e's/'$old'/'$new'/g'`
101 old=`echo $line|sed -e 's/^[ ]*//'`
102 line=`echo $line| sed -e's/'$old'/'$new'/g'`
117 old=`echo $line|sed -e 's/^[ ]*//'`
118 line=`echo $line| sed -e's/'$old'/'$new'/g'`
133 old=`echo $line|sed -e 's/^[ ]*//'`
134 line=`echo $line| sed -e's/'$old'/'$new'/g'`
[all …]
/freebsd/lib/libthr/thread/
H A Dthr_clean.c74 struct pthread_cleanup *old; in __thr_cleanup_pop_imp() local
76 if ((old = curthread->cleanup) != NULL) { in __thr_cleanup_pop_imp()
77 curthread->cleanup = old->prev; in __thr_cleanup_pop_imp()
79 old->routine(old->routine_arg); in __thr_cleanup_pop_imp()
80 if (old->onheap) in __thr_cleanup_pop_imp()
81 free(old); in __thr_cleanup_pop_imp()

12345678910>>...45