Searched refs:address (Results 1 - 200 of 9003) sorted by relevance

1234567891011>>

/linux-4.4.14/arch/x86/mm/kmemcheck/
H A Dpte.h8 pte_t *kmemcheck_pte_lookup(unsigned long address);
H A Dpte.c7 pte_t *kmemcheck_pte_lookup(unsigned long address) kmemcheck_pte_lookup() argument
12 pte = lookup_address(address, &level); kmemcheck_pte_lookup()
H A Dshadow.c12 * Return the shadow address for the given address. Returns NULL if the
13 * address is not tracked.
16 * because this function can be called for *any* possible address.
18 void *kmemcheck_shadow_lookup(unsigned long address) kmemcheck_shadow_lookup() argument
23 if (!virt_addr_valid(address)) kmemcheck_shadow_lookup()
26 pte = kmemcheck_pte_lookup(address); kmemcheck_shadow_lookup()
30 page = virt_to_page(address); kmemcheck_shadow_lookup()
33 return page->shadow + (address & (PAGE_SIZE - 1)); kmemcheck_shadow_lookup()
36 static void mark_shadow(void *address, unsigned int n, mark_shadow() argument
39 unsigned long addr = (unsigned long) address; mark_shadow()
77 void kmemcheck_mark_unallocated(void *address, unsigned int n) kmemcheck_mark_unallocated() argument
79 mark_shadow(address, n, KMEMCHECK_SHADOW_UNALLOCATED); kmemcheck_mark_unallocated()
82 void kmemcheck_mark_uninitialized(void *address, unsigned int n) kmemcheck_mark_uninitialized() argument
84 mark_shadow(address, n, KMEMCHECK_SHADOW_UNINITIALIZED); kmemcheck_mark_uninitialized()
88 * Fill the shadow memory of the given address such that the memory at that
89 * address is marked as being initialized.
91 void kmemcheck_mark_initialized(void *address, unsigned int n) kmemcheck_mark_initialized() argument
93 mark_shadow(address, n, KMEMCHECK_SHADOW_INITIALIZED); kmemcheck_mark_initialized()
97 void kmemcheck_mark_freed(void *address, unsigned int n) kmemcheck_mark_freed() argument
99 mark_shadow(address, n, KMEMCHECK_SHADOW_FREED); kmemcheck_mark_freed()
H A Derror.h9 unsigned long address, unsigned int size, struct pt_regs *regs);
H A Dshadow.h11 void *kmemcheck_shadow_lookup(unsigned long address);
/linux-4.4.14/tools/lib/lockdep/uinclude/linux/
H A Dkmemcheck.h4 static inline void kmemcheck_mark_initialized(void *address, unsigned int n) kmemcheck_mark_initialized() argument
/linux-4.4.14/mm/
H A Dpgtable-generic.c48 unsigned long address, pte_t *ptep, ptep_set_access_flags()
53 set_pte_at(vma->vm_mm, address, ptep, entry); ptep_set_access_flags()
54 flush_tlb_fix_spurious_fault(vma, address); ptep_set_access_flags()
62 unsigned long address, pte_t *ptep) ptep_clear_flush_young()
65 young = ptep_test_and_clear_young(vma, address, ptep); ptep_clear_flush_young()
67 flush_tlb_page(vma, address); ptep_clear_flush_young()
73 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, ptep_clear_flush() argument
78 pte = ptep_get_and_clear(mm, address, ptep); ptep_clear_flush()
80 flush_tlb_page(vma, address); ptep_clear_flush()
103 unsigned long address, pmd_t *pmdp, pmdp_set_access_flags()
107 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_set_access_flags()
109 set_pmd_at(vma->vm_mm, address, pmdp, entry); pmdp_set_access_flags()
110 flush_pmd_tlb_range(vma, address, address + HPAGE_PMD_SIZE); pmdp_set_access_flags()
118 unsigned long address, pmd_t *pmdp) pmdp_clear_flush_young()
121 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_clear_flush_young()
122 young = pmdp_test_and_clear_young(vma, address, pmdp); pmdp_clear_flush_young()
124 flush_pmd_tlb_range(vma, address, address + HPAGE_PMD_SIZE); pmdp_clear_flush_young()
130 pmd_t pmdp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, pmdp_huge_clear_flush() argument
134 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_huge_clear_flush()
136 pmd = pmdp_huge_get_and_clear(vma->vm_mm, address, pmdp); pmdp_huge_clear_flush()
137 flush_pmd_tlb_range(vma, address, address + HPAGE_PMD_SIZE); pmdp_huge_clear_flush()
143 void pmdp_splitting_flush(struct vm_area_struct *vma, unsigned long address, pmdp_splitting_flush() argument
147 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_splitting_flush()
148 set_pmd_at(vma->vm_mm, address, pmdp, pmd); pmdp_splitting_flush()
150 flush_pmd_tlb_range(vma, address, address + HPAGE_PMD_SIZE); pmdp_splitting_flush()
170 /* no "address" argument so destroys page coloring of some arch */ pgtable_trans_huge_withdraw()
191 void pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, pmdp_invalidate() argument
195 set_pmd_at(vma->vm_mm, address, pmdp, pmd_mknotpresent(entry)); pmdp_invalidate()
196 flush_pmd_tlb_range(vma, address, address + HPAGE_PMD_SIZE); pmdp_invalidate()
201 pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, unsigned long address, pmdp_collapse_flush() argument
210 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_collapse_flush()
212 pmd = pmdp_huge_get_and_clear(vma->vm_mm, address, pmdp); pmdp_collapse_flush()
215 flush_tlb_range(vma, address, address + HPAGE_PMD_SIZE); pmdp_collapse_flush()
47 ptep_set_access_flags(struct vm_area_struct *vma, unsigned long address, pte_t *ptep, pte_t entry, int dirty) ptep_set_access_flags() argument
61 ptep_clear_flush_young(struct vm_area_struct *vma, unsigned long address, pte_t *ptep) ptep_clear_flush_young() argument
102 pmdp_set_access_flags(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp, pmd_t entry, int dirty) pmdp_set_access_flags() argument
117 pmdp_clear_flush_young(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp) pmdp_clear_flush_young() argument
H A Dmaccess.c11 * @src: address to read from
14 * Safely read from address @src to the buffer at @dst. If a kernel fault
44 * @dst: address to write to
48 * Safely write to address @dst from the buffer at @src. If a kernel fault
70 * strncpy_from_unsafe: - Copy a NUL terminated string from unsafe address.
71 * @dst: Destination address, in kernel space. This buffer must be at
73 * @src: Unsafe address.
76 * Copies a NUL-terminated string from unsafe address to kernel buffer.
/linux-4.4.14/arch/mips/mm/
H A Dioremap.c19 static inline void remap_area_pte(pte_t * pte, unsigned long address, remap_area_pte() argument
27 address &= ~PMD_MASK; remap_area_pte()
28 end = address + size; remap_area_pte()
31 BUG_ON(address >= end); remap_area_pte()
39 address += PAGE_SIZE; remap_area_pte()
42 } while (address && (address < end)); remap_area_pte()
45 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, remap_area_pmd() argument
50 address &= ~PGDIR_MASK; remap_area_pmd()
51 end = address + size; remap_area_pmd()
54 phys_addr -= address; remap_area_pmd()
55 BUG_ON(address >= end); remap_area_pmd()
57 pte_t * pte = pte_alloc_kernel(pmd, address); remap_area_pmd()
60 remap_area_pte(pte, address, end - address, address + phys_addr, flags); remap_area_pmd()
61 address = (address + PMD_SIZE) & PMD_MASK; remap_area_pmd()
63 } while (address && (address < end)); remap_area_pmd()
67 static int remap_area_pages(unsigned long address, phys_addr_t phys_addr, remap_area_pages() argument
72 unsigned long end = address + size; remap_area_pages()
74 phys_addr -= address; remap_area_pages()
75 dir = pgd_offset(&init_mm, address); remap_area_pages()
77 BUG_ON(address >= end); remap_area_pages()
83 pud = pud_alloc(&init_mm, dir, address); remap_area_pages()
86 pmd = pmd_alloc(&init_mm, pud, address); remap_area_pages()
89 if (remap_area_pmd(pmd, address, end - address, remap_area_pages()
90 phys_addr + address, flags)) remap_area_pages()
93 address = (address + PGDIR_SIZE) & PGDIR_MASK; remap_area_pages()
95 } while (address && (address < end)); remap_area_pages()
105 * Remap an arbitrary physical address space into the kernel virtual
106 * address space. Needed when the kernel wants to access high addresses
131 * Map uncached objects in the low 512mb of address space using KSEG1, __ioremap()
186 printk(KERN_ERR "iounmap: bad address %p\n", addr); __iounmap()
H A Dfault.c35 * This routine handles page faults. It determines the address,
40 unsigned long address) __do_page_fault()
54 current->comm, current->pid, field, address, write, __do_page_fault()
84 if (unlikely(address >= VMALLOC_START && address <= VMALLOC_END)) __do_page_fault()
87 if (unlikely(address >= MODULE_START && address < MODULE_END)) __do_page_fault()
102 vma = find_vma(mm, address); __do_page_fault()
105 if (vma->vm_start <= address) __do_page_fault()
109 if (expand_stack(vma, address)) __do_page_fault()
124 if (address == regs->cp0_epc && !(vma->vm_flags & VM_EXEC)) { __do_page_fault()
129 field, address, write, __do_page_fault()
135 exception_epc(regs) != address) { __do_page_fault()
140 field, address, write, __do_page_fault()
156 fault = handle_mm_fault(mm, vma, address, flags); __do_page_fault()
161 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address); __do_page_fault()
174 regs, address); __do_page_fault()
178 regs, address); __do_page_fault()
208 tsk->thread.cp0_badvaddr = address; __do_page_fault()
216 field, address); __do_page_fault()
229 info.si_addr = (void __user *) address; __do_page_fault()
237 current->thread.cp0_baduaddr = address; __do_page_fault()
248 "virtual address %0*lx, epc == %0*lx, ra == %0*lx\n", __do_page_fault()
249 raw_smp_processor_id(), field, address, field, regs->cp0_epc, __do_page_fault()
280 field, address, __do_page_fault()
285 tsk->thread.cp0_badvaddr = address; __do_page_fault()
289 info.si_addr = (void __user *) address; __do_page_fault()
303 int offset = __pgd_offset(address); __do_page_fault()
316 pud = pud_offset(pgd, address); __do_page_fault()
317 pud_k = pud_offset(pgd_k, address); __do_page_fault()
321 pmd = pmd_offset(pud, address); __do_page_fault()
322 pmd_k = pmd_offset(pud_k, address); __do_page_fault()
327 pte_k = pte_offset_kernel(pmd_k, address); __do_page_fault()
336 unsigned long write, unsigned long address) do_page_fault()
341 __do_page_fault(regs, write, address); do_page_fault()
39 __do_page_fault(struct pt_regs *regs, unsigned long write, unsigned long address) __do_page_fault() argument
335 do_page_fault(struct pt_regs *regs, unsigned long write, unsigned long address) do_page_fault() argument
/linux-4.4.14/arch/nios2/mm/
H A Dioremap.c22 static inline void remap_area_pte(pte_t *pte, unsigned long address, remap_area_pte() argument
31 address &= ~PMD_MASK; remap_area_pte()
32 end = address + size; remap_area_pte()
35 if (address >= end) remap_area_pte()
44 address += PAGE_SIZE; remap_area_pte()
47 } while (address && (address < end)); remap_area_pte()
50 static inline int remap_area_pmd(pmd_t *pmd, unsigned long address, remap_area_pmd() argument
56 address &= ~PGDIR_MASK; remap_area_pmd()
57 end = address + size; remap_area_pmd()
60 phys_addr -= address; remap_area_pmd()
61 if (address >= end) remap_area_pmd()
64 pte_t *pte = pte_alloc_kernel(pmd, address); remap_area_pmd()
68 remap_area_pte(pte, address, end - address, address + phys_addr, remap_area_pmd()
70 address = (address + PMD_SIZE) & PMD_MASK; remap_area_pmd()
72 } while (address && (address < end)); remap_area_pmd()
76 static int remap_area_pages(unsigned long address, unsigned long phys_addr, remap_area_pages() argument
81 unsigned long end = address + size; remap_area_pages()
83 phys_addr -= address; remap_area_pages()
84 dir = pgd_offset(&init_mm, address); remap_area_pages()
86 if (address >= end) remap_area_pages()
93 pud = pud_alloc(&init_mm, dir, address); remap_area_pages()
96 pmd = pmd_alloc(&init_mm, pud, address); remap_area_pages()
99 if (remap_area_pmd(pmd, address, end - address, remap_area_pages()
100 phys_addr + address, flags)) remap_area_pages()
103 address = (address + PGDIR_SIZE) & PGDIR_MASK; remap_area_pages()
105 } while (address && (address < end)); remap_area_pages()
113 * Map some physical address range into the kernel address space.
143 * Map uncached objects in the low part of address space to __ioremap()
184 pr_err("iounmap: bad address %p\n", addr); __iounmap()
H A Dfault.c31 #define EXC_SUPERV_INSN_ACCESS 9 /* Supervisor only instruction address */
32 #define EXC_SUPERV_DATA_ACCESS 11 /* Supervisor only data address */
38 * This routine handles page faults. It determines the address,
43 unsigned long address) do_page_fault()
66 if (unlikely(address >= VMALLOC_START && address <= VMALLOC_END)) { do_page_fault()
73 if (unlikely(address >= TASK_SIZE)) do_page_fault()
93 vma = find_vma(mm, address); do_page_fault()
96 if (vma->vm_start <= address) do_page_fault()
100 if (expand_stack(vma, address)) do_page_fault()
134 fault = handle_mm_fault(mm, vma, address, flags); do_page_fault()
190 "cause %ld\n", current->comm, SIGSEGV, address, cause); do_page_fault()
193 _exception(SIGSEGV, regs, code, address); do_page_fault()
208 pr_alert("Unable to handle kernel %s at virtual address %08lx", do_page_fault()
209 address < PAGE_SIZE ? "NULL pointer dereference" : do_page_fault()
210 "paging request", address); do_page_fault()
234 _exception(SIGBUS, regs, BUS_ADRERR, address); do_page_fault()
246 int offset = pgd_index(address); do_page_fault()
259 pud = pud_offset(pgd, address); do_page_fault()
260 pud_k = pud_offset(pgd_k, address); do_page_fault()
263 pmd = pmd_offset(pud, address); do_page_fault()
264 pmd_k = pmd_offset(pud_k, address); do_page_fault()
269 pte_k = pte_offset_kernel(pmd_k, address); do_page_fault()
273 flush_tlb_one(address); do_page_fault()
42 do_page_fault(struct pt_regs *regs, unsigned long cause, unsigned long address) do_page_fault() argument
/linux-4.4.14/arch/x86/include/asm/
H A Dbios_ebda.h7 * Returns physical address of EBDA. Returns 0 if there is no EBDA.
15 unsigned int address = *(unsigned short *)phys_to_virt(0x40E); get_bios_ebda() local
16 address <<= 4; get_bios_ebda()
17 return address; /* 0 means none */ get_bios_ebda()
25 unsigned int address; get_bios_ebda_length() local
28 address = get_bios_ebda(); get_bios_ebda_length()
29 if (!address) get_bios_ebda_length()
33 length = *(unsigned char *)phys_to_virt(address); get_bios_ebda_length()
37 length = min_t(unsigned int, (640 * 1024) - address, length); get_bios_ebda_length()
H A Dvsyscall.h14 extern bool emulate_vsyscall(struct pt_regs *regs, unsigned long address);
17 static inline bool emulate_vsyscall(struct pt_regs *regs, unsigned long address) emulate_vsyscall() argument
H A Dkasan.h11 * 'kernel address space start' >> KASAN_SHADOW_SCALE_SHIFT
15 /* 47 bits for kernel address -> (47 - 3) bits for shadow */
H A Dkmemcheck.h14 unsigned long address, unsigned long error_code);
31 unsigned long address, unsigned long error_code) kmemcheck_fault()
30 kmemcheck_fault(struct pt_regs *regs, unsigned long address, unsigned long error_code) kmemcheck_fault() argument
/linux-4.4.14/arch/x86/include/asm/trace/
H A Dexceptions.h14 TP_PROTO(unsigned long address, struct pt_regs *regs,
17 TP_ARGS(address, regs, error_code),
20 __field( unsigned long, address )
26 __entry->address = address;
31 TP_printk("address=%pf ip=%pf error_code=0x%lx",
32 (void *)__entry->address, (void *)__entry->ip,
37 TP_PROTO(unsigned long address, struct pt_regs *regs, \
39 TP_ARGS(address, regs, error_code), \
/linux-4.4.14/drivers/net/ethernet/agere/
H A Det131x.h82 * Tx queue start address reg in global address map at address 0x0000
83 * tx queue end address reg in global address map at address 0x0004
84 * rx queue start address reg in global address map at address 0x0008
85 * rx queue end address reg in global address map at address 0x000C
88 /* structure for power management control status reg in global address map
89 * located at address 0x0010
104 /* Interrupt status reg at address 0x0018
121 /* Interrupt mask register at address 0x001C
122 * Interrupt alias clear mask reg at address 0x0020
123 * Interrupt status alias reg at address 0x0024
128 /* Software reset reg at address 0x0028
140 /* SLV Timer reg at address 0x002C (low 24 bits)
143 /* MSI Configuration reg at address 0x0030
148 /* Loopback reg located at address 0x0034
154 * Located at address 0x0000
175 /* txdma control status reg at address 0x1000
184 /* structure for txdma packet ring base address hi reg in txdma address map
185 * located at address 0x1004
189 /* structure for txdma packet ring base address low reg in txdma address map
190 * located at address 0x1008
194 /* structure for txdma packet ring number of descriptor reg in txdma address
195 * map. Located at address 0x100C
212 * txdma tx queue write address reg in txdma address map at 0x1010
213 * txdma tx queue write address external reg in txdma address map at 0x1014
214 * txdma tx queue read address reg in txdma address map at 0x1018
217 * txdma status writeback address hi reg in txdma address map at0x101C
218 * txdma status writeback address lo reg in txdma address map at 0x1020
221 * txdma service request reg in txdma address map at 0x1024
222 * structure for txdma service complete reg in txdma address map at 0x1028
225 * txdma tx descriptor cache read index reg in txdma address map at 0x102C
226 * txdma tx descriptor cache write index reg in txdma address map at 0x1030
228 * txdma error reg in txdma address map at address 0x1034
238 * Located at address 0x1000
272 /* structure for control status reg in rxdma address map
273 * Located at address 0x2000
301 /* structure for dma writeback lo reg in rxdma address map
302 * located at address 0x2004
306 /* structure for dma writeback hi reg in rxdma address map
307 * located at address 0x2008
311 /* structure for number of packets done reg in rxdma address map
312 * located at address 0x200C
318 /* structure for max packet time reg in rxdma address map
319 * located at address 0x2010
325 /* structure for rx queue read address reg in rxdma address map
326 * located at address 0x2014
330 /* structure for rx queue read address external reg in rxdma address map
331 * located at address 0x2018
335 /* structure for rx queue write address reg in rxdma address map
336 * located at address 0x201C
340 /* structure for packet status ring base address lo reg in rxdma address map
341 * located at address 0x2020
345 /* structure for packet status ring base address hi reg in rxdma address map
346 * located at address 0x2024
350 /* structure for packet status ring number of descriptors reg in rxdma address
351 * map. Located at address 0x2028
358 /* structure for packet status ring available offset reg in rxdma address map
359 * located at address 0x202C
366 /* structure for packet status ring full offset reg in rxdma address map
367 * located at address 0x2030
374 /* structure for packet status ring access index reg in rxdma address map
375 * located at address 0x2034
381 /* structure for packet status ring minimum descriptors reg in rxdma address
382 * map. Located at address 0x2038
388 /* structure for free buffer ring base lo address reg in rxdma address map
389 * located at address 0x203C
393 /* structure for free buffer ring base hi address reg in rxdma address map
394 * located at address 0x2040
398 /* structure for free buffer ring number of descriptors reg in rxdma address
399 * map. Located at address 0x2044
405 /* structure for free buffer ring 0 available offset reg in rxdma address map
406 * located at address 0x2048
410 /* structure for free buffer ring 0 full offset reg in rxdma address map
411 * located at address 0x204C
415 /* structure for free buffer cache 0 full offset reg in rxdma address map
416 * located at address 0x2050
422 /* structure for free buffer ring 0 minimum descriptor reg in rxdma address map
423 * located at address 0x2054
429 /* structure for free buffer ring 1 base address lo reg in rxdma address map
430 * located at address 0x2058 - 0x205C
434 /* structure for free buffer ring 1 number of descriptors reg in rxdma address
435 * map. Located at address 0x2060
439 /* structure for free buffer ring 1 available offset reg in rxdma address map
440 * located at address 0x2064
444 /* structure for free buffer ring 1 full offset reg in rxdma address map
445 * located at address 0x2068
449 /* structure for free buffer cache 1 read index reg in rxdma address map
450 * located at address 0x206C
454 /* structure for free buffer ring 1 minimum descriptor reg in rxdma address map
455 * located at address 0x2070
460 * Located at address 0x2000
497 /* structure for control reg in txmac address map
498 * located at address 0x3000
514 /* structure for shadow pointer reg in txmac address map
515 * located at address 0x3004
522 /* structure for error count reg in txmac address map
523 * located at address 0x3008
531 /* structure for max fill reg in txmac address map
532 * located at address 0x300C
537 /* structure for cf parameter reg in txmac address map
538 * located at address 0x3010
543 /* structure for tx test reg in txmac address map
544 * located at address 0x3014
552 /* structure for error reg in txmac address map
553 * located at address 0x3018
566 /* structure for error interrupt reg in txmac address map
567 * located at address 0x301C
580 /* structure for error interrupt reg in txmac address map
581 * located at address 0x3020
606 /* structure for rxmac control reg in rxmac address map
607 * located at address 0x4000
621 /* structure for Wake On Lan Control and CRC 0 reg in rxmac address map
622 * located at address 0x4004
635 /* structure for CRC 1 and CRC 2 reg in rxmac address map
636 * located at address 0x4008
642 /* structure for CRC 3 and CRC 4 reg in rxmac address map
643 * located at address 0x400C
649 /* structure for Wake On Lan Source Address Lo reg in rxmac address map
650 * located at address 0x4010
661 /* structure for Wake On Lan Source Address Hi reg in rxmac address map
662 * located at address 0x4014
670 /* structure for Wake On Lan mask reg in rxmac address map
671 * located at address 0x4018 - 0x4064
675 /* structure for Unicast Packet Filter Address 1 reg in rxmac address map
676 * located at address 0x4068
687 /* structure for Unicast Packet Filter Address 2 reg in rxmac address map
688 * located at address 0x406C
699 /* structure for Unicast Packet Filter Address 1 & 2 reg in rxmac address map
700 * located at address 0x4070
711 /* structure for Multicast Hash reg in rxmac address map
712 * located at address 0x4074 - 0x4080
716 /* structure for Packet Filter Control reg in rxmac address map
717 * located at address 0x4084
734 * address map. Located at address 0x4088
745 /* structure for Memory Controller Interface Water Mark reg in rxmac address
746 * map. Located at address 0x408C
754 /* structure for Rx Queue Dialog reg in rxmac address map.
755 * located at address 0x4090
763 /* structure for space available reg in rxmac address map.
764 * located at address 0x4094
772 /* structure for management interface reg in rxmac address map.
773 * located at address 0x4098
780 /* structure for Error reg in rxmac address map.
781 * located at address 0x409C
839 /* structure for configuration #1 reg in mac address map.
840 * located at address 0x5000
872 /* structure for configuration #2 reg in mac address map.
873 * located at address 0x5004
896 /* structure for Interpacket gap reg in mac address map.
897 * located at address 0x5008
906 * structure for half duplex reg in mac address map.
907 * located at address 0x500C
919 /* structure for Maximum Frame Length reg in mac address map.
920 * located at address 0x5010: bits 0-15 hold the length.
923 /* structure for Reserve 1 reg in mac address map.
924 * located at address 0x5014 - 0x5018
928 /* structure for Test reg in mac address map.
929 * located at address 0x501C
933 /* structure for MII Management Configuration reg in mac address map.
934 * located at address 0x5020
945 /* structure for MII Management Command reg in mac address map.
946 * located at address 0x5024
951 /* structure for MII Management Address reg in mac address map.
952 * located at address 0x5028
960 /* structure for MII Management Control reg in mac address map.
961 * located at address 0x502C
966 /* structure for MII Management Status reg in mac address map.
967 * located at address 0x5030
973 /* structure for MII Management Indicators reg in mac address map.
974 * located at address 0x5034
983 /* structure for Interface Control reg in mac address map.
984 * located at address 0x5038
1007 /* structure for Interface Status reg in mac address map.
1008 * located at address 0x503C
1023 /* structure for Mac Station Address, Part 1 reg in mac address map.
1024 * located at address 0x5040
1035 /* structure for Mac Station Address, Part 2 reg in mac address map.
1036 * located at address 0x5044
1072 * stat address map address 0x6130 and 0x6138.
1101 /* structure for Carry Register Two Mask Register reg in mac stat address map.
1102 * located at address 0x613C
1186 /* Main Memory Controller Control reg in mmc address map.
1187 * located at address 0x7000
1198 * address map. Located at address 0x7004. Top 16 bits hold the address bits
1205 * address map. Located at address 0x7008 - 0x7014
1226 /* unused section of global address map */
1229 /* unused section of txdma address map */
1232 /* unused section of rxdma address map */
1235 /* unused section of txmac address map */
1238 /* unused section of rxmac address map */
1241 /* unused section of mac address map */
1244 /* unused section of mac stat address map */
1247 /* unused section of mmc address map */
1249 /* unused section of address map */
1252 u8 unused__[524288]; /* unused section of address map */
/linux-4.4.14/arch/m68k/include/asm/
H A Dvirtconvert.h18 static inline unsigned long virt_to_phys(void *address) virt_to_phys() argument
20 return __pa(address); virt_to_phys()
23 static inline void *phys_to_virt(unsigned long address) phys_to_virt() argument
25 return __va(address); phys_to_virt()
28 /* Permanent address of a page. */
37 * IO bus memory addresses are 1:1 with the physical address,
H A Dkexec.h6 /* Maximum physical address we can use pages from */
8 /* Maximum address we can reach in physical address mode */
10 /* Maximum address we can use for the control code buffer */
H A Dpci.h7 /* The PCI address space does equal the physical memory
8 * address space. The networking and block device layers use
H A Dsun3-head.h4 #define KERNBASE 0xE000000 /* First address the kernel will eventually be */
H A Dmcf_pgalloc.h15 unsigned long address) pte_alloc_one_kernel()
26 extern inline pmd_t *pmd_alloc_kernel(pgd_t *pgd, unsigned long address) pmd_alloc_kernel() argument
31 #define pmd_alloc_one_fast(mm, address) ({ BUG(); ((pmd_t *)1); })
32 #define pmd_alloc_one(mm, address) ({ BUG(); ((pmd_t *)2); })
44 unsigned long address) __pte_free_tlb()
49 #define __pmd_free_tlb(tlb, pmd, address) do { } while (0)
52 unsigned long address) pte_alloc_one()
14 pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) pte_alloc_one_kernel() argument
43 __pte_free_tlb(struct mmu_gather *tlb, pgtable_t page, unsigned long address) __pte_free_tlb() argument
51 pte_alloc_one(struct mm_struct *mm, unsigned long address) pte_alloc_one() argument
H A Dmotorola_pgalloc.h10 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) pte_alloc_one_kernel() argument
30 static inline pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address) pte_alloc_one() argument
60 unsigned long address) __pte_free_tlb()
69 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) pmd_alloc_one() argument
80 unsigned long address) __pmd_free_tlb()
59 __pte_free_tlb(struct mmu_gather *tlb, pgtable_t page, unsigned long address) __pte_free_tlb() argument
79 __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd, unsigned long address) __pmd_free_tlb() argument
/linux-4.4.14/arch/x86/math-emu/
H A Dget_address.c4 | Get the effective address from an FPU instruction. |
122 static unsigned long vm86_segment(u_char segment, struct address *addr) vm86_segment()
137 struct address *addr, long offset) pm_address()
140 unsigned long base_address, limit, address, seg_top; pm_address() local
163 address = base_address + offset; pm_address()
178 (address <= limit) || (address >= seg_top) ? 0 : pm_address()
179 ((seg_top - address) >= 255 ? 255 : seg_top - address); pm_address()
182 (address > limit) || (address < base_address) ? 0 : pm_address()
183 ((limit - address) >= 254 ? 255 : limit - address + 1); pm_address()
189 return address; pm_address()
209 struct address *addr, fpu_addr_modes addr_modes) FPU_get_address()
214 int address = 0; /* Initialized just to stop compiler warnings. */ FPU_get_address() local
228 address = sib(mod, fpu_eip); FPU_get_address()
237 FPU_get_user(address, FPU_get_address()
242 addr->offset = address; FPU_get_address()
243 return (void __user *)address; FPU_get_address()
245 address = *cpu_reg_ptr; /* Just return the contents FPU_get_address()
247 addr->offset = address; FPU_get_address()
248 return (void __user *)address; FPU_get_address()
254 FPU_get_user(address, (signed char __user *)(*fpu_eip)); FPU_get_address()
262 FPU_get_user(address, (long __user *)(*fpu_eip)); FPU_get_address()
270 address += *cpu_reg_ptr; FPU_get_address()
273 addr->offset = address; FPU_get_address()
279 address += vm86_segment(addr_modes.override.segment, addr); FPU_get_address()
283 address = pm_address(FPU_modrm, addr_modes.override.segment, FPU_get_address()
284 addr, address); FPU_get_address()
290 return (void __user *)address; FPU_get_address()
294 struct address *addr, fpu_addr_modes addr_modes) FPU_get_address_16()
298 int address = 0; /* Default used for mod == 0 */ FPU_get_address_16() local
317 FPU_get_user(address, FPU_get_address_16()
328 FPU_get_user(address, (signed char __user *)(*fpu_eip)); FPU_get_address_16()
336 FPU_get_user(address, (unsigned short __user *)(*fpu_eip)); FPU_get_address_16()
347 address += FPU_info->regs->bx + FPU_info->regs->si; FPU_get_address_16()
350 address += FPU_info->regs->bx + FPU_info->regs->di; FPU_get_address_16()
353 address += FPU_info->regs->bp + FPU_info->regs->si; FPU_get_address_16()
358 address += FPU_info->regs->bp + FPU_info->regs->di; FPU_get_address_16()
363 address += FPU_info->regs->si; FPU_get_address_16()
366 address += FPU_info->regs->di; FPU_get_address_16()
369 address += FPU_info->regs->bp; FPU_get_address_16()
374 address += FPU_info->regs->bx; FPU_get_address_16()
379 address &= 0xffff; FPU_get_address_16()
381 addr->offset = address; FPU_get_address_16()
387 address += vm86_segment(addr_modes.override.segment, addr); FPU_get_address_16()
391 address = pm_address(FPU_modrm, addr_modes.override.segment, FPU_get_address_16()
392 addr, address); FPU_get_address_16()
398 return (void __user *)address; FPU_get_address_16()
/linux-4.4.14/include/linux/
H A Daltera_uart.h9 unsigned long mapbase; /* Physical address base */
12 unsigned int bus_shift; /* Bus shift (address stride) */
H A Detherdevice.h63 * is_link_local_ether_addr - Determine if given Ethernet address is link-local
64 * @addr: Pointer to a six-byte array containing the Ethernet address
66 * Return true if address is link local reserved addr (01:80:c2:00:00:0X) per
86 * is_zero_ether_addr - Determine if give Ethernet address is all zeros.
87 * @addr: Pointer to a six-byte array containing the Ethernet address
89 * Return true if the address is all zeroes.
105 * is_multicast_ether_addr - Determine if the Ethernet address is a multicast.
106 * @addr: Pointer to a six-byte array containing the Ethernet address
108 * Return true if the address is a multicast address.
109 * By definition the broadcast address is also a multicast address.
139 * is_local_ether_addr - Determine if the Ethernet address is locally-assigned one (IEEE 802).
140 * @addr: Pointer to a six-byte array containing the Ethernet address
142 * Return true if the address is a local address.
150 * is_broadcast_ether_addr - Determine if the Ethernet address is broadcast
151 * @addr: Pointer to a six-byte array containing the Ethernet address
153 * Return true if the address is the broadcast address.
165 * is_unicast_ether_addr - Determine if the Ethernet address is unicast
166 * @addr: Pointer to a six-byte array containing the Ethernet address
168 * Return true if the address is a unicast address.
176 * is_valid_ether_addr - Determine if the given Ethernet address is valid
177 * @addr: Pointer to a six-byte array containing the Ethernet address
179 * Check that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not
180 * a multicast address, and is not FF:FF:FF:FF:FF:FF.
182 * Return true if the address is valid.
188 /* FF:FF:FF:FF:FF:FF is a multicast address so we don't need to is_valid_ether_addr()
212 * eth_random_addr - Generate software assigned random Ethernet address
213 * @addr: Pointer to a six-byte array containing the Ethernet address
215 * Generate a random Ethernet address (MAC) that is not multicast
228 * eth_broadcast_addr - Assign broadcast address
229 * @addr: Pointer to a six-byte array containing the Ethernet address
231 * Assign the broadcast address to the given address array.
239 * eth_zero_addr - Assign zero address
240 * @addr: Pointer to a six-byte array containing the Ethernet address
242 * Assign the zero address to the given address array.
254 * Generate a random Ethernet address (MAC) to be used by a net device
265 * ether_addr_copy - Copy an Ethernet address
266 * @dst: Pointer to a six-byte array Ethernet address destination
267 * @src: Pointer to a six-byte array Ethernet address source
291 * Copy the Ethernet address from one net_device to another along with
292 * the address attributes (addr_assign_type).
303 * @addr1: Pointer to a six-byte array containing the Ethernet address
304 * @addr2: Pointer other six-byte array containing the Ethernet address
357 * @addr1: Pointer to a six-byte array containing the Ethernet address
358 * @addr2: Pointer other six-byte array containing the Ethernet address
362 * Please note: Use only when any Ethernet address may not be u16 aligned.
374 * is_etherdev_addr - Tell if given Ethernet address belongs to the device.
376 * @addr: Pointer to a six-byte array containing the Ethernet address
378 * Compare passed address with all addresses of the device. Return true if the
379 * address if one of the device addresses.
H A Daltera_jtaguart.h12 unsigned long mapbase; /* Physical address base */
H A Dcrc32c.h6 extern u32 crc32c(u32 crc, const void *address, unsigned int length);
H A Delf-fdpic.h24 unsigned long elfhdr_addr; /* mapped ELF header user address */
25 unsigned long ph_addr; /* mapped PT_PHDR user address */
26 unsigned long map_addr; /* mapped loadmap user address */
27 unsigned long entry_addr; /* mapped entry user address */
29 unsigned long dynamic_addr; /* mapped PT_DYNAMIC user address */
30 unsigned long load_addr; /* user address at which to map binary */
H A Drxrpc.h19 * RxRPC socket address
22 sa_family_t srx_family; /* address family */
25 u16 transport_len; /* length of transport address */
27 sa_family_t family; /* transport address family */
28 struct sockaddr_in sin; /* IPv4 transport address */
29 struct sockaddr_in6 sin6; /* IPv6 transport address */
H A Dkmemcheck.h25 void kmemcheck_mark_unallocated(void *address, unsigned int n);
26 void kmemcheck_mark_uninitialized(void *address, unsigned int n);
27 void kmemcheck_mark_initialized(void *address, unsigned int n);
28 void kmemcheck_mark_freed(void *address, unsigned int n);
34 int kmemcheck_show_addr(unsigned long address);
35 int kmemcheck_hide_addr(unsigned long address);
123 static inline void kmemcheck_mark_unallocated(void *address, unsigned int n) kmemcheck_mark_unallocated() argument
127 static inline void kmemcheck_mark_uninitialized(void *address, unsigned int n) kmemcheck_mark_uninitialized() argument
131 static inline void kmemcheck_mark_initialized(void *address, unsigned int n) kmemcheck_mark_initialized() argument
135 static inline void kmemcheck_mark_freed(void *address, unsigned int n) kmemcheck_mark_freed() argument
H A Dlz4.h27 * src : source address of the original data
29 * dst : output buffer address of the compressed data
32 * workmem : address of the working memory.
44 * src : source address of the original data
46 * dst : output buffer address of the compressed data
49 * workmem : address of the working memory.
61 * src : source address of the compressed data
63 * dest : output buffer address of the decompressed data
75 * src : source address of the compressed data
77 * dest : output buffer address of the decompressed data
H A D8250_pci.h12 /* Use successive BARs (PCI base address registers),
19 /* Use the Base address register size to cap number of ports */
/linux-4.4.14/include/uapi/linux/netfilter/
H A Dxt_iprange.h8 IPRANGE_SRC = 1 << 0, /* match source IP address */
9 IPRANGE_DST = 1 << 1, /* match destination IP address */
/linux-4.4.14/arch/mips/include/asm/octeon/
H A Dcvmx-scratch.h47 * @address: byte address to read from
51 static inline uint8_t cvmx_scratch_read8(uint64_t address) cvmx_scratch_read8() argument
53 return *CASTPTR(volatile uint8_t, CVMX_SCRATCH_BASE + address); cvmx_scratch_read8()
59 * @address: byte address to read from
63 static inline uint16_t cvmx_scratch_read16(uint64_t address) cvmx_scratch_read16() argument
65 return *CASTPTR(volatile uint16_t, CVMX_SCRATCH_BASE + address); cvmx_scratch_read16()
71 * @address: byte address to read from
75 static inline uint32_t cvmx_scratch_read32(uint64_t address) cvmx_scratch_read32() argument
77 return *CASTPTR(volatile uint32_t, CVMX_SCRATCH_BASE + address); cvmx_scratch_read32()
83 * @address: byte address to read from
87 static inline uint64_t cvmx_scratch_read64(uint64_t address) cvmx_scratch_read64() argument
89 return *CASTPTR(volatile uint64_t, CVMX_SCRATCH_BASE + address); cvmx_scratch_read64()
95 * @address: byte address to write to
98 static inline void cvmx_scratch_write8(uint64_t address, uint64_t value) cvmx_scratch_write8() argument
100 *CASTPTR(volatile uint8_t, CVMX_SCRATCH_BASE + address) = cvmx_scratch_write8()
107 * @address: byte address to write to
110 static inline void cvmx_scratch_write16(uint64_t address, uint64_t value) cvmx_scratch_write16() argument
112 *CASTPTR(volatile uint16_t, CVMX_SCRATCH_BASE + address) = cvmx_scratch_write16()
119 * @address: byte address to write to
122 static inline void cvmx_scratch_write32(uint64_t address, uint64_t value) cvmx_scratch_write32() argument
124 *CASTPTR(volatile uint32_t, CVMX_SCRATCH_BASE + address) = cvmx_scratch_write32()
131 * @address: byte address to write to
134 static inline void cvmx_scratch_write64(uint64_t address, uint64_t value) cvmx_scratch_write64() argument
136 *CASTPTR(volatile uint64_t, CVMX_SCRATCH_BASE + address) = value; cvmx_scratch_write64()
H A Dcvmx-asm.h93 #define CVMX_PREPARE_FOR_STORE(address, offset) \
95 [rbase] "d" (address))
101 #define CVMX_DONT_WRITE_BACK(address, offset) \
103 [rbase] "d" (address))
117 #define CVMX_CACHE(op, address, offset) \
119 : : [rbase] "d" (address) )
121 #define CVMX_CACHE_LCKL2(address, offset) CVMX_CACHE(31, address, offset)
123 #define CVMX_CACHE_WBIL2(address, offset) CVMX_CACHE(23, address, offset)
125 #define CVMX_CACHE_WBIL2I(address, offset) CVMX_CACHE(3, address, offset)
127 #define CVMX_CACHE_LTGL2I(address, offset) CVMX_CACHE(7, address, offset)
/linux-4.4.14/drivers/acpi/acpica/
H A Drsaddr.c53 * acpi_rs_convert_address16 - All WORD (16-bit) address resources
77 {ACPI_RSC_MOVE16, ACPI_RS_OFFSET(data.address16.address.granularity),
90 * acpi_rs_convert_address32 - All DWORD (32-bit) address resources
115 {ACPI_RSC_MOVE32, ACPI_RS_OFFSET(data.address32.address.granularity),
128 * acpi_rs_convert_address64 - All QWORD (64-bit) address resources
153 {ACPI_RSC_MOVE64, ACPI_RS_OFFSET(data.address64.address.granularity),
166 * acpi_rs_convert_ext_address64 - All Extended (64-bit) address resources
198 ACPI_RS_OFFSET(data.ext_address64.address.granularity),
205 * acpi_rs_convert_general_flags - Flags common to all address descriptors
210 {ACPI_RSC_FLAGINIT, 0, AML_OFFSET(address.flags),
215 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.address.resource_type),
216 AML_OFFSET(address.resource_type),
221 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.producer_consumer),
222 AML_OFFSET(address.flags),
225 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.decode),
226 AML_OFFSET(address.flags),
229 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.min_address_fixed),
230 AML_OFFSET(address.flags),
233 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.max_address_fixed),
234 AML_OFFSET(address.flags),
240 * acpi_rs_convert_mem_flags - Flags common to Memory address descriptors
245 {ACPI_RSC_FLAGINIT, 0, AML_OFFSET(address.specific_flags),
250 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.info.mem.write_protect),
251 AML_OFFSET(address.specific_flags),
254 {ACPI_RSC_2BITFLAG, ACPI_RS_OFFSET(data.address.info.mem.caching),
255 AML_OFFSET(address.specific_flags),
258 {ACPI_RSC_2BITFLAG, ACPI_RS_OFFSET(data.address.info.mem.range_type),
259 AML_OFFSET(address.specific_flags),
262 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.info.mem.translation),
263 AML_OFFSET(address.specific_flags),
269 * acpi_rs_convert_io_flags - Flags common to I/O address descriptors
274 {ACPI_RSC_FLAGINIT, 0, AML_OFFSET(address.specific_flags),
279 {ACPI_RSC_2BITFLAG, ACPI_RS_OFFSET(data.address.info.io.range_type),
280 AML_OFFSET(address.specific_flags),
283 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.info.io.translation),
284 AML_OFFSET(address.specific_flags),
288 ACPI_RS_OFFSET(data.address.info.io.translation_type),
289 AML_OFFSET(address.specific_flags),
315 if ((aml->address.resource_type > 2) acpi_rs_get_address_common()
316 && (aml->address.resource_type < 0xC0)) { acpi_rs_get_address_common()
327 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) { acpi_rs_get_address_common()
330 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) { acpi_rs_get_address_common()
336 resource->data.address.info.type_specific = acpi_rs_get_address_common()
337 aml->address.specific_flags; acpi_rs_get_address_common()
370 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) { acpi_rs_set_address_common()
373 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) { acpi_rs_set_address_common()
379 aml->address.specific_flags = acpi_rs_set_address_common()
380 resource->data.address.info.type_specific; acpi_rs_set_address_common()
H A Dutaddress.c3 * Module Name: utaddress - op_region address range check
56 * address - op_region start address
62 * DESCRIPTION: Add the Operation Region address range to the global list.
64 * the op_region address/length operands are fully evaluated.
71 * address conflicts can be detected.
76 acpi_physical_address address, acpi_ut_add_address_range()
96 range_info->start_address = address; acpi_ut_add_address_range()
97 range_info->end_address = (address + length - 1); acpi_ut_add_address_range()
110 "\nAdded [%4.4s] address range: 0x%8.8X%8.8X-0x%8.8X%8.8X\n", acpi_ut_add_address_range()
112 ACPI_FORMAT_UINT64(address), acpi_ut_add_address_range()
163 "\nRemoved [%4.4s] address range: 0x%8.8X%8.8X-0x%8.8X%8.8X\n", acpi_ut_remove_address_range()
187 * address - Start address
188 * length - Length of address range
194 * DESCRIPTION: Check if the input address range overlaps any of the
195 * ASL operation region address ranges. The only supported
204 acpi_physical_address address, u32 length, u8 warn) acpi_ut_check_address_range()
219 end_address = address + length - 1; acpi_ut_check_address_range()
225 * Check if the requested address/length overlaps this acpi_ut_check_address_range()
226 * address range. There are four cases to consider: acpi_ut_check_address_range()
228 * 1) Input address/length is contained completely in the acpi_ut_check_address_range()
229 * address range acpi_ut_check_address_range()
230 * 2) Input address/length overlaps range at the range start acpi_ut_check_address_range()
231 * 3) Input address/length overlaps range at the range end acpi_ut_check_address_range()
232 * 4) Input address/length completely encompasses the range acpi_ut_check_address_range()
234 if ((address <= range_info->end_address) && acpi_ut_check_address_range()
237 /* Found an address range overlap */ acpi_ut_check_address_range()
248 ACPI_FORMAT_UINT64(address), acpi_ut_check_address_range()
273 * DESCRIPTION: Delete all global address range lists (called during
284 /* Delete all elements in all address range lists */ acpi_ut_delete_address_lists()
75 acpi_ut_add_address_range(acpi_adr_space_type space_id, acpi_physical_address address, u32 length, struct acpi_namespace_node *region_node) acpi_ut_add_address_range() argument
203 acpi_ut_check_address_range(acpi_adr_space_type space_id, acpi_physical_address address, u32 length, u8 warn) acpi_ut_check_address_range() argument
H A Dhwvalid.c52 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width);
56 * conditionally illegal. This table must remain ordered by port address.
116 * DESCRIPTION: Validates an I/O request (address/length). Certain ports are
124 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width) acpi_hw_validate_io_request() argument
143 last_address = address + byte_width - 1; acpi_hw_validate_io_request()
147 ACPI_FORMAT_UINT64(address), acpi_hw_validate_io_request()
150 /* Maximum 16-bit address in I/O space */ acpi_hw_validate_io_request()
154 "Illegal I/O port address/length above 64K: %8.8X%8.8X/0x%X", acpi_hw_validate_io_request()
155 ACPI_FORMAT_UINT64(address), byte_width)); acpi_hw_validate_io_request()
159 /* Exit if requested address is not within the protected port table */ acpi_hw_validate_io_request()
161 if (address > acpi_protected_ports[ACPI_PORT_INFO_ENTRIES - 1].end) { acpi_hw_validate_io_request()
169 * Check if the requested address range will write to a reserved acpi_hw_validate_io_request()
172 * 1) Address range is contained completely in the port address range acpi_hw_validate_io_request()
177 if ((address <= port_info->end) acpi_hw_validate_io_request()
185 ACPI_FORMAT_UINT64(address), acpi_hw_validate_io_request()
194 /* Finished if address range ends before the end of this port */ acpi_hw_validate_io_request()
216 * address and the length.
220 acpi_status acpi_hw_read_port(acpi_io_address address, u32 *value, u32 width) acpi_hw_read_port() argument
226 /* Truncate address to 16 bits if requested */ acpi_hw_read_port()
229 address &= ACPI_UINT16_MAX; acpi_hw_read_port()
234 status = acpi_hw_validate_io_request(address, width); acpi_hw_read_port()
236 status = acpi_os_read_port(address, value, width); acpi_hw_read_port()
253 if (acpi_hw_validate_io_request(address, 8) == AE_OK) { acpi_hw_read_port()
254 status = acpi_os_read_port(address, &one_byte, 8); acpi_hw_read_port()
262 address++; acpi_hw_read_port()
280 * address and the length.
284 acpi_status acpi_hw_write_port(acpi_io_address address, u32 value, u32 width) acpi_hw_write_port() argument
289 /* Truncate address to 16 bits if requested */ acpi_hw_write_port()
292 address &= ACPI_UINT16_MAX; acpi_hw_write_port()
297 status = acpi_hw_validate_io_request(address, width); acpi_hw_write_port()
299 status = acpi_os_write_port(address, value, width); acpi_hw_write_port()
316 if (acpi_hw_validate_io_request(address, 8) == AE_OK) { acpi_hw_write_port()
318 acpi_os_write_port(address, (value >> i) & 0xFF, 8); acpi_hw_write_port()
324 address++; acpi_hw_write_port()
H A Dexregion.c3 * Module Name: exregion - ACPI default op_region (address space) handlers
56 * address - Where in the space to read or write
65 * DESCRIPTION: Handler for the System Memory address space (Op Region)
70 acpi_physical_address address, acpi_ex_system_memory_space_handler()
122 (void)acpi_ut_short_divide((u64) address, length, NULL, &remainder); acpi_ex_system_memory_space_handler()
133 if ((address < mem_info->mapped_physical_address) || acpi_ex_system_memory_space_handler()
134 (((u64) address + length) > ((u64) acpi_ex_system_memory_space_handler()
150 * October 2009: Attempt to map from the requested address to the acpi_ex_system_memory_space_handler()
155 ((mem_info->address + mem_info->length) - address); acpi_ex_system_memory_space_handler()
169 (ACPI_ROUND_UP(address, ACPI_DEFAULT_PAGE_SIZE) - address); acpi_ex_system_memory_space_handler()
178 /* Create a new mapping starting at the address given */ acpi_ex_system_memory_space_handler()
181 acpi_os_map_memory(address, map_length); acpi_ex_system_memory_space_handler()
185 ACPI_FORMAT_UINT64(address), acpi_ex_system_memory_space_handler()
191 /* Save the physical address and mapping size */ acpi_ex_system_memory_space_handler()
193 mem_info->mapped_physical_address = address; acpi_ex_system_memory_space_handler()
198 * Generate a logical pointer corresponding to the address we want to acpi_ex_system_memory_space_handler()
202 ((u64) address - (u64) mem_info->mapped_physical_address); acpi_ex_system_memory_space_handler()
206 bit_width, function, ACPI_FORMAT_UINT64(address))); acpi_ex_system_memory_space_handler()
212 * address was checked for alignment above. We do not attempt to break the acpi_ex_system_memory_space_handler()
294 * address - Where in the space to read or write
303 * DESCRIPTION: Handler for the System IO address space (Op Region)
309 acpi_physical_address address, acpi_ex_system_io_space_handler()
321 bit_width, function, ACPI_FORMAT_UINT64(address))); acpi_ex_system_io_space_handler()
328 status = acpi_hw_read_port((acpi_io_address) address, acpi_ex_system_io_space_handler()
335 status = acpi_hw_write_port((acpi_io_address) address, acpi_ex_system_io_space_handler()
353 * address - Where in the space to read or write
362 * DESCRIPTION: Handler for the PCI Config address space (Op Region)
368 acpi_physical_address address, acpi_ex_pci_config_space_handler()
388 * value - input value for write, output address for read acpi_ex_pci_config_space_handler()
392 pci_register = (u16) (u32) address; acpi_ex_pci_config_space_handler()
427 * address - Where in the space to read or write
436 * DESCRIPTION: Handler for the CMOS address space (Op Region)
442 acpi_physical_address address, acpi_ex_cmos_space_handler()
459 * address - Where in the space to read or write
468 * DESCRIPTION: Handler for the PCI bar_target address space (Op Region)
474 acpi_physical_address address, acpi_ex_pci_bar_space_handler()
491 * address - Where in the space to read or write
500 * DESCRIPTION: Handler for the Data Table address space (Op Region)
506 acpi_physical_address address, acpi_ex_data_table_space_handler()
521 ACPI_PHYSADDR_TO_PTR(address), ACPI_DIV_8(bit_width)); acpi_ex_data_table_space_handler()
526 memcpy(ACPI_PHYSADDR_TO_PTR(address), acpi_ex_data_table_space_handler()
69 acpi_ex_system_memory_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) acpi_ex_system_memory_space_handler() argument
308 acpi_ex_system_io_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) acpi_ex_system_io_space_handler() argument
367 acpi_ex_pci_config_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) acpi_ex_pci_config_space_handler() argument
441 acpi_ex_cmos_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) acpi_ex_cmos_space_handler() argument
473 acpi_ex_pci_bar_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) acpi_ex_pci_bar_space_handler() argument
505 acpi_ex_data_table_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) acpi_ex_data_table_space_handler() argument
H A Drsdumpinfo.c123 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(fixed_io.address), "Address", NULL},
176 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(fixed_memory32.address), "Address",
186 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.granularity),
188 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.minimum),
190 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.maximum),
192 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.translation_offset),
194 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.address_length),
203 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.granularity),
205 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.minimum),
207 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.maximum),
209 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.translation_offset),
211 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.address_length),
220 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(address64.address.granularity),
222 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(address64.address.minimum),
224 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(address64.address.maximum),
226 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(address64.address.translation_offset),
228 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(address64.address.address_length),
237 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(ext_address64.address.granularity),
239 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(ext_address64.address.minimum),
241 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(ext_address64.address.maximum),
244 ACPI_RSD_OFFSET(ext_address64.address.translation_offset),
246 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(ext_address64.address.address_length),
282 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(generic_reg.address), "Address", NULL}
405 * Tables used for common address descriptor flag fields
410 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(address.producer_consumer),
412 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(address.decode), "Address Decode",
414 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(address.min_address_fixed),
416 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(address.max_address_fixed),
423 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(address.info.mem.write_protect),
425 {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(address.info.mem.caching),
427 {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(address.info.mem.range_type),
429 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(address.info.mem.translation),
436 {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(address.info.io.range_type),
438 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(address.info.io.translation),
440 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(address.info.io.translation_type),
449 {ACPI_RSD_UINT64, ACPI_PRT_OFFSET(address), "Address", NULL},
H A Dtbfadt.c56 u64 address, char *register_name, u8 flags);
180 * address - Address of the register
195 u64 address, char *register_name, u8 flags) acpi_tb_init_generic_address()
225 ACPI_MOVE_64_TO_64(&generic_address->address, &address); acpi_tb_init_generic_address()
240 * address32 - 32-bit address of the register
241 * address64 - 64-bit address of the register
243 * RETURN: The resolved 64-bit address
250 * Check for FACS and DSDT address mismatches. An address mismatch between
251 * the 32-bit and 64-bit address fields (FIRMWARE_CTRL/X_FIRMWARE_CTRL and
252 * DSDT/X_DSDT) could be a corrupted address field or it might indicate
256 * By default, as per the ACPICA specification, a valid 64-bit address is
257 * used regardless of the value of the 32-bit address. However, this
268 /* 64-bit address is zero, use 32-bit address */ acpi_tb_select_address()
278 "32/64X %s address mismatch in FADT: " acpi_tb_select_address()
279 "0x%8.8X/0x%8.8X%8.8X, using %u-bit address", acpi_tb_select_address()
285 /* 32-bit address override */ acpi_tb_select_address()
292 /* Default is to use the 64-bit address */ acpi_tb_select_address()
326 tables[acpi_gbl_fadt_index].address, length); acpi_tb_parse_fadt()
450 * For ACPI 1.0 FADTs (that contain no 64-bit addresses), all 32-bit address
454 * For ACPI 2.0+ FADTs, all valid (non-zero) 32-bit address fields are expanded
516 /* Examine all of the 64-bit extended address fields (X fields) */ acpi_tb_convert_fadt()
540 * generic address structures as necessary. Later code will always use acpi_tb_convert_fadt()
541 * the 64-bit address structures. acpi_tb_convert_fadt()
544 * Now always use the 64-bit address if it is valid (non-zero), in acpi_tb_convert_fadt()
546 * address supersedes the 32-bit version. This behavior can be acpi_tb_convert_fadt()
549 * During 64-bit address construction and verification, acpi_tb_convert_fadt()
561 * Note: space_id is always I/O for 32-bit legacy address fields acpi_tb_convert_fadt()
564 if (!address64->address) { acpi_tb_convert_fadt()
566 /* 64-bit address is zero, use 32-bit address */ acpi_tb_convert_fadt()
577 } else if (address64->address != (u64)address32) { acpi_tb_convert_fadt()
582 "32/64X address mismatch in FADT/%s: " acpi_tb_convert_fadt()
583 "0x%8.8X/0x%8.8X%8.8X, using %u-bit address", acpi_tb_convert_fadt()
586 (address64->address), acpi_tb_convert_fadt()
592 /* 32-bit address override */ acpi_tb_convert_fadt()
617 if (address64->address && acpi_tb_convert_fadt()
629 * Both the address and length must be non-zero. acpi_tb_convert_fadt()
631 if (!address64->address || !length) { acpi_tb_convert_fadt()
633 "Required FADT field %s has zero address and/or length: " acpi_tb_convert_fadt()
637 address), acpi_tb_convert_fadt()
643 * length field. If present, both the address and length must acpi_tb_convert_fadt()
646 if ((address64->address && !length) || acpi_tb_convert_fadt()
647 (!address64->address && length)) { acpi_tb_convert_fadt()
649 "Optional FADT field %s has zero address or length: " acpi_tb_convert_fadt()
653 (address64->address), acpi_tb_convert_fadt()
695 if ((target64->address) && acpi_tb_setup_fadt_registers()
741 if (source64->address) { acpi_tb_setup_fadt_registers()
745 source64->address + acpi_tb_setup_fadt_registers()
192 acpi_tb_init_generic_address(struct acpi_generic_address *generic_address, u8 space_id, u8 byte_width, u64 address, char *register_name, u8 flags) acpi_tb_init_generic_address() argument
/linux-4.4.14/arch/sh/mm/
H A Dfault.c41 force_sig_info_fault(int si_signo, int si_code, unsigned long address, force_sig_info_fault() argument
49 info.si_addr = (void __user *)address; force_sig_info_fault()
127 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) vmalloc_sync_one() argument
129 unsigned index = pgd_index(address); vmalloc_sync_one()
140 pud = pud_offset(pgd, address); vmalloc_sync_one()
141 pud_k = pud_offset(pgd_k, address); vmalloc_sync_one()
148 pmd = pmd_offset(pud, address); vmalloc_sync_one()
149 pmd_k = pmd_offset(pud_k, address); vmalloc_sync_one()
177 static noinline int vmalloc_fault(unsigned long address) vmalloc_fault() argument
184 if (!(address >= VMALLOC_START && address < __FAULT_ADDR_LIMIT)) vmalloc_fault()
195 pmd_k = vmalloc_sync_one(pgd_k, address); vmalloc_fault()
199 pte_k = pte_offset_kernel(pmd_k, address); vmalloc_fault()
207 show_fault_oops(struct pt_regs *regs, unsigned long address) show_fault_oops() argument
213 if (address < PAGE_SIZE) show_fault_oops()
218 printk(KERN_CONT " at %08lx\n", address); show_fault_oops()
222 show_pte(NULL, address); show_fault_oops()
227 unsigned long address) no_context()
233 if (handle_trapped_io(regs, address)) no_context()
242 show_fault_oops(regs, address); no_context()
251 unsigned long address, int si_code) __bad_area_nosemaphore()
262 force_sig_info_fault(SIGSEGV, si_code, address, tsk); __bad_area_nosemaphore()
267 no_context(regs, error_code, address); __bad_area_nosemaphore()
272 unsigned long address) bad_area_nosemaphore()
274 __bad_area_nosemaphore(regs, error_code, address, SEGV_MAPERR); bad_area_nosemaphore()
279 unsigned long address, int si_code) __bad_area()
289 __bad_area_nosemaphore(regs, error_code, address, si_code); __bad_area()
293 bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area() argument
295 __bad_area(regs, error_code, address, SEGV_MAPERR); bad_area()
300 unsigned long address) bad_area_access_error()
302 __bad_area(regs, error_code, address, SEGV_ACCERR); bad_area_access_error()
306 do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address) do_sigbus() argument
315 no_context(regs, error_code, address); do_sigbus()
317 force_sig_info_fault(SIGBUS, BUS_ADRERR, address, tsk); do_sigbus()
322 unsigned long address, unsigned int fault) mm_fault_error()
332 no_context(regs, error_code, address); mm_fault_error()
343 no_context(regs, error_code, address); mm_fault_error()
356 do_sigbus(regs, error_code, address); mm_fault_error()
358 bad_area(regs, error_code, address); mm_fault_error()
387 static int fault_in_kernel_space(unsigned long address) fault_in_kernel_space() argument
389 return address >= TASK_SIZE; fault_in_kernel_space()
393 * This routine handles page faults. It determines the address,
399 unsigned long address) do_page_fault()
421 if (unlikely(fault_in_kernel_space(address))) { do_page_fault()
422 if (vmalloc_fault(address) >= 0) do_page_fault()
427 bad_area_nosemaphore(regs, error_code, address); do_page_fault()
438 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address); do_page_fault()
445 bad_area_nosemaphore(regs, error_code, address); do_page_fault()
452 vma = find_vma(mm, address); do_page_fault()
454 bad_area(regs, error_code, address); do_page_fault()
457 if (likely(vma->vm_start <= address)) do_page_fault()
460 bad_area(regs, error_code, address); do_page_fault()
463 if (unlikely(expand_stack(vma, address))) { do_page_fault()
464 bad_area(regs, error_code, address); do_page_fault()
474 bad_area_access_error(regs, error_code, address); do_page_fault()
490 fault = handle_mm_fault(mm, vma, address, flags); do_page_fault()
493 if (mm_fault_error(regs, error_code, address, fault)) do_page_fault()
500 regs, address); do_page_fault()
504 regs, address); do_page_fault()
226 no_context(struct pt_regs *regs, unsigned long error_code, unsigned long address) no_context() argument
250 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, unsigned long address, int si_code) __bad_area_nosemaphore() argument
271 bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area_nosemaphore() argument
278 __bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address, int si_code) __bad_area() argument
299 bad_area_access_error(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area_access_error() argument
321 mm_fault_error(struct pt_regs *regs, unsigned long error_code, unsigned long address, unsigned int fault) mm_fault_error() argument
397 do_page_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address) do_page_fault() argument
H A Dtlbex_32.c23 unsigned long address) handle_tlbmiss()
36 if (address >= P3SEG && address < P3_ADDR_MAX) { handle_tlbmiss()
37 pgd = pgd_offset_k(address); handle_tlbmiss()
39 if (unlikely(address >= TASK_SIZE || !current->mm)) handle_tlbmiss()
42 pgd = pgd_offset(current->mm, address); handle_tlbmiss()
45 pud = pud_offset(pgd, address); handle_tlbmiss()
48 pmd = pmd_offset(pud, address); handle_tlbmiss()
51 pte = pte_offset_kernel(pmd, address); handle_tlbmiss()
71 local_flush_tlb_one(get_asid(), address & PAGE_MASK); handle_tlbmiss()
75 update_mmu_cache(NULL, address, pte); handle_tlbmiss()
22 handle_tlbmiss(struct pt_regs *regs, unsigned long error_code, unsigned long address) handle_tlbmiss() argument
H A Dtlbex_64.c44 unsigned long address) handle_tlbmiss()
52 if (is_vmalloc_addr((void *)address)) { handle_tlbmiss()
53 pgd = pgd_offset_k(address); handle_tlbmiss()
55 if (unlikely(address >= TASK_SIZE || !current->mm)) handle_tlbmiss()
58 pgd = pgd_offset(current->mm, address); handle_tlbmiss()
61 pud = pud_offset(pgd, address); handle_tlbmiss()
65 pmd = pmd_offset(pud, address); handle_tlbmiss()
69 pte = pte_offset_kernel(pmd, address); handle_tlbmiss()
83 update_mmu_cache(NULL, address, pte); handle_tlbmiss()
90 * arithmetic relative to a single base address. This reduces the number
132 unsigned long address) do_fast_page_fault()
165 return handle_tlbmiss(protection_flags, address); do_fast_page_fault()
43 handle_tlbmiss(unsigned long long protection_flags, unsigned long address) handle_tlbmiss() argument
131 do_fast_page_fault(unsigned long long ssr_md, unsigned long long expevt, unsigned long address) do_fast_page_fault() argument
/linux-4.4.14/arch/s390/mm/
H A Dvmem.c59 static pte_t __ref *vmem_pte_alloc(unsigned long address) vmem_pte_alloc() argument
81 unsigned long address = start; vmem_add_mem() local
88 while (address < end) { vmem_add_mem()
89 pg_dir = pgd_offset_k(address); vmem_add_mem()
96 pu_dir = pud_offset(pg_dir, address); vmem_add_mem()
98 if (MACHINE_HAS_EDAT2 && pud_none(*pu_dir) && address && vmem_add_mem()
99 !(address & ~PUD_MASK) && (address + PUD_SIZE <= end)) { vmem_add_mem()
100 pud_val(*pu_dir) = __pa(address) | vmem_add_mem()
103 address += PUD_SIZE; vmem_add_mem()
113 pm_dir = pmd_offset(pu_dir, address); vmem_add_mem()
115 if (MACHINE_HAS_EDAT1 && pmd_none(*pm_dir) && address && vmem_add_mem()
116 !(address & ~PMD_MASK) && (address + PMD_SIZE <= end)) { vmem_add_mem()
117 pmd_val(*pm_dir) = __pa(address) | vmem_add_mem()
121 address += PMD_SIZE; vmem_add_mem()
126 pt_dir = vmem_pte_alloc(address); vmem_add_mem()
132 pt_dir = pte_offset_kernel(pm_dir, address); vmem_add_mem()
133 pte_val(*pt_dir) = __pa(address) | vmem_add_mem()
135 address += PAGE_SIZE; vmem_add_mem()
149 unsigned long address = start; vmem_remove_range() local
157 while (address < end) { vmem_remove_range()
158 pg_dir = pgd_offset_k(address); vmem_remove_range()
160 address += PGDIR_SIZE; vmem_remove_range()
163 pu_dir = pud_offset(pg_dir, address); vmem_remove_range()
165 address += PUD_SIZE; vmem_remove_range()
170 address += PUD_SIZE; vmem_remove_range()
173 pm_dir = pmd_offset(pu_dir, address); vmem_remove_range()
175 address += PMD_SIZE; vmem_remove_range()
180 address += PMD_SIZE; vmem_remove_range()
183 pt_dir = pte_offset_kernel(pm_dir, address); vmem_remove_range()
185 address += PAGE_SIZE; vmem_remove_range()
195 unsigned long address = start; vmemmap_populate() local
202 for (address = start; address < end;) { vmemmap_populate()
203 pg_dir = pgd_offset_k(address); vmemmap_populate()
211 pu_dir = pud_offset(pg_dir, address); vmemmap_populate()
219 pm_dir = pmd_offset(pu_dir, address); vmemmap_populate()
235 address = (address + PMD_SIZE) & PMD_MASK; vmemmap_populate()
238 pt_dir = vmem_pte_alloc(address); vmemmap_populate()
243 address = (address + PMD_SIZE) & PMD_MASK; vmemmap_populate()
247 pt_dir = pte_offset_kernel(pm_dir, address); vmemmap_populate()
257 address += PAGE_SIZE; vmemmap_populate()
H A Dpageattr.c108 static void ipte_range(pte_t *pte, unsigned long address, int nr) ipte_range() argument
113 __ptep_ipte_range(address, nr - 1, pte); ipte_range()
117 __ptep_ipte(address, pte); ipte_range()
118 address += PAGE_SIZE; ipte_range()
125 unsigned long address; __kernel_map_pages() local
133 address = page_to_phys(page + i); __kernel_map_pages()
134 pgd = pgd_offset_k(address); __kernel_map_pages()
135 pud = pud_offset(pgd, address); __kernel_map_pages()
136 pmd = pmd_offset(pud, address); __kernel_map_pages()
137 pte = pte_offset_kernel(pmd, address); __kernel_map_pages()
143 pte_val(*pte) = __pa(address); __kernel_map_pages()
144 address += PAGE_SIZE; __kernel_map_pages()
148 ipte_range(pte, address, nr); __kernel_map_pages()
H A Dpgtable.c105 * gmap_alloc - allocate a guest address space
107 * @limit: maximum size of the gmap address space
109 * Returns a guest address space structure.
199 * gmap_free - free a guest address space
200 * @gmap: pointer to the guest address space structure
225 * gmap_enable - switch primary space to the guest address space
226 * @gmap: pointer to the guest address space structure
235 * gmap_disable - switch back to the standard primary address space
236 * @gmap: pointer to the guest address space structure
274 * __gmap_segment_gaddr - find virtual address from segment pointer
275 * @entry: pointer to a segment table entry in the guest address space
277 * Returns the virtual address in the guest address space for the segment
292 * __gmap_unlink_by_vmaddr - unlink a single segment via a host address
293 * @gmap: pointer to the guest address space structure
294 * @vmaddr: address in the host process address space
314 * __gmap_unmap_by_gaddr - unmap a single segment via a guest address
315 * @gmap: pointer to the guest address space structure
316 * @gaddr: address in the guest address space
330 * gmap_unmap_segment - unmap segment from the guest address space
331 * @gmap: pointer to the guest address space structure
332 * @to: address in the guest address space
359 * gmap_mmap_segment - map a segment to the guest address space
360 * @gmap: pointer to the guest address space structure
361 * @from: source address in the parent address space
362 * @to: target address in the guest address space
401 * __gmap_translate - translate a guest address to a user space address
403 * @gaddr: guest address
405 * Returns user space address which corresponds to the guest address or
408 * The mmap_sem of the mm that belongs to the address space must be held
422 * gmap_translate - translate a guest address to a user space address
424 * @gaddr: guest address
426 * Returns user space address which corresponds to the guest address or
445 * @vmaddr: vm address associated with the host page table
461 * gmap_link - set up shadow page tables to connect a host to a guest address
463 * @gaddr: guest address
464 * @vmaddr: vm address
467 * if the vm address is already mapped to a different guest segment.
468 * The mmap_sem of the mm that belongs to the address space must be held
539 * gmap_fault - resolve a fault on a guest address
541 * @gaddr: guest address
545 * if the vm address is already mapped to a different guest segment.
595 /* Find the vm address for the guest address */ __gmap_zap()
631 /* Find the vm address for the guest address */ gmap_discard()
677 * @gaddr: virtual address in the guest address space
697 /* Convert gmap address and connect the page tables */ gmap_ipte_notify()
733 * @addr: virtual address in the process address space
792 unsigned long address, bits, skey; set_guest_storage_key() local
794 address = pte_val(*ptep) & PAGE_MASK; set_guest_storage_key()
795 skey = (unsigned long) page_get_storage_key(address); set_guest_storage_key()
799 page_set_storage_key(address, skey, !nq); set_guest_storage_key()
1238 bool gmap_test_and_clear_dirty(unsigned long address, struct gmap *gmap) gmap_test_and_clear_dirty() argument
1244 pte = get_locked_pte(gmap->mm, address, &ptl); gmap_test_and_clear_dirty()
1248 if (ptep_test_and_clear_user_dirty(gmap->mm, address, pte)) gmap_test_and_clear_dirty()
1257 int pmdp_clear_flush_young(struct vm_area_struct *vma, unsigned long address, pmdp_clear_flush_young() argument
1260 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_clear_flush_young()
1263 return pmdp_test_and_clear_young(vma, address, pmdp); pmdp_clear_flush_young()
1267 unsigned long address, pmd_t *pmdp, pmdp_set_access_flags()
1270 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_set_access_flags()
1277 pmdp_invalidate(vma, address, pmdp); pmdp_set_access_flags()
1278 set_pmd_at(vma->vm_mm, address, pmdp, entry); pmdp_set_access_flags()
1287 void pmdp_splitting_flush(struct vm_area_struct *vma, unsigned long address, pmdp_splitting_flush() argument
1290 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_splitting_flush()
1266 pmdp_set_access_flags(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp, pmd_t entry, int dirty) pmdp_set_access_flags() argument
/linux-4.4.14/drivers/acpi/pmic/
H A Dintel_pmic_xpower.c28 .address = 0x00,
33 .address = 0x04,
38 .address = 0x08,
43 .address = 0x0c,
48 .address = 0x10,
53 .address = 0x14,
58 .address = 0x18,
63 .address = 0x1c,
68 .address = 0x20,
73 .address = 0x24,
78 .address = 0x28,
83 .address = 0x2c,
88 .address = 0x30,
93 .address = 0x38,
98 .address = 0x3c,
103 .address = 0x40,
108 .address = 0x44,
113 .address = 0x48,
118 .address = 0x4c,
127 .address = 0x00,
131 .address = 0x0c,
135 .address = 0x18,
139 .address = 0x24,
143 .address = 0x30,
147 .address = 0x3c,
224 acpi_physical_address address, u32 bit_width, u64 *value, intel_xpower_pmic_gpio_handler()
223 intel_xpower_pmic_gpio_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) intel_xpower_pmic_gpio_handler() argument
H A Dintel_pmic.c32 static int pmic_get_reg_bit(int address, struct pmic_table *table, pmic_get_reg_bit() argument
38 if (table[i].address == address) { pmic_get_reg_bit()
49 acpi_physical_address address, u32 bits, u64 *value64, intel_pmic_power_handler()
63 result = pmic_get_reg_bit(address, d->power_table, intel_pmic_power_handler()
151 static bool pmic_thermal_is_temp(int address) pmic_thermal_is_temp() argument
153 return (address <= 0x3c) && !(address % 12); pmic_thermal_is_temp()
156 static bool pmic_thermal_is_aux(int address) pmic_thermal_is_aux() argument
158 return (address >= 4 && address <= 0x40 && !((address - 4) % 12)) || pmic_thermal_is_aux()
159 (address >= 8 && address <= 0x44 && !((address - 8) % 12)); pmic_thermal_is_aux()
162 static bool pmic_thermal_is_pen(int address) pmic_thermal_is_pen() argument
164 return address >= 0x48 && address <= 0x5c; pmic_thermal_is_pen()
168 acpi_physical_address address, u32 bits, u64 *value64, intel_pmic_thermal_handler()
178 result = pmic_get_reg_bit(address, d->thermal_table, intel_pmic_thermal_handler()
185 if (pmic_thermal_is_temp(address)) intel_pmic_thermal_handler()
187 else if (pmic_thermal_is_aux(address)) intel_pmic_thermal_handler()
189 else if (pmic_thermal_is_pen(address)) intel_pmic_thermal_handler()
48 intel_pmic_power_handler(u32 function, acpi_physical_address address, u32 bits, u64 *value64, void *handler_context, void *region_context) intel_pmic_power_handler() argument
167 intel_pmic_thermal_handler(u32 function, acpi_physical_address address, u32 bits, u64 *value64, void *handler_context, void *region_context) intel_pmic_thermal_handler() argument
H A Dintel_pmic_crc.c29 .address = 0x24,
34 .address = 0x48,
42 .address = 0x00,
46 .address = 0x04,
50 .address = 0x08,
54 .address = 0x0c,
58 .address = 0x10,
62 .address = 0x14,
66 .address = 0x18,
70 .address = 0x1c,
74 .address = 0x20,
78 .address = 0x48,
82 .address = 0x4c,
86 .address = 0x50,
H A Dintel_pmic.h5 int address; /* operation region address */ member in struct:pmic_table
/linux-4.4.14/net/netlabel/
H A Dnetlabel_addrlist.c4 * This file contains network address list functions used to manage ordered
50 * netlbl_af4list_search - Search for a matching IPv4 address entry
51 * @addr: IPv4 address
55 * Searches the IPv4 address list given by @head. If a matching address entry
73 * netlbl_af4list_search_exact - Search for an exact IPv4 address entry
74 * @addr: IPv4 address
75 * @mask: IPv4 address mask
79 * Searches the IPv4 address list given by @head. If an exact match if found
100 * netlbl_af6list_search - Search for a matching IPv6 address entry
101 * @addr: IPv6 address
105 * Searches the IPv6 address list given by @head. If a matching address entry
124 * netlbl_af6list_search_exact - Search for an exact IPv6 address entry
125 * @addr: IPv6 address
126 * @mask: IPv6 address mask
130 * Searches the IPv6 address list given by @head. If an exact match if found
152 * netlbl_af4list_add - Add a new IPv4 address entry to a list
153 * @entry: address entry
157 * Add a new address entry to the list pointed to by @head. On success zero is
171 /* in order to speed up address searches through the list (the common netlbl_af4list_add()
173 * address mask such that the entry with the widest mask (smallest netlbl_af4list_add()
189 * netlbl_af6list_add - Add a new IPv6 address entry to a list
190 * @entry: address entry
194 * Add a new address entry to the list pointed to by @head. On success zero is
209 /* in order to speed up address searches through the list (the common netlbl_af6list_add()
211 * address mask such that the entry with the widest mask (smallest netlbl_af6list_add()
227 * netlbl_af4list_remove_entry - Remove an IPv4 address entry
228 * @entry: address entry
231 * Remove the specified IP address entry. The caller is responsible for
242 * netlbl_af4list_remove - Remove an IPv4 address entry
243 * @addr: IP address
244 * @mask: IP address mask
248 * Remove an IP address entry from the list pointed to by @head. Returns the
267 * netlbl_af6list_remove_entry - Remove an IPv6 address entry
268 * @entry: address entry
271 * Remove the specified IP address entry. The caller is responsible for
282 * netlbl_af6list_remove - Remove an IPv6 address entry
283 * @addr: IP address
284 * @mask: IP address mask
288 * Remove an IP address entry from the list pointed to by @head. Returns the
313 * netlbl_af4list_audit_addr - Audit an IPv4 address
315 * @src: true if source address, false if destination
317 * @addr: IP address
318 * @mask: IP address mask
321 * Write the IPv4 address and address mask, if necessary, to @audit_buf.
346 * netlbl_af6list_audit_addr - Audit an IPv6 address
348 * @src: true if source address, false if destination
350 * @addr: IP address
351 * @mask: IP address mask
354 * Write the IPv6 address and address mask, if necessary, to @audit_buf.
/linux-4.4.14/drivers/gpu/drm/exynos/
H A Dregs-fimc.h27 /* Y 1st frame start address for output DMA */
29 /* Y 2nd frame start address for output DMA */
31 /* Y 3rd frame start address for output DMA */
33 /* Y 4th frame start address for output DMA */
35 /* Cb 1st frame start address for output DMA */
37 /* Cb 2nd frame start address for output DMA */
39 /* Cb 3rd frame start address for output DMA */
41 /* Cb 4th frame start address for output DMA */
43 /* Cr 1st frame start address for output DMA */
45 /* Cr 2nd frame start address for output DMA */
47 /* Cr 3rd frame start address for output DMA */
49 /* Cr 4th frame start address for output DMA */
73 /* Y frame start address for input DMA */
75 /* Cb frame start address for input DMA */
77 /* Cr frame start address for input DMA */
89 /* Y frame start address for input DMA */
91 /* Cb frame start address for input DMA */
93 /* Cr frame start address for input DMA */
123 /* Y 5th frame start address for output DMA */
125 /* Y 6th frame start address for output DMA */
127 /* Y 7th frame start address for output DMA */
129 /* Y 8th frame start address for output DMA */
131 /* Y 9th frame start address for output DMA */
133 /* Y 10th frame start address for output DMA */
135 /* Y 11th frame start address for output DMA */
137 /* Y 12th frame start address for output DMA */
139 /* Y 13th frame start address for output DMA */
141 /* Y 14th frame start address for output DMA */
143 /* Y 15th frame start address for output DMA */
145 /* Y 16th frame start address for output DMA */
147 /* Y 17th frame start address for output DMA */
149 /* Y 18th frame start address for output DMA */
151 /* Y 19th frame start address for output DMA */
153 /* Y 20th frame start address for output DMA */
155 /* Y 21th frame start address for output DMA */
157 /* Y 22th frame start address for output DMA */
159 /* Y 23th frame start address for output DMA */
161 /* Y 24th frame start address for output DMA */
163 /* Y 25th frame start address for output DMA */
165 /* Y 26th frame start address for output DMA */
167 /* Y 27th frame start address for output DMA */
169 /* Y 28th frame start address for output DMA */
171 /* Y 29th frame start address for output DMA */
173 /* Y 30th frame start address for output DMA */
175 /* Y 31th frame start address for output DMA */
177 /* Y 32th frame start address for output DMA */
180 /* CB 5th frame start address for output DMA */
182 /* CB 6th frame start address for output DMA */
184 /* CB 7th frame start address for output DMA */
186 /* CB 8th frame start address for output DMA */
188 /* CB 9th frame start address for output DMA */
190 /* CB 10th frame start address for output DMA */
192 /* CB 11th frame start address for output DMA */
194 /* CB 12th frame start address for output DMA */
196 /* CB 13th frame start address for output DMA */
198 /* CB 14th frame start address for output DMA */
200 /* CB 15th frame start address for output DMA */
202 /* CB 16th frame start address for output DMA */
204 /* CB 17th frame start address for output DMA */
206 /* CB 18th frame start address for output DMA */
208 /* CB 19th frame start address for output DMA */
210 /* CB 20th frame start address for output DMA */
212 /* CB 21th frame start address for output DMA */
214 /* CB 22th frame start address for output DMA */
216 /* CB 23th frame start address for output DMA */
218 /* CB 24th frame start address for output DMA */
220 /* CB 25th frame start address for output DMA */
222 /* CB 26th frame start address for output DMA */
224 /* CB 27th frame start address for output DMA */
226 /* CB 28th frame start address for output DMA */
228 /* CB 29th frame start address for output DMA */
230 /* CB 30th frame start address for output DMA */
232 /* CB 31th frame start address for output DMA */
234 /* CB 32th frame start address for output DMA */
237 /* CR 5th frame start address for output DMA */
239 /* CR 6th frame start address for output DMA */
241 /* CR 7th frame start address for output DMA */
243 /* CR 8th frame start address for output DMA */
245 /* CR 9th frame start address for output DMA */
247 /* CR 10th frame start address for output DMA */
249 /* CR 11th frame start address for output DMA */
251 /* CR 12th frame start address for output DMA */
253 /* CR 13th frame start address for output DMA */
255 /* CR 14th frame start address for output DMA */
257 /* CR 15th frame start address for output DMA */
259 /* CR 16th frame start address for output DMA */
261 /* CR 17th frame start address for output DMA */
263 /* CR 18th frame start address for output DMA */
265 /* CR 19th frame start address for output DMA */
267 /* CR 20th frame start address for output DMA */
269 /* CR 21th frame start address for output DMA */
271 /* CR 22th frame start address for output DMA */
273 /* CR 23th frame start address for output DMA */
275 /* CR 24th frame start address for output DMA */
277 /* CR 25th frame start address for output DMA */
279 /* CR 26th frame start address for output DMA */
281 /* CR 27th frame start address for output DMA */
283 /* CR 28th frame start address for output DMA */
285 /* CR 29th frame start address for output DMA */
287 /* CR 30th frame start address for output DMA */
289 /* CR 31th frame start address for output DMA */
291 /* CR 32th frame start address for output DMA */
297 /* frame start address 1 ~ 4, 5 ~ 32 */
/linux-4.4.14/arch/x86/mm/
H A Dfault.c171 force_sig_info_fault(int si_signo, int si_code, unsigned long address, force_sig_info_fault() argument
180 info.si_addr = (void __user *)address; force_sig_info_fault()
194 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) vmalloc_sync_one() argument
196 unsigned index = pgd_index(address); vmalloc_sync_one()
212 pud = pud_offset(pgd, address); vmalloc_sync_one()
213 pud_k = pud_offset(pgd_k, address); vmalloc_sync_one()
217 pmd = pmd_offset(pud, address); vmalloc_sync_one()
218 pmd_k = pmd_offset(pud_k, address); vmalloc_sync_one()
232 unsigned long address; vmalloc_sync_all() local
237 for (address = VMALLOC_START & PMD_MASK; vmalloc_sync_all()
238 address >= TASK_SIZE && address < FIXADDR_TOP; vmalloc_sync_all()
239 address += PMD_SIZE) { vmalloc_sync_all()
251 ret = vmalloc_sync_one(page_address(page), address); vmalloc_sync_all()
266 static noinline int vmalloc_fault(unsigned long address) vmalloc_fault() argument
273 if (!(address >= VMALLOC_START && address < VMALLOC_END)) vmalloc_fault()
286 pmd_k = vmalloc_sync_one(__va(pgd_paddr), address); vmalloc_fault()
293 pte_k = pte_offset_kernel(pmd_k, address); vmalloc_fault()
305 check_v8086_mode(struct pt_regs *regs, unsigned long address, check_v8086_mode() argument
314 bit = (address - 0xA0000) >> PAGE_SHIFT; check_v8086_mode()
325 static void dump_pagetable(unsigned long address) dump_pagetable() argument
328 pgd_t *pgd = &base[pgd_index(address)]; dump_pagetable()
337 pmd = pmd_offset(pud_offset(pgd, address), address); dump_pagetable()
349 pte = pte_offset_kernel(pmd, address); dump_pagetable()
367 static noinline int vmalloc_fault(unsigned long address) vmalloc_fault() argument
375 if (!(address >= VMALLOC_START && address < VMALLOC_END)) vmalloc_fault()
385 pgd = pgd_offset(current->active_mm, address); vmalloc_fault()
386 pgd_ref = pgd_offset_k(address); vmalloc_fault()
402 pud = pud_offset(pgd, address); vmalloc_fault()
403 pud_ref = pud_offset(pgd_ref, address); vmalloc_fault()
413 pmd = pmd_offset(pud, address); vmalloc_fault()
414 pmd_ref = pmd_offset(pud_ref, address); vmalloc_fault()
424 pte_ref = pte_offset_kernel(pmd_ref, address); vmalloc_fault()
428 pte = pte_offset_kernel(pmd, address); vmalloc_fault()
455 check_v8086_mode(struct pt_regs *regs, unsigned long address, check_v8086_mode() argument
467 static void dump_pagetable(unsigned long address) dump_pagetable() argument
470 pgd_t *pgd = base + pgd_index(address); dump_pagetable()
483 pud = pud_offset(pgd, address); dump_pagetable()
491 pmd = pmd_offset(pud, address); dump_pagetable()
499 pte = pte_offset_kernel(pmd, address); dump_pagetable()
527 static int is_errata93(struct pt_regs *regs, unsigned long address) is_errata93() argument
534 if (address != regs->ip) is_errata93()
537 if ((address >> 32) != 0) is_errata93()
540 address |= 0xffffffffUL << 32; is_errata93()
541 if ((address >= (u64)_stext && address <= (u64)_etext) || is_errata93()
542 (address >= MODULES_VADDR && address <= MODULES_END)) { is_errata93()
544 regs->ip = address; is_errata93()
559 static int is_errata100(struct pt_regs *regs, unsigned long address) is_errata100() argument
562 if ((regs->cs == __USER32_CS || (regs->cs & (1<<2))) && (address >> 32)) is_errata100()
568 static int is_f00f_bug(struct pt_regs *regs, unsigned long address) is_f00f_bug() argument
577 nr = (address - idt_descr.address) >> 3; is_f00f_bug()
595 unsigned long address) show_fault_oops()
606 pgd += pgd_index(address); show_fault_oops()
608 pte = lookup_address_in_pgd(pgd, address, &level); show_fault_oops()
619 if (address < PAGE_SIZE) show_fault_oops()
624 printk(KERN_CONT " at %p\n", (void *) address); show_fault_oops()
628 dump_pagetable(address); show_fault_oops()
633 unsigned long address) pgtable_bad()
643 printk(KERN_ALERT "%s: Corrupted page table at address %lx\n", pgtable_bad()
644 tsk->comm, address); pgtable_bad()
645 dump_pagetable(address); pgtable_bad()
647 tsk->thread.cr2 = address; pgtable_bad()
659 unsigned long address, int signal, int si_code) no_context()
684 tsk->thread.cr2 = address; no_context()
687 force_sig_info_fault(signal, si_code, address, tsk, 0); no_context()
707 if (is_prefetch(regs, error_code, address)) no_context()
710 if (is_errata93(regs, address)) no_context()
719 show_fault_oops(regs, error_code, address); no_context()
724 tsk->thread.cr2 = address; no_context()
733 printk(KERN_DEFAULT "CR2: %016lx\n", address); no_context()
744 unsigned long address, struct task_struct *tsk) show_signal_msg()
754 tsk->comm, task_pid_nr(tsk), address, show_signal_msg()
764 unsigned long address, int si_code) __bad_area_nosemaphore()
779 if (is_prefetch(regs, error_code, address)) __bad_area_nosemaphore()
782 if (is_errata100(regs, address)) __bad_area_nosemaphore()
791 ((address & ~0xfff) == VSYSCALL_ADDR))) { __bad_area_nosemaphore()
792 if (emulate_vsyscall(regs, address)) __bad_area_nosemaphore()
797 if (address >= TASK_SIZE) __bad_area_nosemaphore()
801 show_signal_msg(regs, error_code, address, tsk); __bad_area_nosemaphore()
803 tsk->thread.cr2 = address; __bad_area_nosemaphore()
807 force_sig_info_fault(SIGSEGV, si_code, address, tsk, 0); __bad_area_nosemaphore()
812 if (is_f00f_bug(regs, address)) __bad_area_nosemaphore()
815 no_context(regs, error_code, address, SIGSEGV, si_code); __bad_area_nosemaphore()
820 unsigned long address) bad_area_nosemaphore()
822 __bad_area_nosemaphore(regs, error_code, address, SEGV_MAPERR); bad_area_nosemaphore()
827 unsigned long address, int si_code) __bad_area()
837 __bad_area_nosemaphore(regs, error_code, address, si_code); __bad_area()
841 bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area() argument
843 __bad_area(regs, error_code, address, SEGV_MAPERR); bad_area()
848 unsigned long address) bad_area_access_error()
850 __bad_area(regs, error_code, address, SEGV_ACCERR); bad_area_access_error()
854 do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address, do_sigbus() argument
862 no_context(regs, error_code, address, SIGBUS, BUS_ADRERR); do_sigbus()
867 if (is_prefetch(regs, error_code, address)) do_sigbus()
870 tsk->thread.cr2 = address; do_sigbus()
878 tsk->comm, tsk->pid, address); do_sigbus()
882 force_sig_info_fault(SIGBUS, code, address, tsk, fault); do_sigbus()
887 unsigned long address, unsigned int fault) mm_fault_error()
890 no_context(regs, error_code, address, 0, 0); mm_fault_error()
897 no_context(regs, error_code, address, mm_fault_error()
911 do_sigbus(regs, error_code, address, fault); mm_fault_error()
913 bad_area_nosemaphore(regs, error_code, address); mm_fault_error()
952 spurious_fault(unsigned long error_code, unsigned long address) spurious_fault() argument
973 pgd = init_mm.pgd + pgd_index(address); spurious_fault()
977 pud = pud_offset(pgd, address); spurious_fault()
984 pmd = pmd_offset(pud, address); spurious_fault()
991 pte = pte_offset_kernel(pmd, address); spurious_fault()
1033 static int fault_in_kernel_space(unsigned long address) fault_in_kernel_space() argument
1035 return address >= TASK_SIZE_MAX; fault_in_kernel_space()
1056 * This routine handles page faults. It determines the address,
1066 unsigned long address) __do_page_fault()
1085 if (unlikely(kmmio_fault(regs, address))) __do_page_fault()
1101 if (unlikely(fault_in_kernel_space(address))) { __do_page_fault()
1103 if (vmalloc_fault(address) >= 0) __do_page_fault()
1106 if (kmemcheck_fault(regs, address, error_code)) __do_page_fault()
1111 if (spurious_fault(error_code, address)) __do_page_fault()
1121 bad_area_nosemaphore(regs, error_code, address); __do_page_fault()
1131 pgtable_bad(regs, error_code, address); __do_page_fault()
1134 bad_area_nosemaphore(regs, error_code, address); __do_page_fault()
1143 bad_area_nosemaphore(regs, error_code, address); __do_page_fault()
1163 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address); __do_page_fault()
1174 * against the address space. Luckily the kernel only validly __do_page_fault()
1180 * deadlock. Attempt to lock the address space, if we cannot we then __do_page_fault()
1181 * validate the source. If this is invalid we can skip the address __do_page_fault()
1187 bad_area_nosemaphore(regs, error_code, address); __do_page_fault()
1201 vma = find_vma(mm, address); __do_page_fault()
1203 bad_area(regs, error_code, address); __do_page_fault()
1206 if (likely(vma->vm_start <= address)) __do_page_fault()
1209 bad_area(regs, error_code, address); __do_page_fault()
1219 if (unlikely(address + 65536 + 32 * sizeof(unsigned long) < regs->sp)) { __do_page_fault()
1220 bad_area(regs, error_code, address); __do_page_fault()
1224 if (unlikely(expand_stack(vma, address))) { __do_page_fault()
1225 bad_area(regs, error_code, address); __do_page_fault()
1235 bad_area_access_error(regs, error_code, address); __do_page_fault()
1245 fault = handle_mm_fault(mm, vma, address, flags); __do_page_fault()
1267 no_context(regs, error_code, address, SIGBUS, BUS_ADRERR); __do_page_fault()
1273 mm_fault_error(regs, error_code, address, fault); __do_page_fault()
1283 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MAJ, 1, regs, address); __do_page_fault()
1286 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MIN, 1, regs, address); __do_page_fault()
1289 check_v8086_mode(regs, address, tsk); __do_page_fault()
1296 unsigned long address = read_cr2(); /* Get the faulting address */ do_page_fault() local
1308 __do_page_fault(regs, error_code, address); do_page_fault()
1315 trace_page_fault_entries(unsigned long address, struct pt_regs *regs, trace_page_fault_entries() argument
1319 trace_page_fault_user(address, regs, error_code); trace_page_fault_entries()
1321 trace_page_fault_kernel(address, regs, error_code); trace_page_fault_entries()
1331 * the faulting address now. trace_do_page_fault()
1333 unsigned long address = read_cr2(); trace_do_page_fault() local
1337 trace_page_fault_entries(address, regs, error_code); trace_do_page_fault()
1338 __do_page_fault(regs, error_code, address); trace_do_page_fault()
594 show_fault_oops(struct pt_regs *regs, unsigned long error_code, unsigned long address) show_fault_oops() argument
632 pgtable_bad(struct pt_regs *regs, unsigned long error_code, unsigned long address) pgtable_bad() argument
658 no_context(struct pt_regs *regs, unsigned long error_code, unsigned long address, int signal, int si_code) no_context() argument
743 show_signal_msg(struct pt_regs *regs, unsigned long error_code, unsigned long address, struct task_struct *tsk) show_signal_msg() argument
763 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, unsigned long address, int si_code) __bad_area_nosemaphore() argument
819 bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area_nosemaphore() argument
826 __bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address, int si_code) __bad_area() argument
847 bad_area_access_error(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area_access_error() argument
886 mm_fault_error(struct pt_regs *regs, unsigned long error_code, unsigned long address, unsigned int fault) mm_fault_error() argument
1065 __do_page_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address) __do_page_fault() argument
/linux-4.4.14/arch/parisc/include/asm/
H A Delf.h60 #define R_PARISC_DIR21L 2 /* Left 21 bits of eff. address. */
61 #define R_PARISC_DIR17R 3 /* Right 17 bits of eff. address. */
62 #define R_PARISC_DIR17F 4 /* 17 bits of eff. address. */
63 #define R_PARISC_DIR14R 6 /* Right 14 bits of eff. address. */
64 #define R_PARISC_PCREL32 9 /* 32-bit rel. address. */
65 #define R_PARISC_PCREL21L 10 /* Left 21 bits of rel. address. */
66 #define R_PARISC_PCREL17R 11 /* Right 17 bits of rel. address. */
67 #define R_PARISC_PCREL17F 12 /* 17 bits of rel. address. */
68 #define R_PARISC_PCREL14R 14 /* Right 14 bits of rel. address. */
69 #define R_PARISC_DPREL21L 18 /* Left 21 bits of rel. address. */
70 #define R_PARISC_DPREL14R 22 /* Right 14 bits of rel. address. */
75 #define R_PARISC_SECREL32 41 /* 32 bits section rel. address. */
77 #define R_PARISC_SEGREL32 49 /* 32 bits segment rel. address. */
78 #define R_PARISC_PLTOFF21L 50 /* PLT rel. address, left 21 bits. */
79 #define R_PARISC_PLTOFF14R 54 /* PLT rel. address, right 14 bits. */
83 #define R_PARISC_FPTR64 64 /* 64 bits function address. */
84 #define R_PARISC_PLABEL32 65 /* 32 bits function address. */
85 #define R_PARISC_PCREL64 72 /* 64 bits PC-rel. address. */
86 #define R_PARISC_PCREL22F 74 /* 22 bits PC-rel. address. */
87 #define R_PARISC_PCREL14WR 75 /* PC-rel. address, right 14 bits. */
88 #define R_PARISC_PCREL14DR 76 /* PC rel. address, right 14 bits. */
89 #define R_PARISC_PCREL16F 77 /* 16 bits PC-rel. address. */
90 #define R_PARISC_PCREL16WF 78 /* 16 bits PC-rel. address. */
91 #define R_PARISC_PCREL16DF 79 /* 16 bits PC-rel. address. */
92 #define R_PARISC_DIR64 80 /* 64 bits of eff. address. */
93 #define R_PARISC_DIR14WR 83 /* 14 bits of eff. address. */
94 #define R_PARISC_DIR14DR 84 /* 14 bits of eff. address. */
95 #define R_PARISC_DIR16F 85 /* 16 bits of eff. address. */
96 #define R_PARISC_DIR16WF 86 /* 16 bits of eff. address. */
97 #define R_PARISC_DIR16DF 87 /* 16 bits of eff. address. */
98 #define R_PARISC_GPREL64 88 /* 64 bits of GP-rel. address. */
99 #define R_PARISC_GPREL14WR 91 /* GP-rel. address, right 14 bits. */
100 #define R_PARISC_GPREL14DR 92 /* GP-rel. address, right 14 bits. */
101 #define R_PARISC_GPREL16F 93 /* 16 bits GP-rel. address. */
102 #define R_PARISC_GPREL16WF 94 /* 16 bits GP-rel. address. */
103 #define R_PARISC_GPREL16DF 95 /* 16 bits GP-rel. address. */
104 #define R_PARISC_LTOFF64 96 /* 64 bits LT-rel. address. */
105 #define R_PARISC_LTOFF14WR 99 /* LT-rel. address, right 14 bits. */
106 #define R_PARISC_LTOFF14DR 100 /* LT-rel. address, right 14 bits. */
107 #define R_PARISC_LTOFF16F 101 /* 16 bits LT-rel. address. */
108 #define R_PARISC_LTOFF16WF 102 /* 16 bits LT-rel. address. */
109 #define R_PARISC_LTOFF16DF 103 /* 16 bits LT-rel. address. */
110 #define R_PARISC_SECREL64 104 /* 64 bits section rel. address. */
111 #define R_PARISC_SEGREL64 112 /* 64 bits segment rel. address. */
112 #define R_PARISC_PLTOFF14WR 115 /* PLT-rel. address, right 14 bits. */
113 #define R_PARISC_PLTOFF14DR 116 /* PLT-rel. address, right 14 bits. */
114 #define R_PARISC_PLTOFF16F 117 /* 16 bits LT-rel. address. */
115 #define R_PARISC_PLTOFF16WF 118 /* 16 bits PLT-rel. address. */
116 #define R_PARISC_PLTOFF16DF 119 /* 16 bits PLT-rel. address. */
127 #define R_PARISC_TPREL32 153 /* 32 bits TP-rel. address. */
128 #define R_PARISC_TPREL21L 154 /* TP-rel. address, left 21 bits. */
129 #define R_PARISC_TPREL14R 158 /* TP-rel. address, right 14 bits. */
130 #define R_PARISC_LTOFF_TP21L 162 /* LT-TP-rel. address, left 21 bits. */
131 #define R_PARISC_LTOFF_TP14R 166 /* LT-TP-rel. address, right 14 bits.*/
132 #define R_PARISC_LTOFF_TP14F 167 /* 14 bits LT-TP-rel. address. */
133 #define R_PARISC_TPREL64 216 /* 64 bits TP-rel. address. */
134 #define R_PARISC_TPREL14WR 219 /* TP-rel. address, right 14 bits. */
135 #define R_PARISC_TPREL14DR 220 /* TP-rel. address, right 14 bits. */
136 #define R_PARISC_TPREL16F 221 /* 16 bits TP-rel. address. */
137 #define R_PARISC_TPREL16WF 222 /* 16 bits TP-rel. address. */
138 #define R_PARISC_TPREL16DF 223 /* 16 bits TP-rel. address. */
139 #define R_PARISC_LTOFF_TP64 224 /* 64 bits LT-TP-rel. address. */
140 #define R_PARISC_LTOFF_TP14WR 227 /* LT-TP-rel. address, right 14 bits.*/
141 #define R_PARISC_LTOFF_TP14DR 228 /* LT-TP-rel. address, right 14 bits.*/
142 #define R_PARISC_LTOFF_TP16F 229 /* 16 bits LT-TP-rel. address. */
143 #define R_PARISC_LTOFF_TP16WF 230 /* 16 bits LT-TP-rel. address. */
144 #define R_PARISC_LTOFF_TP16DF 231 /* 16 bits LT-TP-rel. address. */
149 * an address */
153 * addr: the absolute address of the function
H A Dtraps.h13 unsigned long address);
/linux-4.4.14/drivers/of/
H A Dof_net.c51 * Search the device tree for the best MAC address to use. 'mac-address' is
53 * address. If that isn't set, then 'local-mac-address' is checked next,
54 * because that is the default address. If that isn't set, then the obsolete
55 * 'address' is checked, just in case we're using an old device tree.
57 * Note that the 'address' property is supposed to contain a virtual address of
59 * MAC address.
63 * DTS could define 'mac-address' and 'local-mac-address', with zero MAC
64 * addresses. Some older U-Boots only initialized 'local-mac-address'. In
65 * this case, the real MAC is in 'local-mac-address', and 'mac-address' exists
72 addr = of_get_mac_addr(np, "mac-address"); of_get_mac_address()
76 addr = of_get_mac_addr(np, "local-mac-address"); of_get_mac_address()
80 return of_get_mac_addr(np, "address"); of_get_mac_address()
/linux-4.4.14/lib/
H A Dcheck_signature.c6 * @io_addr: mmio address to check
10 * Perform a signature comparison with the mmio address io_addr. This
11 * address should have been obtained by ioremap.
/linux-4.4.14/include/net/
H A Dfirewire.h4 /* Pseudo L2 address */
8 /* "Hardware address" defined in RFC2734/RF3146 */
21 u8 h_dest[FWNET_ALEN]; /* destination address */
H A Dipconfig.h12 extern __be32 ic_myaddr; /* My IP address */
13 extern __be32 ic_gateway; /* Gateway IP address */
15 extern __be32 ic_servaddr; /* Boot server IP address */
/linux-4.4.14/arch/microblaze/include/asm/
H A Ddma.h13 /* we don't have dma address limit. define it as zero to be
17 /* Virtual address corresponding to last available physical memory address. */
H A Dflat.h23 * of the MICROBLAZE_64 reloc type. Here, a 32 bit address is split
30 * Crack open a symbol reference and extract the address to be
50 /* Crack the address out */ flat_get_addr_from_rp()
53 /* Get the address straight out */ flat_get_addr_from_rp()
61 * Insert an address into the symbol reference at rp. rp is potentially
74 /* insert the address */ flat_put_addr_at_rp()
/linux-4.4.14/arch/arm/include/asm/
H A Dsparsemem.h9 * MAX_PHYSMEM_BITS: The number of physical address bits required
10 * to address the last byte of memory.
12 * SECTION_SIZE_BITS: The number of physical address bits to cover
H A Dkexec.h6 /* Maximum physical address we can use pages from */
8 /* Maximum address we can reach in physical address mode */
10 /* Maximum address we can use for the control code buffer */
/linux-4.4.14/arch/mips/include/asm/mach-bcm63xx/
H A Dbcm63xx_nvram.h8 * @nvram: address of the nvram data
10 * Initialized the local nvram copy from the target address and checks
24 * bcm63xx_nvram_get_mac_address() - register & return a new mac address
27 * Registers and returns a mac address from the allocated macs from nvram.
/linux-4.4.14/arch/metag/include/asm/
H A Dmmu.h20 /* last partially filled huge page table address */
26 /* Given a virtual address, return the pte for the top level 4meg entry
27 * that maps that address.
32 /* Given a linear (virtual) address, return the second level 4k pte
33 * that maps that address. Returns 0 if the address is not mapped.
37 /* Get the virtual base address of the MMU */
45 * For cpu "cpu" calculate and return the address of the
61 * For cpu "cpu" calculate and return the address of the
H A Dsparsemem.h6 * MAX_PHYSADDR_BITS 2^N: how much physical address space we have
H A Dpgtable.h180 #define pgd_index(address) ((((address) & ~0x80000000) >> PGDIR_SHIFT) \
183 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
186 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address))
188 #define pgd_offset_k(address) pgd_offset(&init_mm, address)
190 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1))
195 # define pte_index(pmd, address) \
196 (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
199 # define pte_index(pmd, address) \
200 (((address) >> pmd_page_shift(pmd)) & (pmd_num_ptrs(pmd) - 1))
202 #define pte_offset_kernel(dir, address) \
203 ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(*(dir), address))
204 #define pte_offset_map(dir, address) pte_offset_kernel(dir, address)
205 #define pte_offset_map_nested(dir, address) pte_offset_kernel(dir, address)
220 unsigned long address, pte_t *pte) update_mmu_cache()
219 update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t *pte) update_mmu_cache() argument
/linux-4.4.14/arch/mn10300/include/asm/
H A Dpage_offset.h1 /* MN10300 Kernel base address
/linux-4.4.14/arch/mn10300/include/uapi/asm/
H A Dmman.h3 #define MIN_MAP_ADDR PAGE_SIZE /* minimum fixed mmap address */
/linux-4.4.14/arch/ia64/include/uapi/asm/
H A Dsetup.h7 __u64 command_line; /* physical address of command line arguments */
8 __u64 efi_systab; /* physical address of EFI system table */
9 __u64 efi_memmap; /* physical address of EFI memory map */
19 __u64 fpswa; /* physical address of the fpswa interface */
/linux-4.4.14/arch/m32r/include/asm/
H A Ddma.h7 * The maximum address that we can perform a DMA transfer
H A Daddrspace.h8 * Defitions for the address spaces of the M32R CPUs.
25 * Returns the kernel segment base of a given address
34 * Returns the physical address of a KSEG0/KSEG1 address
43 * Map an address to a certain kernel segment
/linux-4.4.14/security/tomoyo/
H A Dnetwork.c10 /* Structure for holding inet domain socket's address. */
13 const __be32 *address; /* In network byte order. */ member in struct:tomoyo_inet_addr_info
17 /* Structure for holding unix domain socket's address. */
23 /* Structure for holding socket address. */
42 * tomoyo_parse_ipaddr_union - Parse an IP address.
54 char *address = tomoyo_read_token(param); tomoyo_parse_ipaddr_union() local
57 if (!strchr(address, ':') && tomoyo_parse_ipaddr_union()
58 in4_pton(address, -1, min, '-', &end) > 0) { tomoyo_parse_ipaddr_union()
67 if (in6_pton(address, -1, min, '-', &end) > 0) { tomoyo_parse_ipaddr_union()
80 * tomoyo_print_ipv4 - Print an IPv4 address.
97 * tomoyo_print_ipv6 - Print an IPv6 address.
115 * tomoyo_print_ip - Print an IP address.
198 tomoyo_same_ipaddr_union(&p1->address, &p2->address) && tomoyo_same_inet_acl()
299 e.address.group = tomoyo_write_inet_network()
301 if (!e.address.group) tomoyo_write_inet_network()
304 if (!tomoyo_parse_ipaddr_union(param, &e.address)) tomoyo_write_inet_network()
314 tomoyo_put_group(e.address.group); tomoyo_write_inet_network()
358 * @address: Name of address.
364 const u8 operation, const char *address) tomoyo_audit_net_log()
368 tomoyo_socket_keyword[operation], address); tomoyo_audit_net_log()
382 const __be32 *address = r->param.inet_network.address; tomoyo_audit_inet_log() local
386 address, (const struct in6_addr *) address); tomoyo_audit_inet_log()
388 tomoyo_print_ipv4(buf, sizeof(buf), address, address); tomoyo_audit_inet_log()
407 r->param.unix_network.address->name); tomoyo_audit_unix_log()
429 if (acl->address.group) tomoyo_check_inet_acl()
432 r->param.inet_network.address, acl->address.group); tomoyo_check_inet_acl()
433 return acl->address.is_ipv6 == r->param.inet_network.is_ipv6 && tomoyo_check_inet_acl()
434 memcmp(&acl->address.ip[0], tomoyo_check_inet_acl()
435 r->param.inet_network.address, size) <= 0 && tomoyo_check_inet_acl()
436 memcmp(r->param.inet_network.address, tomoyo_check_inet_acl()
437 &acl->address.ip[1], size) <= 0; tomoyo_check_inet_acl()
455 tomoyo_compare_name_union(r->param.unix_network.address, tomoyo_check_unix_acl()
462 * @address: Pointer to "struct tomoyo_addr_info".
466 static int tomoyo_inet_entry(const struct tomoyo_addr_info *address) tomoyo_inet_entry() argument
471 const u8 type = tomoyo_inet2mac[address->protocol][address->operation]; tomoyo_inet_entry()
476 r.param.inet_network.protocol = address->protocol; tomoyo_inet_entry()
477 r.param.inet_network.operation = address->operation; tomoyo_inet_entry()
478 r.param.inet_network.is_ipv6 = address->inet.is_ipv6; tomoyo_inet_entry()
479 r.param.inet_network.address = address->inet.address; tomoyo_inet_entry()
480 r.param.inet_network.port = ntohs(address->inet.port); tomoyo_inet_entry()
496 * @address: Pointer to "struct tomoyo_addr_info".
503 struct tomoyo_addr_info *address) tomoyo_check_inet_address()
505 struct tomoyo_inet_addr_info *i = &address->inet; tomoyo_check_inet_address()
512 i->address = (__be32 *) tomoyo_check_inet_address()
520 i->address = (__be32 *) tomoyo_check_inet_address()
527 if (address->protocol == SOCK_RAW) tomoyo_check_inet_address()
529 return tomoyo_inet_entry(address); tomoyo_check_inet_address()
537 * @address: Pointer to "struct tomoyo_addr_info".
541 static int tomoyo_unix_entry(const struct tomoyo_addr_info *address) tomoyo_unix_entry() argument
546 const u8 type = tomoyo_unix2mac[address->protocol][address->operation]; tomoyo_unix_entry()
550 char *buf = address->unix0.addr; tomoyo_unix_entry()
551 int len = address->unix0.addr_len - sizeof(sa_family_t); tomoyo_unix_entry()
566 r.param.unix_network.protocol = address->protocol; tomoyo_unix_entry()
567 r.param.unix_network.operation = address->operation; tomoyo_unix_entry()
568 r.param.unix_network.address = &addr; tomoyo_unix_entry()
586 * @address: Pointer to "struct tomoyo_addr_info".
592 struct tomoyo_addr_info *address) tomoyo_check_unix_address()
594 struct tomoyo_unix_addr_info *u = &address->unix0; tomoyo_check_unix_address()
600 return tomoyo_unix_entry(address); tomoyo_check_unix_address()
647 struct tomoyo_addr_info address; tomoyo_socket_listen_permission() local
662 address.protocol = type; tomoyo_socket_listen_permission()
663 address.operation = TOMOYO_NETWORK_LISTEN; tomoyo_socket_listen_permission()
666 addr_len, &address); tomoyo_socket_listen_permission()
668 0, &address); tomoyo_socket_listen_permission()
672 * tomoyo_socket_connect_permission - Check permission for setting the remote address of a socket.
683 struct tomoyo_addr_info address; tomoyo_socket_connect_permission() local
689 address.protocol = type; tomoyo_socket_connect_permission()
693 address.operation = TOMOYO_NETWORK_SEND; tomoyo_socket_connect_permission()
697 address.operation = TOMOYO_NETWORK_CONNECT; tomoyo_socket_connect_permission()
703 return tomoyo_check_unix_address(addr, addr_len, &address); tomoyo_socket_connect_permission()
705 &address); tomoyo_socket_connect_permission()
709 * tomoyo_socket_bind_permission - Check permission for setting the local address of a socket.
720 struct tomoyo_addr_info address; tomoyo_socket_bind_permission() local
731 address.protocol = type; tomoyo_socket_bind_permission()
732 address.operation = TOMOYO_NETWORK_BIND; tomoyo_socket_bind_permission()
738 return tomoyo_check_unix_address(addr, addr_len, &address); tomoyo_socket_bind_permission()
740 &address); tomoyo_socket_bind_permission()
755 struct tomoyo_addr_info address; tomoyo_socket_sendmsg_permission() local
762 address.protocol = type; tomoyo_socket_sendmsg_permission()
763 address.operation = TOMOYO_NETWORK_SEND; tomoyo_socket_sendmsg_permission()
767 msg->msg_namelen, &address); tomoyo_socket_sendmsg_permission()
770 sock->sk->sk_protocol, &address); tomoyo_socket_sendmsg_permission()
362 tomoyo_audit_net_log(struct tomoyo_request_info *r, const char *family, const u8 protocol, const u8 operation, const char *address) tomoyo_audit_net_log() argument
500 tomoyo_check_inet_address(const struct sockaddr *addr, const unsigned int addr_len, const u16 port, struct tomoyo_addr_info *address) tomoyo_check_inet_address() argument
590 tomoyo_check_unix_address(struct sockaddr *addr, const unsigned int addr_len, struct tomoyo_addr_info *address) tomoyo_check_unix_address() argument
H A Dgroup.c60 return tomoyo_same_ipaddr_union(&p1->address, &p2->address); tomoyo_same_address_group()
103 !tomoyo_parse_ipaddr_union(param, &e.address)) tomoyo_write_group()
169 * tomoyo_address_matches_group - Check whether the given address matches members of the given address group.
171 * @is_ipv6: True if @address is an IPv6 address.
172 * @address: An IPv4 or IPv6 address.
175 * Returns true if @address matches addresses in @group group, false otherwise.
179 bool tomoyo_address_matches_group(const bool is_ipv6, const __be32 *address, tomoyo_address_matches_group() argument
189 if (member->address.is_ipv6 != is_ipv6) tomoyo_address_matches_group()
191 if (memcmp(&member->address.ip[0], address, size) > 0 || tomoyo_address_matches_group()
192 memcmp(address, &member->address.ip[1], size) > 0) tomoyo_address_matches_group()
/linux-4.4.14/arch/x86/um/os-Linux/
H A Dtask_size.c18 unsigned long *address = (unsigned long *) (page << UM_KERN_PAGE_SHIFT); page_ok() local
28 * the mmap succeeds, but gives us an address different from page_ok()
32 n = *address; page_ok()
34 mapped = mmap(address, UM_KERN_PAGE_SIZE, page_ok()
39 if (mapped != address) page_ok()
44 * Now, is it writeable? If so, then we're in user address page_ok()
49 *address = n; page_ok()
52 } else if (mprotect(address, UM_KERN_PAGE_SIZE, page_ok()
57 *address = n; page_ok()
75 * unmapped. So, just set the highest address to be checked to just os_get_top_address()
76 * below it. This might waste some address space on 4G/4G 32-bit os_get_top_address()
82 printf("Locating the bottom of the address space ... "); os_get_top_address()
97 /* Manually scan the address space, bottom-up, until we find os_get_top_address()
107 fprintf(stderr, "Unable to determine bottom of address " os_get_top_address()
113 printf("Locating the top of the address space ... "); os_get_top_address()
/linux-4.4.14/drivers/net/appletalk/
H A Dipddp.h17 __be32 ip; /* IP address */
18 struct atalk_addr at; /* Gateway appletalk address */
/linux-4.4.14/arch/alpha/include/asm/
H A Dtlb.h12 #define __pte_free_tlb(tlb, pte, address) pte_free((tlb)->mm, pte)
13 #define __pmd_free_tlb(tlb, pmd, address) pmd_free((tlb)->mm, pmd)
/linux-4.4.14/scripts/gdb/linux/
H A Dlists.py37 if p['next'] != c.address:
41 current_addr=c.address,
43 p_addr=p.address,
50 current_addr=c.address,
55 if n['prev'] != c.address:
59 current_addr=c.address,
61 n_addr=n.address,
68 current_addr=c.address,
/linux-4.4.14/arch/powerpc/include/asm/
H A Dpgalloc.h8 extern void tlb_flush_pgtable(struct mmu_gather *tlb, unsigned long address);
11 unsigned long address) tlb_flush_pgtable()
10 tlb_flush_pgtable(struct mmu_gather *tlb, unsigned long address) tlb_flush_pgtable() argument
H A Dtlb.h38 unsigned long address);
41 unsigned long address) __tlb_remove_tlb_entry()
45 flush_hash_entry(tlb->mm, ptep, address); __tlb_remove_tlb_entry()
40 __tlb_remove_tlb_entry(struct mmu_gather *tlb, pte_t *ptep, unsigned long address) __tlb_remove_tlb_entry() argument
/linux-4.4.14/arch/sh/include/asm/
H A Dstacktrace.h13 void (*address)(void *data, unsigned long address, int reliable); member in struct:stacktrace_ops
H A Dkdebug.h14 extern void printk_address(unsigned long address, int reliable);
H A Dpgtable-3level.h39 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) pmd_offset()
40 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long address) pmd_offset() argument
42 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); pmd_offset()
H A Dsparsemem.h7 * MAX_PHYSADDR_BITS 2^N: how much physical address space we have
/linux-4.4.14/drivers/video/backlight/
H A Dvgg2432a4.c31 .address = ILI9320_POWER1,
34 .address = ILI9320_POWER2,
38 .address = ILI9320_POWER3,
41 .address = ILI9320_POWER4,
48 .address = ILI9320_POWER1,
52 .address = ILI9320_POWER2,
59 .address = ILI9320_GAMMA1,
62 .address = ILI9320_GAMMA2,
65 .address = ILI9320_GAMMA3,
68 .address = ILI9320_GAMMA4,
71 .address = ILI9320_GAMMA5,
74 .address = ILI9320_GAMMA6,
77 .address = ILI9320_GAMMA7,
80 .address = ILI9320_GAMMA8,
83 .address = ILI9320_GAMMA9,
86 .address = ILI9320_GAMMA10,
95 .address = ILI9320_DRIVER,
98 .address = ILI9320_DRIVEWAVE,
102 .address = ILI9320_ENTRYMODE,
105 .address = ILI9320_RESIZING,
/linux-4.4.14/arch/avr32/include/asm/
H A Daddrspace.h2 * Defitions for the address spaces of the AVR32 CPUs. Heavily based on
23 /* Returns the privileged segment base of a given address */
26 /* Returns the physical address of a PnSEG (n=1,2) address */
30 * Map an address to a certain privileged segment
H A Ddma.h4 /* The maximum address that we can perform a DMA transfer to on this platform.
/linux-4.4.14/arch/blackfin/kernel/
H A Dfixed_code.S35 * Inputs: P0: memory address to use
37 * Output: R0: old contents of the memory address, zero extended.
48 * Inputs: P0: memory address to use
52 * address is equal to the compare value.
53 * Output: R0: old contents of the memory address.
67 * Inputs: P0: memory address to use
69 * Outputs: R0: new contents of the memory address.
70 * R1: previous contents of the memory address.
82 * Inputs: P0: memory address to use
84 * Outputs: R0: new contents of the memory address.
85 * R1: previous contents of the memory address.
97 * Inputs: P0: memory address to use
99 * Outputs: R0: new contents of the memory address.
100 * R1: previous contents of the memory address.
112 * Inputs: P0: memory address to use
114 * Outputs: R0: new contents of the memory address.
115 * R1: previous contents of the memory address.
127 * Inputs: P0: memory address to use
129 * Outputs: R0: new contents of the memory address.
130 * R1: previous contents of the memory address.
/linux-4.4.14/scripts/
H A Ddecode_stacktrace.sh29 # Use 'nm vmlinux' to figure out the base address of said symbol.
38 # Let's start doing the math to get the exact address into the
42 # Now, replace the symbol name with the base address we found
46 # Evaluate it to find the actual address
48 local address=$(printf "%x\n" "$expr")
52 if [[ "${cache[$address]+isset}" == "isset" ]]; then
53 local code=${cache[$address]}
55 local code=$(addr2line -i -e "$vmlinux" "$address")
56 cache[$address]=$code
72 # Replace old address with pretty line numbers
96 # Remove the address
118 # Let's see if we have an address in the line
120 # Translate address to line numbers
/linux-4.4.14/arch/metag/mm/
H A Dfault.c48 int do_page_fault(struct pt_regs *regs, unsigned long address, do_page_fault() argument
60 if ((address >= VMALLOC_START) && (address < VMALLOC_END)) { do_page_fault()
68 int offset = pgd_index(address); do_page_fault()
85 pud = pud_offset(pgd, address); do_page_fault()
86 pud_k = pud_offset(pgd_k, address); do_page_fault()
91 pmd = pmd_offset(pud, address); do_page_fault()
92 pmd_k = pmd_offset(pud_k, address); do_page_fault()
97 pte_k = pte_offset_kernel(pmd_k, address); do_page_fault()
116 vma = find_vma_prev(mm, address, &prev_vma); do_page_fault()
118 if (!vma || address < vma->vm_start) do_page_fault()
136 fault = handle_mm_fault(mm, vma, address, flags); do_page_fault()
174 if (vma && (expand_stack(vma, address) == 0)) do_page_fault()
185 info.si_addr = (__force void __user *)address; do_page_fault()
192 tsk->comm, task_pid_nr(tsk), address, do_page_fault()
215 info.si_addr = (__force void __user *)address; do_page_fault()
239 clear_cbuf_entry(regs, address, trapno); do_page_fault()
243 die("Oops", regs, (write_access << 15) | trapno, address); do_page_fault()
H A Dmmu-meta1.c17 * This contains the physical address of the top level 2k pgd table.
22 * Given a physical address, return a mapped virtual address that can be used
49 * Return the physical address of the base of our pgd table.
67 /* Given a virtual address, return the virtual address of the relevant pgd */ pgd_entry_addr()
77 * Are we trying to map a global address. If so, then index pgd_entry_addr()
93 /* Given a virtual address, return the virtual address of the relevant pte */ pgtable_entry_addr()
99 /* Find the physical address of the 4MB page table*/ pgtable_entry_addr()
102 /* Map it to a virtual address */ pgtable_entry_addr()
/linux-4.4.14/arch/arm/mm/
H A Dcache-v4wt.S58 * Invalidate all cache entries in a particular address
81 * address space.
83 * - start - start address (inclusive, page aligned)
84 * - end - end address (exclusive, page aligned)
85 * - flags - vma_area_struct flags describing address space
107 * - start - virtual start address
108 * - end - virtual end address
120 * - start - virtual start address
121 * - end - virtual end address
138 * - addr - kernel address
150 * Invalidate (discard) the specified virtual address range.
155 * - start - virtual start address
156 * - end - virtual end address
169 * Clean and invalidate the specified virtual address range.
171 * - start - virtual start address
172 * - end - virtual end address
179 * - start - kernel virtual start address
191 * - start - kernel virtual start address
H A Dcache-v4wb.S68 * Clean and invalidate all cache entries in a particular address
104 * address space.
106 * - start - start address (inclusive, page aligned)
107 * - end - end address (exclusive, page aligned)
108 * - flags - vma_area_struct flags describing address space
134 * - addr - kernel address
148 * - start - virtual start address
149 * - end - virtual end address
161 * - start - virtual start address
162 * - end - virtual end address
180 * Invalidate (discard) the specified virtual address range.
185 * - start - virtual start address
186 * - end - virtual end address
204 * Clean (write back) the specified virtual address range.
206 * - start - virtual start address
207 * - end - virtual end address
221 * Clean and invalidate the specified virtual address range.
223 * - start - virtual start address
224 * - end - virtual end address
233 * - start - kernel virtual start address
247 * - start - kernel virtual start address
H A Dcache-fa.S55 * Clean and invalidate all cache entries in a particular address
81 * address space.
83 * - start - start address (inclusive, page aligned)
84 * - end - end address (exclusive, page aligned)
85 * - flags - vma_area_struct flags describing address space
112 * - start - virtual start address
113 * - end - virtual end address
125 * - start - virtual start address
126 * - end - virtual end address
147 * - addr - kernel address
164 * Invalidate (discard) the specified virtual address range.
169 * - start - virtual start address
170 * - end - virtual end address
190 * Clean (write back) the specified virtual address range.
192 * - start - virtual start address
193 * - end - virtual end address
207 * - start - virtual start address of region
208 * - end - virtual end address of region
222 * - start - kernel virtual start address
236 * - start - kernel virtual start address
H A Dcache-v6.S81 * Flush all TLB entries in a particular address space
83 * - mm - mm_struct describing address space
91 * Flush a range of TLB entries in the specified address space.
93 * - start - start address (may not be aligned)
94 * - end - end address (exclusive, may not be aligned)
95 * - flags - vm_area_struct flags describing address space
110 * - start - virtual start address of region
111 * - end - virtual end address of region
126 * - start - virtual start address of region
127 * - end - virtual end address of region
156 * Fault handling for the cache operation above. If the virtual address in r0
172 * - addr - kernel address
201 * - start - virtual start address of region
202 * - end - virtual end address of region
246 * - start - virtual start address of region
247 * - end - virtual end address of region
269 * - start - virtual start address of region
270 * - end - virtual end address of region
297 * - start - kernel virtual start address
316 * - start - kernel virtual start address
/linux-4.4.14/drivers/scsi/fnic/
H A Drq_enet_desc.h23 __le64 address; member in struct:rq_enet_desc
42 u64 address, u8 type, u16 length) rq_enet_desc_enc()
44 desc->address = cpu_to_le64(address); rq_enet_desc_enc()
50 u64 *address, u8 *type, u16 *length) rq_enet_desc_dec()
52 *address = le64_to_cpu(desc->address); rq_enet_desc_dec()
41 rq_enet_desc_enc(struct rq_enet_desc *desc, u64 address, u8 type, u16 length) rq_enet_desc_enc() argument
49 rq_enet_desc_dec(struct rq_enet_desc *desc, u64 *address, u8 *type, u16 *length) rq_enet_desc_dec() argument
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
H A Drq_enet_desc.h25 __le64 address; member in struct:rq_enet_desc
44 u64 address, u8 type, u16 length) rq_enet_desc_enc()
46 desc->address = cpu_to_le64(address); rq_enet_desc_enc()
52 u64 *address, u8 *type, u16 *length) rq_enet_desc_dec()
54 *address = le64_to_cpu(desc->address); rq_enet_desc_dec()
43 rq_enet_desc_enc(struct rq_enet_desc *desc, u64 address, u8 type, u16 length) rq_enet_desc_enc() argument
51 rq_enet_desc_dec(struct rq_enet_desc *desc, u64 *address, u8 *type, u16 *length) rq_enet_desc_dec() argument
/linux-4.4.14/arch/xtensa/mm/
H A Dfault.c31 * This routine handles page faults. It determines the address,
43 unsigned int address = regs->excvaddr; do_page_fault() local
55 if (address >= TASK_SIZE && !user_mode(regs)) do_page_fault()
62 bad_page_fault(regs, address, SIGSEGV); do_page_fault()
73 address, exccause, regs->pc, is_write? "w":"", is_exec? "x":""); do_page_fault()
80 vma = find_vma(mm, address); do_page_fault()
84 if (vma->vm_start <= address) do_page_fault()
88 if (expand_stack(vma, address)) do_page_fault()
113 fault = handle_mm_fault(mm, vma, address, flags); do_page_fault()
146 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address); do_page_fault()
148 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MAJ, 1, regs, address); do_page_fault()
150 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MIN, 1, regs, address); do_page_fault()
160 current->thread.bad_vaddr = address; do_page_fault()
165 info.si_addr = (void *) address; do_page_fault()
169 bad_page_fault(regs, address, SIGSEGV); do_page_fault()
179 bad_page_fault(regs, address, SIGKILL); do_page_fault()
190 current->thread.bad_vaddr = address; do_page_fault()
194 info.si_addr = (void *) address; do_page_fault()
199 bad_page_fault(regs, address, SIGBUS); do_page_fault()
208 int index = pgd_index(address); do_page_fault()
224 pmd = pmd_offset(pgd, address); do_page_fault()
225 pmd_k = pmd_offset(pgd_k, address); do_page_fault()
230 pte_k = pte_offset_kernel(pmd_k, address); do_page_fault()
237 bad_page_fault(regs, address, SIGKILL); do_page_fault()
243 bad_page_fault(struct pt_regs *regs, unsigned long address, int sig) bad_page_fault() argument
254 current->thread.bad_uaddr = address; bad_page_fault()
263 "address %08lx\n pc = %08lx, ra = %08lx\n", bad_page_fault()
264 address, regs->pc, regs->areg[0]); bad_page_fault()
/linux-4.4.14/arch/ia64/mm/
H A Dfault.c48 mapped_kernel_page_is_present (unsigned long address) mapped_kernel_page_is_present() argument
55 pgd = pgd_offset_k(address); mapped_kernel_page_is_present()
59 pud = pud_offset(pgd, address); mapped_kernel_page_is_present()
63 pmd = pmd_offset(pud, address); mapped_kernel_page_is_present()
67 ptep = pte_offset_kernel(pmd, address); mapped_kernel_page_is_present()
80 ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *regs) ia64_do_page_fault() argument
110 if ((REGION_NUMBER(address) == 5) && !user_mode(regs)) ia64_do_page_fault()
127 vma = find_vma_prev(mm, address, &prev_vma); ia64_do_page_fault()
132 * find_vma_prev() returns vma such that address < vma->vm_end or NULL ia64_do_page_fault()
138 if (( !vma && prev_vma ) || (address < vma->vm_start) ) ia64_do_page_fault()
162 fault = handle_mm_fault(mm, vma, address, flags); ia64_do_page_fault()
206 if (!(prev_vma && (prev_vma->vm_flags & VM_GROWSUP) && (address == prev_vma->vm_end))) { ia64_do_page_fault()
211 if (REGION_NUMBER(address) != REGION_NUMBER(vma->vm_start) ia64_do_page_fault()
212 || REGION_OFFSET(address) >= RGN_MAP_LIMIT) ia64_do_page_fault()
214 if (expand_stack(vma, address)) ia64_do_page_fault()
218 if (REGION_NUMBER(address) != REGION_NUMBER(vma->vm_start) ia64_do_page_fault()
219 || REGION_OFFSET(address) >= RGN_MAP_LIMIT) ia64_do_page_fault()
225 if (address > vma->vm_end + PAGE_SIZE - sizeof(long)) ia64_do_page_fault()
227 if (expand_upwards(vma, address)) ia64_do_page_fault()
252 si.si_addr = (void __user *) address; ia64_do_page_fault()
273 * Since we have no vma's for region 5, we might get here even if the address is ia64_do_page_fault()
279 if (REGION_NUMBER(address) == 5 && mapped_kernel_page_is_present(address)) ia64_do_page_fault()
291 if (address < PAGE_SIZE) ia64_do_page_fault()
292 printk(KERN_ALERT "Unable to handle kernel NULL pointer dereference (address %016lx)\n", address); ia64_do_page_fault()
295 "virtual address %016lx\n", address); ia64_do_page_fault()
/linux-4.4.14/arch/cris/arch-v10/mm/
H A Dfault.c31 asmlinkage void do_page_fault(unsigned long address, struct pt_regs *regs,
52 unsigned long address; handle_mmu_bus_fault() local
57 address = cause & PAGE_MASK; /* get faulting address */ handle_mmu_bus_fault()
71 regs->irp, address, miss, inv, we, acc, index, page_id)); handle_mmu_bus_fault()
75 do_page_fault(address, regs, 0, writeac); handle_mmu_bus_fault()
77 do_page_fault(address, regs, 1, we); handle_mmu_bus_fault()
84 pmd = (pmd_t *)(pgd + pgd_index(address)); handle_mmu_bus_fault()
87 pte = *pte_offset_kernel(pmd, address); handle_mmu_bus_fault()
/linux-4.4.14/drivers/media/platform/exynos-gsc/
H A Dgsc-regs.h142 /* G-Scaler input y address mask */
144 /* G-Scaler input y base address */
147 /* G-Scaler input cb address mask */
149 /* G-Scaler input cb base address */
152 /* G-Scaler input cr address mask */
154 /* G-Scaler input cr base address */
157 /* G-Scaler output y address mask */
159 /* G-Scaler output y base address */
162 /* G-Scaler output cb address mask */
164 /* G-Scaler output cb base address */
167 /* G-Scaler output cr address mask */
169 /* G-Scaler output cr base address */
/linux-4.4.14/drivers/dma/ppc4xx/
H A Dxor.h32 #define XOR_CDCR_OAC_MSK (0x7F) /* operand address count */
75 u32 cbtah; /* target address high */
76 u32 cbtal; /* target address low */
77 u32 cblah; /* link address high */
78 u32 cblal; /* link address low */
89 u32 op_ar[16][2]; /* operand address[0]-high,[1]-low registers */
95 u32 cbtahr; /* operand target address high register */
96 u32 cbtalr; /* operand target address low register */
97 u32 cblahr; /* CB link address high register */
98 u32 cblalr; /* CB link address low register */
101 u32 ccbahr; /* current CB address high register */
102 u32 ccbalr; /* current CB address low register */
/linux-4.4.14/arch/arm64/include/asm/
H A Dkasan.h19 * This value is used to map an address to the corresponding shadow
20 * address by the following formula:
21 * shadow_addr = (address >> 3) + KASAN_SHADOW_OFFSET;
/linux-4.4.14/sound/isa/gus/
H A Dgus_dram.c29 unsigned int address, unsigned int size) snd_gus_dram_poke()
42 snd_gf1_dram_addr(gus, address); snd_gus_dram_poke()
45 address += size1; snd_gus_dram_poke()
50 snd_gf1_poke(gus, address++, *pbuffer++); snd_gus_dram_poke()
60 unsigned int address, unsigned int size) snd_gus_dram_write()
62 return snd_gus_dram_poke(gus, buffer, address, size); snd_gus_dram_write()
66 unsigned int address, unsigned int size, snd_gus_dram_peek()
78 snd_gf1_dram_addr(gus, address); snd_gus_dram_peek()
82 address += size1; snd_gus_dram_peek()
87 *pbuffer++ = snd_gf1_peek(gus, address++); snd_gus_dram_peek()
98 unsigned int address, unsigned int size, snd_gus_dram_read()
101 return snd_gus_dram_peek(gus, buffer, address, size, rom); snd_gus_dram_read()
28 snd_gus_dram_poke(struct snd_gus_card *gus, char __user *_buffer, unsigned int address, unsigned int size) snd_gus_dram_poke() argument
59 snd_gus_dram_write(struct snd_gus_card *gus, char __user *buffer, unsigned int address, unsigned int size) snd_gus_dram_write() argument
65 snd_gus_dram_peek(struct snd_gus_card *gus, char __user *_buffer, unsigned int address, unsigned int size, int rom) snd_gus_dram_peek() argument
97 snd_gus_dram_read(struct snd_gus_card *gus, char __user *buffer, unsigned int address, unsigned int size, int rom) snd_gus_dram_read() argument
/linux-4.4.14/drivers/scsi/
H A Dscript_asm.pl189 # delimited list of address,size
204 $address = 0; # Address of current instruction
211 # &patch ($address, $offset, $length, $value) patches $code[$address]
219 local ($address, $offset, $length, $value) = @_;
221 print STDERR "Patching $address at offset $offset, length $length to $value\n";
222 printf STDERR "Old code : %08x\n", $code[$address];
227 $code[$address] = ($code[$address] & ~$mask) |
228 (($code[$address] & $mask) + ($value << ($offset * 8)) &
231 printf STDERR "New code : %08x\n", $code[$address] if ($debug);
236 # $address, $offset is the starting byte within that word, and
240 # relative to $address, and that the %symbol_references table is
263 $tmp = ($address + $word) * 4 + $offset;
277 &patch ($address + $word, $offset, $length, $value);
290 $code[$address] |= 0x00_01_00_00;
309 $code[$address] |= 0x00_08_00_00;
319 $code[$address] |= 0x00_02_00_00;
325 $code[$address] |= $p | 0x00_02_00_00;
354 $code[$address] |= 0x00_04_00_00;
394 $list[$address] = $list[$address].$_;
403 $symbol_values{$1} = $address * 4; # Address is an index into
467 # Process MOVE length, address, WITH|WHEN phase instruction
475 $code[$address] = 0x18_00_00_00 | (($with_when =~ /WITH/i) ?
478 $address += 2;
485 $code[$address] = (($with_when =~ /WITH/i) ? 0x00_00_00_00 :
490 $address += 2;
493 $code[$address] = 0xc0_00_00_00;
503 $code[$address], $code[$address+1], $code[$address +2] if
505 $address += 3;
519 $code[$address] = 0x40_00_00_00;
578 $code[$address] |= 0x01_00_00_00;
599 $code[$address] |= 0x38_00_00_00 |
602 $code[$address] |= 0x30_00_00_00 |
605 $code[$address] |= 0x28_00_00_00 |
615 $code[$address] |= $operators{$op};
618 $code[$address] |= $operators{$op};
619 $code[$address + 1] = 0x00_00_00_00;# Reserved
620 $address += 2;
624 expected (initiator) <length>, <address>, WHEN <phase>
625 (target) <length>, <address>, WITH <phase>
637 $code[$address] = 0x40_00_00_00 |
639 $code[$address + 1] = 0x00_00_00_00;
642 $address += 2;
647 $code[$address] = 0x42_00_00_00 |
649 $code[$address + 1] = 0x00_00_00_00;
652 $address += 2;
657 SELECT FROM address, alternate_address or
659 RESELECT FROM address, alternate_address
666 $code[$address] = 0x48_00_00_00;
667 $code[$address + 1] = 0x00_00_00_00;
668 $address += 2;
671 $code[$address] = 0x50_00_00_00;
673 $address += 2;
687 $code[$address] = ($set =~ /SET/i) ? 0x58_00_00_00 :
691 $code[$address] |= 0x00_00_00_08;
693 $code[$address] |= 0x00_00_00_40;
695 $code[$address] |= 0x00_00_02_00;
697 $code[$address] |= 0x00_00_04_00;
706 $code[$address + 1] = 0x00_00_00_00;
707 $address += 2;
712 $code[$address] = 0x80_00_00_00;
714 $code[$address] = 0x88_00_00_00;
716 $code[$address] = 0x98_00_00_00;
725 $code[$address] |= 0x00_80_00_00;
735 expected <address> or REL (address)
742 $code[$address] |= (1 << 19);
750 $address += 2;
755 $code[$address] = ($instruction =~ /RETURN/i) ? 0x90_00_00_00 :
766 $code[$address] |= 0x00_08_00_00;
769 $code[$address + 1] = 0x00_00_00_00;
770 $address += 2;
772 $code[$address] = 0x48_00_00_00;
773 $code[$address + 1] = 0x00_00_00_00;
774 $address += 2;
778 $code[$address] = 0x80_88_00_00;
779 $code[$address + 1] = 0x00_00_00_00;
780 $address += 2;
813 $address = $2;
816 "$0 : $symbol $i has invalid relative reference at address $address,
820 &patch ($address / 4, $address % 4, $length, $symbol_values{$i});
830 $address = $2;
834 "$0 : symbol $label is external, has invalid relative reference at $address,
839 "$0 : symbol $label has invalid reference at $address, size $length\n"
840 if ((($address % 4) !=0) || ($length != 4));
843 $add = $code[$address / 4];
845 $code[$address / 4] = $symbol;
848 $code[$address / 4] = "$symbol + $add";
861 $address = $2;
864 if ((($address % 4) !=0) || ($length != 4)) {
869 $code[$address / 4] += $symbol_values{$label};
870 push (@label_patches, $address / 4);
873 # - The address of the reference should be in the second and last word
877 # So, we need to add four to the address of the reference, to get
878 # the address of the next instruction, when computing the reference.
881 ($address + 4);
884 "$0 : symbol $label is too far ($tmp) from $address to reference as
886 $code[$address / 4] = $tmp & 0x00_ff_ff_ff;
944 $address = $2;
946 printf OUTPUT "\t0x%08x,\n", $address / 4;
968 printf OUTPUT "static struct {\n\tu32\toffset;\n\tvoid\t\t*address;\n".
/linux-4.4.14/arch/um/kernel/
H A Dsysrq.c18 static void _print_addr(void *data, unsigned long address, int reliable) _print_addr() argument
20 pr_info(" [<%08lx>]", address); _print_addr()
22 print_symbol("%s", address); _print_addr()
27 .address = _print_addr
H A Dtrap.c24 int handle_page_fault(unsigned long address, unsigned long ip, handle_page_fault() argument
49 vma = find_vma(mm, address); handle_page_fault()
52 else if (vma->vm_start <= address) handle_page_fault()
56 else if (is_user && !ARCH_IS_STACKGROW(address)) handle_page_fault()
58 else if (expand_stack(vma, address)) handle_page_fault()
76 fault = handle_mm_fault(mm, vma, address, flags); handle_page_fault()
105 pgd = pgd_offset(mm, address); handle_page_fault()
106 pud = pud_offset(pgd, address); handle_page_fault()
107 pmd = pmd_offset(pud, address); handle_page_fault()
108 pte = pte_offset_kernel(pmd, address); handle_page_fault()
122 flush_tlb_page(vma, address); handle_page_fault()
210 unsigned long address = FAULT_ADDRESS(fi); segv() local
215 if (!is_user && (address >= start_vm) && (address < end_vm)) { segv()
223 else if (!is_user && address > PAGE_SIZE && address < TASK_SIZE) { segv()
226 address, ip); segv()
230 err = handle_page_fault(address, ip, is_write, is_user, segv()
239 address = 0; segv()
246 current->thread.fault_addr = (void *) address; segv()
257 address, ip); segv()
266 si.si_addr = (void __user *)address; segv()
272 si.si_addr = (void __user *) address; segv()
/linux-4.4.14/arch/x86/um/
H A Dsetjmp_32.S14 # <return address>
27 popl %ecx # Return address, and adjust the stack
35 movl %ecx,20(%edx) # Return address
48 movl 4(%esp),%edx # jmp_ptr address
H A Dfault.c18 int arch_fixup(unsigned long address, struct uml_pt_regs *regs) arch_fixup() argument
22 fixup = search_exception_tables(address); arch_fixup()
H A Dsetjmp_64.S16 # <return address>
24 pop %rsi # Return address, and adjust the stack
34 movq %rsi,56(%rdi) # Return address
/linux-4.4.14/include/asm-generic/
H A D4level-fixup.h14 #define pmd_alloc(mm, pud, address) \
15 ((unlikely(pgd_none(*(pud))) && __pmd_alloc(mm, pud, address))? \
16 NULL: pmd_offset(pud, address))
18 #define pud_alloc(mm, pgd, address) (pgd)
H A Dtlb.h131 unsigned long address) __tlb_adjust_range()
133 tlb->start = min(tlb->start, address); __tlb_adjust_range()
134 tlb->end = max(tlb->end, address + PAGE_SIZE); __tlb_adjust_range()
169 #define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0)
179 #define tlb_remove_tlb_entry(tlb, ptep, address) \
181 __tlb_adjust_range(tlb, address); \
182 __tlb_remove_tlb_entry(tlb, ptep, address); \
190 #define __tlb_remove_pmd_tlb_entry(tlb, pmdp, address) do {} while (0)
193 #define tlb_remove_pmd_tlb_entry(tlb, pmdp, address) \
195 __tlb_adjust_range(tlb, address); \
196 __tlb_remove_pmd_tlb_entry(tlb, pmdp, address); \
199 #define pte_free_tlb(tlb, ptep, address) \
201 __tlb_adjust_range(tlb, address); \
202 __pte_free_tlb(tlb, ptep, address); \
206 #define pud_free_tlb(tlb, pudp, address) \
208 __tlb_adjust_range(tlb, address); \
209 __pud_free_tlb(tlb, pudp, address); \
213 #define pmd_free_tlb(tlb, pmdp, address) \
215 __tlb_adjust_range(tlb, address); \
216 __pmd_free_tlb(tlb, pmdp, address); \
130 __tlb_adjust_range(struct mmu_gather *tlb, unsigned long address) __tlb_adjust_range() argument
/linux-4.4.14/arch/mips/include/asm/
H A Dkexec.h14 /* Maximum physical address we can use pages from */
16 /* Maximum address we can reach in physical address mode */
18 /* Maximum address we can use for the control code buffer */
H A Dpgtable-64.h27 * Each address space has 2 4K pages as its page directory, giving 1024
42 * fault address - VMALLOC_START.
64 * permits us mapping 40 bits of virtual address space.
70 * 8TB of address space. Alternatively a 33-bit / 8GB organization using
74 * 36 bits of virtual address space. We could add a third level but it seems
78 * of virtual address space.
236 #define __pgd_offset(address) pgd_index(address)
237 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
238 #define __pmd_offset(address) pmd_index(address)
241 #define pgd_offset_k(address) pgd_offset(&init_mm, address)
243 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
244 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1))
258 static inline pmd_t *pmd_offset(pud_t * pud, unsigned long address) pmd_offset() argument
260 return (pmd_t *) pud_page_vaddr(*pud) + pmd_index(address); pmd_offset()
265 #define __pte_offset(address) \
266 (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
267 #define pte_offset(dir, address) \
268 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address))
269 #define pte_offset_kernel(dir, address) \
270 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address))
271 #define pte_offset_map(dir, address) \
272 ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address))
/linux-4.4.14/arch/metag/lib/
H A Dmodsi3.S14 MOV D0FrT,D1RtP ! Save original return address
16 MOV D1RtP,D0FrT ! Recover return address
28 MOV D0FrT,D1RtP ! Save original return address
31 MOV D1RtP,D0FrT ! Recover return address
/linux-4.4.14/arch/mips/loongson64/common/
H A Dinit.c17 /* Loongson CPU address windows config space base address */
30 /* init base address of io space */ prom_init()
40 /*init the uart base address */ prom_init()
/linux-4.4.14/arch/h8300/include/asm/
H A Dtraps.h24 #define VECTOR(address) ((JMP_OP)|((unsigned long)address))
25 #define REDIRECT(address) ((JSR_OP)|((unsigned long)address))
/linux-4.4.14/arch/ia64/include/asm/
H A Dkexec.h6 /* Maximum physical address we can use pages from */
8 /* Maximum address we can reach in physical address mode */
10 /* Maximum address we can use for the control code buffer */
/linux-4.4.14/net/atm/
H A Dlec_arpc.h15 unsigned char atm_addr[ATM_ESA_LEN]; /* Atm address */
16 unsigned char mac_addr[ETH_ALEN]; /* Mac address */
17 int is_rdesc; /* Mac address is a route descriptor */
45 * LANE2: Each MAC address can have TLVs
65 * Next packet sent to this mac address
69 * There is no ATM address associated with this
70 * 48-bit address. The LE-ARP protocol is in
74 * There is a valid ATM address associated with
75 * this 48-bit address but there is no VC set
76 * up to that ATM address. The signaling
89 * to this address via the data direct VC.
/linux-4.4.14/arch/m68k/include/uapi/asm/
H A Dbootinfo-mac.h14 #define BI_MAC_VADDR 0x8001 /* Mac video base address */
19 #define BI_MAC_SCCBASE 0x8006 /* Mac SCC base address */
24 #define BI_MAC_ROMBASE 0x800b /* Mac system ROM base address */
32 #define BI_MAC_VIA1BASE 0x8010 /* Mac VIA1 base address (always present) */
33 #define BI_MAC_VIA2BASE 0x8011 /* Mac VIA2 base address (type varies) */
36 #define BI_MAC_ASCBASE 0x8014 /* Mac Apple Sound Chip base address */
37 #define BI_MAC_SCSI5380 0x8015 /* Mac NCR 5380 SCSI (base address, multi) */
38 #define BI_MAC_SCSIDMA 0x8016 /* Mac SCSI DMA (base address) */
39 #define BI_MAC_SCSI5396 0x8017 /* Mac NCR 53C96 SCSI (base address, multi) */
41 #define BI_MAC_IDEBASE 0x8019 /* Mac IDE interface base address */
46 #define BI_MAC_ETHBASE 0x801e /* Mac builtin ethernet base address */
/linux-4.4.14/arch/sparc/mm/
H A Dfault_32.c38 static void __noreturn unhandled_fault(unsigned long address, unhandled_fault() argument
42 if ((unsigned long) address < PAGE_SIZE) { unhandled_fault()
46 printk(KERN_ALERT "Unable to handle kernel paging request at virtual address %08lx\n", unhandled_fault()
47 address); unhandled_fault()
58 unsigned long address) lookup_fault()
99 unhandled_fault(address, current, &regs); lookup_fault()
107 unsigned long address, struct task_struct *tsk) show_signal_msg()
117 tsk->comm, task_pid_nr(tsk), address, show_signal_msg()
168 unsigned long address) do_sparc_fault()
180 address = regs->pc; do_sparc_fault()
192 if (address >= TASK_SIZE) do_sparc_fault()
202 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address); do_sparc_fault()
207 if (!from_user && address >= PAGE_OFFSET) do_sparc_fault()
210 vma = find_vma(mm, address); do_sparc_fault()
213 if (vma->vm_start <= address) do_sparc_fault()
217 if (expand_stack(vma, address)) do_sparc_fault()
244 fault = handle_mm_fault(mm, vma, address, flags); do_sparc_fault()
263 1, regs, address); do_sparc_fault()
267 1, regs, address); do_sparc_fault()
313 regs->pc, address); do_sparc_fault()
321 regs->u_regs[UREG_I4] = address; do_sparc_fault()
331 unhandled_fault(address, tsk, regs); do_sparc_fault()
358 int offset = pgd_index(address); do_sparc_fault()
372 pmd = pmd_offset(pgd, address); do_sparc_fault()
373 pmd_k = pmd_offset(pgd_k, address); do_sparc_fault()
384 static void force_user_fault(unsigned long address, int write) force_user_fault() argument
395 vma = find_vma(mm, address); force_user_fault()
398 if (vma->vm_start <= address) force_user_fault()
402 if (expand_stack(vma, address)) force_user_fault()
414 switch (handle_mm_fault(mm, vma, address, flags)) { force_user_fault()
423 __do_fault_siginfo(code, SIGSEGV, tsk->thread.kregs, address); force_user_fault()
428 __do_fault_siginfo(BUS_ADRERR, SIGBUS, tsk->thread.kregs, address); force_user_fault()
57 lookup_fault(unsigned long pc, unsigned long ret_pc, unsigned long address) lookup_fault() argument
106 show_signal_msg(struct pt_regs *regs, int sig, int code, unsigned long address, struct task_struct *tsk) show_signal_msg() argument
167 do_sparc_fault(struct pt_regs *regs, int text_fault, int write, unsigned long address) do_sparc_fault() argument
H A Dextable.c22 * word 1: insn address search_extable()
23 * word 2: fixup code address search_extable()
26 * word 1: first insn address search_extable()
28 * word 3: last insn address + 4 bytes search_extable()
29 * word 4: fixup code address search_extable()
/linux-4.4.14/arch/tile/include/asm/
H A Dkexec.h23 /* Maximum physical address we can use pages from. */
25 /* Maximum address we can reach in physical address mode. */
27 /* Maximum address we can use for the control code buffer. */
33 /* Maximum physical address we can use pages from. */
35 /* Maximum address we can reach in physical address mode. */
37 /* Maximum address we can use for the control code buffer. */
H A Dpgalloc.h71 extern pgtable_t pgtable_alloc_one(struct mm_struct *mm, unsigned long address,
76 unsigned long address) pte_alloc_one()
78 return pgtable_alloc_one(mm, address, L2_USER_PGTABLE_ORDER); pte_alloc_one()
89 pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) pte_alloc_one_kernel() argument
91 return pfn_to_kaddr(page_to_pfn(pte_alloc_one(mm, address))); pte_alloc_one_kernel()
101 unsigned long address, int order); __pte_free_tlb()
103 unsigned long address) __pte_free_tlb()
105 __pgtable_free_tlb(tlb, pte, address, L2_USER_PGTABLE_ORDER); __pte_free_tlb()
144 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) pmd_alloc_one() argument
146 struct page *p = pgtable_alloc_one(mm, address, L1_USER_PGTABLE_ORDER); pmd_alloc_one()
156 unsigned long address) __pmd_free_tlb()
158 __pgtable_free_tlb(tlb, virt_to_page(pmdp), address, __pmd_free_tlb()
75 pte_alloc_one(struct mm_struct *mm, unsigned long address) pte_alloc_one() argument
102 __pte_free_tlb(struct mmu_gather *tlb, struct page *pte, unsigned long address) __pte_free_tlb() argument
155 __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmdp, unsigned long address) __pmd_free_tlb() argument
/linux-4.4.14/include/linux/platform_data/
H A Dmtd-orion_nand.h17 u8 ale; /* address line number connected to ALE */
18 u8 cle; /* address line number connected to CLE */
/linux-4.4.14/arch/s390/kernel/
H A Dcompat_ptrace.h9 __u32 cr10; /* PER starting address */
10 __u32 cr11; /* PER ending address */
12 __u32 starting_addr; /* User specified start address */
13 __u32 ending_addr; /* User specified end address */
15 __u32 address; /* PER trap instruction address */ member in struct:compat_per_struct_kernel
44 u32 start_code; /* Starting virtual address of text. */
45 u32 start_stack; /* Starting virtual address of stack area.
/linux-4.4.14/arch/mips/txx9/generic/
H A Dspi_eeprom.c49 int address; member in struct:read_param
60 int address = read_param->address; early_seeprom_probe() local
71 cmd[1] = address; early_seeprom_probe()
75 address += c; early_seeprom_probe()
87 int __init spi_eeprom_read(int busid, int chipid, int address, spi_eeprom_read() argument
94 .address = address, spi_eeprom_read()
/linux-4.4.14/arch/avr32/mm/
H A Dcopy_page.S14 * r12 to (P1 address)
15 * r11 from (P1 address)
H A Dfault.c45 * This routine handles page faults. It determines the address and the
62 unsigned long address; do_page_fault() local
72 address = sysreg_read(TLBEAR); do_page_fault()
94 vma = find_vma(mm, address); do_page_fault()
97 if (vma->vm_start <= address) do_page_fault()
101 if (expand_stack(vma, address)) do_page_fault()
137 fault = handle_mm_fault(mm, vma, address, flags); do_page_fault()
185 tsk->comm, tsk->pid, address, regs->pc, do_page_fault()
187 _exception(SIGSEGV, regs, code, address); do_page_fault()
203 if (address < PAGE_SIZE) do_page_fault()
209 printk(" at virtual address %08lx\n", address); do_page_fault()
213 if (address >= TASK_SIZE) do_page_fault()
216 page = ((unsigned long *)page)[address >> 22]; do_page_fault()
220 address &= 0x003ff000; do_page_fault()
221 page = ((unsigned long *)__va(page))[address >> PAGE_SHIFT]; do_page_fault()
253 tsk->comm, tsk->pid, address, regs->pc, do_page_fault()
256 _exception(SIGBUS, regs, BUS_ADRERR, address); do_page_fault()
263 "Bus error at physical address 0x%08lx (%s access)\n", do_bus_error()
/linux-4.4.14/arch/blackfin/lib/
H A Dstrcpy.S10 * R0 = address (dest)
11 * R1 = address (src)
/linux-4.4.14/include/uapi/linux/
H A Dnetdevice.h34 #define MAX_ADDR_LEN 32 /* Largest hardware address length */
58 /* hardware address assignment types */
59 #define NET_ADDR_PERM 0 /* address is permanent (default) */
60 #define NET_ADDR_RANDOM 1 /* address is generated randomly */
61 #define NET_ADDR_STOLEN 2 /* address is stolen from other device */
62 #define NET_ADDR_SET 3 /* address is set using
H A Dfib_rules.h15 /* try to find source address in routing lookups */
34 FRA_DST, /* destination address */
35 FRA_SRC, /* source address */
H A Dif_arp.h114 struct sockaddr arp_pa; /* protocol address */
115 struct sockaddr arp_ha; /* hardware address */
122 struct sockaddr arp_pa; /* protocol address */
123 struct sockaddr arp_ha; /* hardware address */
142 __be16 ar_hrd; /* format of hardware address */
143 __be16 ar_pro; /* format of protocol address */
144 unsigned char ar_hln; /* length of hardware address */
145 unsigned char ar_pln; /* length of protocol address */
152 unsigned char ar_sha[ETH_ALEN]; /* sender hardware address */
153 unsigned char ar_sip[4]; /* sender IP address */
154 unsigned char ar_tha[ETH_ALEN]; /* target hardware address */
155 unsigned char ar_tip[4]; /* target IP address */
/linux-4.4.14/include/uapi/linux/netfilter_bridge/
H A Debt_among.h12 * MAC address belongs to a set or not and possibly for checking
13 * if it is related with a given IPv4 address.
15 * The hash value of an address is its last byte.
21 * For MAC address comparison speedup reasons, we introduce a trick.
22 * MAC address is mapped onto an array of two 32-bit integers.
27 * fact that entropy of 3 last bytes of address is larger than entropy
/linux-4.4.14/arch/s390/include/asm/
H A Dpci_insn.h22 /* Load/Store address space identifiers */
60 u64 pba; /* PCI base address */
61 u64 pal; /* PCI address limit */
72 u64 aibv; /* Adapter int bit vector address */
73 u64 aisb; /* Adapter int summary bit address */
74 u64 fmb_addr; /* Function measurement block address and key */
H A Dkexec.h19 /* Maximum physical address we can use pages from */
22 /* Maximum address we can reach in physical address mode */
25 /* Maximum address we can use for the control pages */
32 /* Maximum address we can use for the crash control pages */
H A Dpgtable.h42 #define update_mmu_cache(vma, address, ptep) do { } while (0)
43 #define update_mmu_cache_pmd(vma, address, ptep) do { } while (0)
136 * I Page-Invalid Bit: Page is not available for address-translation
145 * I Segment-Invalid Bit: Segment is not available for address-translation
155 * I Segment-Invalid Bit: Segment is not available for address-translation
243 /* Bits in the segment/region table address-space-control-element */
279 #define _SEGMENT_ENTRY_ORIGIN_LARGE ~0xfffffUL /* large page address */
532 unsigned long address, pmd_t *pmdp,
537 unsigned long address, pmd_t *pmdp);
694 unsigned long address, bits, skey; pgste_update_all() local
698 address = pte_val(*ptep) & PAGE_MASK; pgste_update_all()
699 skey = (unsigned long) page_get_storage_key(address); pgste_update_all()
715 unsigned long address; pgste_set_key() local
721 address = pte_val(entry) & PAGE_MASK; pgste_set_key()
729 page_set_storage_key(address, nkey, 0); pgste_set_key()
755 * struct gmap_struct - guest address space
756 * @crst_list: list of all crst tables used in the guest address space
758 * @guest_to_host: radix tree with guest to host address translation
762 * @asce: address space control element for gmap page table
781 * @notifier_call: address of callback function
801 bool gmap_test_and_clear_dirty(unsigned long address, struct gmap *);
976 static inline void __ptep_ipte(unsigned long address, pte_t *ptep) __ptep_ipte() argument
983 : "=m" (*ptep) : "m" (*ptep), "a" (pto), "a" (address)); __ptep_ipte()
986 static inline void __ptep_ipte_local(unsigned long address, pte_t *ptep) __ptep_ipte_local() argument
993 : "=m" (*ptep) : "m" (*ptep), "a" (pto), "a" (address)); __ptep_ipte_local()
996 static inline void __ptep_ipte_range(unsigned long address, int nr, pte_t *ptep) __ptep_ipte_range() argument
1004 : "+a" (address), "+a" (nr) : "a" (pto) : "memory"); __ptep_ipte_range()
1009 unsigned long address, pte_t *ptep) ptep_flush_direct()
1019 __ptep_ipte_local(address, ptep); ptep_flush_direct()
1021 __ptep_ipte(address, ptep); ptep_flush_direct()
1026 unsigned long address, pte_t *ptep) ptep_flush_lazy()
1038 __ptep_ipte(address, ptep); ptep_flush_lazy()
1102 unsigned long address, pte_t *ptep) ptep_clear_flush_young()
1104 return ptep_test_and_clear_young(vma, address, ptep); ptep_clear_flush_young()
1122 unsigned long address, pte_t *ptep) ptep_get_and_clear()
1129 pgste = pgste_ipte_notify(mm, address, ptep, pgste); ptep_get_and_clear()
1133 ptep_flush_lazy(mm, address, ptep); ptep_get_and_clear()
1145 unsigned long address, ptep_modify_prot_start()
1153 pgste_ipte_notify(mm, address, ptep, pgste); ptep_modify_prot_start()
1157 ptep_flush_lazy(mm, address, ptep); ptep_modify_prot_start()
1167 unsigned long address, ptep_modify_prot_commit()
1183 unsigned long address, pte_t *ptep) ptep_clear_flush()
1190 pgste = pgste_ipte_notify(vma->vm_mm, address, ptep, pgste); ptep_clear_flush()
1194 ptep_flush_direct(vma->vm_mm, address, ptep); ptep_clear_flush()
1216 unsigned long address, ptep_get_and_clear_full()
1224 pgste = pgste_ipte_notify(mm, address, ptep, pgste); ptep_get_and_clear_full()
1229 ptep_flush_lazy(mm, address, ptep); ptep_get_and_clear_full()
1241 unsigned long address, pte_t *ptep) ptep_set_wrprotect()
1249 pgste = pgste_ipte_notify(mm, address, ptep, pgste); ptep_set_wrprotect()
1252 ptep_flush_lazy(mm, address, ptep); ptep_set_wrprotect()
1266 unsigned long address, pte_t *ptep, ptep_set_access_flags()
1277 pgste = pgste_ipte_notify(vma->vm_mm, address, ptep, pgste); ptep_set_access_flags()
1280 ptep_flush_direct(vma->vm_mm, address, ptep); ptep_set_access_flags()
1313 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
1314 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
1315 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1))
1316 #define pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE-1))
1318 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address))
1319 #define pgd_offset_k(address) pgd_offset(&init_mm, address)
1325 static inline pud_t *pud_offset(pgd_t *pgd, unsigned long address) pud_offset() argument
1330 return pud + pud_index(address); pud_offset()
1333 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long address) pmd_offset() argument
1338 return pmd + pmd_index(address); pmd_offset()
1349 #define pte_offset_kernel(pmd, address) pte_offset(pmd,address)
1350 #define pte_offset_map(pmd, address) pte_offset_kernel(pmd, address)
1463 static inline void __pmdp_idte(unsigned long address, pmd_t *pmdp) __pmdp_idte() argument
1467 sto = (unsigned long) pmdp - pmd_index(address) * sizeof(pmd_t); __pmdp_idte()
1471 : "m" (*pmdp), "a" (sto), "a" ((address & HPAGE_MASK)) __pmdp_idte()
1475 static inline void __pmdp_idte_local(unsigned long address, pmd_t *pmdp) __pmdp_idte_local() argument
1479 sto = (unsigned long) pmdp - pmd_index(address) * sizeof(pmd_t); __pmdp_idte_local()
1483 : "m" (*pmdp), "a" (sto), "a" ((address & HPAGE_MASK)) __pmdp_idte_local()
1488 unsigned long address, pmd_t *pmdp) pmdp_flush_direct()
1502 __pmdp_idte_local(address, pmdp); pmdp_flush_direct()
1504 __pmdp_idte(address, pmdp); pmdp_flush_direct()
1509 unsigned long address, pmd_t *pmdp) pmdp_flush_lazy()
1521 __pmdp_idte(address, pmdp); pmdp_flush_lazy()
1558 unsigned long address, pmd_t *pmdp) pmdp_test_and_clear_young()
1563 pmdp_flush_direct(vma->vm_mm, address, pmdp); pmdp_test_and_clear_young()
1570 unsigned long address, pmd_t *pmdp) pmdp_huge_get_and_clear()
1574 pmdp_flush_direct(mm, address, pmdp); pmdp_huge_get_and_clear()
1581 unsigned long address, pmdp_huge_get_and_clear_full()
1587 pmdp_flush_lazy(mm, address, pmdp); pmdp_huge_get_and_clear_full()
1594 unsigned long address, pmd_t *pmdp) pmdp_huge_clear_flush()
1596 return pmdp_huge_get_and_clear(vma->vm_mm, address, pmdp); pmdp_huge_clear_flush()
1601 unsigned long address, pmd_t *pmdp) pmdp_invalidate()
1603 pmdp_flush_direct(vma->vm_mm, address, pmdp); pmdp_invalidate()
1608 unsigned long address, pmd_t *pmdp) pmdp_set_wrprotect()
1613 pmdp_flush_direct(mm, address, pmdp); pmdp_set_wrprotect()
1614 set_pmd_at(mm, address, pmdp, pmd_wrprotect(pmd)); pmdp_set_wrprotect()
1619 unsigned long address, pmdp_collapse_flush()
1622 return pmdp_huge_get_and_clear(vma->vm_mm, address, pmdp); pmdp_collapse_flush()
1008 ptep_flush_direct(struct mm_struct *mm, unsigned long address, pte_t *ptep) ptep_flush_direct() argument
1025 ptep_flush_lazy(struct mm_struct *mm, unsigned long address, pte_t *ptep) ptep_flush_lazy() argument
1101 ptep_clear_flush_young(struct vm_area_struct *vma, unsigned long address, pte_t *ptep) ptep_clear_flush_young() argument
1121 ptep_get_and_clear(struct mm_struct *mm, unsigned long address, pte_t *ptep) ptep_get_and_clear() argument
1144 ptep_modify_prot_start(struct mm_struct *mm, unsigned long address, pte_t *ptep) ptep_modify_prot_start() argument
1166 ptep_modify_prot_commit(struct mm_struct *mm, unsigned long address, pte_t *ptep, pte_t pte) ptep_modify_prot_commit() argument
1182 ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, pte_t *ptep) ptep_clear_flush() argument
1215 ptep_get_and_clear_full(struct mm_struct *mm, unsigned long address, pte_t *ptep, int full) ptep_get_and_clear_full() argument
1240 ptep_set_wrprotect(struct mm_struct *mm, unsigned long address, pte_t *ptep) ptep_set_wrprotect() argument
1265 ptep_set_access_flags(struct vm_area_struct *vma, unsigned long address, pte_t *ptep, pte_t entry, int dirty) ptep_set_access_flags() argument
1487 pmdp_flush_direct(struct mm_struct *mm, unsigned long address, pmd_t *pmdp) pmdp_flush_direct() argument
1508 pmdp_flush_lazy(struct mm_struct *mm, unsigned long address, pmd_t *pmdp) pmdp_flush_lazy() argument
1557 pmdp_test_and_clear_young(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp) pmdp_test_and_clear_young() argument
1569 pmdp_huge_get_and_clear(struct mm_struct *mm, unsigned long address, pmd_t *pmdp) pmdp_huge_get_and_clear() argument
1580 pmdp_huge_get_and_clear_full(struct mm_struct *mm, unsigned long address, pmd_t *pmdp, int full) pmdp_huge_get_and_clear_full() argument
1593 pmdp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp) pmdp_huge_clear_flush() argument
1600 pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp) pmdp_invalidate() argument
1607 pmdp_set_wrprotect(struct mm_struct *mm, unsigned long address, pmd_t *pmdp) pmdp_set_wrprotect() argument
1618 pmdp_collapse_flush(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp) pmdp_collapse_flush() argument
/linux-4.4.14/arch/h8300/mm/
H A Dfault.c35 asmlinkage int do_page_fault(struct pt_regs *regs, unsigned long address, do_page_fault() argument
39 pr_debug("regs->sr=%#x, regs->pc=%#lx, address=%#lx, %ld\n", do_page_fault()
40 regs->sr, regs->pc, address, error_code); do_page_fault()
47 if ((unsigned long) address < PAGE_SIZE) do_page_fault()
51 printk(" at virtual address %08lx\n", address); do_page_fault()
/linux-4.4.14/arch/ia64/include/asm/sn/
H A Dpcibus_provider_defs.h58 * bits 3:0 specifies format of passed in address
59 * bit 4 specifies that address is to be used for MSI
63 #define SN_DMA_ADDR_PHYS 1 /* address is an xio address. */
64 #define SN_DMA_ADDR_XIO 2 /* address is phys memory */
65 #define SN_DMA_MSI 0x10 /* Bus address is to be used for MSI */
/linux-4.4.14/arch/arm/mach-omap1/include/mach/
H A Dmemory.h12 * Bus address is physical address, except for OMAP-1510 Local Bus.
13 * OMAP-1510 bus address is translated into a Local Bus address if the
14 * OMAP bus type is lbus. We do the address translation based on the
22 * OMAP-1510 Local Bus address offset
/linux-4.4.14/arch/arc/kernel/
H A Dtraps.c31 void die(const char *str, struct pt_regs *regs, unsigned long address) die() argument
33 show_kernel_fault_diag(str, regs, address); die()
66 int name(unsigned long address, struct pt_regs *regs) \
72 .si_addr = (void __user *)address, \
90 int do_misaligned_access(unsigned long address, struct pt_regs *regs, do_misaligned_access() argument
94 if (misaligned_fixup(address, regs, cregs) != 0) do_misaligned_access()
95 return do_misaligned_error(address, regs); do_misaligned_access()
104 void do_machine_check_fault(unsigned long address, struct pt_regs *regs) do_machine_check_fault() argument
106 die("Machine Check Exception", regs, address); do_machine_check_fault()
119 void do_non_swi_trap(unsigned long address, struct pt_regs *regs) do_non_swi_trap() argument
125 trap_is_brkpt(address, regs); do_non_swi_trap()
129 trap_is_kprobe(address, regs); do_non_swi_trap()
147 void do_insterror_or_kprobe(unsigned long address, struct pt_regs *regs) do_insterror_or_kprobe() argument
152 rc = notify_die(DIE_IERR, "kprobe_ierr", regs, address, 0, SIGILL); do_insterror_or_kprobe()
156 insterror_is_error(address, regs); do_insterror_or_kprobe()
H A Dkgdb.c81 unsigned long address[2]; member in struct:single_step_data_t
92 memcpy((void *) single_step_data.address[i], undo_single_step()
96 flush_icache_range(single_step_data.address[i], undo_single_step()
97 single_step_data.address[i] + undo_single_step()
104 static void place_trap(unsigned long address, void *save) place_trap() argument
106 memcpy(save, (void *) address, BREAK_INSTR_SIZE); place_trap()
107 memcpy((void *) address, &arch_kgdb_ops.gdb_bpt_instr, place_trap()
109 flush_icache_range(address, address + BREAK_INSTR_SIZE); place_trap()
117 &single_step_data.address[0], do_single_step()
118 &single_step_data.address[1]); do_single_step()
120 place_trap(single_step_data.address[0], &single_step_data.opcode[0]); do_single_step()
123 place_trap(single_step_data.address[1], do_single_step()
/linux-4.4.14/net/x25/
H A Dx25_route.c31 static int x25_add_route(struct x25_address *address, unsigned int sigdigits, x25_add_route() argument
43 if (!memcmp(&rt->address, address, sigdigits) && x25_add_route()
53 strcpy(rt->address.x25_addr, "000000000000000"); x25_add_route()
54 memcpy(rt->address.x25_addr, address->x25_addr, sigdigits); x25_add_route()
82 static int x25_del_route(struct x25_address *address, unsigned int sigdigits, x25_del_route() argument
94 if (!memcmp(&rt->address, address, sigdigits) && x25_del_route()
149 * x25_get_route - Find a route given an X.25 address.
150 * @addr - address to find a route for
152 * Find a route given an X.25 address.
164 if (!memcmp(&rt->address, addr, rt->sigdigits)) { x25_get_route()
204 rc = x25_add_route(&rt.address, rt.sigdigits, dev); x25_route_ioctl()
206 rc = x25_del_route(&rt.address, rt.sigdigits, dev); x25_route_ioctl()
/linux-4.4.14/arch/arm64/mm/
H A Dcache.S36 * - start - virtual start address of region
37 * - end - virtual end address of region
49 * - start - virtual start address of region
50 * - end - virtual end address of region
87 * - kaddr - kernel address
105 * - start - start address of region
106 * - end - end address of region
113 * - start - virtual start address of region
114 * - end - virtual end address of region
139 * - start - virtual start address of region
140 * - end - virtual end address of region
161 * - start - virtual start address of region
162 * - end - virtual end address of region
178 * - start - kernel virtual start address
191 * - start - kernel virtual start address
/linux-4.4.14/arch/arc/mm/
H A Dfault.c22 * kernel virtual address is required to implement vmalloc/pkmap/fixmap
28 noinline static int handle_kernel_vaddr_fault(unsigned long address) handle_kernel_vaddr_fault() argument
38 pgd = pgd_offset_fast(current->active_mm, address); handle_kernel_vaddr_fault()
39 pgd_k = pgd_offset_k(address); handle_kernel_vaddr_fault()
44 pud = pud_offset(pgd, address); handle_kernel_vaddr_fault()
45 pud_k = pud_offset(pgd_k, address); handle_kernel_vaddr_fault()
49 pmd = pmd_offset(pud, address); handle_kernel_vaddr_fault()
50 pmd_k = pmd_offset(pud_k, address); handle_kernel_vaddr_fault()
63 void do_page_fault(unsigned long address, struct pt_regs *regs) do_page_fault() argument
82 if (address >= VMALLOC_START) { do_page_fault()
83 ret = handle_kernel_vaddr_fault(address); do_page_fault()
103 vma = find_vma(mm, address); do_page_fault()
106 if (vma->vm_start <= address) do_page_fault()
110 if (expand_stack(vma, address)) do_page_fault()
140 fault = handle_mm_fault(mm, vma, address, flags); do_page_fault()
150 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address); do_page_fault()
158 regs, address); do_page_fault()
162 regs, address); do_page_fault()
197 tsk->thread.fault_address = address; do_page_fault()
201 info.si_addr = (void __user *)address; do_page_fault()
218 die("Oops", regs, address); do_page_fault()
236 tsk->thread.fault_address = address; do_page_fault()
240 info.si_addr = (void __user *)address; do_page_fault()
/linux-4.4.14/arch/score/include/asm/
H A Dpgtable.h70 #define __pgd_offset(address) pgd_index(address)
71 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
72 #define __pmd_offset(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1))
75 #define pgd_offset_k(address) pgd_offset(&init_mm, address)
76 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
82 #define __pte_offset(address) \
83 (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
84 #define pte_offset(dir, address) \
85 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address))
86 #define pte_offset_kernel(dir, address) \
87 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address))
89 #define pte_offset_map(dir, address) \
90 ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address))
250 unsigned long address, pte_t pte);
252 unsigned long address, pte_t pte);
255 unsigned long address, pte_t *ptep) update_mmu_cache()
258 __update_tlb(vma, address, pte); update_mmu_cache()
259 __update_cache(vma, address, pte); update_mmu_cache()
254 update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t *ptep) update_mmu_cache() argument
/linux-4.4.14/arch/score/mm/
H A Dfault.c40 * This routine handles page faults. It determines the address,
45 unsigned long address) do_page_fault()
66 if (unlikely(address >= VMALLOC_START && address <= VMALLOC_END)) do_page_fault()
69 if (unlikely(address >= MODULE_START && address < MODULE_END)) do_page_fault()
84 vma = find_vma(mm, address); do_page_fault()
87 if (vma->vm_start <= address) do_page_fault()
91 if (expand_stack(vma, address)) do_page_fault()
114 fault = handle_mm_fault(mm, vma, address, flags); do_page_fault()
142 tsk->thread.cp0_badvaddr = address; do_page_fault()
147 info.si_addr = (void __user *) address; do_page_fault()
155 current->thread.cp0_baduaddr = address; do_page_fault()
166 "virtual address %0*lx, epc == %0*lx, ra == %0*lx\n", do_page_fault()
167 0, field, address, field, regs->cp0_epc, do_page_fault()
192 tsk->thread.cp0_badvaddr = address; do_page_fault()
196 info.si_addr = (void __user *) address; do_page_fault()
208 int offset = __pgd_offset(address); do_page_fault()
221 pud = pud_offset(pgd, address); do_page_fault()
222 pud_k = pud_offset(pgd_k, address); do_page_fault()
226 pmd = pmd_offset(pud, address); do_page_fault()
227 pmd_k = pmd_offset(pud_k, address); do_page_fault()
232 pte_k = pte_offset_kernel(pmd_k, address); do_page_fault()
44 do_page_fault(struct pt_regs *regs, unsigned long write, unsigned long address) do_page_fault() argument
/linux-4.4.14/arch/mn10300/mm/
H A Dfault.c68 static void print_pagetable_entries(pgd_t *pgdir, unsigned long address)
74 pgd = pgdir + __pgd_offset(address);
82 pmd = pmd_offset(pgd, address);
90 pte = pte_offset(pmd, address);
100 * This routine handles page faults. It determines the address,
114 * - bit 9: illegal address
119 unsigned long address) do_page_fault()
141 fault_code & 0xffff, address); do_page_fault()
158 if (address >= VMALLOC_START && address < VMALLOC_END && do_page_fault()
179 vma = find_vma(mm, address); do_page_fault()
182 if (vma->vm_start <= address) do_page_fault()
190 if ((address & PAGE_MASK) + 2 * PAGE_SIZE < regs->sp) { do_page_fault()
194 current->pid, address, regs->sp); do_page_fault()
218 if (expand_stack(vma, address)) do_page_fault()
257 fault = handle_mm_fault(mm, vma, address, flags); do_page_fault()
303 info.si_addr = (void *)address; do_page_fault()
320 if (address < PAGE_SIZE) do_page_fault()
326 printk(" at virtual address %08lx\n", address); do_page_fault()
334 page = ((unsigned long *) __va(page))[address >> 22]; do_page_fault()
338 address &= 0x003ff000; do_page_fault()
339 page = ((unsigned long *) __va(page))[address >> PAGE_SHIFT]; do_page_fault()
368 info.si_addr = (void *)address; do_page_fault()
385 int index = pgd_index(address); do_page_fault()
396 pud_k = pud_offset(pgd_k, address); do_page_fault()
400 pmd_k = pmd_offset(pud_k, address); do_page_fault()
405 pud = pud_offset(pgd, address); do_page_fault()
406 pmd = pmd_offset(pud, address); do_page_fault()
409 pte_k = pte_offset_kernel(pmd_k, address); do_page_fault()
118 do_page_fault(struct pt_regs *regs, unsigned long fault_code, unsigned long address) do_page_fault() argument
/linux-4.4.14/arch/s390/kvm/
H A Dgaccess.h23 * kvm_s390_real_to_abs - convert guest real address to guest absolute address
25 * @gra - guest real address
27 * Returns the guest absolute address that corresponds to the passed guest real
28 * address @gra of a virtual guest cpu by applying its prefix.
43 * kvm_s390_logical_to_effective - convert guest logical to effective address
45 * @ga: guest logical address
47 * Convert a guest vcpu logical address to a guest vcpu effective address by
71 * guest memory access protection facilities, like key or low address
82 * @gra: vcpu's destination guest real address
109 * @gra: vcpu's source guest real address
110 * @data: source address in kernel space
135 * @gra: vcpu's source guest real address
136 * @data: destination address in kernel space
172 * @ga: guest address
174 * @data: source address in kernel space
177 * Copy @len bytes from @data (kernel space) to @ga (guest address).
180 * If DAT is on data will be copied to the address space as specified by
181 * the address space bits of the PSW:
183 * The addressing mode of the PSW is also inspected, so that address wrap
185 * if the to be copied data crosses page boundaries in guest address space.
186 * In addition also low address and DAT protection are inspected before
224 * @ga: guest address
226 * @data: destination address in kernel space
229 * Copy @len bytes from @ga (guest address) to @data (kernel space).
244 * @gpa: guest physical (absolute) address
245 * @data: source address in kernel space
248 * Copy @len bytes from @data (kernel space) to @gpa (guest absolute address).
251 * Guest low address and key protection are not checked.
267 * @gpa: guest physical (absolute) address
268 * @data: destination address in kernel space
271 * Copy @len bytes from @gpa (guest absolute address) to @data (kernel space).
290 * @gra: guest real address
291 * @data: source address in kernel space
294 * Copy @len bytes from @data (kernel space) to @gra (guest real address).
297 * Guest low address and key protection are not checked.
313 * @gra: guest real address
314 * @data: destination address in kernel space
317 * Copy @len bytes from @gra (guest real address) to @data (kernel space).
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
H A Dbmi.c92 u32 address, void *buffer, u32 length) ath10k_bmi_read_memory()
100 ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi read address 0x%x length %d\n", ath10k_bmi_read_memory()
101 address, length); ath10k_bmi_read_memory()
112 cmd.read_mem.addr = __cpu_to_le32(address); ath10k_bmi_read_memory()
124 address += rxlen; ath10k_bmi_read_memory()
133 u32 address, const void *buffer, u32 length) ath10k_bmi_write_memory()
140 ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi write address 0x%x length %d\n", ath10k_bmi_write_memory()
141 address, length); ath10k_bmi_write_memory()
156 cmd.write_mem.addr = __cpu_to_le32(address); ath10k_bmi_write_memory()
170 address += txlen; ath10k_bmi_write_memory()
178 int ath10k_bmi_execute(struct ath10k *ar, u32 address, u32 param, u32 *result) ath10k_bmi_execute() argument
186 ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi execute address 0x%x param 0x%x\n", ath10k_bmi_execute()
187 address, param); ath10k_bmi_execute()
195 cmd.execute.addr = __cpu_to_le32(address); ath10k_bmi_execute()
255 int ath10k_bmi_lz_stream_start(struct ath10k *ar, u32 address) ath10k_bmi_lz_stream_start() argument
261 ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi lz stream start address 0x%x\n", ath10k_bmi_lz_stream_start()
262 address); ath10k_bmi_lz_stream_start()
270 cmd.lz_start.addr = __cpu_to_le32(address); ath10k_bmi_lz_stream_start()
282 u32 address, const void *buffer, u32 length) ath10k_bmi_fast_download()
290 "bmi fast download address 0x%x buffer 0x%p length %d\n", ath10k_bmi_fast_download()
291 address, buffer, length); ath10k_bmi_fast_download()
293 ret = ath10k_bmi_lz_stream_start(ar, address); ath10k_bmi_fast_download()
91 ath10k_bmi_read_memory(struct ath10k *ar, u32 address, void *buffer, u32 length) ath10k_bmi_read_memory() argument
132 ath10k_bmi_write_memory(struct ath10k *ar, u32 address, const void *buffer, u32 length) ath10k_bmi_write_memory() argument
281 ath10k_bmi_fast_download(struct ath10k *ar, u32 address, const void *buffer, u32 length) ath10k_bmi_fast_download() argument
/linux-4.4.14/net/sunrpc/
H A Daddr.c8 * recent RFCs describing NFSv4. The universal address format is part
10 * and 4, and by NFSv4. Such an address is a string containing a
11 * presentation format IP address followed by a port number in
36 * Shorthanded ANY address rpc_ntop6_noscopeid()
44 * Shorthanded loopback address rpc_ntop6_noscopeid()
52 * Special presentation address format for mapped v4 rpc_ntop6_noscopeid()
120 * rpc_ntop - construct a presentation address in @buf
121 * @sap: socket address
235 * @buf: C string containing presentation format IP address
236 * @buflen: length of presentation address in bytes
237 * @sap: buffer into which to plant socket address
240 * Returns the size of the socket address if successful; otherwise
243 * Plants a socket address in @sap and returns the size of the
244 * socket address, if successful. Returns zero if an error
260 * rpc_sockaddr2uaddr - Construct a universal address string from @sap.
261 * @sap: socket address
300 * rpc_uaddr2sockaddr - convert a universal address to a socket address.
302 * @uaddr: C string containing universal address to convert
303 * @uaddr_len: length of universal address string
304 * @sap: buffer into which to plant socket address
310 * Returns the size of the socket address if successful; otherwise
/linux-4.4.14/arch/powerpc/sysdev/
H A Dfsl_85xx_cache_ctlr.h53 u32 ewar0; /* 0x010 - External write address 0 */
54 u32 ewarea0; /* 0x014 - External write address extended 0 */
57 u32 ewar1; /* 0x020 - External write address 1 */
58 u32 ewarea1; /* 0x024 - External write address extended 1 */
61 u32 ewar2; /* 0x030 - External write address 2 */
62 u32 ewarea2; /* 0x034 - External write address extended 2 */
65 u32 ewar3; /* 0x040 - External write address 3 */
66 u32 ewarea3; /* 0x044 - External write address extended 3 */
69 u32 srbar0; /* 0x100 - SRAM base address 0 */
70 u32 srbarea0; /* 0x104 - SRAM base addr reg ext address 0 */
71 u32 srbar1; /* 0x108 - SRAM base address 1 */
72 u32 srbarea1; /* 0x10C - SRAM base addr reg ext address 1 */
86 u32 erradrrl; /* 0xE50 - Error address capture low */
87 u32 erradrrh; /* 0xE54 - Error address capture high */
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
H A Docteon_mem_ops.h30 /** Read a 64-bit value from a BAR1 mapped core memory address.
32 * @param core_addr - the address to read from.
34 * The range_idx gives the BAR1 index register for the range of address
41 /** Read a 32-bit value from a BAR1 mapped core memory address.
43 * @param core_addr - the address to read from.
49 /** Write a 32-bit value to a BAR1 mapped core memory address.
51 * @param core_addr - the address to write to.
/linux-4.4.14/arch/m68k/mm/
H A Dcache.c73 /* Push n pages at kernel virtual address and clear the icache */
75 void flush_icache_range(unsigned long address, unsigned long endaddr) flush_icache_range() argument
79 start = address & ICACHE_SET_MASK; flush_icache_range()
87 address &= PAGE_MASK; flush_icache_range()
94 : : "a" (virt_to_phys_slow(address))); flush_icache_range()
95 address += PAGE_SIZE; flush_icache_range()
96 } while (address < endaddr); flush_icache_range()
H A Dfault.c50 pr_cont(" at virtual address %p\n", siginfo.si_addr); send_fault_sig()
69 int do_page_fault(struct pt_regs *regs, unsigned long address, do_page_fault() argument
77 pr_debug("do page fault:\nregs->sr=%#x, regs->pc=%#lx, address=%#lx, %ld, %p\n", do_page_fault()
78 regs->sr, regs->pc, address, error_code, mm ? mm->pgd : NULL); do_page_fault()
92 vma = find_vma(mm, address); do_page_fault()
97 if (vma->vm_start <= address) do_page_fault()
106 if (address + 256 < rdusp()) do_page_fault()
109 if (expand_stack(vma, address)) do_page_fault()
139 fault = handle_mm_fault(mm, vma, address, flags); do_page_fault()
197 current->thread.faddr = address; do_page_fault()
203 current->thread.faddr = address; do_page_fault()
209 current->thread.faddr = address; do_page_fault()
215 current->thread.faddr = address; do_page_fault()
H A Dsun3mmu.c41 unsigned long address; paging_init() local
52 address = PAGE_OFFSET; paging_init()
66 while (address < (unsigned long)high_memory) { paging_init()
75 pte_t pte = pfn_pte(virt_to_pfn(address), PAGE_INIT); paging_init()
76 if (address >= (unsigned long)high_memory) paging_init()
79 address += PAGE_SIZE; paging_init()
/linux-4.4.14/security/selinux/
H A Dnetnode.c63 * address families at the same time so one table will usually end up wasted,
64 * if this becomes a problem we can always add a hash table for each address
73 * @addr: IPv4 address
77 * the bucket number for the given IP address.
89 * @addr: IPv6 address
93 * the bucket number for the given IP address.
106 * @addr: IP address
107 * @family: address family
153 * Add a new node record to the network address hash table.
188 * sel_netnode_sid_slow - Lookup the SID of a network address using the policy
189 * @addr: the IP address
190 * @family: the address family
194 * This function determines the SID of a network address by quering the
195 * security policy. The result is added to the network address table to
250 * sel_netnode_sid - Lookup the SID of a network address
251 * @addr: the IP address
252 * @family: the address family
256 * This function determines the SID of a network address using the fastest
257 * method possible. First the address table is queried, but if an entry
280 * sel_netnode_flush - Flush the entire network address table
283 * Remove all entries from the network address table.
/linux-4.4.14/drivers/iio/adc/
H A Daxp288_adc.c54 .address = AXP288_TS_ADC_H,
61 .address = AXP288_PMIC_ADC_H,
68 .address = AXP288_GP_ADC_H,
75 .address = AXP20X_BATT_CHRG_I_H,
82 .address = AXP20X_BATT_DISCHRG_I_H,
89 .address = AXP20X_BATT_V_H,
114 static int axp288_adc_read_channel(int *val, unsigned long address, axp288_adc_read_channel() argument
119 if (regmap_bulk_read(regmap, address, buf, 2)) axp288_adc_read_channel()
127 unsigned long address) axp288_adc_set_ts()
130 if (address != AXP288_GP_ADC_H) axp288_adc_set_ts()
147 chan->address)) { axp288_adc_read_raw()
152 ret = axp288_adc_read_channel(val, chan->address, info->regmap); axp288_adc_read_raw()
154 chan->address)) axp288_adc_read_raw()
126 axp288_adc_set_ts(struct regmap *regmap, unsigned int mode, unsigned long address) axp288_adc_set_ts() argument
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_ctl_defs.h84 * Structure used to request the adapter net_device owning a given MAC address.
88 const unsigned char *mac_addr; /* MAC address to lookup */
92 /* Structure used to request a port's iSCSI IPv4 address */
95 __be32 ipv4addr; /* the return iSCSI IPv4 address */
104 unsigned int llimit; /* TDDP region start address */
105 unsigned int ulimit; /* TDDP region end address */
133 unsigned int tpt_base; /* TPT base address */
134 unsigned int tpt_top; /* TPT last entry address */
135 unsigned int pbl_base; /* PBL base address */
136 unsigned int pbl_top; /* PBL last entry address */
137 unsigned int rqt_base; /* RQT base address */
138 unsigned int rqt_top; /* RQT last entry address */
141 void __iomem *kdb_addr; /* kernel doorbell register address */
/linux-4.4.14/drivers/bcma/
H A Ddriver_pci.c20 u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address) bcma_pcie_read() argument
22 pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_ADDR, address); bcma_pcie_read()
27 static void bcma_pcie_write(struct bcma_drv_pci *pc, u32 address, u32 data) bcma_pcie_write() argument
29 pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_ADDR, address); bcma_pcie_write()
58 static u16 bcma_pcie_mdio_read(struct bcma_drv_pci *pc, u16 device, u8 address) bcma_pcie_mdio_read() argument
75 v |= (address << BCMA_CORE_PCI_MDIODATA_REGADDR_SHF); bcma_pcie_mdio_read()
78 v |= (address << BCMA_CORE_PCI_MDIODATA_REGADDR_SHF_OLD); bcma_pcie_mdio_read()
102 u8 address, u16 data) bcma_pcie_mdio_write()
118 v |= (address << BCMA_CORE_PCI_MDIODATA_REGADDR_SHF); bcma_pcie_mdio_write()
121 v |= (address << BCMA_CORE_PCI_MDIODATA_REGADDR_SHF_OLD); bcma_pcie_mdio_write()
141 u8 address, u16 data) bcma_pcie_mdio_writeread()
143 bcma_pcie_mdio_write(pc, device, address, data); bcma_pcie_mdio_writeread()
144 return bcma_pcie_mdio_read(pc, device, address); bcma_pcie_mdio_writeread()
101 bcma_pcie_mdio_write(struct bcma_drv_pci *pc, u16 device, u8 address, u16 data) bcma_pcie_mdio_write() argument
140 bcma_pcie_mdio_writeread(struct bcma_drv_pci *pc, u16 device, u8 address, u16 data) bcma_pcie_mdio_writeread() argument
/linux-4.4.14/arch/arm/mach-zynq/
H A Dplatsmp.c37 int zynq_cpun_start(u32 address, int cpu) zynq_cpun_start() argument
43 /* Not possible to jump to non aligned address */ zynq_cpun_start()
44 if (!(address & 3) && (!address || (address >= trampoline_code_size))) { zynq_cpun_start()
45 /* Store pointer to ioremap area which points to address 0x0 */ zynq_cpun_start()
51 if (address) { zynq_cpun_start()
63 * This is elegant way how to jump to any address zynq_cpun_start()
64 * 0x0: Load address at 0x8 to r0 zynq_cpun_start()
66 * 0x8: Jumping address zynq_cpun_start()
70 writel(address, zero + trampoline_size); zynq_cpun_start()
84 pr_warn("Can't start CPU%d: Wrong starting address %x\n", cpu, address); zynq_cpun_start()
/linux-4.4.14/arch/arc/include/asm/
H A Dtlb-mmu1.h53 lr r0,[eret] /* instruction address */
58 lr r0,[eret] /* instruction address */
59 and r0,r0,PAGE_MASK /* VPN of instruction address */
62 or r0,r0,r1 /* Instruction address + Data ASID */
65 sr r0,[ARC_REG_TLBPD0] /* write instruction address to TLBPD0 */
83 lr r0,[eret] /* instruction address */
84 and r0,r0,PAGE_MASK /* VPN of instruction address */
86 or_s r0,r0,r1 /* Instruction address + Data ASID */
88 sr r0,[ARC_REG_TLBPD0] /* write instruction address to TLBPD0 */
H A Dbug.h21 unsigned long address);
22 void die(const char *str, struct pt_regs *regs, unsigned long address);
H A Dunaligned.h18 int misaligned_fixup(unsigned long address, struct pt_regs *regs,
22 misaligned_fixup(unsigned long address, struct pt_regs *regs, misaligned_fixup() argument
/linux-4.4.14/drivers/acpi/
H A Dacpi_cmos_rtc.c31 acpi_cmos_rtc_space_handler(u32 function, acpi_physical_address address, acpi_cmos_rtc_space_handler() argument
38 if (address > 0xff || !value64) acpi_cmos_rtc_space_handler()
46 for (i = 0; i < DIV_ROUND_UP(bits, 8); ++i, ++address, ++value) acpi_cmos_rtc_space_handler()
48 *value = CMOS_READ(address); acpi_cmos_rtc_space_handler()
50 CMOS_WRITE(*value, address); acpi_cmos_rtc_space_handler()
H A Dreboot.c40 devfn = PCI_DEVFN((rr->address >> 32) & 0xffff, acpi_reboot()
41 (rr->address >> 16) & 0xffff); acpi_reboot()
45 (rr->address & 0xffff), reset_value); acpi_reboot()
/linux-4.4.14/arch/x86/kernel/
H A Dcrash_dump_64.c16 * @buf: target memory address for the copy; this can be in kernel address
17 * space or user address space (see @userbuf)
20 * @userbuf: if set, @buf is in user address space, use copy_to_user(),
21 * otherwise @buf is in kernel address space, use memcpy().
H A Dvsmp_64.c92 void __iomem *address; set_vsmp_pv_ops() local
97 address = early_ioremap(cfg, 8); set_vsmp_pv_ops()
98 cap = readl(address); set_vsmp_pv_ops()
99 ctl = readl(address + 4); set_vsmp_pv_ops()
127 writel(ctl, address + 4); set_vsmp_pv_ops()
128 ctl = readl(address + 4); set_vsmp_pv_ops()
131 early_iounmap(address, 8); set_vsmp_pv_ops()
178 void __iomem *address; vsmp_cap_cpus() local
191 address = early_ioremap(cfg + TOPOLOGY_REGISTER_OFFSET, 4); vsmp_cap_cpus()
192 if (WARN_ON(!address)) vsmp_cap_cpus()
195 topology = readl(address); vsmp_cap_cpus()
205 early_iounmap(address, 4); vsmp_cap_cpus()
H A Dcrash_dump_32.c22 * bits and poke unwanted space counting again from address 0, we is_crashed_pfn_valid()
36 * @buf: target memory address for the copy; this can be in kernel address
37 * space or user address space (see @userbuf)
40 * @userbuf: if set, @buf is in user address space, use copy_to_user(),
41 * otherwise @buf is in kernel address space, use memcpy().
/linux-4.4.14/arch/mips/kernel/
H A Dcrash_dump.c12 * @buf: target memory address for the copy; this can be in kernel address
13 * space or user address space (see @userbuf)
16 * @userbuf: if set, @buf is in user address space, use copy_to_user(),
17 * otherwise @buf is in kernel address space, use memcpy().
/linux-4.4.14/arch/sh/kernel/
H A Dcrash_dump.c15 * @buf: target memory address for the copy; this can be in kernel address
16 * space or user address space (see @userbuf)
19 * @userbuf: if set, @buf is in user address space, use copy_to_user(),
20 * otherwise @buf is in kernel address space, use memcpy().
/linux-4.4.14/arch/ia64/kernel/
H A Dcrash_dump.c19 * @buf: target memory address for the copy; this can be in kernel address
20 * space or user address space (see @userbuf)
23 * @userbuf: if set, @buf is in user address space, use copy_to_user(),
24 * otherwise @buf is in kernel address space, use memcpy().
/linux-4.4.14/net/core/
H A Ddev_addr_lists.c168 /* address on from list is not marked synced */ __hw_addr_unsync_one()
230 * @list: address list to syncronize
232 * @sync: function to call if address should be added
233 * @unsync: function to call if address should be removed
236 * function of devices that require explicit address add/remove
255 /* if unsync is defined and fails defer unsyncing address */ __hw_addr_sync_dev()
282 * @list: address list to remove synchronized addresses from
284 * @unsync: function to call if address should be removed
288 * functions on devices that require explicit address add/remove
303 /* if unsync is defined and fails defer unsyncing address */ __hw_addr_unsync_dev()
336 * dev_addr_flush - Flush device address list
339 * Flush device address list and reset ->dev_addr.
353 * dev_addr_init - Init device address list
356 * Init device address list and create the first element,
375 * Get the first (previously created) address from the list dev_addr_init()
387 * dev_addr_add - Add a device address
389 * @addr: address to add
390 * @addr_type: address type
392 * Add a device address to the device or increase the reference count if
412 * dev_addr_del - Release a device address.
414 * @addr: address to delete
415 * @addr_type: address type
417 * Release reference to a device address and remove it from the device
431 * We can not remove the first address from the list because dev_addr_del()
453 * dev_uc_add_excl - Add a global secondary unicast address
455 * @addr: address to add
481 * dev_uc_add - Add a secondary unicast address
483 * @addr: address to add
485 * Add a secondary unicast address to the device or increase
503 * dev_uc_del - Release secondary unicast address.
505 * @addr: address to delete
507 * Release reference to a secondary unicast address and remove it
621 * dev_uc_flush - Init unicast address list
624 * Init unicast address list.
637 * dev_mc_add_excl - Add a global secondary multicast address
639 * @addr: address to add
678 * dev_mc_add - Add a multicast address
680 * @addr: address to add
682 * Add a multicast address to the device or increase
692 * dev_mc_add_global - Add a global multicast address
694 * @addr: address to add
696 * Add a global multicast address to the device.
719 * dev_mc_del - Delete a multicast address.
721 * @addr: address to delete
723 * Release reference to a multicast address and remove it
733 * dev_mc_del_global - Delete a global multicast address.
735 * @addr: address to delete
737 * Release reference to a multicast address and remove it
842 * dev_mc_flush - Init multicast address list
845 * Init multicast address list.
/linux-4.4.14/arch/cris/mm/
H A Dfault.c36 * This routine handles page faults. It determines the address,
40 * Notice that the address we're given is aligned to the page the fault
42 * address.
53 do_page_fault(unsigned long address, struct pt_regs *regs, do_page_fault() argument
65 address, smp_processor_id(), instruction_pointer(regs), do_page_fault()
89 if (address >= VMALLOC_START && do_page_fault()
101 address == cris_signal_return_page && do_page_fault()
123 vma = find_vma(mm, address); do_page_fault()
126 if (vma->vm_start <= address) do_page_fault()
137 if (address + PAGE_SIZE < rdusp()) do_page_fault()
140 if (expand_stack(vma, address)) do_page_fault()
171 fault = handle_mm_fault(mm, vma, address, flags); do_page_fault()
226 "address %08lx at pc %08lx\n", do_page_fault()
228 address, instruction_pointer(regs)); do_page_fault()
240 info.si_addr = (void *)address; do_page_fault()
267 if ((unsigned long) (address) < PAGE_SIZE) do_page_fault()
272 " at virtual address %08lx\n", address); do_page_fault()
302 info.si_addr = (void *)address; do_page_fault()
323 int offset = pgd_index(address); do_page_fault()
344 pud = pud_offset(pgd, address); do_page_fault()
345 pud_k = pud_offset(pgd_k, address); do_page_fault()
349 pmd = pmd_offset(pud, address); do_page_fault()
350 pmd_k = pmd_offset(pud_k, address); do_page_fault()
363 pte_k = pte_offset_kernel(pmd_k, address); do_page_fault()
/linux-4.4.14/arch/m32r/mm/
H A Dfault.c53 * This routine handles page faults. It determines the address,
60 * address : M32R MMU MDEVA reg. (Operand ACE)
75 unsigned long address) do_page_fault()
108 if (address >= TASK_SIZE && !(error_code & ACE_USERMODE)) do_page_fault()
128 * address space. Luckily the kernel only validly references user do_page_fault()
134 * Attempt to lock the address space, if we cannot we then validate the do_page_fault()
135 * source. If this is invalid we can skip the address space check, do_page_fault()
145 vma = find_vma(mm, address); do_page_fault()
148 if (vma->vm_start <= address) do_page_fault()
160 if (address + 4 < regs->spu) do_page_fault()
164 if (expand_stack(vma, address)) do_page_fault()
197 addr = (address & PAGE_MASK); do_page_fault()
227 tsk->thread.address = address; do_page_fault()
228 tsk->thread.error_code = error_code | (address >= TASK_SIZE); do_page_fault()
233 info.si_addr = (void __user *)address; do_page_fault()
250 if (address < PAGE_SIZE) do_page_fault()
254 printk(" at virtual address %08lx\n",address); do_page_fault()
258 page = ((unsigned long *) page)[address >> PGDIR_SHIFT]; do_page_fault()
262 address &= 0x003ff000; do_page_fault()
263 page = ((unsigned long *) __va(page))[address >> PAGE_SHIFT]; do_page_fault()
288 tsk->thread.address = address; do_page_fault()
294 info.si_addr = (void __user *)address; do_page_fault()
307 int offset = pgd_index(address); do_page_fault()
324 pmd = pmd_offset(pgd, address); do_page_fault()
325 pmd_k = pmd_offset(pgd_k, address); do_page_fault()
330 pte_k = pte_offset_kernel(pmd_k, address); do_page_fault()
334 addr = (address & PAGE_MASK); do_page_fault()
387 * entry1: ITLB entry address update_mmu_cache()
388 * entry2: DTLB entry address update_mmu_cache()
423 * entry1: TLB entry address update_mmu_cache()
424 * entry2: TLB base address update_mmu_cache()
74 do_page_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address) do_page_fault() argument
/linux-4.4.14/net/openvswitch/
H A Dflow.h70 u8 src[ETH_ALEN]; /* Ethernet source address. */
71 u8 dst[ETH_ALEN]; /* Ethernet destination address. */
94 __be32 src; /* IP source address. */
95 __be32 dst; /* IP destination address. */
98 u8 sha[ETH_ALEN]; /* ARP source hardware address. */
99 u8 tha[ETH_ALEN]; /* ARP target hardware address. */
104 struct in6_addr src; /* IPv6 source address. */
105 struct in6_addr dst; /* IPv6 destination address. */
109 struct in6_addr target; /* ND target address. */
110 u8 sll[ETH_ALEN]; /* ND source link layer address. */
111 u8 tll[ETH_ALEN]; /* ND target link layer address. */
190 __be16 ar_hrd; /* format of hardware address */
191 __be16 ar_pro; /* format of protocol address */
192 unsigned char ar_hln; /* length of hardware address */
193 unsigned char ar_pln; /* length of protocol address */
197 unsigned char ar_sha[ETH_ALEN]; /* sender hardware address */
198 unsigned char ar_sip[4]; /* sender IP address */
199 unsigned char ar_tha[ETH_ALEN]; /* target hardware address */
200 unsigned char ar_tip[4]; /* target IP address */
/linux-4.4.14/drivers/isdn/hardware/eicon/
H A Ddsp_tst.h45 #define dsp_make_address_ex(pm, address) ((word)((pm) ? (address) : (address) + 0x4000))
/linux-4.4.14/arch/xtensa/boot/boot-redboot/
H A Dbootstrap.S12 * can fit in the space before the load address.
16 * ^ Load address
67 /* copy the loader to its address
71 * load address of this image is not at an arbitrary address,
89 # a0: address where this code has been loaded
90 # a4: compiled address of __start
91 # a5: compiled end address
131 # a0: load address
132 # a2: start address of parameter list
163 # a0: load address
172 # a8(a4) Load address of the image
/linux-4.4.14/include/video/
H A Dpmag-ba-fb.h21 #define PMAG_BA_SIZE 0x400000 /* address space size */
24 #define BT459_ADDR_LO 0x0 /* address low */
25 #define BT459_ADDR_HI 0x4 /* address high */
H A Dpmagb-b-fb.h22 #define PMAGB_B_SIZE 0x400000 /* address space size */
27 #define SFB_REG_VID_BASE 0x6c /* video base address */
51 /* Video base address register constants. All bits are r/w. */
52 #define SFB_VID_BASE_MASK 0x1ff /* video base row address */
55 #define BT459_ADDR_LO 0x0 /* address low */
56 #define BT459_ADDR_HI 0x4 /* address high */
/linux-4.4.14/include/net/irda/
H A Dirlap_frame.h84 __u8 caddr; /* Connection address */
89 __u8 caddr; /* Connection address */
92 __le32 saddr; /* Source device address */
93 __le32 daddr; /* Destination device address */
100 __u8 caddr; /* Connection address */
102 __le32 saddr; /* Source device address */
103 __le32 daddr; /* Destination device address */
109 __le32 saddr; /* Source device address */
110 __le32 daddr; /* Dest device address */
114 __u8 caddr; /* Connection address */
119 __u8 caddr; /* Connection address */
124 __u8 caddr; /* Connection address */
/linux-4.4.14/arch/mips/pci/
H A Dpci-rt2880.c71 u32 address; rt2880_pci_config_read() local
74 address = rt2880_pci_get_cfgaddr(bus->number, PCI_SLOT(devfn), rt2880_pci_config_read()
78 rt2880_pci_reg_write(address, RT2880_PCI_REG_CONFIG_ADDR); rt2880_pci_config_read()
101 u32 address; rt2880_pci_config_write() local
104 address = rt2880_pci_get_cfgaddr(bus->number, PCI_SLOT(devfn), rt2880_pci_config_write()
108 rt2880_pci_reg_write(address, RT2880_PCI_REG_CONFIG_ADDR); rt2880_pci_config_write()
159 u32 address; rt2880_pci_read_u32() local
162 address = rt2880_pci_get_cfgaddr(0, 0, 0, reg); rt2880_pci_read_u32()
165 rt2880_pci_reg_write(address, RT2880_PCI_REG_CONFIG_ADDR); rt2880_pci_read_u32()
175 u32 address; rt2880_pci_write_u32() local
177 address = rt2880_pci_get_cfgaddr(0, 0, 0, reg); rt2880_pci_write_u32()
180 rt2880_pci_reg_write(address, RT2880_PCI_REG_CONFIG_ADDR); rt2880_pci_write_u32()
/linux-4.4.14/arch/cris/include/asm/
H A Dpgalloc.h25 static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) pte_alloc_one_kernel() argument
31 static inline pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address) pte_alloc_one() argument
55 #define __pte_free_tlb(tlb,pte,address) \
/linux-4.4.14/arch/ia64/sn/kernel/sn2/
H A Dcache.c14 * sn_flush_all_caches - flush a range of address from all caches (incl. L4)
15 * @flush_addr: identity mapped region 7 address to start flushing
28 /* SHub1 requires a cached address */ sn_flush_all_caches()
/linux-4.4.14/arch/arm/mach-omap2/
H A Dprcm_mpu44xx.c24 * prcm_mpu_base: the virtual address of the start of the PRCM_MPU IP
54 * omap2_set_globals_prcm_mpu - set the MPU PRCM base address (for early use)
55 * @prcm_mpu: PRCM_MPU base virtual address
/linux-4.4.14/arch/arm/mach-davinci/include/mach/
H A Dsram.h17 * SRAM allocations return a CPU virtual address, or NULL on error.
18 * If a DMA address is requested and the SRAM supports DMA, its
19 * mapped address is also returned.
/linux-4.4.14/drivers/usb/dwc3/
H A Dio.h33 * We requested the mem region starting from the Globals address dwc3_readl()
35 * However, the offsets are given starting from xHCI address space. dwc3_readl()
40 * When tracing we want to make it easy to find the correct address on dwc3_readl()
55 * We requested the mem region starting from the Globals address dwc3_writel()
57 * However, the offsets are given starting from xHCI address space. dwc3_writel()
62 * When tracing we want to make it easy to find the correct address on dwc3_writel()
/linux-4.4.14/drivers/s390/cio/
H A Dfcx.c34 * Return the input or output data address specified in the tcw depending
142 * @num_tidaws: the number of tidaws used to address input/output data or zero
183 * tcw_set_intrg - set the interrogate tcw address of a tcw
184 * @tcw: the tcw address
185 * @intrg_tcw: the address of the interrogate tcw
187 * Set the address of the interrogate tcw in the specified tcw.
196 * tcw_set_data - set data address and tida flag of a tcw
197 * @tcw: the tcw address
198 * @data: the data address
199 * @use_tidal: zero of the data address specifies a contiguous block of data,
202 * Set the input/output data address of a tcw (depending on the value of the
221 * tcw_set_tccb - set tccb address of a tcw
222 * @tcw: the tcw address
223 * @tccb: the tccb address
225 * Set the address of the tccb in the specified tcw.
234 * tcw_set_tsb - set tsb address of a tcw
235 * @tcw: the tcw address
236 * @tsb: the tsb address
238 * Set the address of the tsb in the specified tcw.
248 * @tccb: the tccb address
266 * @tsb: the tsb address
278 * @tccb: the tccb address
323 * @tcw: the tcw address
326 * @addr: address value for the new tidaw
/linux-4.4.14/drivers/iommu/
H A Domap-iopgtable.h19 * "L2 table" address mask and size definitions.
26 * "section" address mask and size definitions.
33 * "supersection" address mask and size definitions.
43 * "small page" address mask and size definitions.
50 * "large page" address mask and size definitions.
64 * @va: virtual address
/linux-4.4.14/arch/tile/include/uapi/asm/
H A Dcachectl.h22 * current process's address space. The intent is for user
24 * then allow arbitrary other threads in the same address space to see
26 * or more invalidates the entire icache on all cores in the address
28 * regardless of the requested address and length, but we may choose
35 * the address and length arguments are not used. The DCACHE flush is
36 * restricted to the current core, not all cores in the address space.
/linux-4.4.14/arch/tile/mm/
H A Dfault.c48 int si_code, unsigned long address, force_sig_info_fault()
57 si_signo, si_code & 0xffff, address, force_sig_info_fault()
64 info.si_addr = (void __user *)address; force_sig_info_fault()
66 trace_unhandled_signal(type, regs, address, si_signo); force_sig_info_fault()
73 * an unaligned address or a high kernel address.
75 SYSCALL_DEFINE1(cmpxchg_badaddr, unsigned long, address) SYSCALL_DEFINE1()
79 if (address >= PAGE_OFFSET) SYSCALL_DEFINE1()
81 address, INT_DTLB_MISS, current, regs); SYSCALL_DEFINE1()
84 BUS_ADRALN, address, SYSCALL_DEFINE1()
105 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) vmalloc_sync_one() argument
107 unsigned index = pgd_index(address); vmalloc_sync_one()
118 pud = pud_offset(pgd, address); vmalloc_sync_one()
119 pud_k = pud_offset(pgd_k, address); vmalloc_sync_one()
123 pmd = pmd_offset(pud, address); vmalloc_sync_one()
124 pmd_k = pmd_offset(pud_k, address); vmalloc_sync_one()
137 static inline int vmalloc_fault(pgd_t *pgd, unsigned long address) vmalloc_fault() argument
143 if (!(address >= VMALLOC_START && address < VMALLOC_END)) vmalloc_fault()
150 pmd_k = vmalloc_sync_one(pgd, address); vmalloc_fault()
153 pte_k = pte_offset_kernel(pmd_k, address); vmalloc_fault()
212 unsigned long address, unsigned long pc, handle_migrating_pte()
220 if (pgd_addr_invalid(address)) handle_migrating_pte()
223 pgd += pgd_index(address); handle_migrating_pte()
224 pud = pud_offset(pgd, address); handle_migrating_pte()
227 pmd = pmd_offset(pud, address); handle_migrating_pte()
231 pte_offset_kernel(pmd, address); handle_migrating_pte()
264 unsigned long address, handle_page_fault()
311 if (handle_migrating_pte(pgd, fault_num, address, regs->pc, handle_page_fault()
329 if (unlikely(address >= TASK_SIZE && handle_page_fault()
330 !is_arch_mappable_range(address, 0))) { handle_page_fault()
332 vmalloc_fault(pgd, address) >= 0) handle_page_fault()
373 * address space. Luckily the kernel only validly references user handle_page_fault()
379 * Attempt to lock the address space, if we cannot we then validate the handle_page_fault()
380 * source. If this is invalid we can skip the address space check, handle_page_fault()
394 vma = find_vma(mm, address); handle_page_fault()
397 if (vma->vm_start <= address) handle_page_fault()
405 if (address < regs->sp) handle_page_fault()
408 if (expand_stack(vma, address)) handle_page_fault()
438 fault = handle_mm_fault(mm, vma, address, flags); handle_page_fault()
500 force_sig_info_fault("segfault", SIGSEGV, si_code, address, handle_page_fault()
520 pte_t *pte = lookup_address(address); handle_page_fault()
527 if (address < PAGE_SIZE) handle_page_fault()
531 pr_alert(" at virtual address " REGFMT ", pc " REGFMT "\n", handle_page_fault()
532 address, regs->pc); handle_page_fault()
570 force_sig_info_fault("bus error", SIGBUS, BUS_ADRERR, address, handle_page_fault()
601 unsigned long address, do_page_fault_ics()
610 do_page_fault, fault_num, address, write, 1 do_page_fault_ics()
620 old_pc, fault_num, write, address); do_page_fault_ics()
624 if (fault_num != INT_DTLB_ACCESS && vmalloc_fault(pgd, address) >= 0) do_page_fault_ics()
659 * turns out the faulting address is just bad, and not, do_page_fault_ics()
684 if (handle_migrating_pte(pgd, fault_num, address, pc, 1, write)) do_page_fault_ics()
695 * This routine handles page faults. It determines the address, and the
703 unsigned long address, unsigned long write) __do_page_fault()
751 current->comm, current->pid, pc, address); __do_page_fault()
830 address, write); __do_page_fault()
836 async->address = address; __do_page_fault()
842 handle_page_fault(regs, fault_num, is_page_fault, address, write); __do_page_fault()
846 unsigned long address, unsigned long write) do_page_fault()
849 __do_page_fault(regs, fault_num, address, write); do_page_fault()
879 async->address, async->is_write); do_async_page_fault()
900 unsigned long address; vmalloc_sync_all()
903 for (address = start; address >= PAGE_OFFSET; address += PGDIR_SIZE) { vmalloc_sync_all()
904 if (!test_bit(pgd_index(address), insync)) { vmalloc_sync_all()
911 address)) { vmalloc_sync_all()
918 set_bit(pgd_index(address), insync); vmalloc_sync_all()
920 if (address == start && test_bit(pgd_index(address), insync)) vmalloc_sync_all()
921 start = address + PGDIR_SIZE; vmalloc_sync_all()
47 force_sig_info_fault(const char *type, int si_signo, int si_code, unsigned long address, int fault_num, struct task_struct *tsk, struct pt_regs *regs) force_sig_info_fault() argument
211 handle_migrating_pte(pgd_t *pgd, int fault_num, unsigned long address, unsigned long pc, int is_kernel_mode, int write) handle_migrating_pte() argument
261 handle_page_fault(struct pt_regs *regs, int fault_num, int is_page_fault, unsigned long address, int write) handle_page_fault() argument
600 do_page_fault_ics(struct pt_regs *regs, int fault_num, unsigned long address, unsigned long info) do_page_fault_ics() argument
702 __do_page_fault(struct pt_regs *regs, int fault_num, unsigned long address, unsigned long write) __do_page_fault() argument
845 do_page_fault(struct pt_regs *regs, int fault_num, unsigned long address, unsigned long write) do_page_fault() argument
/linux-4.4.14/arch/um/include/asm/
H A Dstacktrace.h13 void (*address)(void *data, unsigned long address, int reliable); member in struct:stacktrace_ops
/linux-4.4.14/arch/x86/um/asm/
H A Dprocessor.h17 #define ARCH_IS_STACKGROW(address) \
18 (address + 65536 + 32 * sizeof(unsigned long) >= UPT_SP(&current->thread.regs.regs))
/linux-4.4.14/arch/alpha/include/uapi/asm/
H A Dresource.h9 #define RLIMIT_AS 7 /* address space limit */
11 #define RLIMIT_MEMLOCK 9 /* max locked-in-memory address space */
/linux-4.4.14/arch/cris/boot/compressed/
H A Dhead_v10.S51 ;; Setup the stack to a suitably high address.
65 move.d $r5, $r0 ; save for later - flash address of 'basse'
67 sub.d basse, $r5 ; $r5 = flash address of '_edata'
92 ;; Save command line magic and address.
102 ;; Put start address of root partition in $r9 so the kernel can use it
105 move.d [input_data], $r9 ; flash address of compressed kernel
108 ;; Restore command line magic and address.
116 jump 0x40004000 ; kernel is linked to this address
/linux-4.4.14/include/rdma/
H A Diw_portmap.h95 * @pm_msg: Contains the local ip/tcp address info to send
99 * the port mapper response (mapped address info)
106 * @pm_msg: Contains the local and remote ip/tcp address info to send
110 * port mapper response (mapped local and remote address info)
118 * @local_addr: Local ip/tcp address to remove
151 * iwpm_remote_info_cb - Process remote connecting peer address info, which
156 * Stores the IPv4/IPv6 address info in a hash table
188 * iwpm_get_remote_info - Get the remote connecting peer address info
190 * @mapped_loc_addr: Mapped local address of the listening peer
191 * @mapped_rem_addr: Mapped remote address of the connecting peer
192 * @remote_addr: To store the remote address of the connecting peer
195 * The remote address info is retrieved and provided to the client in
203 * iwpm_create_mapinfo - Store local and mapped IPv4/IPv6 address
205 * @local_addr: Local ip/tcp address
206 * @mapped_addr: Mapped local ip/tcp address
213 * iwpm_remove_mapinfo - Remove local and mapped IPv4/IPv6 address
215 * @local_addr: Local ip/tcp address
216 * @mapped_addr: Mapped local ip/tcp address
/linux-4.4.14/arch/powerpc/kernel/
H A Dprom_parse.c21 prop = of_get_property(dn, "ibm,#dma-address-cells", NULL); of_parse_dma_window()
23 prop = of_get_property(dn, "#address-cells", NULL); of_parse_dma_window()

Completed in 5178 milliseconds

1234567891011>>