Home
last modified time | relevance | path

Searched defs:r (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/arch/x86/um/shared/sysdep/
Dptrace.h11 #define REGS_IP(r) ((r)[HOST_IP]) argument
12 #define REGS_SP(r) ((r)[HOST_SP]) argument
13 #define REGS_EFLAGS(r) ((r)[HOST_EFLAGS]) argument
14 #define REGS_AX(r) ((r)[HOST_AX]) argument
15 #define REGS_BX(r) ((r)[HOST_BX]) argument
16 #define REGS_CX(r) ((r)[HOST_CX]) argument
17 #define REGS_DX(r) ((r)[HOST_DX]) argument
18 #define REGS_SI(r) ((r)[HOST_SI]) argument
19 #define REGS_DI(r) ((r)[HOST_DI]) argument
20 #define REGS_BP(r) ((r)[HOST_BP]) argument
[all …]
Dptrace_64.h13 #define REGS_R8(r) ((r)[HOST_R8]) argument
14 #define REGS_R9(r) ((r)[HOST_R9]) argument
15 #define REGS_R10(r) ((r)[HOST_R10]) argument
16 #define REGS_R11(r) ((r)[HOST_R11]) argument
17 #define REGS_R12(r) ((r)[HOST_R12]) argument
18 #define REGS_R13(r) ((r)[HOST_R13]) argument
19 #define REGS_R14(r) ((r)[HOST_R14]) argument
20 #define REGS_R15(r) ((r)[HOST_R15]) argument
44 #define UPT_R8(r) REGS_R8((r)->gp) argument
45 #define UPT_R9(r) REGS_R9((r)->gp) argument
[all …]
Dptrace_32.h17 #define UPT_SYSCALL_ARG1(r) UPT_BX(r) argument
18 #define UPT_SYSCALL_ARG2(r) UPT_CX(r) argument
19 #define UPT_SYSCALL_ARG3(r) UPT_DX(r) argument
20 #define UPT_SYSCALL_ARG4(r) UPT_SI(r) argument
21 #define UPT_SYSCALL_ARG5(r) UPT_DI(r) argument
22 #define UPT_SYSCALL_ARG6(r) UPT_BP(r) argument
/arch/x86/um/asm/
Dptrace.h11 #define user_mode(r) UPT_IS_USER(&(r)->regs) argument
13 #define PT_REGS_AX(r) UPT_AX(&(r)->regs) argument
14 #define PT_REGS_BX(r) UPT_BX(&(r)->regs) argument
15 #define PT_REGS_CX(r) UPT_CX(&(r)->regs) argument
16 #define PT_REGS_DX(r) UPT_DX(&(r)->regs) argument
18 #define PT_REGS_SI(r) UPT_SI(&(r)->regs) argument
19 #define PT_REGS_DI(r) UPT_DI(&(r)->regs) argument
20 #define PT_REGS_BP(r) UPT_BP(&(r)->regs) argument
21 #define PT_REGS_EFLAGS(r) UPT_EFLAGS(&(r)->regs) argument
23 #define PT_REGS_CS(r) UPT_CS(&(r)->regs) argument
[all …]
/arch/x86/include/asm/
Drefcount.h41 static __always_inline void refcount_add(unsigned int i, refcount_t *r) in refcount_add()
50 static __always_inline void refcount_inc(refcount_t *r) in refcount_inc()
58 static __always_inline void refcount_dec(refcount_t *r) in refcount_dec()
67 bool refcount_sub_and_test(unsigned int i, refcount_t *r) in refcount_sub_and_test()
73 static __always_inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test()
80 bool refcount_add_not_zero(unsigned int i, refcount_t *r) in refcount_add_not_zero()
104 static __always_inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero()
/arch/mips/include/asm/
Dcop2.h19 #define cop2_save(r) octeon_cop2_save(&(r)->thread.cp2) argument
20 #define cop2_restore(r) octeon_cop2_restore(&(r)->thread.cp2) argument
30 #define cop2_save(r) nlm_cop2_save(&(r)->thread.cp2) argument
31 #define cop2_restore(r) nlm_cop2_restore(&(r)->thread.cp2) argument
40 #define cop2_save(r) do { (void)(r); } while (0) argument
41 #define cop2_restore(r) do { (void)(r); } while (0) argument
47 #define cop2_save(r) do { (void)(r); } while (0) argument
48 #define cop2_restore(r) do { (void)(r); } while (0) argument
/arch/powerpc/net/
Dbpf_jit32.h78 #define PPC_LBZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LBZ(r, base, i); \ argument
82 #define PPC_LD_OFFS(r, base, i) do { if ((i) < 32768) PPC_LD(r, base, i); \ argument
86 #define PPC_LWZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LWZ(r, base, i); \ argument
90 #define PPC_LHZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LHZ(r, base, i); \ argument
95 #define PPC_LL_OFFS(r, base, i) do { PPC_LD_OFFS(r, base, i); } while(0) argument
97 #define PPC_LL_OFFS(r, base, i) do { PPC_LWZ_OFFS(r, base, i); } while(0) argument
102 #define PPC_BPF_LOAD_CPU(r) \ argument
107 #define PPC_BPF_LOAD_CPU(r) \ argument
114 #define PPC_BPF_LOAD_CPU(r) do { PPC_LI(r, 0); } while(0) argument
117 #define PPC_LHBRX_OFFS(r, base, i) \ argument
[all …]
/arch/mn10300/unit-asb2303/include/unit/
Dsmc91111.h27 #define SMC_inb(a, r) inb((unsigned long) ((a) + (r))) argument
28 #define SMC_outb(v, a, r) outb(v, (unsigned long) ((a) + (r))) argument
32 #define SMC_inw(a, r) inw((unsigned long) ((a) + (r))) argument
33 #define SMC_outw(lp, v, a, r) outw(v, (unsigned long) ((a) + (r))) argument
34 #define SMC_insw(a, r, p, l) insw((unsigned long) ((a) + (r)), (p), (l)) argument
35 #define SMC_outsw(a, r, p, l) outsw((unsigned long) ((a) + (r)), (p), (l)) argument
39 #define SMC_inl(a, r) inl((unsigned long) ((a) + (r))) argument
40 #define SMC_outl(v, a, r) outl(v, (unsigned long) ((a) + (r))) argument
41 #define SMC_insl(a, r, p, l) insl((unsigned long) ((a) + (r)), (p), (l)) argument
42 #define SMC_outsl(a, r, p, l) outsl((unsigned long) ((a) + (r)), (p), (l)) argument
/arch/x86/kernel/cpu/
Dintel_rdt.c152 static unsigned int cbm_idx(struct rdt_resource *r, unsigned int closid) in cbm_idx()
177 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3]; in cache_alloc_hsw_probe() local
209 static inline bool rdt_get_mb_table(struct rdt_resource *r) in rdt_get_mb_table()
220 static bool rdt_get_mem_config(struct rdt_resource *r) in rdt_get_mem_config()
246 static void rdt_get_cache_alloc_cfg(int idx, struct rdt_resource *r) in rdt_get_cache_alloc_cfg()
265 struct rdt_resource *r = &rdt_resources_all[type]; in rdt_get_cdp_l3_config() local
298 static u32 delay_bw_map(unsigned long bw, struct rdt_resource *r) in delay_bw_map()
308 mba_wrmsr(struct rdt_domain *d, struct msr_param *m, struct rdt_resource *r) in mba_wrmsr()
318 cat_wrmsr(struct rdt_domain *d, struct msr_param *m, struct rdt_resource *r) in cat_wrmsr()
326 struct rdt_domain *get_domain_from_cpu(int cpu, struct rdt_resource *r) in get_domain_from_cpu()
[all …]
Dintel_rdt_ctrlmondata.c37 static bool bw_validate(char *buf, unsigned long *data, struct rdt_resource *r) in bw_validate()
59 int parse_bw(char *buf, struct rdt_resource *r, struct rdt_domain *d) in parse_bw()
80 static bool cbm_validate(char *buf, unsigned long *data, struct rdt_resource *r) in cbm_validate()
110 int parse_cbm(char *buf, struct rdt_resource *r, struct rdt_domain *d) in parse_cbm()
131 static int parse_line(char *line, struct rdt_resource *r) in parse_line()
155 static int update_domains(struct rdt_resource *r, int closid) in update_domains()
193 struct rdt_resource *r; in rdtgroup_parse_resource() local
207 struct rdt_resource *r; in rdtgroup_schemata_write() local
251 static void show_doms(struct seq_file *s, struct rdt_resource *r, int closid) in show_doms()
271 struct rdt_resource *r; in rdtgroup_schemata_show() local
[all …]
Dintel_rdt_rdtgroup.c73 struct rdt_resource *r; in closid_init() local
202 struct rdtgroup *r = info; in update_cpu_closid_rmid() local
223 update_closid_rmid(const struct cpumask *cpu_mask, struct rdtgroup *r) in update_closid_rmid()
274 static void cpumask_rdtgrp_clear(struct rdtgroup *r, struct cpumask *m) in cpumask_rdtgrp_clear()
287 struct rdtgroup *r, *crgrp; in cpus_ctrl_write() local
543 static void show_rdt_tasks(struct rdtgroup *r, struct seq_file *s) in show_rdt_tasks()
575 struct rdt_resource *r = of->kn->parent->priv; in rdt_num_closids_show() local
584 struct rdt_resource *r = of->kn->parent->priv; in rdt_default_ctrl_show() local
593 struct rdt_resource *r = of->kn->parent->priv; in rdt_min_cbm_bits_show() local
602 struct rdt_resource *r = of->kn->parent->priv; in rdt_shareable_bits_show() local
[all …]
Dintel_rdt_monitor.c122 struct rdt_resource *r; in __check_limbo() local
150 bool has_busy_rmid(struct rdt_resource *r, struct rdt_domain *d) in has_busy_rmid()
178 struct rdt_resource *r; in add_rmid_to_limbo() local
329 struct rdt_resource *r; in cqm_handle_limbo() local
354 struct rdt_resource *r; in cqm_setup_limbo_handler() local
408 static int dom_data_init(struct rdt_resource *r) in dom_data_init()
458 static void l3_mon_evt_init(struct rdt_resource *r) in l3_mon_evt_init()
470 int rdt_get_mon_l3_config(struct rdt_resource *r) in rdt_get_mon_l3_config()
/arch/arm64/include/asm/
Dkvm_hyp.h28 #define read_sysreg_elx(r,nvh,vh) \ argument
40 #define write_sysreg_elx(v,r,nvh,vh) \ argument
56 #define read_sysreg_el2(r) \ argument
66 #define write_sysreg_el2(v,r) \ argument
75 #define read_sysreg_el0(r) read_sysreg_elx(r, _EL0, _EL02) argument
76 #define write_sysreg_el0(v,r) write_sysreg_elx(v, r, _EL0, _EL02) argument
77 #define read_sysreg_el1(r) read_sysreg_elx(r, _EL1, _EL12) argument
78 #define write_sysreg_el1(v,r) write_sysreg_elx(v, r, _EL1, _EL12) argument
/arch/arm64/kvm/
Dvgic-sys-reg-v3.c22 const struct sys_reg_desc *r) in access_gic_ctlr()
96 const struct sys_reg_desc *r) in access_gic_pmr()
112 const struct sys_reg_desc *r) in access_gic_bpr0()
130 const struct sys_reg_desc *r) in access_gic_bpr1()
156 const struct sys_reg_desc *r) in access_gic_grpen0()
174 const struct sys_reg_desc *r) in access_gic_grpen1()
209 const struct sys_reg_desc *r, u8 apr) in access_gic_aprn()
226 const struct sys_reg_desc *r) in access_gic_ap0r()
233 const struct sys_reg_desc *r) in access_gic_ap1r()
239 const struct sys_reg_desc *r) in access_gic_sre()
[all …]
Dsys_regs.c60 const struct sys_reg_desc *r) in read_from_write_only()
70 const struct sys_reg_desc *r) in write_to_read_only()
104 const struct sys_reg_desc *r) in access_dcsw()
120 const struct sys_reg_desc *r) in access_vm_reg()
146 const struct sys_reg_desc *r) in access_gic_sgi()
158 const struct sys_reg_desc *r) in access_gic_sre()
169 const struct sys_reg_desc *r) in trap_raz_wi()
179 const struct sys_reg_desc *r) in trap_oslsr_el1()
191 const struct sys_reg_desc *r) in trap_dbgauthstatus_el1()
230 const struct sys_reg_desc *r) in trap_debug_regs()
[all …]
/arch/um/include/asm/
Dptrace-generic.h21 #define PT_REGS_IP(r) UPT_IP(&(r)->regs) argument
22 #define PT_REGS_SP(r) UPT_SP(&(r)->regs) argument
24 #define PT_REGS_RESTART_SYSCALL(r) UPT_RESTART_SYSCALL(&(r)->regs) argument
26 #define PT_REGS_SYSCALL_NR(r) UPT_SYSCALL_NR(&(r)->regs) argument
/arch/powerpc/platforms/ps3/
Dmm.c226 static int ps3_mm_get_repository_highmem(struct mem_region *r) in ps3_mm_get_repository_highmem()
256 static int ps3_mm_set_repository_highmem(const struct mem_region *r) in ps3_mm_set_repository_highmem()
273 static int ps3_mm_region_create(struct mem_region *r, unsigned long size) in ps3_mm_region_create()
314 static void ps3_mm_region_destroy(struct mem_region *r) in ps3_mm_region_destroy()
345 static unsigned long dma_sb_lpar_to_bus(struct ps3_dma_region *r, in dma_sb_lpar_to_bus()
356 static void __maybe_unused _dma_dump_region(const struct ps3_dma_region *r, in _dma_dump_region()
405 static struct dma_chunk * dma_find_chunk(struct ps3_dma_region *r, in dma_find_chunk()
434 static struct dma_chunk *dma_find_chunk_lpar(struct ps3_dma_region *r, in dma_find_chunk_lpar()
484 struct ps3_dma_region *r = c->region; in dma_ioc0_free_chunk() local
521 static int dma_sb_map_pages(struct ps3_dma_region *r, unsigned long phys_addr, in dma_sb_map_pages()
[all …]
/arch/xtensa/include/asm/
Dtimex.h43 #define WSR_CCOUNT(r) asm volatile ("wsr %0, ccount" :: "a" (r)) argument
44 #define RSR_CCOUNT(r) asm volatile ("rsr %0, ccount" : "=a" (r)) argument
45 #define WSR_CCOMPARE(x,r) asm volatile ("wsr %0,"__stringify(SREG_CCOMPARE)"+"__stringify(x) :: "a"… argument
46 #define RSR_CCOMPARE(x,r) asm volatile ("rsr %0,"__stringify(SREG_CCOMPARE)"+"__stringify(x) : "=a"… argument
/arch/powerpc/include/asm/
Dpmac_feature.h367 #define MACIO_FCR32(macio, r) ((macio)->base + ((r) >> 2)) argument
368 #define MACIO_FCR8(macio, r) (((volatile u8 __iomem *)((macio)->base)) + (r)) argument
370 #define MACIO_IN32(r) (in_le32(MACIO_FCR32(macio,r))) argument
371 #define MACIO_OUT32(r,v) (out_le32(MACIO_FCR32(macio,r), (v))) argument
372 #define MACIO_BIS(r,v) (MACIO_OUT32((r), MACIO_IN32(r) | (v))) argument
373 #define MACIO_BIC(r,v) (MACIO_OUT32((r), MACIO_IN32(r) & ~(v))) argument
374 #define MACIO_IN8(r) (in_8(MACIO_FCR8(macio,r))) argument
375 #define MACIO_OUT8(r,v) (out_8(MACIO_FCR8(macio,r), (v))) argument
389 #define UN_REG(r) (uninorth_base + ((r) >> 2)) argument
390 #define UN_IN(r) (in_be32(UN_REG(r))) argument
[all …]
/arch/tile/kernel/
Dregs_32.S46 #define SAVE_REG(r) { sw r12, r; addi r12, r12, 4 } argument
47 #define LOAD_REG(r) { lw r, r12; addi r12, r12, 4 } argument
Dregs_64.S46 #define SAVE_REG(r) { st r12, r; addi r12, r12, 8 } argument
47 #define LOAD_REG(r) { ld r, r12; addi r12, r12, 8 } argument
/arch/arm/kvm/
Dcoproc.c75 const struct coproc_reg *r, in vcpu_cp15_reg64_set()
83 const struct coproc_reg *r) in vcpu_cp15_reg64_get()
115 static void reset_mpidr(struct kvm_vcpu *vcpu, const struct coproc_reg *r) in reset_mpidr()
130 const struct coproc_reg *r) in access_actlr()
142 const struct coproc_reg *r) in access_cbar()
152 const struct coproc_reg *r) in access_l2ctlr()
161 static void reset_l2ctlr(struct kvm_vcpu *vcpu, const struct coproc_reg *r) in reset_l2ctlr()
177 static void reset_actlr(struct kvm_vcpu *vcpu, const struct coproc_reg *r) in reset_actlr()
198 const struct coproc_reg *r) in access_l2ectlr()
212 const struct coproc_reg *r) in access_dcsw()
[all …]
/arch/x86/platform/olpc/
Dolpc-xo1-sci.c175 int r; in process_sci_queue() local
316 int r; in setup_sci_interrupt() local
356 int r; in setup_ec_sci() local
400 int r; in setup_lid_events() local
437 int r; in setup_power_button() local
467 int r; in setup_ebook_switch() local
497 int r; in setup_lid_switch() local
542 int r; in xo1_sci_probe() local
/arch/powerpc/sysdev/
Dmv64x60_dev.c37 struct resource r[2]; in mv64x60_mpsc_register_shared_pdev() local
91 struct resource r[5]; in mv64x60_mpsc_device_setup() local
217 struct resource r[2]; in mv64x60_eth_register_shared_pdev() local
244 struct resource r[1]; in mv64x60_eth_device_setup() local
340 struct resource r[2]; in mv64x60_i2c_device_setup() local
396 struct resource r; in mv64x60_wdt_device_setup() local
/arch/mips/mm/
Dtlbex.c200 static void uasm_bgezl_hazard(u32 **p, struct uasm_reloc **r, int instance) in uasm_bgezl_hazard()
332 int r; in allocate_kscratch() local
354 struct work_registers r; in build_get_work_registers() local
503 struct uasm_reloc **r, in build_tlb_write_entry()
656 static void build_restore_pagemask(u32 **p, struct uasm_reloc **r, in build_restore_pagemask()
705 struct uasm_reloc **r, in build_huge_tlb_write_entry()
724 build_is_huge_pte(u32 **p, struct uasm_reloc **r, unsigned int tmp, in build_is_huge_pte()
767 static void build_huge_handler_tail(u32 **p, struct uasm_reloc **r, in build_huge_handler_tail()
806 void build_get_pmde64(u32 **p, struct uasm_label **l, struct uasm_reloc **r, in build_get_pmde64()
897 build_get_pgd_vmalloc64(u32 **p, struct uasm_label **l, struct uasm_reloc **r, in build_get_pgd_vmalloc64()
[all …]

12345678910>>...16