Home
last modified time | relevance | path

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

12

/linux/security/apparmor/include/
H A Dperms.h105 * @addend: perms struct to add to @accum
108 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()
[all …]
/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 …]
/linux/arch/parisc/kernel/
H A Dmodule.c104 /* lrsel with rounding of addend to nearest 8k */
106 /* rrsel with rounding of addend to nearest 8k */
336 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
420 //value = *(unsigned long *)((value + addend) & ~3); /* why? */ in get_stub()
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()
[all …]
/linux/include/net/
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()
/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()
/linux/include/linux/netfilter/
H A Dx_tables.h356 unsigned int addend; in xt_write_recseq_begin() local
362 addend = (__this_cpu_read(xt_recseq.sequence) + 1) & 1; in xt_write_recseq_begin()
365 * This is kind of a write_seqcount_begin(), but addend is 0 or 1 in xt_write_recseq_begin()
366 * We dont check addend value to avoid a test and conditional jump, in xt_write_recseq_begin()
367 * since addend is most likely 1 in xt_write_recseq_begin()
369 __this_cpu_add(xt_recseq.sequence, addend); in xt_write_recseq_begin()
372 return addend; in xt_write_recseq_begin()
377 * @addend: return value from previous xt_write_recseq_begin()
383 static inline void xt_write_recseq_end(unsigned int addend) in xt_write_recseq_end() argument
385 /* this is kind of a write_seqcount_end(), but addend is 0 or 1 */ in xt_write_recseq_end()
[all …]
/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()
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-hwtstamp.c38 unsigned int addend) in xgbe_update_tstamp_addend() argument
42 /* Set the addend register value and tell the device */ in xgbe_update_tstamp_addend()
43 XGMAC_IOWRITE(pdata, MAC_TSAR, addend); in xgbe_update_tstamp_addend()
46 /* Wait for addend update to complete */ in xgbe_update_tstamp_addend()
52 "timed out updating timestamp addend register\n"); in xgbe_update_tstamp_addend()
379 /* Calculate the addend: in xgbe_init_ptp()
380 * addend = 2^32 / (PTP ref clock / (PTP clock based on SSINC)) in xgbe_init_ptp()
/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
/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c136 u32 addend; in hellcreek_ptp_adjfine() local
146 * register overflows. The value stored in the addend register is added in hellcreek_ptp_adjfine()
149 * addend value = (2^30 * accumulator_overflow_rate) / in hellcreek_ptp_adjfine()
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/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()
/linux/net/sched/
H A Dcls_flow.c53 u32 addend; member
329 classid = (classid >> f->rshift) + f->addend; in flow_classify()
468 fnew->addend = fold->addend; in flow_change()
537 fnew->addend = nla_get_u32(tb[TCA_FLOW_ADDEND]); in flow_change()
648 if (f->addend && in flow_dump()
649 nla_put_u32(skb, TCA_FLOW_ADDEND, f->addend)) in flow_dump()
/linux/include/linux/
H A Doverflow.h58 * @a: first addend
59 * @b: second addend
73 * @a: first addend
74 * @b: second addend
348 * @addend1: first addend
349 * @addend2: second addend
/linux/arch/mips/kernel/
H A Dmodule.c110 /* Sign extend the addend we extract from the lo insn. */ in apply_r_mips_lo16()
128 * where to find the low 16 bits of the addend needed in apply_r_mips_lo16()
183 /* retrieve & sign extend implicit addend if any */ in apply_r_mips_pc()
257 * @v: the value of the reloc, with addend for RELA-style
/linux/arch/arm64/kernel/
H A Dmodule-plts.c138 /* sort by type, symbol index and addend */ in cmp_rela()
150 * Entries are sorted by type, symbol index and addend. That means in duplicate_rel()
193 * the addend is zero: this allows us to record the PLT in count_plts()
331 * and addend in module_frob_arch_sections()
/linux/tools/objtool/include/objtool/
H A Delf.h132 s64 addend);
257 static inline void set_reloc_addend(struct elf *elf, struct reloc *reloc, s64 addend) in set_reloc_addend() argument
259 __set_reloc_field(reloc, r_addend, addend); in set_reloc_addend()
/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()
/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()
/linux/tools/testing/selftests/net/tcp_ao/
H A 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()
H A Dicmps-discard.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()
/linux/scripts/
H A Dgenerate_builtin_ranges.awk100 # is recorded here, to be used as an addend when processing vmlinux.o.map
277 # addend (often 0) for that section. This information is needed to handle
304 printf "[%s] ADDEND %016x - %016x = %016x\n", $1, addr, base, sect_addend[$1] >"/dev/stderr";
422 # If we do not know an addend for the object's section, we are interested in
/linux/arch/riscv/kernel/
H A Dmodule-sections.c66 /* sort by type, symbol index and addend */ in cmp_rela()
76 * Entries are sorted by type, symbol index and addend. That means in duplicate_rela()

12