Home
last modified time | relevance | path

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

12

/linux/security/apparmor/include/
H A Dperms.h108 const 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/arch/parisc/kernel/
H A 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/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.h52 int addend = 4; in gre_calc_hlen() local
55 addend += 4; in gre_calc_hlen()
57 addend += 4; in gre_calc_hlen()
59 addend += 4; in gre_calc_hlen()
60 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/tools/objtool/
H A Dklp-diff.c1348 s64 addend = reloc_addend(patched_reloc); in create_fake_symbols()
1399 if (!elf_create_reloc(e->out, sec, offset, sym, addend, reloc_type(patched_reloc)))
1491 klp_sym, addend, R_ABS64)) in validate_special_section_klp_reloc()
1497 #define dbg_clone_reloc(sec, offset, patched_sym, addend, export, klp) \ in validate_special_section_klp_reloc()
1500 addend >= 0 ? "+" : "-", labs(addend), \ in validate_special_section_klp_reloc()
1514 long addend = reloc_addend(patched_reloc); in validate_special_section_klp_reloc()
1520 dbg_clone_reloc(sec, offset, patched_sym, addend, export, klp); in validate_special_section_klp_reloc()
1551 const char *str = patched_sym->sec->data->d_buf + addend; in clone_special_section()
1555 addend in clone_special_sections()
1019 s64 addend = reloc_addend(patched_reloc); clone_reloc_klp() local
1132 dbg_clone_reloc(sec,offset,patched_sym,addend,export,klp) global() argument
1149 long addend = reloc_addend(patched_reloc); clone_reloc() local
1583 s64 addend; create_klp_sections() local
[all...]
H A Delf.c1048 struct symbol *sym, s64 addend, unsigned int type) in elf_init_reloc()
1072 set_reloc_addend(elf, reloc, addend); in elf_init_reloc_text_sym()
1088 s64 addend = insn_off; in elf_init_reloc_text_sym()
1107 return elf_init_reloc(elf, sec->rsec, reloc_idx, offset, sym, addend, in elf_init_reloc_data_sym()
1115 s64 addend) in read_relocs()
1122 return elf_init_reloc(elf, sec->rsec, reloc_idx, offset, sym, addend, in read_relocs()
1695 struct symbol *sym, s64 addend, in elf_create_section_pair()
1717 addend, type); in elf_write_insn()
1034 elf_init_reloc(struct elf * elf,struct section * rsec,unsigned int reloc_idx,unsigned long offset,struct symbol * sym,s64 addend,unsigned int type) elf_init_reloc() argument
1074 s64 addend = insn_off; elf_init_reloc_text_sym() local
1101 elf_init_reloc_data_sym(struct elf * elf,struct section * sec,unsigned long offset,unsigned int reloc_idx,struct symbol * sym,s64 addend) elf_init_reloc_data_sym() argument
1668 elf_create_reloc(struct elf * elf,struct section * sec,unsigned long offset,struct symbol * sym,s64 addend,unsigned int type) elf_create_reloc() argument
/linux/drivers/net/ethernet/xscale/
H A Dptp_ixp46x.c124 u32 addend; in ptp_ixp_adjfine() local
128 addend = adjust_by_scaled_ppm(DEFAULT_ADDEND, scaled_ppm); in ptp_ixp_adjfine()
130 __raw_writel(addend, &regs->addend); in ptp_ixp_adjfine()
282 __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/include/linux/netfilter/
H A Dx_tables.h379 unsigned int addend; in xt_write_recseq_begin() local
385 addend = (__this_cpu_read(xt_recseq.sequence) + 1) & 1; in xt_write_recseq_begin()
392 __this_cpu_add(xt_recseq.sequence, addend); in xt_write_recseq_begin()
395 return addend; in xt_write_recseq_begin()
406 static inline void xt_write_recseq_end(unsigned int addend) in xt_write_recseq_end() argument
410 __this_cpu_add(xt_recseq.sequence, addend); in xt_write_recseq_end()
/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/tools/objtool/arch/x86/
H A Ddecode.c92 s64 addend = reloc_addend(reloc); in arch_insn_adjusted_addend() local
95 addend += insn->offset + insn->len - reloc_offset(reloc); in arch_insn_adjusted_addend()
97 return phys_to_virt(addend); in arch_insn_adjusted_addend()
124 s64 addend = reloc_addend(reloc); in arch_adjusted_addend() local
129 return addend + 4; in arch_adjusted_addend()
132 return addend; in arch_adjusted_addend()
137 return addend + insn_off + insn_len - reloc_offset(reloc); in arch_adjusted_addend()
/linux/net/sched/
H A Dcls_flow.c54 u32 addend; member
334 classid = (classid >> f->rshift) + f->addend; in flow_classify()
473 fnew->addend = fold->addend; in flow_change()
550 fnew->addend = nla_get_u32(tb[TCA_FLOW_ADDEND]); in flow_change()
662 if (f->addend && in flow_dump()
663 nla_put_u32(skb, TCA_FLOW_ADDEND, f->addend)) in flow_dump()
/linux/drivers/net/ethernet/renesas/
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()
/linux/drivers/net/dsa/hirschmann/
H A 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/tools/objtool/include/objtool/
H A Delf.h186 s64 addend, unsigned int type); in sec_changed()
190 struct symbol *sym, s64 addend, unsigned int type);
202 s64 addend);
415 static inline void set_reloc_addend(struct elf *elf, struct reloc *reloc, s64 addend)
417 __set_reloc_field(reloc, r_addend, addend);
257 set_reloc_addend(struct elf * elf,struct reloc * reloc,s64 addend) set_reloc_addend() argument
H A Darch.h
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ptp.c30 u32 addend; in stmmac_adjust_freq() local
32 addend = adjust_by_scaled_ppm(priv->default_addend, scaled_ppm); in stmmac_adjust_freq()
35 stmmac_config_addend(priv, priv->ptpaddr, addend); in stmmac_adjust_freq()
/linux/net/ipv4/netfilter/
H A Darp_tables.c208 unsigned int addend; in arpt_do_table() local
217 addend = xt_write_recseq_begin(); in arpt_do_table()
292 xt_write_recseq_end(addend); in arpt_do_table()
932 unsigned int addend; in do_add_counters() local
953 addend = xt_write_recseq_begin(); in do_add_counters()
961 xt_write_recseq_end(addend); in do_add_counters()
/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 Drecordmcount.h427 uint_t const addend = in sift_rel_mcount() local
433 ((Elf_Rela *)mrelp)->r_addend = addend; in sift_rel_mcount()
436 *mlocp++ = addend; in sift_rel_mcount()
/linux/kernel/bpf/
H A Ddiagnostics.h19 const char *bpf_diag_fmt_s64_sum(struct bpf_verifier_env *env, s64 value, int addend);
/linux/net/ipv6/netfilter/
H A Dip6_tables.c262 unsigned int addend; in ip6t_do_table() local
281 addend = xt_write_recseq_begin(); in ip6t_do_table()
374 xt_write_recseq_end(addend); in ip6t_do_table()
1185 unsigned int addend; in do_add_counters() local
1204 addend = xt_write_recseq_begin(); in do_add_counters()
1212 xt_write_recseq_end(addend); in do_add_counters()

12