Home
last modified time | relevance | path

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

12

/Linux-v6.6/security/apparmor/include/
Dperms.h105 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()
115 accum->prompt |= addend->prompt & ~addend->allow & ~addend->deny; in aa_perms_accum_raw()
[all …]
/Linux-v6.6/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-v6.6/arch/parisc/kernel/
Dmodule.c348 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
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()
483 stub->insns[1] |= reassemble_14(rrsel(value, addend)); in get_stub()
490 stub->insns[0] |= reassemble_21(lrsel(value, addend)); in get_stub()
491 stub->insns[1] |= reassemble_14(rrsel(value, addend)); in get_stub()
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/net/dsa/hirschmann/
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()
/Linux-v6.6/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-v6.6/tools/objtool/include/objtool/
Delf.h127 s64 addend);
252 static inline void set_reloc_addend(struct elf *elf, struct reloc *reloc, s64 addend) in set_reloc_addend() argument
254 __set_reloc_field(reloc, r_addend, addend); in set_reloc_addend()
Darch.h84 unsigned long arch_dest_reloc_offset(int addend);
/Linux-v6.6/tools/objtool/
Delf.c853 s64 addend, unsigned int type) in elf_init_reloc() argument
877 set_reloc_addend(elf, reloc, addend); in elf_init_reloc()
893 int addend = insn_off; in elf_init_reloc_text_sym() local
915 return elf_init_reloc(elf, sec->rsec, reloc_idx, offset, sym, addend, in elf_init_reloc_text_sym()
923 s64 addend) in elf_init_reloc_data_sym() argument
931 return elf_init_reloc(elf, sec->rsec, reloc_idx, offset, sym, addend, in elf_init_reloc_data_sym()

12