/Linux-v5.10/include/net/ |
D | snmp.h | 139 #define __SNMP_ADD_STATS(mib, field, addend) \ argument 140 __this_cpu_add(mib->mibs[field], addend) 142 #define SNMP_ADD_STATS(mib, field, addend) \ argument 143 this_cpu_add(mib->mibs[field], addend) 144 #define SNMP_UPD_PO_STATS(mib, basefield, addend) \ argument 148 this_cpu_add(ptr[basefield##OCTETS], addend); \ 150 #define __SNMP_UPD_PO_STATS(mib, basefield, addend) \ argument 154 __this_cpu_add(ptr[basefield##OCTETS], addend); \ 160 #define __SNMP_ADD_STATS64(mib, field, addend) \ argument 164 ptr->mibs[field] += addend; \ [all …]
|
D | checksum.h | 57 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument 60 res += (__force u32)addend; in csum_add() 61 return (__force __wsum)(res + (res < (__force u32)addend)); in csum_add() 65 static inline __wsum csum_sub(__wsum csum, __wsum addend) in csum_sub() argument 67 return csum_add(csum, ~addend); in csum_sub() 70 static inline __sum16 csum16_add(__sum16 csum, __be16 addend) in csum16_add() argument 74 res += (__force u16)addend; in csum16_add() 75 return (__force __sum16)(res + (res < (__force u16)addend)); in csum16_add() 78 static inline __sum16 csum16_sub(__sum16 csum, __be16 addend) in csum16_sub() argument 80 return csum16_add(csum, ~addend); in csum16_sub()
|
D | gre.h | 54 int addend = 4; in gre_calc_hlen() local 57 addend += 4; in gre_calc_hlen() 59 addend += 4; in gre_calc_hlen() 61 addend += 4; in gre_calc_hlen() 62 return addend; in gre_calc_hlen()
|
/Linux-v5.10/security/apparmor/ |
D | lib.c | 346 * @addend - perms struct to add to @accum 348 void aa_perms_accum_raw(struct aa_perms *accum, struct aa_perms *addend) in aa_perms_accum_raw() argument 350 accum->deny |= addend->deny; in aa_perms_accum_raw() 351 accum->allow &= addend->allow & ~addend->deny; in aa_perms_accum_raw() 352 accum->audit |= addend->audit & addend->allow; in aa_perms_accum_raw() 353 accum->quiet &= addend->quiet & ~addend->allow; in aa_perms_accum_raw() 354 accum->kill |= addend->kill & ~addend->allow; in aa_perms_accum_raw() 355 accum->stop |= addend->stop & ~addend->allow; in aa_perms_accum_raw() 356 accum->complain |= addend->complain & ~addend->allow & ~addend->deny; in aa_perms_accum_raw() 357 accum->cond |= addend->cond & ~addend->allow & ~addend->deny; in aa_perms_accum_raw() [all …]
|
/Linux-v5.10/arch/parisc/kernel/ |
D | module.c | 124 /* lrsel with rounding of addend to nearest 8k */ 126 /* rrsel with rounding of addend to nearest 8k */ 365 static Elf64_Word get_got(struct module *me, unsigned long value, long addend) in get_got() argument 370 value += addend; in get_got() 421 static Elf_Addr get_stub(struct module *me, unsigned long value, long addend, in get_stub() argument 449 //value = *(unsigned long *)((value + addend) & ~3); /* why? */ in get_stub() 454 stub->insns[0] |= reassemble_21(lrsel(value, addend)); in get_stub() 455 stub->insns[1] |= reassemble_17(rrsel(value, addend) / 4); in get_stub() 479 d = get_got(me, value, addend); in get_stub() 499 stub->insns[0] |= reassemble_21(lrsel(value, addend)); in get_stub() [all …]
|
/Linux-v5.10/fs/nfs/ |
D | iostat.h | 40 long addend) in nfs_add_server_stats() argument 42 this_cpu_add(server->io_stats->bytes[stat], addend); in nfs_add_server_stats() 47 long addend) in nfs_add_stats() argument 49 nfs_add_server_stats(NFS_SERVER(inode), stat, addend); in nfs_add_stats() 55 long addend) in nfs_add_fscache_stats() argument 57 this_cpu_add(NFS_SERVER(inode)->io_stats->fscache[stat], addend); in nfs_add_fscache_stats()
|
/Linux-v5.10/arch/ia64/include/asm/ |
D | elf.h | 50 #define R_IA64_IMM14 0x21 /* symbol + addend, add imm14 */ 51 #define R_IA64_IMM22 0x22 /* symbol + addend, add imm22 */ 52 #define R_IA64_IMM64 0x23 /* symbol + addend, mov imm64 */ 53 #define R_IA64_DIR32MSB 0x24 /* symbol + addend, data4 MSB */ 54 #define R_IA64_DIR32LSB 0x25 /* symbol + addend, data4 LSB */ 55 #define R_IA64_DIR64MSB 0x26 /* symbol + addend, data8 MSB */ 56 #define R_IA64_DIR64LSB 0x27 /* symbol + addend, data8 LSB */ 100 #define R_IA64_LTV32MSB 0x74 /* symbol + addend, data4 MSB */ 101 #define R_IA64_LTV32LSB 0x75 /* symbol + addend, data4 LSB */ 102 #define R_IA64_LTV64MSB 0x76 /* symbol + addend, data8 MSB */ [all …]
|
/Linux-v5.10/drivers/net/ethernet/xscale/ |
D | ptp_ixp46x.c | 127 u32 diff, addend; in ptp_ixp_adjfreq() local 136 addend = DEFAULT_ADDEND; in ptp_ixp_adjfreq() 137 adj = addend; in ptp_ixp_adjfreq() 141 addend = neg_adj ? addend - diff : addend + diff; in ptp_ixp_adjfreq() 143 __raw_writel(addend, ®s->addend); in ptp_ixp_adjfreq() 302 __raw_writel(DEFAULT_ADDEND, &ixp_clock.regs->addend); in ptp_ixp_init()
|
D | ixp46x_ts.h | 28 u32 addend; /* 0x08 Time Sync Addend Register */ member
|
/Linux-v5.10/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_map_data.c | 49 __be16 addend; in rmnet_map_ipv4_dl_csum_trailer() local 81 addend = (__force __be16)ntohs((__force __be16)pseudo_csum); in rmnet_map_ipv4_dl_csum_trailer() 82 pseudo_csum = csum16_add(ip_payload_csum, addend); in rmnet_map_ipv4_dl_csum_trailer() 84 addend = (__force __be16)ntohs((__force __be16)*csum_field); in rmnet_map_ipv4_dl_csum_trailer() 85 csum_temp = ~csum16_sub(pseudo_csum, addend); in rmnet_map_ipv4_dl_csum_trailer() 120 __be16 ip6_hdr_csum, addend; in rmnet_map_ipv6_dl_csum_trailer() local 147 addend = (__force __be16)ntohs((__force __be16)pseudo_csum); in rmnet_map_ipv6_dl_csum_trailer() 148 pseudo_csum = csum16_add(ip6_payload_csum, addend); in rmnet_map_ipv6_dl_csum_trailer() 150 addend = (__force __be16)ntohs((__force __be16)*csum_field); in rmnet_map_ipv6_dl_csum_trailer() 151 csum_temp = ~csum16_sub(pseudo_csum, addend); in rmnet_map_ipv6_dl_csum_trailer()
|
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 26 u32 diff, addend; in stmmac_adjust_freq() local 35 addend = priv->default_addend; in stmmac_adjust_freq() 36 adj = addend; in stmmac_adjust_freq() 39 addend = neg_adj ? (addend - diff) : (addend + diff); in stmmac_adjust_freq() 42 stmmac_config_addend(priv, priv->ptpaddr, addend); in stmmac_adjust_freq()
|
D | stmmac_hwtstamp.c | 76 static int config_addend(void __iomem *ioaddr, u32 addend) in config_addend() argument 81 writel(addend, ioaddr + PTP_TAR); in config_addend() 82 /* issue command to update the addend value */ in config_addend() 87 /* wait for present addend update to complete */ in config_addend()
|
D | stmmac_ptp.h | 25 #define PTP_TAR 0x18 /* Timestamp Addend Reg */ 37 #define PTP_TCR_TSADDREG BIT(5) /* Addend Reg Update */
|
/Linux-v5.10/include/linux/netfilter/ |
D | x_tables.h | 365 unsigned int addend; in xt_write_recseq_begin() local 371 addend = (__this_cpu_read(xt_recseq.sequence) + 1) & 1; in xt_write_recseq_begin() 374 * This is kind of a write_seqcount_begin(), but addend is 0 or 1 in xt_write_recseq_begin() 375 * We dont check addend value to avoid a test and conditional jump, in xt_write_recseq_begin() 376 * since addend is most likely 1 in xt_write_recseq_begin() 378 __this_cpu_add(xt_recseq.sequence, addend); in xt_write_recseq_begin() 381 return addend; in xt_write_recseq_begin() 386 * @addend: return value from previous xt_write_recseq_begin() 392 static inline void xt_write_recseq_end(unsigned int addend) in xt_write_recseq_end() argument 394 /* this is kind of a write_seqcount_end(), but addend is 0 or 1 */ in xt_write_recseq_end() [all …]
|
/Linux-v5.10/drivers/net/ethernet/renesas/ |
D | ravb_ptp.c | 97 u32 diff, addend; in ravb_ptp_adjfreq() local 105 addend = priv->ptp.default_addend; in ravb_ptp_adjfreq() 106 diff = div_u64((u64)addend * ppb, NSEC_PER_SEC); in ravb_ptp_adjfreq() 108 addend = neg_adj ? addend - diff : addend + diff; in ravb_ptp_adjfreq() 112 priv->ptp.current_addend = addend; in ravb_ptp_adjfreq() 119 ravb_write(ndev, addend & GTI_TIV, GTI); in ravb_ptp_adjfreq()
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | checksum.h | 94 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument 100 return addend; in csum_add() 101 if (__builtin_constant_p(addend) && addend == 0) in csum_add() 105 res += (__force u64)addend; in csum_add() 110 : "+r" (csum) : "r" (addend) : "xer"); in csum_add()
|
/Linux-v5.10/drivers/ptp/ |
D | ptp_pch.c | 45 u32 addend; member 403 u32 diff, addend; in ptp_pch_adjfreq() local 412 addend = DEFAULT_ADDEND; in ptp_pch_adjfreq() 413 adj = addend; in ptp_pch_adjfreq() 417 addend = neg_adj ? addend - diff : addend + diff; in ptp_pch_adjfreq() 419 iowrite32(addend, ®s->addend); in ptp_pch_adjfreq() 607 iowrite32(DEFAULT_ADDEND, &chip->regs->addend); in pch_probe()
|
/Linux-v5.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 144 u32 addend, diff; in xgbe_adjfreq() local 156 addend = (neg_adjust) ? pdata->tstamp_addend - diff : in xgbe_adjfreq() 161 pdata->hw_if.update_tstamp_addend(pdata, addend); in xgbe_adjfreq() 252 /* Calculate the addend: in xgbe_ptp_register() 253 * addend = 2^32 / (PTP ref clock / 50Mhz) in xgbe_ptp_register()
|
/Linux-v5.10/lib/mpi/ |
D | generic_mpih-add1.c | 40 y += cy; /* add previous carry to one addend */ in mpihelp_add_n() 42 y += x; /* add other addend */ in mpihelp_add_n()
|
/Linux-v5.10/net/sched/ |
D | cls_flow.c | 52 u32 addend; member 327 classid = (classid >> f->rshift) + f->addend; in flow_classify() 465 fnew->addend = fold->addend; in flow_change() 534 fnew->addend = nla_get_u32(tb[TCA_FLOW_ADDEND]); in flow_change() 645 if (f->addend && in flow_dump() 646 nla_put_u32(skb, TCA_FLOW_ADDEND, f->addend)) in flow_dump()
|
/Linux-v5.10/tools/objtool/ |
D | check.c | 372 insn = find_insn(file, reloc->sym->sec, reloc->addend); in add_dead_ends() 375 else if (reloc->addend == reloc->sym->sec->len) { in add_dead_ends() 379 reloc->sym->sec->name, reloc->addend); in add_dead_ends() 384 reloc->sym->sec->name, reloc->addend); in add_dead_ends() 407 insn = find_insn(file, reloc->sym->sec, reloc->addend); in add_dead_ends() 410 else if (reloc->addend == reloc->sym->sec->len) { in add_dead_ends() 414 reloc->sym->sec->name, reloc->addend); in add_dead_ends() 419 reloc->sym->sec->name, reloc->addend); in add_dead_ends() 476 reloc->addend = insn->offset; in create_static_call_sections() 511 reloc->addend = is_sibling_call(insn) ? STATIC_CALL_SITE_TAIL : 0; in create_static_call_sections() [all …]
|
D | special.c | 97 alt->orig_off = orig_reloc->addend; in get_alt_entry() 108 alt->new_off = (unsigned int)new_reloc->addend; in get_alt_entry()
|
/Linux-v5.10/arch/arm64/kernel/ |
D | module-plts.c | 141 /* sort by type, symbol index and addend */ in cmp_rela() 153 * Entries are sorted by type, symbol index and addend. That means in duplicate_rel() 199 * the addend is zero: this allows us to record the PLT in count_plts() 338 * and addend in module_frob_arch_sections()
|
/Linux-v5.10/arch/mips/kernel/ |
D | module.c | 129 /* Sign extend the addend we extract from the lo insn. */ in apply_r_mips_lo16() 147 * where to find the low 16 bits of the addend needed in apply_r_mips_lo16() 202 /* retrieve & sign extend implicit addend if any */ in apply_r_mips_pc() 278 * @v: the value of the reloc, with addend for RELA-style
|
/Linux-v5.10/arch/arm/kernel/ |
D | module-plts.c | 96 * Do a bitwise compare on the raw addend rather than fully decoding in is_zero_addend_relocation() 98 * Note that a zero-addend jump/call relocation is encoded taking the in is_zero_addend_relocation() 174 * the addend is zero. (Note that calls into the core in count_plts()
|