Home
last modified time | relevance | path

Searched refs:old (Results 26 – 50 of 1123) sorted by relevance

12345678910>>...45

/freebsd/lib/libc/locale/
H A Dxlocale.c157 locale_t old = get_thread_locale(); in set_thread_locale() local
158 if ((NULL != old) && (l != old)) { in set_thread_locale()
159 xlocale_release((struct xlocale_refcounted*)old); in set_thread_locale()
208 copyflags(locale_t new, locale_t old) in copyflags() argument
210 new->using_monetary_locale = old->using_monetary_locale; in copyflags()
211 new->using_numeric_locale = old->using_numeric_locale; in copyflags()
212 new->using_time_locale = old->using_time_locale; in copyflags()
213 new->using_messages_locale = old->using_messages_locale; in copyflags()
374 locale_t old = get_thread_locale(); in uselocale() local
378 return (old ? old : LC_GLOBAL_LOCALE); in uselocale()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_netdev.c105 unsigned long old, new; in linuxkpi_napi_schedule_prep() local
111 old = READ_ONCE(napi->state); in linuxkpi_napi_schedule_prep()
114 if ((old & BIT(LKPI_NAPI_FLAG_DISABLE_PENDING)) != 0) { in linuxkpi_napi_schedule_prep()
119 new = old; in linuxkpi_napi_schedule_prep()
121 if ((old & BIT(LKPI_NAPI_FLAG_IS_SCHEDULED)) != 0) in linuxkpi_napi_schedule_prep()
134 unsigned long old, new; in lkpi___napi_schedule_dd() local
154 new = old = READ_ONCE(napi->state); in lkpi___napi_schedule_dd()
219 unsigned long old, new; in linuxkpi_napi_complete_done() local
226 new = old = READ_ONCE(napi->state); in linuxkpi_napi_complete_done()
232 if (!test_bit(LKPI_NAPI_FLAG_LOST_RACE_TRY_AGAIN, &old)) in linuxkpi_napi_complete_done()
[all …]
/freebsd/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()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dmerge.c710 conjure_template(tdesc_t *old, int newselfid) in conjure_template() argument
714 new->t_name = old->t_name ? xstrdup(old->t_name) : NULL; in conjure_template()
715 new->t_type = old->t_type; in conjure_template()
716 new->t_size = old->t_size; in conjure_template()
718 new->t_flags = old->t_flags; in conjure_template()
740 (void) remap_node(&new->t_tdesc, old->t_tdesc, old->t_id, new, mcd); in conjure_plain()
750 fndef_t *ofn = old->t_fndef; in conjure_function()
776 ardef_t *oar = old->t_ardef; in conjure_array()
803 old->t_id, new, mcd); in conjure_su()
817 for (oel = old->t_emem, nelp = &new->t_emem; in conjure_enum()
[all …]
/freebsd/sys/vm/
H A Dvm_page.c3514 tmp = *old; in vm_page_pqstate_fcmpset()
3586 *old = as; in vm_page_pqstate_commit_dequeue()
3704 new = old; in vm_pqbatch_process_page()
3842 new = old; in vm_page_dequeue_deferred()
3866 new = old; in vm_page_dequeue()
4066 u_int old; in vm_page_wire() local
4097 u_int old; in vm_page_wire_mapped() local
4123 u_int old; in vm_page_unwire_managed() local
4202 u_int old; in vm_page_unwire_noq() local
4240 new = old; in vm_page_mvqueue()
[all …]
/freebsd/sys/contrib/ck/include/
H A Dck_ec.h688 uint32_t old) in ck_ec32_add_epilogue() argument
693 ret = old & ~flag_mask; in ck_ec32_add_epilogue()
695 if (CK_CC_UNLIKELY(old != ret)) { in ck_ec32_add_epilogue()
706 uint32_t old; in ck_ec32_add_mp() local
718 uint32_t old; in ck_ec32_add_sp() local
730 old = delta; in ck_ec32_add_sp()
732 : "+m"(ec->counter), "+r"(old) in ck_ec32_add_sp()
837 uint64_t old) in ck_ec_add64_epilogue() argument
839 uint64_t ret = old >> 1; in ck_ec_add64_epilogue()
841 if (CK_CC_UNLIKELY(old & 1)) { in ck_ec_add64_epilogue()
[all …]
/freebsd/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
/freebsd/lib/libc/stdlib/
H A Dtdelete.c71 posix_tnode **leaf, *old, **n, *x, *y, *z, *result; in tdelete() local
105 old = *leaf; in tdelete()
106 *leaf = old->rlink; in tdelete()
107 free(old); in tdelete()
117 old = *leaf; in tdelete()
118 *keyp = old->key; in tdelete()
119 *leaf = old->llink; in tdelete()
120 free(old); in tdelete()
H A Dset_constraint_handler_s.c47 constraint_handler_t *new, *old, ret; in set_constraint_handler_s() local
55 old = _ch; in set_constraint_handler_s()
59 if (old == NULL) { in set_constraint_handler_s()
62 ret = *old; in set_constraint_handler_s()
63 free(old); in set_constraint_handler_s()
/freebsd/contrib/bsnmp/snmp_mibII/
H A DmibII_ip.c130 ip_forward(int forw, int *old) in ip_forward() argument
134 olen = sizeof(*old); in ip_forward()
135 if (sysctlbyname("net.inet.ip.forwarding", old, old ? &olen : NULL, in ip_forward()
145 ip_setttl(int ttl, int *old) in ip_setttl() argument
149 olen = sizeof(*old); in ip_setttl()
150 if (sysctlbyname("net.inet.ip.ttl", old, old ? &olen : NULL, in ip_setttl()
166 int old = 0; in op_ip() local
189 ctx->scratch->int1 = old ? 1 : 2; in op_ip()
193 ctx->scratch->int1 = old; in op_ip()
204 ip_setttl(value->v.integer, &old)) in op_ip()
[all …]
/freebsd/sys/netipsec/
H A Dsubr_ipsec.c129 u_int old, new; in ipsec_kmod_enter() local
132 old = *cntr; in ipsec_kmod_enter()
133 if ((old & IPSEC_MODULE_ENABLED) == 0) in ipsec_kmod_enter()
135 new = old + IPSEC_MODULE_INCR; in ipsec_kmod_enter()
136 } while(atomic_cmpset_acq_int(cntr, old, new) == 0); in ipsec_kmod_enter()
143 u_int old, new; in ipsec_kmod_exit() local
146 old = *cntr; in ipsec_kmod_exit()
147 new = old - IPSEC_MODULE_INCR; in ipsec_kmod_exit()
154 u_int old, new; in ipsec_kmod_drain() local
157 old = *cntr; in ipsec_kmod_drain()
[all …]
/freebsd/lib/libc/arm/gen/
H A Dfpsetround_vfp.c38 uint32_t old, new; in __weak_alias() local
40 __asm __volatile("vmrs %0, fpscr" : "=&r"(old)); in __weak_alias()
41 new = old & ~(3 << 22); in __weak_alias()
45 return ((old >> 22) & 3); in __weak_alias()
H A Dfpsetsticky_vfp.c40 fp_except old, new; in __weak_alias() local
42 __asm __volatile("vmrs %0, fpscr" : "=&r"(old)); in __weak_alias()
43 new = old & ~(FP_X_MASK); in __weak_alias()
47 return (old & except); in __weak_alias()
H A Dfpsetmask_vfp.c40 fp_except old, new; in __weak_alias() local
42 __asm __volatile("vmrs %0, fpscr" : "=&r"(old)); in __weak_alias()
44 new = (old & ~(FP_X_MASK << 8)) | mask; in __weak_alias()
47 return ((old >> 8) & FP_X_MASK); in __weak_alias()
/freebsd/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()
/freebsd/tools/test/stress2/tools/
H A Ddf.sh33 old=x
38 [ $p1 -lt 80 -a $p2 -lt 80 -a $old != x ] && continue
39 [ "$old" != "$d" ] && echo `date '+%T'` $d
40 old=$d
/freebsd/sbin/hastd/
H A Drefcnt.h54 unsigned int old; in refcnt_release() local
57 old = atomic_fetchadd_int(count, -1); in refcnt_release()
58 PJDLOG_ASSERT(old > 0); in refcnt_release()
59 return (old - 1); in refcnt_release()
/freebsd/lib/libc/aarch64/gen/
H A Dfpsetmask.c37 uint64_t old, new; in fpsetmask() local
42 __asm __volatile("mrs %0, fpcr" : "=&r"(old)); in fpsetmask()
43 new = old & ~FP_X_MASK; in fpsetmask()
47 return ((fp_except_t)old); in fpsetmask()
/freebsd/lib/libc/gen/
H A Dualarm.c45 struct itimerval new, old; in ualarm() local
53 if (setitimer(ITIMER_REAL, &new, &old) == 0) in ualarm()
54 return (old.it_value.tv_sec * USPS + old.it_value.tv_usec); in ualarm()
/freebsd/tools/regression/poll/
H A DReadme7 The subdirectories contain results of old runs:
9 {4,7}: FreeBSD-{4,7} with old tests (only state 0 and 6b have different
15 l: Linux-2.6.10 with old tests (only state 0 has different expectations)
16 m: my current version of FreeBSD with old tests (0 and 6b)
17 n: my previous version of FreeBSD with old tests (0 and 6b)
/freebsd/sys/kern/
H A Dsubr_atomic64.c105 int atomic_cmpset_64(volatile uint64_t *p, uint64_t old, uint64_t new) in atomic_cmpset_64() argument
111 if (tmp == old) in atomic_cmpset_64()
115 return (tmp == old); in atomic_cmpset_64()
118 int atomic_fcmpset_64(volatile uint64_t *p, uint64_t *old, uint64_t new) in atomic_fcmpset_64() argument
124 tmp_old = *old; in atomic_fcmpset_64()
128 *old = tmp; in atomic_fcmpset_64()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dwow.c81 const struct cfg80211_pkt_pattern *old) in ath10k_wow_convert_8023_to_80211() argument
88 int total_len = old->pkt_offset + old->pattern_len; in ath10k_wow_convert_8023_to_80211()
105 memcpy(hdr_8023_pattern + old->pkt_offset, in ath10k_wow_convert_8023_to_80211()
106 old->pattern, ETH_HLEN - old->pkt_offset); in ath10k_wow_convert_8023_to_80211()
107 memcpy(hdr_8023_bit_mask + old->pkt_offset, in ath10k_wow_convert_8023_to_80211()
108 old->mask, ETH_HLEN - old->pkt_offset); in ath10k_wow_convert_8023_to_80211()
127 if (old->pkt_offset < ETH_ALEN) in ath10k_wow_convert_8023_to_80211()
128 new->pkt_offset = old->pkt_offset + in ath10k_wow_convert_8023_to_80211()
131 new->pkt_offset = old->pkt_offset + in ath10k_wow_convert_8023_to_80211()
161 (void *)old->pattern + ETH_HLEN - old->pkt_offset, in ath10k_wow_convert_8023_to_80211()
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_cancel.cpp51 kmp_int32 old = cancel_noreq; in __kmpc_cancel() local
52 this_team->t.t_cancel_request.compare_exchange_strong(old, cncl_kind); in __kmpc_cancel()
53 if (old == cancel_noreq || old == cncl_kind) { in __kmpc_cancel()
89 kmp_int32 old = cancel_noreq; in __kmpc_cancel() local
90 taskgroup->cancel_request.compare_exchange_strong(old, cncl_kind); in __kmpc_cancel()
91 if (old == cancel_noreq || old == cncl_kind) { in __kmpc_cancel()
/freebsd/crypto/heimdal/kadmin/
H A Dstash.c114 char *new, *old; in stash() local
115 asprintf(&old, "%s.old", opt->key_file_string); in stash()
117 if(old == NULL || new == NULL) { in stash()
131 unlink(old); in stash()
133 if(link(opt->key_file_string, old) < 0 && errno != ENOENT) { in stash()
146 free(old); in stash()
/freebsd/contrib/blocklist/port/
H A Dpopenve.c124 struct pid *old; in pdes_child() local
129 for (old = pidlist; old; old = old->next) in pdes_child()
131 (void)close(old->fd); /* don't allow a flush */ in pdes_child()
133 (void)close(fileno(old->fp)); /* don't allow a flush */ in pdes_child()

12345678910>>...45