Home
last modified time | relevance | path

Searched full:addend (Results 1 – 25 of 107) sorted by relevance

12345

/OK3568_Linux_fs/kernel/include/net/
H A Dsnmp.h139 #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 …]
H A Dchecksum.h57 static __always_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 __always_inline __wsum csum_sub(__wsum csum, __wsum addend) in csum_sub() argument
67 return csum_add(csum, ~addend); in csum_sub()
70 static __always_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 __always_inline __sum16 csum16_sub(__sum16 csum, __be16 addend) in csum16_sub() argument
80 return csum16_add(csum, ~addend); in csum16_sub()
H A Dgre.h54 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()
/OK3568_Linux_fs/kernel/security/apparmor/
H A Dlib.c346 * @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 …]
/OK3568_Linux_fs/kernel/arch/parisc/kernel/
H A Dmodule.c124 /* 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 …]
/OK3568_Linux_fs/buildroot/package/elf2flt/
H A D0003-elf2flt-handle-binutils-2.34.patch91 va = (*(ra->sym_ptr_ptr))->value + a_vma + ra->addend;
92 vb = (*(rb->sym_ptr_ptr))->value + b_vma + rb->addend;
118 sym_addr += sym_vma + q->addend;
127 sym_addr += sym_vma + q->addend;
136 sym_addr += sym_vma + q->addend;
145 sym_addr += sym_vma + q->addend;
154 sym_addr += sym_vma + q->addend;
163 sym_addr += sym_vma + q->addend;
172 sym_addr += sym_vma + q->addend;
181 sym_addr += sym_vma + q->addend;
[all …]
/OK3568_Linux_fs/kernel/fs/nfs/
H A Diostat.h40 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()
/OK3568_Linux_fs/kernel/arch/ia64/include/asm/
H A Delf.h50 #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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/xscale/
H A Dptp_ixp46x.c127 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, &regs->addend); in ptp_ixp_adjfreq()
302 __raw_writel(DEFAULT_ADDEND, &ixp_clock.regs->addend); in ptp_ixp_init()
H A Dixp46x_ts.h28 u32 addend; /* 0x08 Time Sync Addend Register */ member
/OK3568_Linux_fs/buildroot/package/binutils/2.37/
H A D0007-i386-Allow-GOT32-relocations-against-ABS-symbols.patch6 GOT32 relocations are allowed since absolute value + addend is stored in
28 - resolved as absolute value + addend. GOTPCREL relocations
29 - are allowed since absolute value + addend is stored in the
31 + resolved as absolute value + addend. GOTPCREL and GOT32
32 + relocations are allowed since absolute value + addend is
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_map_data.c49 __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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ptp.c26 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()
H A Dstmmac_hwtstamp.c76 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()
/OK3568_Linux_fs/kernel/include/linux/netfilter/
H A Dx_tables.h365 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/renesas/
H A Dravb_ptp.c97 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()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dchecksum.h94 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()
/OK3568_Linux_fs/kernel/drivers/ptp/
H A Dptp_pch.c45 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, &regs->addend); in ptp_pch_adjfreq()
607 iowrite32(DEFAULT_ADDEND, &chip->regs->addend); in pch_probe()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/nss/nss/
H A Dpqg.c-ULL_addend.patch8 if (addend < MP_DIGIT_MAX) {
26 - unsigned long addend,
28 + unsigned long long addend,
/OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ptp.c144 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()
/OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qtwebkit/
H A Dmips-atomic.patch5 int64_t __sync_add_and_fetch_8(int64_t volatile* addend, int64_t value)
7 int64_t __sync_sub_and_fetch_8(int64_t volatile* addend, int64_t value)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/as.html/
H A DReloc.html77 <var>expression</var>, if present, must resolve to a symbol plus addend or to an
78 absolute value, but note that not all targets support an addend. e.g. ELF REL
79 targets such as i386 store an addend in the section contents rather than in the
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/as.html/
H A DReloc.html77 <var>expression</var>, if present, must resolve to a symbol plus addend or to an
78 absolute value, but note that not all targets support an addend. e.g. ELF REL
79 targets such as i386 store an addend in the section contents rather than in the
/OK3568_Linux_fs/kernel/net/sched/
H A Dcls_flow.c52 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()
/OK3568_Linux_fs/kernel/lib/mpi/
H A Dgeneric_mpih-add1.c40 y += cy; /* add previous carry to one addend */ in mpihelp_add_n()
42 y += x; /* add other addend */ in mpihelp_add_n()

12345