Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 396) sorted by relevance

12345678910>>...16

/arch/sparc/include/asm/
Dspitfire.h98 static inline unsigned long spitfire_get_dtlb_data(int entry) in spitfire_get_dtlb_data() argument
104 : "r" (entry << 3), "i" (ASI_DTLB_DATA_ACCESS)); in spitfire_get_dtlb_data()
112 static inline unsigned long spitfire_get_dtlb_tag(int entry) in spitfire_get_dtlb_tag() argument
118 : "r" (entry << 3), "i" (ASI_DTLB_TAG_READ)); in spitfire_get_dtlb_tag()
122 static inline void spitfire_put_dtlb_data(int entry, unsigned long data) in spitfire_put_dtlb_data() argument
127 : "r" (data), "r" (entry << 3), in spitfire_put_dtlb_data()
131 static inline unsigned long spitfire_get_itlb_data(int entry) in spitfire_get_itlb_data() argument
137 : "r" (entry << 3), "i" (ASI_ITLB_DATA_ACCESS)); in spitfire_get_itlb_data()
145 static inline unsigned long spitfire_get_itlb_tag(int entry) in spitfire_get_itlb_tag() argument
151 : "r" (entry << 3), "i" (ASI_ITLB_TAG_READ)); in spitfire_get_itlb_tag()
[all …]
Dpgtsun4c.h114 register unsigned long entry; in sun4c_get_segmap() local
117 "=r" (entry) : in sun4c_get_segmap()
120 return entry; in sun4c_get_segmap()
123 static inline void sun4c_put_segmap(unsigned long addr, unsigned long entry) in sun4c_put_segmap() argument
127 "r" (addr), "r" (entry), in sun4c_put_segmap()
134 register unsigned long entry; in sun4c_get_pte() local
137 "=r" (entry) : in sun4c_get_pte()
139 return entry; in sun4c_get_pte()
142 static inline void sun4c_put_pte(unsigned long addr, unsigned long entry) in sun4c_put_pte() argument
146 "r" ((entry & ~(_SUN4C_PAGE_PRESENT))), "i" (ASI_PTE) in sun4c_put_pte()
/arch/alpha/kernel/
Dsrm_env.c86 srm_env_t *entry; in srm_env_proc_show() local
89 entry = m->private; in srm_env_proc_show()
94 ret = callback_getenv(entry->id, page, PAGE_SIZE); in srm_env_proc_show()
114 srm_env_t *entry = PDE(file->f_path.dentry->d_inode)->data; in srm_env_proc_write() local
130 ret1 = callback_setenv(entry->id, buf, count); in srm_env_proc_write()
155 srm_env_t *entry; in srm_env_cleanup() local
163 entry = srm_named_entries; in srm_env_cleanup()
164 while (entry->name != NULL && entry->id != 0) { in srm_env_cleanup()
165 if (entry->proc_entry) { in srm_env_cleanup()
166 remove_proc_entry(entry->name, in srm_env_cleanup()
[all …]
/arch/x86/kvm/
Dcpuid.c63 struct kvm_cpuid_entry2 *e, *entry; in cpuid_fix_nx_cap() local
65 entry = NULL; in cpuid_fix_nx_cap()
69 entry = e; in cpuid_fix_nx_cap()
73 if (entry && (entry->edx & (1 << 20)) && !is_efer_nx()) { in cpuid_fix_nx_cap()
74 entry->edx &= ~(1 << 20); in cpuid_fix_nx_cap()
171 static void do_cpuid_1_ent(struct kvm_cpuid_entry2 *entry, u32 function, in do_cpuid_1_ent() argument
174 entry->function = function; in do_cpuid_1_ent()
175 entry->index = index; in do_cpuid_1_ent()
176 cpuid_count(entry->function, entry->index, in do_cpuid_1_ent()
177 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_cpuid_1_ent()
[all …]
/arch/s390/kernel/
Djump_label.c21 struct jump_entry *entry; member
25 static void __jump_label_transform(struct jump_entry *entry, in __jump_label_transform() argument
34 insn.offset = (entry->target - entry->code) >> 1; in __jump_label_transform()
41 rc = probe_kernel_write((void *)entry->code, &insn, JUMP_LABEL_NOP_SIZE); in __jump_label_transform()
49 __jump_label_transform(args->entry, args->type); in __sm_arch_jump_label_transform()
53 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform() argument
58 args.entry = entry; in arch_jump_label_transform()
64 void arch_jump_label_transform_static(struct jump_entry *entry, in arch_jump_label_transform_static() argument
67 __jump_label_transform(entry, type); in arch_jump_label_transform_static()
Dos_info.c46 os_info.entry[nr].addr = (u64)(unsigned long)ptr; in os_info_entry_add()
47 os_info.entry[nr].size = size; in os_info_entry_add()
48 os_info.entry[nr].csum = csum_partial(ptr, size, 0); in os_info_entry_add()
79 addr = os_info_old->entry[nr].addr; in os_info_old_alloc()
84 size = os_info_old->entry[nr].size; in os_info_old_alloc()
96 if (csum != os_info_old->entry[nr].csum) { in os_info_old_alloc()
100 os_info_old->entry[nr].addr = (u64)(unsigned long)buf_align; in os_info_old_alloc()
106 os_info_old->entry[nr].addr = 0; in os_info_old_alloc()
163 if (!os_info_old->entry[nr].addr) in os_info_old_entry()
165 *size = (unsigned long) os_info_old->entry[nr].size; in os_info_old_entry()
[all …]
/arch/mips/mm/
Dpgtable-64.c18 unsigned long entry; in pgd_init() local
21 entry = (unsigned long)invalid_pte_table; in pgd_init()
23 entry = (unsigned long)invalid_pmd_table; in pgd_init()
30 p[0] = entry; in pgd_init()
31 p[1] = entry; in pgd_init()
32 p[2] = entry; in pgd_init()
33 p[3] = entry; in pgd_init()
34 p[4] = entry; in pgd_init()
35 p[5] = entry; in pgd_init()
36 p[6] = entry; in pgd_init()
[all …]
/arch/cris/kernel/
Dasm-offsets.c21 #define ENTRY(entry) DEFINE(PT_ ## entry, offsetof(struct pt_regs, entry)) in main() argument
41 #define ENTRY(entry) DEFINE(TI_ ## entry, offsetof(struct thread_info, entry)) in main() argument
47 #define ENTRY(entry) DEFINE(THREAD_ ## entry, offsetof(struct thread_struct, entry)) in main() argument
57 #define ENTRY(entry) DEFINE(TASK_ ## entry, offsetof(struct task_struct, entry)) in main() argument
/arch/arm/kernel/
Djump_label.c9 static void __arch_jump_label_transform(struct jump_entry *entry, in __arch_jump_label_transform() argument
13 void *addr = (void *)entry->code; in __arch_jump_label_transform()
17 insn = arm_gen_branch(entry->code, entry->target); in __arch_jump_label_transform()
27 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform() argument
30 __arch_jump_label_transform(entry, type, false); in arch_jump_label_transform()
33 void arch_jump_label_transform_static(struct jump_entry *entry, in arch_jump_label_transform_static() argument
36 __arch_jump_label_transform(entry, type, true); in arch_jump_label_transform_static()
/arch/sh/mm/
Dtlb-sh5.c59 unsigned long long entry = sh64_next_free_dtlb_entry(); in sh64_get_wired_dtlb_entry() local
64 return entry; in sh64_get_wired_dtlb_entry()
74 int sh64_put_wired_dtlb_entry(unsigned long long entry) in sh64_put_wired_dtlb_entry() argument
76 __flush_tlb_slot(entry); in sh64_put_wired_dtlb_entry()
92 if (entry <= DTLB_FIXED) in sh64_put_wired_dtlb_entry()
99 if (entry < (cpu_data->dtlb.first - cpu_data->dtlb.step)) in sh64_put_wired_dtlb_entry()
104 cpu_data->dtlb.next = entry; in sh64_put_wired_dtlb_entry()
152 unsigned long long entry; in tlb_wire_entry() local
159 entry = sh64_get_wired_dtlb_entry(); in tlb_wire_entry()
160 dtlb_entries[dtlb_entry++] = entry; in tlb_wire_entry()
[all …]
Dtlb-debugfs.c45 unsigned int nentries, entry; in tlb_seq_show() local
93 for (entry = 0; entry < nentries; entry++) { in tlb_seq_show()
100 val = __raw_readl(addr1 | (entry << MMU_TLB_ENTRY_SHIFT)); in tlb_seq_show()
105 val = __raw_readl(addr2 | (entry << MMU_TLB_ENTRY_SHIFT)); in tlb_seq_show()
109 val = __raw_readl(data1 | (entry << MMU_TLB_ENTRY_SHIFT)); in tlb_seq_show()
113 val = __raw_readl(data2 | (entry << MMU_TLB_ENTRY_SHIFT)); in tlb_seq_show()
126 entry, vpn, ppn, asid, in tlb_seq_show()
128 (urb <= entry) ? "W" : "-"); in tlb_seq_show()
/arch/powerpc/platforms/wsp/
Dmsi.c27 struct msi_desc *entry; in wsp_setup_msi_irqs() local
36 entry = list_first_entry(&dev->msi_list, struct msi_desc, list); in wsp_setup_msi_irqs()
37 if (entry->msi_attrib.is_64) { in wsp_setup_msi_irqs()
45 list_for_each_entry(entry, &dev->msi_list, list) { in wsp_setup_msi_irqs()
62 irq_set_msi_desc(virq, entry); in wsp_setup_msi_irqs()
73 struct msi_desc *entry; in wsp_teardown_msi_irqs() local
80 list_for_each_entry(entry, &dev->msi_list, list) { in wsp_teardown_msi_irqs()
81 if (entry->irq == NO_IRQ) in wsp_teardown_msi_irqs()
84 irq_set_msi_desc(entry->irq, NULL); in wsp_teardown_msi_irqs()
85 wsp_ics_set_std_chip(entry->irq); in wsp_teardown_msi_irqs()
[all …]
/arch/x86/kernel/
Djump_label.c27 static void __jump_label_transform(struct jump_entry *entry, in __jump_label_transform() argument
35 code.offset = entry->target - in __jump_label_transform()
36 (entry->code + JUMP_LABEL_NOP_SIZE); in __jump_label_transform()
40 (*poker)((void *)entry->code, &code, JUMP_LABEL_NOP_SIZE); in __jump_label_transform()
43 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform() argument
48 __jump_label_transform(entry, type, text_poke_smp); in arch_jump_label_transform()
53 __init_or_module void arch_jump_label_transform_static(struct jump_entry *entry, in arch_jump_label_transform_static() argument
56 __jump_label_transform(entry, type, text_poke_early); in arch_jump_label_transform_static()
Dasm-offsets_64.c32 #define ENTRY(entry) OFFSET(IA32_SIGCONTEXT_ ## entry, sigcontext_ia32, entry) in main() argument
49 #define ENTRY(entry) OFFSET(pt_regs_ ## entry, pt_regs, entry) in main() argument
70 #define ENTRY(entry) OFFSET(saved_context_ ## entry, saved_context, entry) in main() argument
/arch/mips/kernel/
Dperf_event.c28 static void save_raw_perf_callchain(struct perf_callchain_entry *entry, in save_raw_perf_callchain() argument
37 perf_callchain_store(entry, addr); in save_raw_perf_callchain()
38 if (entry->nr >= PERF_MAX_STACK_DEPTH) in save_raw_perf_callchain()
44 void perf_callchain_kernel(struct perf_callchain_entry *entry, in perf_callchain_kernel() argument
57 save_raw_perf_callchain(entry, sp); in perf_callchain_kernel()
61 perf_callchain_store(entry, pc); in perf_callchain_kernel()
62 if (entry->nr >= PERF_MAX_STACK_DEPTH) in perf_callchain_kernel()
67 save_raw_perf_callchain(entry, sp); in perf_callchain_kernel()
/arch/cris/arch-v32/mm/
Dintmem.c22 struct list_head entry; member
45 list_add_tail(&alloc->entry, &intmem_allocations); in crisv32_intmem_init()
58 list_for_each_entry_safe(allocation, tmp, &intmem_allocations, entry) { in crisv32_intmem_alloc()
72 list_add(&alloc->entry, &allocation->entry); in crisv32_intmem_alloc()
81 list_add_tail(&tmp->entry, in crisv32_intmem_alloc()
82 &allocation->entry); in crisv32_intmem_alloc()
105 list_for_each_entry_safe(allocation, tmp, &intmem_allocations, entry) { in crisv32_intmem_free()
108 list_entry(allocation->entry.prev, in crisv32_intmem_free()
109 struct intmem_allocation, entry); in crisv32_intmem_free()
111 list_entry(allocation->entry.next, in crisv32_intmem_free()
[all …]
/arch/x86/platform/uv/
Duv_irq.c136 struct uv_IO_APIC_route_entry *entry; in arch_enable_uv_irq() local
155 entry = (struct uv_IO_APIC_route_entry *)&mmr_value; in arch_enable_uv_irq()
156 entry->vector = cfg->vector; in arch_enable_uv_irq()
157 entry->delivery_mode = apic->irq_delivery_mode; in arch_enable_uv_irq()
158 entry->dest_mode = apic->irq_dest_mode; in arch_enable_uv_irq()
159 entry->polarity = 0; in arch_enable_uv_irq()
160 entry->trigger = 0; in arch_enable_uv_irq()
161 entry->mask = 0; in arch_enable_uv_irq()
162 entry->dest = apic->cpu_mask_to_apicid(eligible_cpu); in arch_enable_uv_irq()
180 struct uv_IO_APIC_route_entry *entry; in arch_disable_uv_irq() local
[all …]
/arch/sparc/mm/
Dsun4c.c613 struct sun4c_mmu_entry *entry) in add_ring() argument
617 entry->prev = head; in add_ring()
618 (entry->next = head->next)->prev = entry; in add_ring()
619 head->next = entry; in add_ring()
623 static inline void add_lru(struct sun4c_mmu_entry *entry) in add_lru() argument
628 entry->lru_next = head; in add_lru()
629 (entry->lru_prev = head->lru_prev)->lru_next = entry; in add_lru()
630 head->lru_prev = entry; in add_lru()
634 struct sun4c_mmu_entry *entry) in add_ring_ordered() argument
637 unsigned long addr = entry->vaddr; in add_ring_ordered()
[all …]
Dextable.c92 const struct exception_table_entry *entry; in search_extables_range() local
94 entry = search_exception_tables(addr); in search_extables_range()
95 if (!entry) in search_extables_range()
99 if (!entry->fixup) { in search_extables_range()
100 *g2 = (addr - entry->insn) / 4; in search_extables_range()
101 return (entry + 1)->fixup; in search_extables_range()
104 return entry->fixup; in search_extables_range()
/arch/x86/syscalls/
Dsyscalltbl.sh7 while read nr abi name entry compat; do
10 echo "__SYSCALL_${abi}($nr, $entry, $compat)"
11 elif [ -n "$entry" ]; then
12 echo "__SYSCALL_${abi}($nr, $entry, $entry)"
/arch/m68k/include/asm/
Dsun3mmu.h87 register unsigned long entry; in sun3_get_segmap() local
94 entry = c; in sun3_get_segmap()
96 return entry; in sun3_get_segmap()
100 static inline void sun3_put_segmap(unsigned long addr, unsigned long entry) in sun3_put_segmap() argument
106 SET_CONTROL_BYTE (AC_SEGMAP | (addr & SUN3_CONTROL_MASK), entry); in sun3_put_segmap()
115 register unsigned long entry; in sun3_get_pte() local
120 GET_CONTROL_WORD (AC_PAGEMAP | (addr & SUN3_CONTROL_MASK), entry); in sun3_get_pte()
123 return entry; in sun3_get_pte()
127 static inline void sun3_put_pte(unsigned long addr, unsigned long entry) in sun3_put_pte() argument
133 SET_CONTROL_WORD (AC_PAGEMAP | (addr & SUN3_CONTROL_MASK), entry); in sun3_put_pte()
/arch/sh/kernel/
Dperf_callchain.c24 struct perf_callchain_entry *entry = data; in callchain_address() local
27 perf_callchain_store(entry, addr); in callchain_address()
36 perf_callchain_kernel(struct perf_callchain_entry *entry, struct pt_regs *regs) in perf_callchain_kernel() argument
38 perf_callchain_store(entry, regs->pc); in perf_callchain_kernel()
40 unwind_stack(NULL, regs, NULL, &callchain_ops, entry); in perf_callchain_kernel()
/arch/powerpc/sysdev/
Dmpic_pasemi_msi.c76 struct msi_desc *entry; in pasemi_msi_teardown_msi_irqs() local
80 list_for_each_entry(entry, &pdev->msi_list, list) { in pasemi_msi_teardown_msi_irqs()
81 if (entry->irq == NO_IRQ) in pasemi_msi_teardown_msi_irqs()
84 irq_set_msi_desc(entry->irq, NULL); in pasemi_msi_teardown_msi_irqs()
86 virq_to_hw(entry->irq), ALLOC_CHUNK); in pasemi_msi_teardown_msi_irqs()
87 irq_dispose_mapping(entry->irq); in pasemi_msi_teardown_msi_irqs()
96 struct msi_desc *entry; in pasemi_msi_setup_msi_irqs() local
106 list_for_each_entry(entry, &pdev->msi_list, list) { in pasemi_msi_setup_msi_irqs()
134 irq_set_msi_desc(virq, entry); in pasemi_msi_setup_msi_irqs()
/arch/xtensa/include/asm/
Dtlbflush.h75 static inline void invalidate_itlb_entry_no_isync (unsigned entry) in invalidate_itlb_entry_no_isync() argument
78 __asm__ __volatile__ ("iitlb %0\n" : : "a" (entry) ); in invalidate_itlb_entry_no_isync()
81 static inline void invalidate_dtlb_entry_no_isync (unsigned entry) in invalidate_dtlb_entry_no_isync() argument
84 __asm__ __volatile__ ("idtlb %0\n" : : "a" (entry) ); in invalidate_dtlb_entry_no_isync()
112 static inline void write_dtlb_entry (pte_t entry, int way) in write_dtlb_entry() argument
115 : : "r" (way), "r" (entry) ); in write_dtlb_entry()
118 static inline void write_itlb_entry (pte_t entry, int way) in write_itlb_entry() argument
121 : : "r" (way), "r" (entry) ); in write_itlb_entry()
/arch/powerpc/kernel/
Dmodule_32.c177 static inline int entry_matches(struct ppc_plt_entry *entry, Elf32_Addr val) in entry_matches() argument
179 if (entry->jump[0] == 0x3d800000 + ((val + 0x8000) >> 16) in entry_matches()
180 && entry->jump[1] == 0x398c0000 + (val & 0xffff)) in entry_matches()
191 struct ppc_plt_entry *entry; in do_plt_call() local
197 entry = (void *)sechdrs[mod->arch.core_plt_section].sh_addr; in do_plt_call()
199 entry = (void *)sechdrs[mod->arch.init_plt_section].sh_addr; in do_plt_call()
202 while (entry->jump[0]) { in do_plt_call()
203 if (entry_matches(entry, val)) return (uint32_t)entry; in do_plt_call()
204 entry++; in do_plt_call()
207 entry->jump[0] = 0x3d800000+((val+0x8000)>>16); /* lis r12,sym@ha */ in do_plt_call()
[all …]

12345678910>>...16