Home
last modified time | relevance | path

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

12345678910>>...51

/freebsd-12.1/contrib/ipfilter/
H A Dip_fil_compat.c1421 error = COPYIN(obj->ipfo_ptr, old, sizeof(*old));
1445 error = COPYIN(obj->ipfo_ptr, old, sizeof(*old));
1469 error = COPYIN(obj->ipfo_ptr, old, sizeof(*old));
1496 error = COPYIN(obj->ipfo_ptr, old, sizeof(*old));
1511 error = COPYIN(obj->ipfo_ptr, old, sizeof(*old));
1533 error = COPYIN(obj->ipfo_ptr, old, sizeof(*old));
1549 error = COPYIN(obj->ipfo_ptr, old, sizeof(*old));
1627 error = COPYIN(obj->ipfo_ptr, old, sizeof(*old));
1641 error = COPYIN(obj->ipfo_ptr, old, sizeof(*old));
1655 error = COPYIN(obj->ipfo_ptr, old, sizeof(*old));
[all …]
/freebsd-12.1/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-12.1/tools/tools/iso/
H A Dcheck-iso3166.pl17 my %old = ();
35 $old{$two}{two} = $two;
36 $old{$two}{three} = $three;
37 $old{$two}{number} = $number;
38 $old{$two}{name} = $name;
102 …print "In old but not new1: $old{$two}{two}\t$old{$two}{three}\t$old{$two}{number}\t$old{$two}{nam…
106 print "In old but not new2: $old{$two}{two}\t$old{$two}{name}\n";
116 next if (defined $old{$two});
126 next if (defined $old{$two});
141 print "In old : $old{$two}{two}\t$old{$two}{three}\t$old{$two}{number}\t$old{$two}{name}\n";
[all …]
H A Dcheck-iso639.pl17 my %old = ();
35 $old{$bib}{a2} = $a2;
36 $old{$bib}{bib} = $bib;
37 $old{$bib}{term} = $term;
38 $old{$bib}{name} = $name;
67 foreach my $bib (sort(keys(%old))) {
69 print "In old but not new: $old{$bib}{a2}\t$old{$bib}{bib}\t$old{$bib}{term}\t$old{$bib}{name}\n";
78 next if (defined $old{$bib});
87 foreach my $bib (sort(keys(%old))) {
90 $old{$bib}{bib} eq $new{$bib}{bib} &&
[all …]
/freebsd-12.1/sys/sys/
H A Drefcount.h76 u_int old; in refcount_release() local
79 old = atomic_fetchadd_int(count, -1); in refcount_release()
81 if (old > 1) in refcount_release()
103 u_int old; in refcount_acquire_if_not_zero() local
105 old = *count; in refcount_acquire_if_not_zero()
108 if (old == 0) in refcount_acquire_if_not_zero()
110 if (atomic_fcmpset_int(count, &old, old + 1)) in refcount_acquire_if_not_zero()
118 u_int old; in refcount_release_if_not_last() local
120 old = *count; in refcount_release_if_not_last()
123 if (old == 1) in refcount_release_if_not_last()
[all …]
/freebsd-12.1/sys/dev/drm2/
H A Ddrm_lock.c193 old = *lock; in drm_lock_take()
202 } while (prev != old); in drm_lock_take()
242 old = *lock; in drm_lock_transfer()
245 } while (prev != old); in drm_lock_transfer()
275 old = *lock; in drm_lock_free()
278 } while (prev != old); in drm_lock_free()
280 if (_DRM_LOCK_IS_HELD(old) && _DRM_LOCKING_CONTEXT(old) != context) { in drm_lock_free()
314 old = s->lock->lock; in drm_notifier()
317 } while (prev != old); in drm_notifier()
356 unsigned int old, prev; in drm_idlelock_release() local
[all …]
/freebsd-12.1/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()
491 struct oldacl *old; in ufs_setacl_posix1e() local
538 old = malloc(sizeof(*old), M_ACL, M_WAITOK | M_ZERO); in ufs_setacl_posix1e()
546 free(old, M_ACL); in ufs_setacl_posix1e()
567 old = malloc(sizeof(*old), M_ACL, M_WAITOK | M_ZERO); in ufs_setacl_posix1e()
[all …]
/freebsd-12.1/sys/dev/drm/
H A Ddrm_lock.c139 unsigned int old, new; in drm_lock_take() local
142 old = *lock; in drm_lock_take()
143 if (old & _DRM_LOCK_HELD) in drm_lock_take()
144 new = old | _DRM_LOCK_CONT; in drm_lock_take()
150 if (old & _DRM_LOCK_HELD) { in drm_lock_take()
170 unsigned int old, new; in drm_lock_transfer() local
174 old = *lock; in drm_lock_transfer()
184 unsigned int old, new; in drm_lock_free() local
188 old = *lock; in drm_lock_free()
192 if (_DRM_LOCK_IS_HELD(old) && _DRM_LOCKING_CONTEXT(old) != context) { in drm_lock_free()
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_update_shadow_word_inl.h20 old = LoadShadow(sp);
21 if (old.IsZero()) {
30 if (Shadow::Addr0AndSizeAreEqual(cur, old)) {
33 if (Shadow::TidsAreEqual(old, cur)) {
35 if (old.IsRWWeakerOrEqual(kAccessIsWrite, kIsAtomic))
40 if (HappensBefore(old, thr)) {
41 if (old.IsRWWeakerOrEqual(kAccessIsWrite, kIsAtomic))
45 if (old.IsBothReadsOrAtomic(kAccessIsWrite, kIsAtomic))
50 if (Shadow::TwoRangesIntersect(old, cur, kAccessSize)) {
52 if (Shadow::TidsAreEqual(old, cur)) {
[all …]
/freebsd-12.1/sys/i386/linux/
H A Dlinux_copyout.c106 int old; in futex_orl_slow0() local
109 old = *(int *)kva; in futex_orl_slow0()
110 while (!atomic_fcmpset_int((int *)kva, &old, old | st->oparg)) in futex_orl_slow0()
112 *st->oldval = old; in futex_orl_slow0()
132 int old; in futex_andl_slow0() local
135 old = *(int *)kva; in futex_andl_slow0()
136 while (!atomic_fcmpset_int((int *)kva, &old, old & st->oparg)) in futex_andl_slow0()
138 *st->oldval = old; in futex_andl_slow0()
158 int old; in futex_xorl_slow0() local
161 old = *(int *)kva; in futex_xorl_slow0()
[all …]
/freebsd-12.1/sys/mips/mips/
H A Dstdatomic.c161 reg_t val32, negmask, old; \
229 reg_t val32, posmask, old; \
266 reg_t val32, old; \
300 uint32_t old, temp; in do_compare_and_swap_4() local
313 return (old); in do_compare_and_swap_4()
337 uint32_t old, temp; \
348 return (old); \
372 uint64_t old, temp; in __sync_val_compare_and_swap_8() local
385 return (old); in __sync_val_compare_and_swap_8()
392 uint64_t old, temp; \
[all …]
/freebsd-12.1/sys/arm/arm/
H A Dstdatomic.c233 return (old); \
269 *pexpected = old; \
559 reg_t val32, old; \
594 uint32_t old, temp; in __sync_lock_test_and_set_4_c() local
605 return (old); in __sync_lock_test_and_set_4_c()
612 uint32_t old, temp; in __sync_val_compare_and_swap_4_c() local
626 return (old); in __sync_val_compare_and_swap_4_c()
646 return (old); \
769 return (old); \
801 return (old); \
[all …]
/freebsd-12.1/lib/libc/isc/
H A Dev_streams.c159 evStream *old = id.opaque; in evCancelRW() local
170 if (old->prev != NULL) in evCancelRW()
171 old->prev->next = old->next; in evCancelRW()
174 if (old->next != NULL) in evCancelRW()
175 old->next->prev = old->prev; in evCancelRW()
181 if (old->prevDone == NULL && old->nextDone == NULL) { in evCancelRW()
193 old->prevDone->nextDone = old->nextDone; in evCancelRW()
197 old->nextDone->prevDone = old->prevDone; in evCancelRW()
203 if (old->file.opaque) in evCancelRW()
205 memput(old->iovOrig, sizeof (struct iovec) * old->iovOrigCount); in evCancelRW()
[all …]
/freebsd-12.1/sys/vm/
H A Dvm_unix.c91 vm_offset_t new, old, base; in kern_break() local
106 old = base + ctob(vm->vm_dsize); in kern_break()
128 new = old; in kern_break()
132 if (new > old) { in kern_break()
135 (new - old) > lmemlim) { in kern_break()
154 map->size + (new - old)); in kern_break()
157 old - base); in kern_break()
165 (new - old)); in kern_break()
168 old - base); in kern_break()
192 RACCT_DATA, old - base); in kern_break()
[all …]
/freebsd-12.1/sys/compat/linuxkpi/common/include/asm/
H A Datomic.h143 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() argument
145 int ret = old; in atomic_cmpxchg()
150 if (ret != old) in atomic_cmpxchg()
172 #define cmpxchg(ptr, old, new) ({ \ argument
270 int old; in atomic_dec_if_positive() local
272 old = atomic_read(v); in atomic_dec_if_positive()
274 retval = old - 1; in atomic_dec_if_positive()
286 int c, old; \
290 c = old; \
296 int c, old; \
[all …]
/freebsd-12.1/tests/sys/netinet/
H A Dip_reass_test.c201 struct ipstat old, new; in ATF_TC_BODY() local
238 get_ipstat(&old); in ATF_TC_BODY()
246 get_ipstat(&old); in ATF_TC_BODY()
252 get_ipstat(&old); in ATF_TC_BODY()
258 get_ipstat(&old); in ATF_TC_BODY()
279 struct ipstat old, new; in ATF_TC_BODY() local
304 get_ipstat(&old); in ATF_TC_BODY()
310 get_ipstat(&old); in ATF_TC_BODY()
329 struct ipstat old, new; in ATF_TC_BODY() local
356 get_ipstat(&old); in ATF_TC_BODY()
[all …]
/freebsd-12.1/sys/kern/
H A Dsysv_ipc.c160 new->cuid = old->cuid; in ipcperm_old2new()
161 new->cgid = old->cgid; in ipcperm_old2new()
162 new->uid = old->uid; in ipcperm_old2new()
163 new->gid = old->gid; in ipcperm_old2new()
164 new->mode = old->mode; in ipcperm_old2new()
165 new->seq = old->seq; in ipcperm_old2new()
166 new->key = old->key; in ipcperm_old2new()
176 old->uid = new->uid; in ipcperm_new2old()
177 old->gid = new->gid; in ipcperm_new2old()
179 old->seq = new->seq; in ipcperm_new2old()
[all …]
/freebsd-12.1/contrib/tcsh/
H A Dtw.spell.c44 const Char *old = oldname->s; in spell_me() local
52 while (*old == '/') { /* skip '/' */ in spell_me()
53 Strbuf_append1(&newname, *old++); in spell_me()
57 if (*old != '\0' && old[1] == '\0') in spell_me()
58 Strbuf_append1(&newname, *old++); in spell_me()
60 if (*old == '\0') { in spell_me()
71 for (; *old != '/' && *old != '\0'; old++)/* add current file name */ in spell_me()
72 Strbuf_append1(&guess, *old); in spell_me()
81 looking == TW_COMMAND && (foundslash || *old != '/') ? in spell_me()
/freebsd-12.1/usr.sbin/etcupdate/tests/
H A Dfbsdid_test.sh63 OLD=$WORKDIR/old
101 cat >> $i/old <<EOF
103 an old file
106 cat >> $NEW/old <<EOF
118 another old file
140 this is the old file
302 C /old
338 U /old
348 noconflict /old
373 U /old
[all …]
/freebsd-12.1/usr.bin/bsdiff/bsdiff/
H A Dbsdiff.c60 if(old[i]!=new[i]) break; in matchlen()
120 u_char *old,*new; in main() local
153 if (((old=malloc(oldsize+1))==NULL) || in main()
155 (read(fd,old,oldsize)!=oldsize) || in main()
219 (old[scsc+lastoffset] == new[scsc])) in main()
226 (old[scan+lastoffset] == new[scan])) in main()
233 if(old[lastpos+i]==new[lastscan+i]) s++; in main()
242 if(old[pos-i]==new[scan-i]) s++; in main()
252 old[lastpos+lenf-overlap+i]) s++; in main()
254 old[pos-lenb+i]) s--; in main()
[all …]
/freebsd-12.1/contrib/binutils/bfd/
H A Drs6000-core.c125 struct vm_info old; member
132 # define CORE_NEW(c) (!(c).old.c_entries)
281 size = sizeof (core->old); in read_hdr()
343 c_flag = core.old.c_flag; in rs6000coff_core_p()
345 c_size = core.old.c_size; in rs6000coff_core_p()
365 c_regptr = &COLD_MSTSAVE (core.old); in rs6000coff_core_p()
495 CDATA_ADDR (core.old.c_u.u_dsize), in rs6000coff_core_p()
525 c_datasize = core.old.c_datasize; in rs6000coff_core_p()
527 c_vmregions = core.old.c_vmregions; in rs6000coff_core_p()
609 vminfo_size = vminfo.old.vminfo_size; in rs6000coff_core_p()
[all …]
/freebsd-12.1/tools/tools/nanobsd/
H A Dmtree-dedup.awk107 function merge_kvs(old, new)
111 if (k == "uid" && "uname" in old)
112 delete old["uname"]
113 if (k == "uname" && "uid" in old)
114 delete old["uid"];
116 if (k == "gid" && "gname" in old)
117 delete old["gname"]
118 if (k == "gname" && "gid" in old)
119 delete old["gid"];
121 old[k] = new[k];
/freebsd-12.1/usr.bin/diff3/
H A Ddiff3.c101 struct range old; member
209 (*dd)[i].old.to = b; in readin()
214 (*dd)[i].old.from = (*dd)[i-1].old.to; in readin()
335 d1[1].old.from = d1->old.from; in merge()
343 d2[1].old.from = d2->old.from; in merge()
350 dup = duplicate(&d1->old, &d2->old); in merge()
359 d3 = d1->old.to > d1->old.from ? d1 : d2; in merge()
518 de[j].old.from = diff->old.from; in edit()
519 de[j].old.to = diff->old.to; in edit()
535 prange(&de[n].old); in edscript()
[all …]
/freebsd-12.1/sys/i386/include/xen/
H A Dsynch_bitops.h65 #define synch_cmpxchg(ptr, old, new) \ argument
67 (unsigned long)(old), \
72 unsigned long old, in __synch_cmpxchg() argument
81 "0"(old) in __synch_cmpxchg()
88 "0"(old) in __synch_cmpxchg()
96 "0"(old) in __synch_cmpxchg()
103 "0"(old) in __synch_cmpxchg()
111 "0"(old) in __synch_cmpxchg()
116 return old; in __synch_cmpxchg()
/freebsd-12.1/tools/ifnet/
H A Dconvert_drvapi.sh88 old=`echo $line|sed -e 's/^[ ]*//'`
89 line=`echo $line| sed -e's/'$old'/'$new'/g'`
102 old=`echo $line|sed -e 's/^[ ]*//'`
105 line=`echo $line| sed -e's/'$old'/'$new'/g'`
120 old=`echo $line|sed -e 's/^[ ]*//'`
121 line=`echo $line| sed -e's/'$old'/'$new'/g'`
138 old=`echo $line|sed -e 's/^[ ]*//'`
139 line=`echo $line| sed -e's/'$old'/'$new'/g'`
156 old=`echo $line|sed -e 's/^[ ]*//'`
157 line=`echo $line| sed -e's/'$old'/'$new'/g'`
[all …]

12345678910>>...51