Home
last modified time | relevance | path

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

12

/linux-6.12.1/security/apparmor/include/
Dperms.h108 struct aa_perms *addend) in aa_perms_accum_raw() argument
110 accum->deny |= addend->deny; in aa_perms_accum_raw()
111 accum->allow &= addend->allow & ~addend->deny; in aa_perms_accum_raw()
112 accum->audit |= addend->audit & addend->allow; in aa_perms_accum_raw()
113 accum->quiet &= addend->quiet & ~addend->allow; in aa_perms_accum_raw()
114 accum->kill |= addend->kill & ~addend->allow; in aa_perms_accum_raw()
115 accum->complain |= addend->complain & ~addend->allow & ~addend->deny; in aa_perms_accum_raw()
116 accum->cond |= addend->cond & ~addend->allow & ~addend->deny; in aa_perms_accum_raw()
117 accum->hide &= addend->hide & ~addend->allow; in aa_perms_accum_raw()
118 accum->prompt |= addend->prompt & ~addend->allow & ~addend->deny; in aa_perms_accum_raw()
[all …]
/linux-6.12.1/include/net/
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 …]
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()
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()
/linux-6.12.1/arch/parisc/kernel/
Dmodule.c336 static Elf64_Word get_got(struct module *me, unsigned long value, long addend) in get_got() argument
341 value += addend; in get_got()
392 static Elf_Addr get_stub(struct module *me, unsigned long value, long addend, in get_stub() argument
425 stub->insns[0] |= reassemble_21(lrsel(value, addend)); in get_stub()
426 stub->insns[1] |= reassemble_17(rrsel(value, addend) / 4); in get_stub()
450 d = get_got(me, value, addend); in get_stub()
470 stub->insns[0] |= reassemble_21(lrsel(value, addend)); in get_stub()
471 stub->insns[1] |= reassemble_14(rrsel(value, addend)); in get_stub()
478 stub->insns[0] |= reassemble_21(lrsel(value, addend)); in get_stub()
479 stub->insns[1] |= reassemble_14(rrsel(value, addend)); in get_stub()
[all …]
/linux-6.12.1/fs/nfs/
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()
/linux-6.12.1/arch/powerpc/include/asm/
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()
/linux-6.12.1/drivers/net/ethernet/renesas/
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()
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()
/linux-6.12.1/drivers/net/ethernet/xscale/
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()
Dixp46x_ts.h28 u32 addend; /* 0x08 Time Sync Addend Register */ member
/linux-6.12.1/include/linux/netfilter/
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()
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/
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()
/linux-6.12.1/tools/objtool/arch/powerpc/
Ddecode.c17 unsigned long arch_dest_reloc_offset(int addend) in arch_dest_reloc_offset() argument
19 return addend; in arch_dest_reloc_offset()
/linux-6.12.1/drivers/ptp/
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()
/linux-6.12.1/arch/sparc/include/asm/
Dchecksum_64.h133 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument
139 : "r" (addend), "0" (csum)); in csum_add()
Dchecksum_32.h199 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument
205 : "r" (addend), "0" (csum)); in csum_add()
/linux-6.12.1/arch/x86/include/asm/
Dchecksum_64.h178 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument
181 (__force unsigned)addend); in csum_add()
/linux-6.12.1/net/sched/
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()
/linux-6.12.1/drivers/net/dsa/hirschmann/
Dhellcreek_ptp.c136 u32 addend; in hellcreek_ptp_adjfine() local
158 addend = (u32)div_u64(adj, 15625); in hellcreek_ptp_adjfine()
160 addendh = (addend & 0xffff0000) >> 16; in hellcreek_ptp_adjfine()
161 addendl = addend & 0xffff; in hellcreek_ptp_adjfine()
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/
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()
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()
/linux-6.12.1/tools/objtool/include/objtool/
Delf.h129 s64 addend);
254 static inline void set_reloc_addend(struct elf *elf, struct reloc *reloc, s64 addend) in set_reloc_addend() argument
256 __set_reloc_field(reloc, r_addend, addend); in set_reloc_addend()
Darch.h84 unsigned long arch_dest_reloc_offset(int addend);
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/
Dicmps-accept.c249 static inline uint32_t csum_add(uint32_t csum, uint32_t addend) in csum_add() argument
253 res += addend; in csum_add()
254 return res + (res < addend); in csum_add()

12