/third_party/ltp/tools/sparse/sparse-src/ |
H A D | sparse.c | 122 int old = orig_type->bit_size; in check_cast_instruction() local 127 if (new > old) { in check_cast_instruction() 135 if (new < old) { in check_cast_instruction()
|
H A D | expand.c | 98 struct expression *old, struct symbol *oldtype) in cast_value() 110 expr->taint = old->taint; in cast_value() 112 expr->value = old->value; in cast_value() 117 value = get_longlong(old); in cast_value() 124 warning(old->pos, "odd constant _Bool cast (%llx becomes 1)", value); in cast_value() 145 warning(old->pos, "cast truncates bits from constant value (%llx becomes %llx)", in cast_value() 153 value = (long long)old->fvalue; in cast_value() 160 expr->fvalue = (long double)get_longlong(old); in cast_value() 162 expr->fvalue = old->fvalue; in cast_value() 97 cast_value(struct expression *expr, struct symbol *newtype, struct expression *old, struct symbol *oldtype) cast_value() argument
|
/third_party/node/deps/v8/src/objects/ |
H A D | slots.h | 126 inline Object Relaxed_CompareAndSwap(Object old, Object target) const; 127 inline Object Release_CompareAndSwap(Object old, Object target) const; 160 inline void Release_CompareAndSwap(MaybeObject old, MaybeObject target) const;
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | x_x509.c | 103 X509 *old = exarg; in x509_cb() local 105 if (!ossl_x509_set0_libctx(ret, old->libctx, old->propq)) in x509_cb()
|
/third_party/openssl/crypto/x509/ |
H A D | x_x509.c | 103 X509 *old = exarg; in x509_cb() local 105 if (!ossl_x509_set0_libctx(ret, old->libctx, old->propq)) in x509_cb()
|
/third_party/selinux/libsepol/cil/test/unit/ |
H A D | CuTest.c | 43 char* CuStrCopy(const char* old) in CuStrCopy() argument 45 int len = strlen(old); in CuStrCopy() 47 strcpy(newStr, old); in CuStrCopy()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_xics.c | 272 union kvmppc_icp_state old, in icp_try_update() 282 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; in icp_try_update() 288 old.cppr, old.mfrr, old.pending_pri, old.xisr, in icp_try_update() 289 old.need_resend, old.out_ee); in icp_try_update() 1278 /* If PENDING, set P in case P is not saved because of old cod in xics_set_source() 271 icp_try_update(struct kvmppc_icp *icp, union kvmppc_icp_state old, union kvmppc_icp_state new, bool change_self) icp_try_update() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_xics.c | 272 union kvmppc_icp_state old, in icp_try_update() 282 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; in icp_try_update() 288 old.cppr, old.mfrr, old.pending_pri, old.xisr, in icp_try_update() 289 old.need_resend, old.out_ee); in icp_try_update() 1269 /* If PENDING, set P in case P is not saved because of old cod in xics_set_source() 271 icp_try_update(struct kvmppc_icp *icp, union kvmppc_icp_state old, union kvmppc_icp_state new, bool change_self) icp_try_update() argument [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | ip_vs.h | 525 volatile __u16 old_state; /* old state, to be used for 568 * options, but unfortunately, we also need to keep the old definitions to 1575 static inline __wsum ip_vs_check_diff4(__be32 old, __be32 new, __wsum oldsum) in ip_vs_check_diff4() argument 1577 __be32 diff[2] = { ~old, new }; in ip_vs_check_diff4() 1583 static inline __wsum ip_vs_check_diff16(const __be32 *old, const __be32 *new, in ip_vs_check_diff16() argument 1586 __be32 diff[8] = { ~old[3], ~old[2], ~old[1], ~old[0], in ip_vs_check_diff16() 1593 static inline __wsum ip_vs_check_diff2(__be16 old, __be1 argument [all...] |
/kernel/linux/linux-5.10/tools/objtool/ |
H A D | elf.c | 696 struct symbol *sym, *old; in elf_create_section_symbol() local 727 old = find_symbol_by_index(elf, first_non_local); in elf_create_section_symbol() 728 if (old) { in elf_create_section_symbol() 729 old->idx = new_idx; in elf_create_section_symbol() 731 hlist_del(&old->hash); in elf_create_section_symbol() 732 elf_hash_add(elf->symbol_hash, &old->hash, old->idx); in elf_create_section_symbol() 734 elf_dirty_reloc_sym(elf, old); in elf_create_section_symbol() 736 if (elf_update_symbol(elf, symtab, symtab_shndx, old)) { in elf_create_section_symbol()
|
/kernel/linux/linux-5.10/kernel/time/ |
H A D | posix-cpu-timers.c | 573 struct itimerspec64 *new, struct itimerspec64 *old) in posix_cpu_timer_set() 615 * Disarm any old timer after extracting its expiry time. in posix_cpu_timer_set() 630 * old value from absolute to relative. To set a process in posix_cpu_timer_set() 640 if (old) { in posix_cpu_timer_set() 642 old->it_value.tv_sec = 0; in posix_cpu_timer_set() 643 old->it_value.tv_nsec = 0; in posix_cpu_timer_set() 656 old->it_value = ns_to_timespec64(old_expires); in posix_cpu_timer_set() 658 old->it_value.tv_nsec = 1; in posix_cpu_timer_set() 659 old->it_value.tv_sec = 0; in posix_cpu_timer_set() 667 * Punt after filling in the timer's old valu in posix_cpu_timer_set() 572 posix_cpu_timer_set(struct k_itimer *timer, int timer_flags, struct itimerspec64 *new, struct itimerspec64 *old) posix_cpu_timer_set() argument [all...] |
/kernel/linux/linux-6.6/tools/objtool/ |
H A D | elf.c | 732 struct symbol *old; in __elf_create_symbol() local 752 old = find_symbol_by_index(elf, first_non_local); in __elf_create_symbol() 753 if (old) { in __elf_create_symbol() 755 elf_hash_del(symbol, &old->hash, old->idx); in __elf_create_symbol() 756 elf_hash_add(symbol, &old->hash, new_idx); in __elf_create_symbol() 757 old->idx = new_idx; in __elf_create_symbol() 759 if (elf_update_symbol(elf, symtab, symtab_shndx, old)) { in __elf_create_symbol() 764 if (elf_update_sym_relocs(elf, old)) in __elf_create_symbol()
|
/kernel/linux/linux-6.6/kernel/time/ |
H A D | posix-cpu-timers.c | 624 struct itimerspec64 *new, struct itimerspec64 *old) in posix_cpu_timer_set() 666 * Disarm any old timer after extracting its expiry time. in posix_cpu_timer_set() 681 * old value from absolute to relative. To set a process in posix_cpu_timer_set() 691 if (old) { in posix_cpu_timer_set() 693 old->it_value.tv_sec = 0; in posix_cpu_timer_set() 694 old->it_value.tv_nsec = 0; in posix_cpu_timer_set() 707 old->it_value = ns_to_timespec64(old_expires); in posix_cpu_timer_set() 709 old->it_value.tv_nsec = 1; in posix_cpu_timer_set() 710 old->it_value.tv_sec = 0; in posix_cpu_timer_set() 718 * Punt after filling in the timer's old valu in posix_cpu_timer_set() 623 posix_cpu_timer_set(struct k_itimer *timer, int timer_flags, struct itimerspec64 *new, struct itimerspec64 *old) posix_cpu_timer_set() argument [all...] |
/third_party/littlefs/scripts/ |
H A D | perf.py | 84 old = other.x if other else 0 85 diff = new - old 95 old = other.x if other else 0 96 if m.isinf(new) and m.isinf(old): 100 elif m.isinf(old): 102 elif not old and not new: 104 elif not old: 107 return (new-old) / old
|
H A D | perfbd.py | 75 old = other.x if other else 0 76 diff = new - old 86 old = other.x if other else 0 87 if m.isinf(new) and m.isinf(old): 91 elif m.isinf(old): 93 elif not old and not new: 95 elif not old: 98 return (new-old) / old
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | men_z135_uart.c | 481 u32 old; in men_z135_set_mctrl() local 484 conf_reg = old = ioread32(port->membase + MEN_Z135_CONF_REG); in men_z135_set_mctrl() 510 if (conf_reg != old) in men_z135_set_mctrl() 650 struct ktermios *old) in men_z135_set_termios() 712 baud = uart_get_baud_rate(port, termios, old, 0, uart_freq / 16); in men_z135_set_termios() 648 men_z135_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) men_z135_set_termios() argument
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_sfb.c | 494 struct Qdisc *child, *old; in sfb_change() local 525 old = q->qdisc; in sfb_change() 548 qdisc_put(old); in sfb_change() 620 struct Qdisc **old, struct netlink_ext_ack *extack) in sfb_graft() 627 *old = qdisc_replace(sch, new, &q->qdisc); in sfb_graft() 619 sfb_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old, struct netlink_ext_ack *extack) sfb_graft() argument
|
H A D | sch_tbf.c | 343 struct Qdisc *old = NULL; in tbf_change() local 435 old = q->qdisc; in tbf_change() 455 qdisc_put(old); in tbf_change() 542 struct Qdisc **old, struct netlink_ext_ack *extack) in tbf_graft() 549 *old = qdisc_replace(sch, new, &q->qdisc); in tbf_graft() 541 tbf_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old, struct netlink_ext_ack *extack) tbf_graft() argument
|
H A D | sch_red.c | 483 struct Qdisc *new, struct Qdisc *old, in red_graft_offload() 493 qdisc_offload_graft_helper(qdisc_dev(sch), sch, new, old, in red_graft_offload() local 498 struct Qdisc **old, struct netlink_ext_ack *extack) in red_graft() 505 *old = qdisc_replace(sch, new, &q->qdisc); in red_graft() 507 red_graft_offload(sch, new, *old, extack); in red_graft() 482 red_graft_offload(struct Qdisc *sch, struct Qdisc *new, struct Qdisc *old, struct netlink_ext_ack *extack) red_graft_offload() argument 497 red_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old, struct netlink_ext_ack *extack) red_graft() argument
|
H A D | sch_atm.c | 86 struct Qdisc *new, struct Qdisc **old, in atm_tc_graft() 92 pr_debug("atm_tc_graft(sch %p,[qdisc %p],flow %p,new %p,old %p)\n", in atm_tc_graft() 93 sch, p, flow, new, old); in atm_tc_graft() 98 *old = flow->q; in atm_tc_graft() 100 if (*old) in atm_tc_graft() 101 qdisc_reset(*old); in atm_tc_graft() 218 * native ATM API. In order to send a flow to a different VC, the old in atm_tc_change() 85 atm_tc_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old, struct netlink_ext_ack *extack) atm_tc_graft() argument
|
/kernel/linux/linux-5.10/sound/soc/intel/catpt/ |
H A D | dsp.c | 157 unsigned long old; in catpt_dsp_set_srampge() local 161 old = catpt_readl_pci(cdev, VDRTCTL0) & mask; in catpt_dsp_set_srampge() 163 mask, old, new); in catpt_dsp_set_srampge() 165 if (old == new) in catpt_dsp_set_srampge() 179 /* newly enabled: new bit=0 while old bit=1 */ in catpt_dsp_set_srampge() 180 if (test_bit(b, &old)) { in catpt_dsp_set_srampge()
|
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | pci.h | 376 pci_channel_state_t old; in pci_dev_set_io_state() local 383 old = cmpxchg(&dev->error_state, pci_channel_io_normal, in pci_dev_set_io_state() 385 return old != pci_channel_io_perm_failure; in pci_dev_set_io_state() 387 old = cmpxchg(&dev->error_state, pci_channel_io_frozen, in pci_dev_set_io_state() 389 return old != pci_channel_io_perm_failure; in pci_dev_set_io_state()
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | ti113x.h | 421 /* not working, back to old value */ in ti12xx_irqroute_func0() 465 /* not working, back to old value */ in ti12xx_irqroute_func0() 885 u8 old, diag; in ti1250_override() local 887 old = config_readb(socket, TI1250_DIAGNOSTIC); in ti1250_override() 888 diag = old & ~(TI1250_DIAG_PCI_CSC | TI1250_DIAG_PCI_IREQ); in ti1250_override() 892 if (diag != old) { in ti1250_override() 895 old, diag); in ti1250_override() 957 /* default to clear TLTEnable bit, old behaviour */ in ene_tune_bridge()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | cifs_swn.c | 433 const struct sockaddr_storage *old, in cifs_swn_store_swn_addr() 438 if (old->ss_family == AF_INET) { in cifs_swn_store_swn_addr() 439 struct sockaddr_in *ipv4 = (struct sockaddr_in *)old; in cifs_swn_store_swn_addr() 442 } else if (old->ss_family == AF_INET6) { in cifs_swn_store_swn_addr() 443 struct sockaddr_in6 *ipv6 = (struct sockaddr_in6 *)old; in cifs_swn_store_swn_addr() 481 * Unregister to stop receiving notifications for the old IP address. in cifs_swn_reconnect() 432 cifs_swn_store_swn_addr(const struct sockaddr_storage *new, const struct sockaddr_storage *old, struct sockaddr_storage *dst) cifs_swn_store_swn_addr() argument
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | men_z135_uart.c | 478 u32 old; in men_z135_set_mctrl() local 481 conf_reg = old = ioread32(port->membase + MEN_Z135_CONF_REG); in men_z135_set_mctrl() 507 if (conf_reg != old) in men_z135_set_mctrl() 647 const struct ktermios *old) in men_z135_set_termios() 709 baud = uart_get_baud_rate(port, termios, old, 0, uart_freq / 16); in men_z135_set_termios() 645 men_z135_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) men_z135_set_termios() argument
|