Home
last modified time | relevance | path

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

12345678910>>...22

/dragonfly/sys/dev/drm/
H A Ddrm_lock.c64 old = *lock;
65 if (old & _DRM_LOCK_HELD)
73 } while (prev != old);
113 old = *lock;
116 } while (prev != old);
136 old = *lock;
139 } while (prev != old);
141 if (_DRM_LOCK_IS_HELD(old) && _DRM_LOCKING_CONTEXT(old) != context) {
315 unsigned int old, prev;
322 old = *lock;
[all …]
H A Dlinux_reservation.c76 if (old && old->shared_max) { in reservation_object_reserve_shared()
77 if (old->shared_count < old->shared_max) { in reservation_object_reserve_shared()
153 if (!old) { in reservation_object_add_shared_replace()
195 if (old) in reservation_object_add_shared_replace()
196 kfree_rcu(old, NULL); in reservation_object_add_shared_replace()
218 BUG_ON(old->shared_count >= old->shared_max); in reservation_object_add_shared_fence()
240 if (old) in reservation_object_add_excl_fence()
241 i = old->shared_count; in reservation_object_add_excl_fence()
250 if (old) in reservation_object_add_excl_fence()
251 old->shared_count = 0; in reservation_object_add_excl_fence()
[all …]
/dragonfly/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 …]
/dragonfly/sys/dev/drm/include/linux/
H A Datomic.h123 return atomic_cmpxchg_int(&v->counter, old, new); in atomic_cmpxchg()
128 int c, old; in atomic_add_unless() local
134 if (likely(old == c)) in atomic_add_unless()
136 c = old; in atomic_add_unless()
161 #define cmpxchg(ptr, old, new) ({ \ argument
167 __ret = (old); \
171 (int8_t *)&__ret, (u64)(new)) && __ret == (old)) \
176 (int16_t *)&__ret, (u64)(new)) && __ret == (old)) \
219 int old; in atomic_dec_if_positive() local
221 old = atomic_read(v); in atomic_dec_if_positive()
[all …]
/dragonfly/contrib/tcsh-6/
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()
H A Ded.refresh.c585 update_line(Char *old, Char *new, int cur_line) in update_line() argument
799 ofd - old, osb - old, ose - old, ols - old, oe - old); in update_line()
804 dprintstr("old- oe", old, oe); in update_line()
806 dprintstr("old-ofd", old, ofd); in update_line()
888 str_insert(old, (int) (ofd - old), TermH, nfd, fx); in update_line()
915 MoveToChar(ofd - old); in update_line()
933 str_delete(old, (int) (ofd - old), TermH, -fx); in update_line()
954 ClearEOL((oe - old) - (ne - new)); in update_line()
981 MoveToChar((ose - old) + fx); in update_line()
1006 int olen = (int) (oe - old + fx); in update_line()
[all …]
/dragonfly/test/pcpu/
H A Dcpustat.c92 cputime_get_diff(struct kinfo_cputime *old, struct kinfo_cputime *new, in cputime_get_diff() argument
95 delta->cp_user = new->cp_user - old->cp_user; in cputime_get_diff()
96 delta->cp_nice = new->cp_nice - old->cp_nice; in cputime_get_diff()
97 delta->cp_sys = new->cp_sys - old->cp_sys; in cputime_get_diff()
98 delta->cp_intr = new->cp_intr - old->cp_intr; in cputime_get_diff()
99 delta->cp_idle = new->cp_idle - old->cp_idle; in cputime_get_diff()
121 struct kinfo_cputime *old, *new, delta; in main() local
123 error = cputime_get(&old); in main()
136 cputime_get_diff(&old[i], &new[i], &delta); in main()
145 free(old); in main()
/dragonfly/lib/libthread_xu/thread/
H A Dthr_clean.c62 struct pthread_cleanup *old; in _pthread_cleanup_pop() local
64 if ((old = curthread->cleanup) != NULL) { in _pthread_cleanup_pop()
65 curthread->cleanup = old->next; in _pthread_cleanup_pop()
67 old->routine(old->routine_arg); in _pthread_cleanup_pop()
69 if (old->onstack == 0) in _pthread_cleanup_pop()
70 __free(old); in _pthread_cleanup_pop()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/libsupc++/
H A Deh_terminate.cc76 std::terminate_handler old; in set_terminate() local
78 __atomic_exchange (&__terminate_handler, &func, &old, __ATOMIC_ACQ_REL); in set_terminate()
81 old = __terminate_handler; in set_terminate()
84 return old; in set_terminate()
103 std::unexpected_handler old; in set_unexpected() local
105 __atomic_exchange (&__unexpected_handler, &func, &old, __ATOMIC_ACQ_REL); in set_unexpected()
108 old = __unexpected_handler; in set_unexpected()
111 return old; in set_unexpected()
/dragonfly/sys/dev/drm/i915/
H A Dintel_fifo_underrun.c108 bool enable, bool old) in i9xx_set_fifo_underrun_reporting() argument
159 bool enable, bool old) in ivybridge_set_fifo_underrun_reporting() argument
172 if (old && in ivybridge_set_fifo_underrun_reporting()
226 bool enable, bool old) in cpt_set_fifo_underrun_reporting() argument
241 if (old && I915_READ(SERR_INT) & in cpt_set_fifo_underrun_reporting()
254 bool old; in __intel_set_cpu_fifo_underrun_reporting() local
258 old = !crtc->cpu_fifo_underrun_disabled; in __intel_set_cpu_fifo_underrun_reporting()
270 return old; in __intel_set_cpu_fifo_underrun_reporting()
324 bool old; in intel_set_pch_fifo_underrun_reporting() local
347 enable, old); in intel_set_pch_fifo_underrun_reporting()
[all …]
/dragonfly/sys/vm/
H A Dvm_unix.c179 vm_offset_t new, old, base; in sys_obreak() local
189 old = base + round_page(vm->vm_dsize); in sys_obreak()
196 if (new > old && in sys_obreak()
215 if (new > old) { in sys_obreak()
218 diff = new - old; in sys_obreak()
224 0, &old, diff, in sys_obreak()
235 vm_map_kernel_wiring(&vm->vm_map, old, new, 0); in sys_obreak()
238 } else if (new < old) { in sys_obreak()
241 rv = vm_map_remove(&vm->vm_map, new, old); in sys_obreak()
246 vm->vm_dsize -= old - new; in sys_obreak()
/dragonfly/lib/libc/locale/
H A Dxlocale.c154 locale_t old = _pthread_getspecific(locale_info_key); in set_thread_locale() local
155 if ((NULL != old) && (l != old)) { in set_thread_locale()
156 xlocale_release((struct xlocale_refcounted*)old); in set_thread_locale()
201 copyflags(locale_t new, locale_t old) in copyflags() argument
203 new->using_monetary_locale = old->using_monetary_locale; in copyflags()
204 new->using_numeric_locale = old->using_numeric_locale; in copyflags()
205 new->using_time_locale = old->using_time_locale; in copyflags()
206 new->using_messages_locale = old->using_messages_locale; in copyflags()
391 locale_t old = get_thread_locale(); in uselocale() local
395 return (old ? old : LC_GLOBAL_LOCALE); in uselocale()
/dragonfly/sys/conf/
H A Dkern.post.mk119 @if [ -f ${DESTDIR}${DESTKERNDIR}.old ]; then \
120 rm -f ${DESTDIR}${DESTKERNDIR}.old; \
122 mkdir -p ${DESTDIR}${DESTKERNDIR}.old
223 if [ -f ${DESTDIR}${DESTKERNDIR}.old ]; then \
224 rm -f ${DESTDIR}${DESTKERNDIR}.old; \
226 mkdir -p ${DESTDIR}${DESTKERNDIR}.old; \
228 cp -p $$file ${DESTDIR}${DESTKERNDIR}.old; \
234 if [ -f ${DESTDIR}${DESTKERNDIR}.old ]; then \
235 rm -f ${DESTDIR}${DESTKERNDIR}.old; \
237 mkdir -p ${DESTDIR}${DESTKERNDIR}.old; \
[all …]
/dragonfly/contrib/elftoolchain/libelf/
H A Delf_version.c36 unsigned int old; in elf_version() local
38 if ((old = LIBELF_PRIVATE(version)) == EV_NONE) in elf_version()
39 old = EV_CURRENT; in elf_version()
42 return old; in elf_version()
49 return (old); in elf_version()
/dragonfly/contrib/file/magic/Magdir/
H A Dtimezone10 >4 byte 0 \b, old version
37 0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0 old timezone data
38 0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0 old timezone data
39 0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0 old timezone data
40 0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0 old timezone data
41 0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0 old timezone data
42 0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0 old timezone data
/dragonfly/usr.sbin/zic/
H A Dialloc.c14 icatalloc(char *const old, const char * const new) in icatalloc() argument
20 if (old == NULL) in icatalloc()
23 return old; in icatalloc()
24 else oldsize = strlen(old); in icatalloc()
25 if ((result = realloc(old, oldsize + newsize + 1)) != NULL) in icatalloc()
/dragonfly/crypto/libressl/crypto/x509/
H A Dx509_issuer_cache.c84 struct x509_issuer *old; in x509_issuer_cache_free_oldest() local
88 old = TAILQ_LAST(&x509_issuer_lru, lruqueue); in x509_issuer_cache_free_oldest()
89 TAILQ_REMOVE(&x509_issuer_lru, old, queue); in x509_issuer_cache_free_oldest()
90 RB_REMOVE(x509_issuer_tree, &x509_issuer_cache, old); in x509_issuer_cache_free_oldest()
91 free(old->parent_md); in x509_issuer_cache_free_oldest()
92 free(old->child_md); in x509_issuer_cache_free_oldest()
93 free(old); in x509_issuer_cache_free_oldest()
/dragonfly/tools/tools/locale/tools/
H A Dfinalize22 old=${base}/../${1}.draft
35 grep '^LOCALES+' ${old}/Makefile > ${TEMP}
40 (cd ${old} && md5 -r ${keep} | sort) > ${TEMP2}
44 cp ${old}/${original} ${new}/
79 cp ${old}/${original}.src ${new}/
84 grep -v '^LOCALES+' ${old}/Makefile | awk "${AWKCMD}" > ${new}/Makefile
/dragonfly/contrib/lvm2/dist/lib/misc/
H A Dlvm-file.c89 int lvm_rename(const char *old, const char *new) in lvm_rename() argument
93 if (link(old, new)) { in lvm_rename()
94 log_error("%s: rename to %s failed: %s", old, new, in lvm_rename()
99 if (stat(old, &buf)) { in lvm_rename()
100 log_sys_error("stat", old); in lvm_rename()
105 log_error("%s: rename to %s failed", old, new); in lvm_rename()
109 if (unlink(old)) { in lvm_rename()
110 log_sys_error("unlink", old); in lvm_rename()
/dragonfly/contrib/gdb-7/readline/
H A Ddisplay.c1338 memmove (old+bytes, old+ret, strlen (old+ret));
1352 old[0] = new[0];
1364 if (old[0] && new[0])
1365 old[0] = new[0];
1379 ofd = old + temp;
1389 ofd = old + omax;
1429 ols = old + _rl_find_prev_mbchar (old, oe - old, MB_FIND_ANY);
1438 _rl_adjust_point (old, ols - old, &ps_old);
1448 ols = old + _rl_find_prev_mbchar (old, ols - old, MB_FIND_ANY);
1485 ols = old + _rl_find_next_mbchar (old, ols - old, 1, MB_FIND_ANY);
[all …]
/dragonfly/contrib/cvs-1.12/lib/
H A Dmbchar.h262 mb_copy (mbchar_t *new, const mbchar_t *old) in mb_copy() argument
264 if (old->ptr == &old->buf[0]) in mb_copy()
266 memcpy (&new->buf[0], &old->buf[0], old->bytes); in mb_copy()
270 new->ptr = old->ptr; in mb_copy()
271 new->bytes = old->bytes; in mb_copy()
272 if ((new->wc_valid = old->wc_valid)) in mb_copy()
273 new->wc = old->wc; in mb_copy()
/dragonfly/contrib/bmake/
H A Dsigcompat.c188 SIG_HDLR(*old) __P((int)); in signal()
192 old = Signal(sig, handler); in signal()
194 return old; in signal()
314 MASK_T old = 0; in main() local
319 old = sigblock(sigmask(SIGINT)); in main()
320 printf("old=%d,", old); in main()
321 old = sigsetmask(sigmask(SIGALRM)); in main()
322 printf("old=%d\n", old); in main()
/dragonfly/contrib/gcc-8.0/gcc/cp/
H A Dname-lookup.c2363 if (old && TREE_CODE (old) == TYPE_DECL && DECL_ARTIFICIAL (old)) in update_binding()
2385 if (old && TREE_CODE (old) == TYPE_DECL && DECL_ARTIFICIAL (old)) in update_binding()
2535 old = OVL_FUNCTION (old); in check_extern_c_conflict()
2570 *slot = ovl_make (old, old); in check_extern_c_conflict()
2627 while (old && VAR_P (old) && DECL_DEAD_FOR_LOCAL (old)) in check_local_shadow()
2628 old = DECL_SHADOWED_FOR_VAR (old); in check_local_shadow()
2631 if (old in check_local_shadow()
2796 if (old in check_local_shadow()
3052 if (old && anticipated_builtin_p (old)) in do_pushdecl()
3053 old = OVL_CHAIN (old); in do_pushdecl()
[all …]
/dragonfly/lib/libc/stdlib/
H A Dset_constraint_handler_s.c49 constraint_handler_t *new, *old, ret; in set_constraint_handler_s() local
57 old = _ch; in set_constraint_handler_s()
61 if (old == NULL) { in set_constraint_handler_s()
64 ret = *old; in set_constraint_handler_s()
65 free(old); in set_constraint_handler_s()
/dragonfly/lib/libtcplay/
H A Dcrypto-dev.c47 int old; in getallowsoft() local
50 olen = sizeof(old); in getallowsoft()
52 if (sysctlbyname("kern.cryptodevallowsoft", &old, &olen, NULL, 0) < 0) { in getallowsoft()
56 return old; in getallowsoft()
63 int old; in setallowsoft() local
68 if (sysctlbyname("kern.cryptodevallowsoft", &old, &olen, &new, nlen) < 0) { in setallowsoft()

12345678910>>...22