Home
last modified time | relevance | path

Searched refs:addend (Results 1 – 25 of 68) sorted by relevance

123

/openbmc/linux/security/apparmor/include/
H A Dperms.h108 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()
115 accum->prompt |= addend->prompt & ~addend->allow & ~addend->deny; in aa_perms_accum_raw()
116 accum->subtree |= addend->subtree & ~addend->deny; in aa_perms_accum_raw()
121 accum->tag = addend->tag; 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)
164 ptr->mibs[field] += addend; \
171 __SNMP_ADD_STATS64(mib, field, addend); \
183 ptr->mibs[basefield##OCTETS] += addend; \
196 #define __SNMP_ADD_STATS64(mib, field, addend) __SNMP_ADD_STATS(mib, field, addend) argument
197 #define SNMP_ADD_STATS64(mib, field, addend) SNMP_ADD_STATS(mib, field, addend) argument
198 #define SNMP_UPD_PO_STATS64(mib, basefield, addend) SNMP_UPD_PO_STATS(mib, basefield, addend) argument
[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/arch/parisc/kernel/
H A Dmodule.c353 value += addend; in get_got()
512 Elf32_Sword addend; in apply_relocate_add() local
603 val += addend; in apply_relocate_add()
618 val += addend; in apply_relocate_add()
658 Elf64_Sxword addend; in apply_relocate_add() local
690 loc, val, addend, in apply_relocate_add()
726 val += addend; in apply_relocate_add()
743 val += addend; in apply_relocate_add()
757 addend, val); in apply_relocate_add()
772 *loc64 = val + addend; in apply_relocate_add()
[all …]
/openbmc/qemu/tcg/
H A Dtcg-pool.c.inc26 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,
109 TCGLabelPoolData *n = new_pool_alloc(s, 8, rtype, label, addend);
[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/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/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/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/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()
/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()
379 __this_cpu_add(xt_recseq.sequence, addend); in xt_write_recseq_begin()
382 return addend; in xt_write_recseq_begin()
393 static inline void xt_write_recseq_end(unsigned int addend) in xt_write_recseq_end() argument
397 __this_cpu_add(xt_recseq.sequence, addend); in xt_write_recseq_end()
/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()
/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/linux/arch/sparc/include/asm/
H A Dchecksum_64.h133 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument
139 : "r" (addend), "0" (csum)); in csum_add()
H A Dchecksum_32.h199 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument
205 : "r" (addend), "0" (csum)); in csum_add()
/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/arch/x86/include/asm/
H A Dchecksum_64.h178 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument
181 (__force unsigned)addend); in csum_add()
/openbmc/linux/net/sched/
H A Dcls_flow.c53 u32 addend; member
329 classid = (classid >> f->rshift) + f->addend; in flow_classify()
467 fnew->addend = fold->addend; in flow_change()
536 fnew->addend = nla_get_u32(tb[TCA_FLOW_ADDEND]); in flow_change()
647 if (f->addend && in flow_dump()
648 nla_put_u32(skb, TCA_FLOW_ADDEND, f->addend)) in flow_dump()
/openbmc/qemu/block/
H A Dqcow2-refcount.c823 addend); in update_refcount()
879 refcount -= addend; in update_refcount()
881 refcount += addend; in update_refcount()
1255 assert(addend >= -1 && addend <= 1); in qcow2_update_snapshot_refcount()
1323 if (addend != 0) { in qcow2_update_snapshot_refcount()
1331 abs(addend), addend < 0, in qcow2_update_snapshot_refcount()
1358 if (addend != 0) { in qcow2_update_snapshot_refcount()
1360 bs, cluster_index, abs(addend), addend < 0, in qcow2_update_snapshot_refcount()
1386 if (addend > 0) { in qcow2_update_snapshot_refcount()
1399 if (addend != 0) { in qcow2_update_snapshot_refcount()
[all …]
/openbmc/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c131 u32 addend; in hellcreek_ptp_adjfine() local
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/qemu/include/exec/
H A Dtlb-common.h34 uintptr_t addend; member
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ptp.c29 u32 addend; in stmmac_adjust_freq() local
31 addend = adjust_by_scaled_ppm(priv->default_addend, scaled_ppm); in stmmac_adjust_freq()
34 stmmac_config_addend(priv, priv->ptpaddr, addend); in stmmac_adjust_freq()

123