Home
last modified time | relevance | path

Searched defs:r (Results 1 – 25 of 379) 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.h15 #define UPT_SYSCALL_ARG1(r) UPT_BX(r) argument
16 #define UPT_SYSCALL_ARG2(r) UPT_CX(r) argument
17 #define UPT_SYSCALL_ARG3(r) UPT_DX(r) argument
18 #define UPT_SYSCALL_ARG4(r) UPT_SI(r) argument
19 #define UPT_SYSCALL_ARG5(r) UPT_DI(r) argument
20 #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/arm64/include/asm/
Dkvm_hyp.h18 #define read_sysreg_elx(r,nvh,vh) \ argument
28 #define write_sysreg_elx(v,r,nvh,vh) \ argument
43 #define read_sysreg_el0(r) read_sysreg_elx(r, _EL0, _EL02) argument
44 #define write_sysreg_el0(v,r) write_sysreg_elx(v, r, _EL0, _EL02) argument
45 #define read_sysreg_el1(r) read_sysreg_elx(r, _EL1, _EL12) argument
46 #define write_sysreg_el1(v,r) write_sysreg_elx(v, r, _EL1, _EL12) argument
47 #define read_sysreg_el2(r) read_sysreg_elx(r, _EL2, _EL1) argument
48 #define write_sysreg_el2(v,r) write_sysreg_elx(v, r, _EL2, _EL1) argument
/arch/x86/include/asm/
Drefcount.h42 static __always_inline void refcount_add(unsigned int i, refcount_t *r) in refcount_add()
51 static __always_inline void refcount_inc(refcount_t *r) in refcount_inc()
59 static __always_inline void refcount_dec(refcount_t *r) in refcount_dec()
68 bool refcount_sub_and_test(unsigned int i, refcount_t *r) in refcount_sub_and_test()
82 static __always_inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test()
97 bool refcount_add_not_zero(unsigned int i, refcount_t *r) in refcount_add_not_zero()
121 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.h75 #define PPC_LBZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LBZ(r, base, i); \ argument
79 #define PPC_LD_OFFS(r, base, i) do { if ((i) < 32768) PPC_LD(r, base, i); \ argument
83 #define PPC_LWZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LWZ(r, base, i); \ argument
87 #define PPC_LHZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LHZ(r, base, i); \ argument
92 #define PPC_LL_OFFS(r, base, i) do { PPC_LD_OFFS(r, base, i); } while(0) argument
94 #define PPC_LL_OFFS(r, base, i) do { PPC_LWZ_OFFS(r, base, i); } while(0) argument
99 #define PPC_BPF_LOAD_CPU(r) \ argument
104 #define PPC_BPF_LOAD_CPU(r) \ argument
110 #define PPC_BPF_LOAD_CPU(r) do { PPC_LI(r, 0); } while(0) argument
113 #define PPC_LHBRX_OFFS(r, base, i) \ argument
[all …]
Dbpf_jit64.h71 #define PPC_BPF_LL(r, base, i) do { \ argument
78 #define PPC_BPF_STL(r, base, i) do { \ argument
85 #define PPC_BPF_STLU(r, base, i) do { PPC_STDU(r, base, i); } while(0) argument
/arch/x86/kernel/cpu/resctrl/
Dcore.c176 static unsigned int cbm_idx(struct rdt_resource *r, unsigned int closid) in cbm_idx()
201 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3]; in cache_alloc_hsw_probe() local
224 bool is_mba_sc(struct rdt_resource *r) in is_mba_sc()
242 static inline bool rdt_get_mb_table(struct rdt_resource *r) in rdt_get_mb_table()
253 static bool __get_mem_config_intel(struct rdt_resource *r) in __get_mem_config_intel()
279 static bool __rdt_get_mem_config_amd(struct rdt_resource *r) in __rdt_get_mem_config_amd()
303 static void rdt_get_cache_alloc_cfg(int idx, struct rdt_resource *r) in rdt_get_cache_alloc_cfg()
322 struct rdt_resource *r = &rdt_resources_all[type]; in rdt_get_cdp_config() local
363 mba_wrmsr_amd(struct rdt_domain *d, struct msr_param *m, struct rdt_resource *r) in mba_wrmsr_amd()
376 u32 delay_bw_map(unsigned long bw, struct rdt_resource *r) in delay_bw_map()
[all …]
Dctrlmondata.c31 struct rdt_resource *r) in bw_validate_amd()
52 int parse_bw_amd(struct rdt_parse_data *data, struct rdt_resource *r, in parse_bw_amd()
77 static bool bw_validate(char *buf, unsigned long *data, struct rdt_resource *r) in bw_validate()
107 int parse_bw_intel(struct rdt_parse_data *data, struct rdt_resource *r, in parse_bw_intel()
131 bool cbm_validate_intel(char *buf, u32 *data, struct rdt_resource *r) in cbm_validate_intel()
170 bool cbm_validate_amd(char *buf, u32 *data, struct rdt_resource *r) in cbm_validate_amd()
194 int parse_cbm(struct rdt_parse_data *data, struct rdt_resource *r, in parse_cbm()
254 static int parse_line(char *line, struct rdt_resource *r, in parse_line()
305 int update_domains(struct rdt_resource *r, int closid) in update_domains()
353 struct rdt_resource *r; in rdtgroup_parse_resource() local
[all …]
Drdtgroup.c103 struct rdt_resource *r; in closid_init() local
302 struct rdtgroup *r = info; in update_cpu_closid_rmid() local
323 update_closid_rmid(const struct cpumask *cpu_mask, struct rdtgroup *r) in update_closid_rmid()
376 static void cpumask_rdtgrp_clear(struct rdtgroup *r, struct cpumask *m) in cpumask_rdtgrp_clear()
389 struct rdtgroup *r, *crgrp; in cpus_ctrl_write() local
597 int rdtgroup_tasks_assigned(struct rdtgroup *r) in rdtgroup_tasks_assigned()
699 static void show_rdt_tasks(struct rdtgroup *r, struct seq_file *s) in show_rdt_tasks()
746 struct rdt_resource *r = of->kn->parent->priv; in rdt_num_closids_show() local
755 struct rdt_resource *r = of->kn->parent->priv; in rdt_default_ctrl_show() local
764 struct rdt_resource *r = of->kn->parent->priv; in rdt_min_cbm_bits_show() local
[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/arm64/kvm/
Dvgic-sys-reg-v3.c14 const struct sys_reg_desc *r) in access_gic_ctlr()
88 const struct sys_reg_desc *r) in access_gic_pmr()
104 const struct sys_reg_desc *r) in access_gic_bpr0()
122 const struct sys_reg_desc *r) in access_gic_bpr1()
148 const struct sys_reg_desc *r) in access_gic_grpen0()
166 const struct sys_reg_desc *r) in access_gic_grpen1()
201 const struct sys_reg_desc *r, u8 apr) in access_gic_aprn()
218 const struct sys_reg_desc *r) in access_gic_ap0r()
225 const struct sys_reg_desc *r) in access_gic_ap1r()
231 const struct sys_reg_desc *r) in access_gic_sre()
[all …]
Dsys_regs.c50 const struct sys_reg_desc *r) in read_from_write_only()
60 const struct sys_reg_desc *r) in write_to_read_only()
181 const struct sys_reg_desc *r) in access_dcsw()
206 const struct sys_reg_desc *r) in access_vm_reg()
242 const struct sys_reg_desc *r) in access_gic_sgi()
287 const struct sys_reg_desc *r) in access_gic_sre()
298 const struct sys_reg_desc *r) in trap_raz_wi()
314 const struct sys_reg_desc *r) in trap_loregion()
333 const struct sys_reg_desc *r) in trap_oslsr_el1()
345 const struct sys_reg_desc *r) in trap_dbgauthstatus_el1()
[all …]
Dsys_regs_generic_v8.c25 const struct sys_reg_desc *r) in access_actlr()
34 static void reset_actlr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_actlr()
/arch/powerpc/platforms/ps3/
Dmm.c214 static int ps3_mm_get_repository_highmem(struct mem_region *r) in ps3_mm_get_repository_highmem()
244 static int ps3_mm_set_repository_highmem(const struct mem_region *r) in ps3_mm_set_repository_highmem()
261 static int ps3_mm_region_create(struct mem_region *r, unsigned long size) in ps3_mm_region_create()
302 static void ps3_mm_region_destroy(struct mem_region *r) in ps3_mm_region_destroy()
333 static unsigned long dma_sb_lpar_to_bus(struct ps3_dma_region *r, in dma_sb_lpar_to_bus()
344 static void __maybe_unused _dma_dump_region(const struct ps3_dma_region *r, in _dma_dump_region()
393 static struct dma_chunk * dma_find_chunk(struct ps3_dma_region *r, in dma_find_chunk()
422 static struct dma_chunk *dma_find_chunk_lpar(struct ps3_dma_region *r, in dma_find_chunk_lpar()
472 struct ps3_dma_region *r = c->region; in dma_ioc0_free_chunk() local
509 static int dma_sb_map_pages(struct ps3_dma_region *r, unsigned long phys_addr, in dma_sb_map_pages()
[all …]
/arch/arm/kvm/
Dcoproc.c63 const struct coproc_reg *r, in vcpu_cp15_reg64_set()
71 const struct coproc_reg *r) in vcpu_cp15_reg64_get()
103 static void reset_mpidr(struct kvm_vcpu *vcpu, const struct coproc_reg *r) in reset_mpidr()
118 const struct coproc_reg *r) in access_actlr()
130 const struct coproc_reg *r) in access_cbar()
140 const struct coproc_reg *r) in access_l2ctlr()
149 static void reset_l2ctlr(struct kvm_vcpu *vcpu, const struct coproc_reg *r) in reset_l2ctlr()
165 static void reset_actlr(struct kvm_vcpu *vcpu, const struct coproc_reg *r) in reset_actlr()
186 const struct coproc_reg *r) in access_l2ectlr()
200 const struct coproc_reg *r) in access_dcsw()
[all …]
/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/mips/mm/
Dtlbex.c201 static void uasm_bgezl_hazard(u32 **p, struct uasm_reloc **r, int instance) in uasm_bgezl_hazard()
335 int r; in allocate_kscratch() local
357 struct work_registers r; in build_get_work_registers() local
499 struct uasm_reloc **r, in build_tlb_write_entry()
651 static void build_restore_pagemask(u32 **p, struct uasm_reloc **r, in build_restore_pagemask()
700 struct uasm_reloc **r, in build_huge_tlb_write_entry()
719 build_is_huge_pte(u32 **p, struct uasm_reloc **r, unsigned int tmp, in build_is_huge_pte()
762 static void build_huge_handler_tail(u32 **p, struct uasm_reloc **r, in build_huge_handler_tail()
801 void build_get_pmde64(u32 **p, struct uasm_label **l, struct uasm_reloc **r, in build_get_pmde64()
892 build_get_pgd_vmalloc64(u32 **p, struct uasm_label **l, struct uasm_reloc **r, in build_get_pgd_vmalloc64()
[all …]
/arch/x86/platform/olpc/
Dolpc-xo1-sci.c177 int r; in process_sci_queue() local
318 int r; in setup_sci_interrupt() local
358 int r; in setup_ec_sci() local
402 int r; in setup_lid_events() local
439 int r; in setup_power_button() local
469 int r; in setup_ebook_switch() local
499 int r; in setup_lid_switch() local
534 int r; in xo1_sci_probe() local
/arch/mips/netlogic/xlp/
Dcop2-ex.c32 void nlm_cop2_save(struct nlm_cop2_state *r) in nlm_cop2_save()
61 void nlm_cop2_restore(struct nlm_cop2_state *r) in nlm_cop2_restore()
/arch/mips/bmips/
Ddma.c45 struct bmips_dma_range *r; in __phys_to_dma() local
57 struct bmips_dma_range *r; in __dma_to_phys() local
88 struct bmips_dma_range *r; in bmips_init_dma_ranges() local
/arch/powerpc/mm/book3s32/
Dhash_low.S298 #define TST_V(r) rlwinm. r,r,0,0,0 argument
299 #define SET_V(r) oris r,r,PTE_V@h argument
300 #define CLR_V(r,t) rlwinm r,r,0,1,31 argument
/arch/mips/alchemy/common/
Dusb.c100 unsigned long r, s; in __au1300_usb_phyctl() local
125 unsigned long r; in __au1300_ohci_control() local
165 unsigned long r; in __au1300_ehci_control() local
206 unsigned long r; in __au1300_udc_control() local
237 unsigned long r; in __au1300_otg_control() local
318 unsigned long r = __raw_readl(base + AU1200_USBCFG); in __au1200_ohci_control() local
332 unsigned long r = __raw_readl(base + AU1200_USBCFG); in __au1200_ehci_control() local
348 unsigned long r = __raw_readl(base + AU1200_USBCFG); in __au1200_udc_control() local
395 unsigned long r = __raw_readl(base); in au1000_usb_init() local
428 unsigned long r = __raw_readl(base + creg); in __au1xx0_ohci_control() local

12345678910>>...16