Home
last modified time | relevance | path

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

12345678910>>...22

/arch/s390/include/asm/
Dpci_dma.h100 static inline void set_pt_pfaa(unsigned long *entry, void *pfaa) in set_pt_pfaa() argument
102 *entry &= ZPCI_PTE_FLAG_MASK; in set_pt_pfaa()
103 *entry |= ((unsigned long) pfaa & ZPCI_PTE_ADDR_MASK); in set_pt_pfaa()
106 static inline void set_rt_sto(unsigned long *entry, void *sto) in set_rt_sto() argument
108 *entry &= ZPCI_RTE_FLAG_MASK; in set_rt_sto()
109 *entry |= ((unsigned long) sto & ZPCI_RTE_ADDR_MASK); in set_rt_sto()
110 *entry |= ZPCI_TABLE_TYPE_RTX; in set_rt_sto()
113 static inline void set_st_pto(unsigned long *entry, void *pto) in set_st_pto() argument
115 *entry &= ZPCI_STE_FLAG_MASK; in set_st_pto()
116 *entry |= ((unsigned long) pto & ZPCI_STE_ADDR_MASK); in set_st_pto()
[all …]
/arch/sparc/include/asm/
Dspitfire.h119 static inline unsigned long spitfire_get_dtlb_data(int entry) in spitfire_get_dtlb_data() argument
125 : "r" (entry << 3), "i" (ASI_DTLB_DATA_ACCESS)); in spitfire_get_dtlb_data()
133 static inline unsigned long spitfire_get_dtlb_tag(int entry) in spitfire_get_dtlb_tag() argument
139 : "r" (entry << 3), "i" (ASI_DTLB_TAG_READ)); in spitfire_get_dtlb_tag()
143 static inline void spitfire_put_dtlb_data(int entry, unsigned long data) in spitfire_put_dtlb_data() argument
148 : "r" (data), "r" (entry << 3), in spitfire_put_dtlb_data()
152 static inline unsigned long spitfire_get_itlb_data(int entry) in spitfire_get_itlb_data() argument
158 : "r" (entry << 3), "i" (ASI_ITLB_DATA_ACCESS)); in spitfire_get_itlb_data()
166 static inline unsigned long spitfire_get_itlb_tag(int entry) in spitfire_get_itlb_tag() argument
172 : "r" (entry << 3), "i" (ASI_ITLB_TAG_READ)); in spitfire_get_itlb_tag()
[all …]
/arch/s390/kernel/
Djump_label.c21 struct jump_entry *entry; member
25 static void jump_label_make_nop(struct jump_entry *entry, struct insn *insn) in jump_label_make_nop() argument
32 static void jump_label_make_branch(struct jump_entry *entry, struct insn *insn) in jump_label_make_branch() argument
36 insn->offset = (entry->target - entry->code) >> 1; in jump_label_make_branch()
39 static void jump_label_bug(struct jump_entry *entry, struct insn *expected, in jump_label_bug() argument
42 unsigned char *ipc = (unsigned char *)entry->code; in jump_label_bug()
58 static void __jump_label_transform(struct jump_entry *entry, in __jump_label_transform() argument
65 jump_label_make_nop(entry, &old); in __jump_label_transform()
66 jump_label_make_branch(entry, &new); in __jump_label_transform()
68 jump_label_make_branch(entry, &old); in __jump_label_transform()
[all …]
/arch/x86/kernel/
Djump_label.c40 static void __jump_label_transform(struct jump_entry *entry, in __jump_label_transform() argument
55 if (unlikely(memcmp((void *)entry->code, default_nop, 5) in __jump_label_transform()
57 bug_at((void *)entry->code, __LINE__); in __jump_label_transform()
63 if (unlikely(memcmp((void *)entry->code, ideal_nop, 5) in __jump_label_transform()
65 bug_at((void *)entry->code, __LINE__); in __jump_label_transform()
69 code.offset = entry->target - in __jump_label_transform()
70 (entry->code + JUMP_LABEL_NOP_SIZE); in __jump_label_transform()
79 if (unlikely(memcmp((void *)entry->code, default_nop, 5) != 0)) in __jump_label_transform()
80 bug_at((void *)entry->code, __LINE__); in __jump_label_transform()
83 code.offset = entry->target - in __jump_label_transform()
[all …]
De820.c81 struct e820_entry *entry = &e820_table->entries[i]; in e820__mapped_any() local
83 if (type && entry->type != type) in e820__mapped_any()
85 if (entry->addr >= end || entry->addr + entry->size <= start) in e820__mapped_any()
105 struct e820_entry *entry = &e820_table->entries[i]; in __e820__mapped_all() local
107 if (type && entry->type != type) in __e820__mapped_all()
111 if (entry->addr >= end || entry->addr + entry->size <= start) in __e820__mapped_all()
118 if (entry->addr <= start) in __e820__mapped_all()
119 start = entry->addr + entry->size; in __e820__mapped_all()
126 return entry; in __e820__mapped_all()
145 struct e820_entry *entry = __e820__mapped_all(start, end, 0); in e820__get_entry_type() local
[all …]
/arch/x86/kvm/
Dcpuid.c157 struct kvm_cpuid_entry2 *e, *entry; in cpuid_fix_nx_cap() local
159 entry = NULL; in cpuid_fix_nx_cap()
163 entry = e; in cpuid_fix_nx_cap()
167 if (entry && (entry->edx & F(NX)) && !is_efer_nx()) { in cpuid_fix_nx_cap()
168 entry->edx &= ~F(NX); in cpuid_fix_nx_cap()
279 static void do_cpuid_1_ent(struct kvm_cpuid_entry2 *entry, u32 function, in do_cpuid_1_ent() argument
282 entry->function = function; in do_cpuid_1_ent()
283 entry->index = index; in do_cpuid_1_ent()
284 cpuid_count(entry->function, entry->index, in do_cpuid_1_ent()
285 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_cpuid_1_ent()
[all …]
/arch/x86/entry/syscalls/
Dsyscalltbl.sh10 entry="$3"
14 if [ "$entry" = "$real_entry" ]; then
17 qualifier=${entry#*/}
26 entry="$3"
35 if [ -n "$entry" ]; then
36 syscall_macro "$abi" "$nr" "$entry"
40 if [ -n "$entry" ]; then
41 syscall_macro "$abi" "$nr" "$entry"
50 while read nr abi name entry compat; do
56 emit 64 "$nr" "$entry" "$compat"
[all …]
/arch/x86/kernel/cpu/
Dintel_rdt_monitor.c80 struct rmid_entry *entry; in __rmid_entry() local
82 entry = &rmid_ptrs[rmid]; in __rmid_entry()
83 WARN_ON(entry->rmid != rmid); in __rmid_entry()
85 return entry; in __rmid_entry()
106 static bool rmid_dirty(struct rmid_entry *entry) in rmid_dirty() argument
108 u64 val = __rmid_read(entry->rmid, QOS_L3_OCCUP_EVENT_ID); in rmid_dirty()
121 struct rmid_entry *entry; in __check_limbo() local
138 entry = __rmid_entry(nrmid); in __check_limbo()
139 if (force_free || !rmid_dirty(entry)) { in __check_limbo()
140 clear_bit(entry->rmid, d->rmid_busy_llc); in __check_limbo()
[all …]
/arch/mips/kernel/
Dperf_event.c29 static void save_raw_perf_callchain(struct perf_callchain_entry_ctx *entry, in save_raw_perf_callchain() argument
38 perf_callchain_store(entry, addr); in save_raw_perf_callchain()
39 if (entry->nr >= entry->max_stack) in save_raw_perf_callchain()
45 void perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, in perf_callchain_kernel() argument
58 save_raw_perf_callchain(entry, sp); in perf_callchain_kernel()
62 perf_callchain_store(entry, pc); in perf_callchain_kernel()
63 if (entry->nr >= entry->max_stack) in perf_callchain_kernel()
68 save_raw_perf_callchain(entry, sp); in perf_callchain_kernel()
/arch/cris/kernel/
Dasm-offsets.c18 #define ENTRY(entry) DEFINE(PT_ ## entry, offsetof(struct pt_regs, entry)) in main() argument
38 #define ENTRY(entry) DEFINE(TI_ ## entry, offsetof(struct thread_info, entry)) in main() argument
44 #define ENTRY(entry) DEFINE(THREAD_ ## entry, offsetof(struct thread_struct, entry)) in main() argument
54 #define ENTRY(entry) DEFINE(TASK_ ## entry, offsetof(struct task_struct, entry)) in main() argument
/arch/arm64/kernel/
Dperf_callchain.c34 struct perf_callchain_entry_ctx *entry) in user_backtrace() argument
50 perf_callchain_store(entry, buftail.lr); in user_backtrace()
79 struct perf_callchain_entry_ctx *entry) in compat_user_backtrace() argument
95 perf_callchain_store(entry, buftail.lr); in compat_user_backtrace()
109 void perf_callchain_user(struct perf_callchain_entry_ctx *entry, in perf_callchain_user() argument
117 perf_callchain_store(entry, regs->pc); in perf_callchain_user()
125 while (entry->nr < entry->max_stack && in perf_callchain_user()
127 tail = user_backtrace(tail, entry); in perf_callchain_user()
135 while ((entry->nr < entry->max_stack) && in perf_callchain_user()
137 tail = compat_user_backtrace(tail, entry); in perf_callchain_user()
[all …]
Djump_label.c25 void arch_jump_label_transform(struct jump_entry *entry, in arch_jump_label_transform() argument
28 void *addr = (void *)entry->code; in arch_jump_label_transform()
32 insn = aarch64_insn_gen_branch_imm(entry->code, in arch_jump_label_transform()
33 entry->target, in arch_jump_label_transform()
42 void arch_jump_label_transform_static(struct jump_entry *entry, in arch_jump_label_transform_static() 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()
Dperf_callchain.c35 struct perf_callchain_entry_ctx *entry) in user_backtrace() argument
50 perf_callchain_store(entry, buftail.lr); in user_backtrace()
63 perf_callchain_user(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs) in perf_callchain_user() argument
72 perf_callchain_store(entry, regs->ARM_pc); in perf_callchain_user()
79 while ((entry->nr < entry->max_stack) && in perf_callchain_user()
81 tail = user_backtrace(tail, entry); in perf_callchain_user()
93 struct perf_callchain_entry_ctx *entry = data; in callchain_trace() local
94 perf_callchain_store(entry, fr->pc); in callchain_trace()
99 perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs) in perf_callchain_kernel() argument
109 walk_stackframe(&fr, callchain_trace, entry); in perf_callchain_kernel()
/arch/sh/mm/
Dtlbex_32.c29 pte_t entry; in handle_tlbmiss() local
52 entry = *pte; in handle_tlbmiss()
53 if (unlikely(pte_none(entry) || pte_not_present(entry))) in handle_tlbmiss()
55 if (unlikely(error_code && !pte_write(entry))) in handle_tlbmiss()
59 entry = pte_mkdirty(entry); in handle_tlbmiss()
60 entry = pte_mkyoung(entry); in handle_tlbmiss()
62 set_pte(pte, entry); in handle_tlbmiss()
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 …]
/arch/cris/arch-v32/mm/
Dintmem.c23 struct list_head entry; member
46 list_add_tail(&alloc->entry, &intmem_allocations); in crisv32_intmem_init()
59 list_for_each_entry_safe(allocation, tmp, &intmem_allocations, entry) { in crisv32_intmem_alloc()
73 list_add(&alloc->entry, &allocation->entry); in crisv32_intmem_alloc()
82 list_add_tail(&tmp->entry, in crisv32_intmem_alloc()
83 &allocation->entry); in crisv32_intmem_alloc()
106 list_for_each_entry_safe(allocation, tmp, &intmem_allocations, entry) { in crisv32_intmem_free()
109 list_entry(allocation->entry.prev, in crisv32_intmem_free()
110 struct intmem_allocation, entry); in crisv32_intmem_free()
112 list_entry(allocation->entry.next, in crisv32_intmem_free()
[all …]
/arch/metag/kernel/
Dperf_callchain.c33 struct perf_callchain_entry_ctx *entry) in user_backtrace() argument
51 perf_callchain_store(entry, calladdr); in user_backtrace()
60 perf_callchain_user(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs) in perf_callchain_user() argument
69 while ((entry->nr < entry->max_stack) && frame) in perf_callchain_user()
70 frame = user_backtrace(frame, entry); in perf_callchain_user()
82 struct perf_callchain_entry_ctx *entry = data; in callchain_trace() local
83 perf_callchain_store(entry, fr->pc); in callchain_trace()
88 perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs) in perf_callchain_kernel() argument
96 walk_stackframe(&fr, callchain_trace, entry); in perf_callchain_kernel()
/arch/mips/mm/
Dpgtable-64.c20 unsigned long entry; in pgd_init() local
23 entry = (unsigned long)invalid_pud_table; in pgd_init()
25 entry = (unsigned long)invalid_pmd_table; in pgd_init()
27 entry = (unsigned long)invalid_pte_table; in pgd_init()
34 p[0] = entry; in pgd_init()
35 p[1] = entry; in pgd_init()
36 p[2] = entry; in pgd_init()
37 p[3] = entry; in pgd_init()
38 p[4] = entry; in pgd_init()
40 p[-3] = entry; in pgd_init()
[all …]
/arch/sparc/mm/
Dhugetlbpage.c135 static pte_t sun4u_hugepage_shift_to_tte(pte_t entry, unsigned int shift) in sun4u_hugepage_shift_to_tte() argument
137 return entry; in sun4u_hugepage_shift_to_tte()
140 static pte_t sun4v_hugepage_shift_to_tte(pte_t entry, unsigned int shift) in sun4v_hugepage_shift_to_tte() argument
144 pte_val(entry) = pte_val(entry) & ~_PAGE_SZALL_4V; in sun4v_hugepage_shift_to_tte()
149 pte_val(entry) |= _PAGE_PUD_HUGE; in sun4v_hugepage_shift_to_tte()
153 pte_val(entry) |= _PAGE_PMD_HUGE; in sun4v_hugepage_shift_to_tte()
157 pte_val(entry) |= _PAGE_PMD_HUGE; in sun4v_hugepage_shift_to_tte()
160 pte_val(entry) |= _PAGE_PMD_HUGE; in sun4v_hugepage_shift_to_tte()
169 pte_val(entry) = pte_val(entry) | hugepage_size; in sun4v_hugepage_shift_to_tte()
170 return entry; in sun4v_hugepage_shift_to_tte()
[all …]
Dextable.c94 const struct exception_table_entry *entry; in search_extables_range() local
96 entry = search_exception_tables(addr); in search_extables_range()
97 if (!entry) in search_extables_range()
101 if (!entry->fixup) { in search_extables_range()
102 *g2 = (addr - entry->insn) / 4; in search_extables_range()
103 return (entry + 1)->fixup; in search_extables_range()
106 return entry->fixup; in search_extables_range()
/arch/m68k/include/asm/
Dsun3mmu.h88 register unsigned long entry; in sun3_get_segmap() local
95 entry = c; in sun3_get_segmap()
97 return entry; in sun3_get_segmap()
101 static inline void sun3_put_segmap(unsigned long addr, unsigned long entry) in sun3_put_segmap() argument
107 SET_CONTROL_BYTE (AC_SEGMAP | (addr & SUN3_CONTROL_MASK), entry); in sun3_put_segmap()
116 register unsigned long entry; in sun3_get_pte() local
121 GET_CONTROL_WORD (AC_PAGEMAP | (addr & SUN3_CONTROL_MASK), entry); in sun3_get_pte()
124 return entry; in sun3_get_pte()
128 static inline void sun3_put_pte(unsigned long addr, unsigned long entry) in sun3_put_pte() argument
134 SET_CONTROL_WORD (AC_PAGEMAP | (addr & SUN3_CONTROL_MASK), entry); in sun3_put_pte()
/arch/arm/xen/
Dp2m.c35 struct xen_p2m_entry *entry; in xen_add_phys_to_mach_entry() local
40 entry = rb_entry(parent, struct xen_p2m_entry, rbnode_phys); in xen_add_phys_to_mach_entry()
42 if (new->pfn == entry->pfn) in xen_add_phys_to_mach_entry()
45 if (new->pfn < entry->pfn) in xen_add_phys_to_mach_entry()
57 __func__, &new->pfn, &new->mfn, &entry->pfn, &entry->mfn); in xen_add_phys_to_mach_entry()
65 struct xen_p2m_entry *entry; in __pfn_to_mfn() local
70 entry = rb_entry(n, struct xen_p2m_entry, rbnode_phys); in __pfn_to_mfn()
71 if (entry->pfn <= pfn && in __pfn_to_mfn()
72 entry->pfn + entry->nr_pages > pfn) { in __pfn_to_mfn()
74 return entry->mfn + (pfn - entry->pfn); in __pfn_to_mfn()
[all …]
/arch/sh/kernel/
Dperf_callchain.c24 struct perf_callchain_entry_ctx *entry = data; in callchain_address() local
27 perf_callchain_store(entry, addr); in callchain_address()
36 perf_callchain_kernel(struct perf_callchain_entry_ctx *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/x86/kernel/apic/
Dio_apic.c77 #define for_each_irq_pin(entry, head) \ argument
78 list_for_each_entry(entry, &head, list)
92 struct IO_APIC_route_entry entry; member
303 struct IO_APIC_route_entry entry; member
313 return eu.entry; in __ioapic_read_entry()
322 eu.entry = __ioapic_read_entry(apic, pin); in ioapic_read_entry()
325 return eu.entry; in ioapic_read_entry()
338 eu.entry = e; in __ioapic_write_entry()
360 union entry_union eu = { .entry.mask = IOAPIC_MASKED }; in ioapic_mask_entry()
376 struct irq_pin_list *entry; in __add_pin_to_irq_node() local
[all …]

12345678910>>...22