/arch/sparc/include/asm/ |
D | spitfire.h | 95 static inline unsigned long spitfire_get_dtlb_data(int entry) in spitfire_get_dtlb_data() argument 101 : "r" (entry << 3), "i" (ASI_DTLB_DATA_ACCESS)); in spitfire_get_dtlb_data() 109 static inline unsigned long spitfire_get_dtlb_tag(int entry) in spitfire_get_dtlb_tag() argument 115 : "r" (entry << 3), "i" (ASI_DTLB_TAG_READ)); in spitfire_get_dtlb_tag() 119 static inline void spitfire_put_dtlb_data(int entry, unsigned long data) in spitfire_put_dtlb_data() argument 124 : "r" (data), "r" (entry << 3), in spitfire_put_dtlb_data() 128 static inline unsigned long spitfire_get_itlb_data(int entry) in spitfire_get_itlb_data() argument 134 : "r" (entry << 3), "i" (ASI_ITLB_DATA_ACCESS)); in spitfire_get_itlb_data() 142 static inline unsigned long spitfire_get_itlb_tag(int entry) in spitfire_get_itlb_tag() argument 148 : "r" (entry << 3), "i" (ASI_ITLB_TAG_READ)); in spitfire_get_itlb_tag() [all …]
|
D | pgtsun4.h | 115 register unsigned long entry; in sun4c_get_segmap() local 118 "=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 126 "r" (addr), "r" (entry), in sun4c_put_segmap() 133 register unsigned long entry; in sun4c_get_pte() local 136 "=r" (entry) : in sun4c_get_pte() 138 return entry; in sun4c_get_pte() 141 static inline void sun4c_put_pte(unsigned long addr, unsigned long entry) in sun4c_put_pte() argument 145 "r" ((entry & ~(_SUN4C_PAGE_PRESENT))), "i" (ASI_PTE) in sun4c_put_pte()
|
D | pgtsun4c.h | 114 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/ |
D | srm_env.c | 88 srm_env_t *entry; in srm_env_read() local 95 entry = (srm_env_t *) data; in srm_env_read() 96 ret = callback_getenv(entry->id, page, count); in srm_env_read() 112 srm_env_t *entry; in srm_env_write() local 116 entry = (srm_env_t *) data; in srm_env_write() 130 ret1 = callback_setenv(entry->id, buf, count); in srm_env_write() 146 srm_env_t *entry; in srm_env_cleanup() local 154 entry = srm_named_entries; in srm_env_cleanup() 155 while (entry->name != NULL && entry->id != 0) { in srm_env_cleanup() 156 if (entry->proc_entry) { in srm_env_cleanup() [all …]
|
/arch/cris/kernel/ |
D | asm-offsets.c | 22 #define ENTRY(entry) DEFINE(PT_ ## entry, offsetof(struct pt_regs, entry)) in main() argument 42 #define ENTRY(entry) DEFINE(TI_ ## entry, offsetof(struct thread_info, entry)) in main() argument 48 #define ENTRY(entry) DEFINE(THREAD_ ## entry, offsetof(struct thread_struct, entry)) in main() argument 58 #define ENTRY(entry) DEFINE(TASK_ ## entry, offsetof(struct task_struct, entry)) in main() argument
|
/arch/x86/kernel/ |
D | asm-offsets_64.c | 35 #define ENTRY(entry) DEFINE(tsk_ ## entry, offsetof(struct task_struct, entry)) in main() argument 41 #define ENTRY(entry) DEFINE(TI_ ## entry, offsetof(struct thread_info, entry)) in main() argument 51 #define ENTRY(entry) DEFINE(pda_ ## entry, offsetof(struct x8664_pda, entry)) in main() argument 79 #define ENTRY(entry) DEFINE(IA32_SIGCONTEXT_ ## entry, offsetof(struct sigcontext_ia32, entry)) in main() argument 99 #define ENTRY(entry) DEFINE(pt_regs_ ## entry, offsetof(struct pt_regs, entry)) in main() argument 119 #define ENTRY(entry) DEFINE(saved_context_ ## entry, offsetof(struct saved_context, entry)) in main() argument
|
D | io_apic.c | 254 struct irq_pin_list *old_entry, *head, *tail, *entry; in init_copy_irq_2_pin() local 261 entry = get_one_free_irq_2_pin(cpu); in init_copy_irq_2_pin() 262 if (!entry) in init_copy_irq_2_pin() 265 entry->apic = old_entry->apic; in init_copy_irq_2_pin() 266 entry->pin = old_entry->pin; in init_copy_irq_2_pin() 267 head = entry; in init_copy_irq_2_pin() 268 tail = entry; in init_copy_irq_2_pin() 271 entry = get_one_free_irq_2_pin(cpu); in init_copy_irq_2_pin() 272 if (!entry) { in init_copy_irq_2_pin() 273 entry = head; in init_copy_irq_2_pin() [all …]
|
/arch/sparc/mm/ |
D | sun4c.c | 613 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 …]
|
D | extable.c | 63 const struct exception_table_entry *entry; in search_extables_range() local 65 entry = search_exception_tables(addr); in search_extables_range() 66 if (!entry) in search_extables_range() 70 if (!entry->fixup) { in search_extables_range() 71 *g2 = (addr - entry->insn) / 4; in search_extables_range() 72 return (entry + 1)->fixup; in search_extables_range() 75 return entry->fixup; in search_extables_range()
|
D | generic_64.c | 39 pte_t entry; in io_remap_pte_range() local 42 entry = mk_pte_io(offset, prot, space, PAGE_SIZE); in io_remap_pte_range() 48 entry = mk_pte_io(offset, prot, space, in io_remap_pte_range() 56 entry = mk_pte_io(offset, prot, space, in io_remap_pte_range() 63 entry = mk_pte_io(offset, prot, space, in io_remap_pte_range() 72 if (pte_write(entry)) in io_remap_pte_range() 73 entry = pte_mkdirty(entry); in io_remap_pte_range() 76 set_pte_at(mm, address, pte, entry); in io_remap_pte_range() 78 pte_val(entry) += PAGE_SIZE; in io_remap_pte_range()
|
/arch/cris/arch-v32/mm/ |
D | intmem.c | 22 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() 73 list_add(&alloc->entry, &allocation->entry); in crisv32_intmem_alloc() 84 list_add_tail(&tmp->entry, in crisv32_intmem_alloc() 85 &allocation->entry); in crisv32_intmem_alloc() 108 list_for_each_entry_safe(allocation, tmp, &intmem_allocations, entry) { in crisv32_intmem_free() 111 list_entry(allocation->entry.prev, in crisv32_intmem_free() 112 struct intmem_allocation, entry); in crisv32_intmem_free() 114 list_entry(allocation->entry.next, in crisv32_intmem_free() [all …]
|
/arch/sh/mm/ |
D | pmb.c | 57 static inline unsigned long mk_pmb_entry(unsigned int entry) in mk_pmb_entry() argument 59 return (entry & PMB_E_MASK) << PMB_E_SHIFT; in mk_pmb_entry() 62 static inline unsigned long mk_pmb_addr(unsigned int entry) in mk_pmb_addr() argument 64 return mk_pmb_entry(entry) | PMB_ADDR; in mk_pmb_addr() 67 static inline unsigned long mk_pmb_data(unsigned int entry) in mk_pmb_data() argument 69 return mk_pmb_entry(entry) | PMB_DATA; in mk_pmb_data() 131 unsigned long flags, int *entry) in __set_pmb_entry() argument 133 unsigned int pos = *entry; in __set_pmb_entry() 161 *entry = pos; in __set_pmb_entry() 171 ret = __set_pmb_entry(pmbe->vpn, pmbe->ppn, pmbe->flags, &pmbe->entry); in set_pmb_entry() [all …]
|
D | fault_64.c | 99 pte_t entry; in handle_vmalloc_fault() local 112 entry = *pte; in handle_vmalloc_fault() 114 if (pte_none(entry) || !pte_present(entry)) in handle_vmalloc_fault() 116 if ((pte_val(entry) & protection_flags) != protection_flags) in handle_vmalloc_fault() 133 pte_t entry; in handle_tlbmiss() local 164 entry = *pte; in handle_tlbmiss() 166 if (pte_none(entry) || !pte_present(entry)) in handle_tlbmiss() 175 if ((pte_val(entry) & protection_flags) != protection_flags) in handle_tlbmiss()
|
D | tlb-sh5.c | 59 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()
|
/arch/m68k/include/asm/ |
D | sun3mmu.h | 87 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/powerpc/sysdev/ |
D | mpic_pasemi_msi.c | 76 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 set_irq_msi(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 set_irq_msi(virq, entry); in pasemi_msi_setup_msi_irqs()
|
D | mpic_u3msi.c | 98 struct msi_desc *entry; in u3msi_teardown_msi_irqs() local 100 list_for_each_entry(entry, &pdev->msi_list, list) { in u3msi_teardown_msi_irqs() 101 if (entry->irq == NO_IRQ) in u3msi_teardown_msi_irqs() 104 set_irq_msi(entry->irq, NULL); in u3msi_teardown_msi_irqs() 106 virq_to_hw(entry->irq), 1); in u3msi_teardown_msi_irqs() 107 irq_dispose_mapping(entry->irq); in u3msi_teardown_msi_irqs() 116 struct msi_desc *entry; in u3msi_setup_msi_irqs() local 125 list_for_each_entry(entry, &pdev->msi_list, list) { in u3msi_setup_msi_irqs() 139 set_irq_msi(virq, entry); in u3msi_setup_msi_irqs()
|
/arch/x86/mm/ |
D | pat.c | 186 chk_conflict(struct memtype *new, struct memtype *entry, unsigned long *type) in chk_conflict() argument 188 if (new->type != entry->type) { in chk_conflict() 190 new->type = entry->type; in chk_conflict() 191 *type = entry->type; in chk_conflict() 197 list_for_each_entry_continue(entry, &memtype_list, nd) { in chk_conflict() 198 if (new->end <= entry->start) in chk_conflict() 200 else if (new->type != entry->type) in chk_conflict() 208 new->end, cattr_name(new->type), cattr_name(entry->type)); in chk_conflict() 320 struct memtype *new, *entry; in reserve_memtype() local 385 entry = cached_entry; in reserve_memtype() [all …]
|
/arch/xtensa/include/asm/ |
D | tlbflush.h | 75 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/ |
D | module_32.c | 188 static inline int entry_matches(struct ppc_plt_entry *entry, Elf32_Addr val) in entry_matches() argument 190 if (entry->jump[0] == 0x3d600000 + ((val + 0x8000) >> 16) in entry_matches() 191 && entry->jump[1] == 0x396b0000 + (val & 0xffff)) in entry_matches() 202 struct ppc_plt_entry *entry; in do_plt_call() local 208 entry = (void *)sechdrs[mod->arch.core_plt_section].sh_addr; in do_plt_call() 210 entry = (void *)sechdrs[mod->arch.init_plt_section].sh_addr; in do_plt_call() 213 while (entry->jump[0]) { in do_plt_call() 214 if (entry_matches(entry, val)) return (uint32_t)entry; in do_plt_call() 215 entry++; in do_plt_call() 219 entry->jump[0] = 0x3d600000+((val+0x8000)>>16); /* lis r11,sym@ha */ in do_plt_call() [all …]
|
/arch/powerpc/oprofile/cell/ |
D | spu_profiler.c | 77 static void spu_pc_extract(int cpu, int entry) in spu_pc_extract() argument 100 samples[spu * TRACE_ARRAY_SIZE + entry] in spu_pc_extract() 102 samples[(spu + SPUS_PER_TB_ENTRY) * TRACE_ARRAY_SIZE + entry] in spu_pc_extract() 113 int entry; in cell_spu_pc_collection() local 117 entry = 0; in cell_spu_pc_collection() 122 spu_pc_extract(cpu, entry); in cell_spu_pc_collection() 124 entry++; in cell_spu_pc_collection() 126 if (entry >= TRACE_ARRAY_SIZE) in cell_spu_pc_collection() 133 return entry; in cell_spu_pc_collection()
|
/arch/x86/oprofile/ |
D | op_model_amd.c | 159 struct op_entry entry; in op_amd_handle_ibs() local 168 oprofile_write_reserve(&entry, regs, msr, in op_amd_handle_ibs() 170 oprofile_add_data(&entry, (u32)msr); in op_amd_handle_ibs() 171 oprofile_add_data(&entry, (u32)(msr >> 32)); in op_amd_handle_ibs() 172 oprofile_add_data(&entry, low); in op_amd_handle_ibs() 173 oprofile_add_data(&entry, high); in op_amd_handle_ibs() 175 oprofile_add_data(&entry, (u32)msr); in op_amd_handle_ibs() 176 oprofile_add_data(&entry, (u32)(msr >> 32)); in op_amd_handle_ibs() 177 oprofile_write_commit(&entry); in op_amd_handle_ibs() 191 oprofile_write_reserve(&entry, regs, msr, in op_amd_handle_ibs() [all …]
|
/arch/sparc/kernel/ |
D | pci_sun4v.c | 39 unsigned long entry; /* Index into IOTSB. */ member 48 static inline void iommu_batch_start(struct device *dev, unsigned long prot, unsigned long entry) in iommu_batch_start() argument 54 p->entry = entry; in iommu_batch_start() 64 unsigned long entry = p->entry; in iommu_batch_flush() local 71 num = pci_sun4v_iommu_map(devhandle, HV_PCI_TSBID(0, entry), in iommu_batch_flush() 78 devhandle, HV_PCI_TSBID(0, entry), in iommu_batch_flush() 83 entry += num; in iommu_batch_flush() 88 p->entry = entry; in iommu_batch_flush() 94 static inline void iommu_batch_new_entry(unsigned long entry) in iommu_batch_new_entry() argument 98 if (p->entry + p->npages == entry) in iommu_batch_new_entry() [all …]
|
/arch/mips/kernel/ |
D | machine_kexec.c | 49 unsigned long entry; in machine_kexec() local 68 for (ptr = &image->head; (entry = *ptr) && !(entry &IND_DONE); in machine_kexec() 69 ptr = (entry & IND_INDIRECTION) ? in machine_kexec() 70 phys_to_virt(entry & PAGE_MASK) : ptr + 1) { in machine_kexec()
|
/arch/xtensa/mm/ |
D | misc.S | 32 entry a1, 16 56 entry a1, 16 111 entry a1, 32 173 entry a1, 32 274 entry sp, 16 296 entry sp, 16 320 entry sp, 16 332 entry sp, 16 344 entry sp, 16 356 entry sp, 16 [all …]
|