Home
last modified time | relevance | path

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

12345

/openbmc/linux/security/apparmor/include/
H A Dperms.h102 * @addend - perms struct to add to @accum
105 struct aa_perms *addend) in aa_perms_accum_raw() argument
107 accum->deny |= addend->deny; in aa_perms_accum_raw()
108 accum->allow &= addend->allow & ~addend->deny; in aa_perms_accum_raw()
109 accum->audit |= addend->audit & addend->allow; in aa_perms_accum_raw()
110 accum->quiet &= addend->quiet & ~addend->allow; in aa_perms_accum_raw()
111 accum->kill |= addend->kill & ~addend->allow; in aa_perms_accum_raw()
112 accum->complain |= addend->complain & ~addend->allow & ~addend->deny; in aa_perms_accum_raw()
113 accum->cond |= addend->cond & ~addend->allow & ~addend->deny; in aa_perms_accum_raw()
114 accum->hide &= addend->hide & ~addend->allow; in aa_perms_accum_raw()
[all …]
/openbmc/linux/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.h59 static __always_inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument
62 res += (__force u32)addend; in csum_add()
63 return (__force __wsum)(res + (res < (__force u32)addend)); in csum_add()
67 static __always_inline __wsum csum_sub(__wsum csum, __wsum addend) in csum_sub() argument
69 return csum_add(csum, ~addend); in csum_sub()
72 static __always_inline __sum16 csum16_add(__sum16 csum, __be16 addend) in csum16_add() argument
76 res += (__force u16)addend; in csum16_add()
77 return (__force __sum16)(res + (res < (__force u16)addend)); in csum16_add()
80 static __always_inline __sum16 csum16_sub(__sum16 csum, __be16 addend) in csum16_sub() argument
82 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()
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/filters/
H A Dflow.json92 "name": "Add flow filter with map key addend ops",
103 …: "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key dst addend 0xff",
106 …r parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst addend 0xff baseclass",
125 …: "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key src addend 0xff",
128 …r parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys src addend 0xff baseclass",
147 …"$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key proto addend 0xff",
150 …parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys proto addend 0xff baseclass",
169 … filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key proto-src addend 0xff",
172 …nt ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys proto-src addend 0xff baseclass",
191 … filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key proto-dst addend 0xff",
[all …]
/openbmc/linux/arch/parisc/kernel/
H A Dmodule.c105 /* lrsel with rounding of addend to nearest 8k */
107 /* rrsel with rounding of addend to nearest 8k */
348 static Elf64_Word get_got(struct module *me, unsigned long value, long addend) in get_got() argument
353 value += addend; in get_got()
404 static Elf_Addr get_stub(struct module *me, unsigned long value, long addend, in get_stub() argument
432 //value = *(unsigned long *)((value + addend) & ~3); /* why? */ in get_stub()
437 stub->insns[0] |= reassemble_21(lrsel(value, addend)); in get_stub()
438 stub->insns[1] |= reassemble_17(rrsel(value, addend) / 4); in get_stub()
462 d = get_got(me, value, addend); in get_stub()
482 stub->insns[0] |= reassemble_21(lrsel(value, addend)); in get_stub()
[all …]
/openbmc/qemu/tcg/
H A Dtcg-pool.c.inc26 intptr_t addend;
34 tcg_insn_unit *label, intptr_t addend)
40 n->addend = addend;
69 tcg_insn_unit *label, intptr_t addend)
71 TCGLabelPoolData *n = new_pool_alloc(s, 1, rtype, label, addend);
78 intptr_t addend, tcg_target_ulong d0,
81 TCGLabelPoolData *n = new_pool_alloc(s, 2, rtype, label, addend);
89 intptr_t addend, tcg_target_ulong d0,
93 TCGLabelPoolData *n = new_pool_alloc(s, 4, rtype, label, addend);
103 intptr_t addend, tcg_target_ulong d0,
[all …]
/openbmc/linux/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 …]
/openbmc/linux/fs/nfs/
H A Diostat.h37 long addend) in nfs_add_server_stats() argument
39 this_cpu_add(server->io_stats->bytes[stat], addend); in nfs_add_server_stats()
44 long addend) in nfs_add_stats() argument
46 nfs_add_server_stats(NFS_SERVER(inode), stat, addend); in nfs_add_stats()
/openbmc/linux/drivers/net/ethernet/renesas/
H A Drcar_gen4_ptp.c33 s64 addend = ptp_priv->default_addend; in rcar_gen4_ptp_adjfine() local
38 diff = div_s64(addend * scaled_ppm_to_ppb(scaled_ppm), NSEC_PER_SEC); in rcar_gen4_ptp_adjfine()
39 addend = neg_adj ? addend - diff : addend + diff; in rcar_gen4_ptp_adjfine()
41 iowrite32(addend, ptp_priv->addr + ptp_priv->offs->increment); in rcar_gen4_ptp_adjfine()
H A Dravb_ptp.c97 u32 addend; in ravb_ptp_adjfine() local
100 addend = (u32)adjust_by_scaled_ppm(priv->ptp.default_addend, in ravb_ptp_adjfine()
105 priv->ptp.current_addend = addend; in ravb_ptp_adjfine()
112 ravb_write(ndev, addend & GTI_TIV, GTI); in ravb_ptp_adjfine()
/openbmc/linux/include/linux/netfilter/
H A Dx_tables.h366 unsigned int addend; in xt_write_recseq_begin() local
372 addend = (__this_cpu_read(xt_recseq.sequence) + 1) & 1; in xt_write_recseq_begin()
375 * This is kind of a write_seqcount_begin(), but addend is 0 or 1 in xt_write_recseq_begin()
376 * We dont check addend value to avoid a test and conditional jump, in xt_write_recseq_begin()
377 * since addend is most likely 1 in xt_write_recseq_begin()
379 __this_cpu_add(xt_recseq.sequence, addend); in xt_write_recseq_begin()
382 return addend; in xt_write_recseq_begin()
387 * @addend: return value from previous xt_write_recseq_begin()
393 static inline void xt_write_recseq_end(unsigned int addend) in xt_write_recseq_end() argument
395 /* this is kind of a write_seqcount_end(), but addend is 0 or 1 */ in xt_write_recseq_end()
[all …]
/openbmc/openbmc/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,
/openbmc/linux/arch/powerpc/include/asm/
H A Dchecksum.h95 static __always_inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument
100 res += (__force u64)addend; in csum_add()
104 return addend; in csum_add()
105 if (__builtin_constant_p(addend) && addend == 0) in csum_add()
110 : "+r" (csum) : "r" (addend) : "xer"); in csum_add()
/openbmc/qemu/target/loongarch/tcg/
H A Dtranslate.c235 static TCGv make_address_x(DisasContext *ctx, TCGv base, TCGv addend) in make_address_x() argument
239 if (addend || ctx->va32) { in make_address_x()
242 if (addend) { in make_address_x()
243 tcg_gen_add_tl(temp, base, addend); in make_address_x()
255 TCGv addend = ofs ? tcg_constant_tl(ofs) : NULL; in make_address_i() local
256 return make_address_x(ctx, base, addend); in make_address_i()
/openbmc/linux/drivers/net/ethernet/xscale/
H A Dptp_ixp46x.c125 u32 addend; in ptp_ixp_adjfine() local
129 addend = adjust_by_scaled_ppm(DEFAULT_ADDEND, scaled_ppm); in ptp_ixp_adjfine()
131 __raw_writel(addend, &regs->addend); in ptp_ixp_adjfine()
280 __raw_writel(DEFAULT_ADDEND, &ixp_clock.regs->addend); in ptp_ixp_probe()
H A Dixp46x_ts.h28 u32 addend; /* 0x08 Time Sync Addend Register */ member
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ptp.c143 u64 addend; in xgbe_adjfine() local
145 addend = adjust_by_scaled_ppm(pdata->tstamp_addend, scaled_ppm); in xgbe_adjfine()
149 pdata->hw_if.update_tstamp_addend(pdata, addend); in xgbe_adjfine()
240 /* Calculate the addend: in xgbe_ptp_register()
241 * addend = 2^32 / (PTP ref clock / 50Mhz) in xgbe_ptp_register()
/openbmc/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c131 u32 addend; in hellcreek_ptp_adjfine() local
141 * register overflows. The value stored in the addend register is added in hellcreek_ptp_adjfine()
144 * addend value = (2^30 * accumulator_overflow_rate) / in hellcreek_ptp_adjfine()
153 addend = (u32)div_u64(adj, 15625); in hellcreek_ptp_adjfine()
155 addendh = (addend & 0xffff0000) >> 16; in hellcreek_ptp_adjfine()
156 addendl = addend & 0xffff; in hellcreek_ptp_adjfine()
/openbmc/linux/lib/crypto/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()
/openbmc/qemu/include/exec/
H A Dtlb-common.h31 * Addend to virtual address to get host address. IO accesses
34 uintptr_t addend; member
/openbmc/linux/drivers/ptp/
H A Dptp_pch.c48 u32 addend; member
341 u32 addend; in ptp_pch_adjfine() local
345 addend = adjust_by_scaled_ppm(DEFAULT_ADDEND, scaled_ppm); in ptp_pch_adjfine()
347 iowrite32(addend, &regs->addend); in ptp_pch_adjfine()
495 iowrite32(DEFAULT_ADDEND, &chip->regs->addend); in pch_probe()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_hwtstamp.c122 static int config_addend(void __iomem *ioaddr, u32 addend) in config_addend() argument
127 writel(addend, ioaddr + PTP_TAR); in config_addend()
128 /* issue command to update the addend value */ in config_addend()
133 /* wait for present addend update to complete */ in config_addend()
/openbmc/linux/tools/objtool/arch/powerpc/
H A Ddecode.c17 unsigned long arch_dest_reloc_offset(int addend) in arch_dest_reloc_offset() argument
19 return addend; in arch_dest_reloc_offset()
/openbmc/qemu/block/
H A Dqcow2-refcount.c40 int64_t offset, int64_t length, uint64_t addend,
808 /* @addend is the absolute value of the addend; if @decrease is set, @addend
812 uint64_t addend, bool decrease, enum qcow2_discard_type type) in update_refcount() argument
822 " addend=%s%" PRIu64 "\n", offset, length, decrease ? "-" : "", in update_refcount()
823 addend); in update_refcount()
871 if (decrease ? (refcount - addend > refcount) in update_refcount()
872 : (refcount + addend < refcount || in update_refcount()
873 refcount + addend > s->refcount_max)) in update_refcount()
879 refcount -= addend; in update_refcount()
881 refcount += addend; in update_refcount()
[all …]

12345