/Linux-v4.19/arch/x86/mm/ |
D | fault.c | 207 force_sig_info_fault(int si_signo, int si_code, unsigned long address, in force_sig_info_fault() argument 217 info.si_addr = (void __user *)address; in force_sig_info_fault() 233 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) in vmalloc_sync_one() argument 235 unsigned index = pgd_index(address); in vmalloc_sync_one() 252 p4d = p4d_offset(pgd, address); in vmalloc_sync_one() 253 p4d_k = p4d_offset(pgd_k, address); in vmalloc_sync_one() 257 pud = pud_offset(p4d, address); in vmalloc_sync_one() 258 pud_k = pud_offset(p4d_k, address); in vmalloc_sync_one() 262 pmd = pmd_offset(pud, address); in vmalloc_sync_one() 263 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one() [all …]
|
/Linux-v4.19/drivers/acpi/pmic/ |
D | intel_pmic_bxtwc.c | 37 .address = 0x0, 42 .address = 0x04, 47 .address = 0x08, 52 .address = 0x0c, 57 .address = 0x10, 62 .address = 0x14, 67 .address = 0x18, 72 .address = 0x1c, 77 .address = 0x20, 82 .address = 0x24, [all …]
|
D | intel_pmic_crc.c | 34 .address = 0x04, 39 .address = 0x08, 44 .address = 0x0c, 49 .address = 0x10, 54 .address = 0x14, 59 .address = 0x18, 64 .address = 0x1c, 74 .address = 0x24, 84 .address = 0x2c, 89 .address = 0x30, [all …]
|
D | intel_pmic_xpower.c | 35 .address = 0x00, 40 .address = 0x04, 45 .address = 0x08, 50 .address = 0x0c, 55 .address = 0x10, 60 .address = 0x14, 65 .address = 0x18, 70 .address = 0x1c, 75 .address = 0x20, 80 .address = 0x24, [all …]
|
D | intel_pmic_chtwc.c | 83 .address = 0x0, 88 .address = 0x04, 93 .address = 0x08, 98 .address = 0x0c, 103 .address = 0x10, 108 .address = 0x14, 113 .address = 0x18, 118 .address = 0x1c, 123 .address = 0x20, 148 .address = 0x34, [all …]
|
D | intel_pmic_chtdc_ti.c | 22 { .address = 0x00, .reg = 0x41 }, 23 { .address = 0x04, .reg = 0x42 }, 24 { .address = 0x08, .reg = 0x43 }, 25 { .address = 0x0c, .reg = 0x45 }, 26 { .address = 0x10, .reg = 0x46 }, 27 { .address = 0x14, .reg = 0x47 }, 28 { .address = 0x18, .reg = 0x48 }, 29 { .address = 0x1c, .reg = 0x49 }, 30 { .address = 0x20, .reg = 0x4a }, 31 { .address = 0x24, .reg = 0x4b }, [all …]
|
D | tps68470_pmic.c | 19 u32 address; /* operation region address */ member 38 .address = 0x00, 44 .address = 0x04, 50 .address = 0x08, 56 .address = 0x0C, 62 .address = 0x10, 68 .address = 0x14, 78 .address = 0x00, 84 .address = 0x04, 90 .address = 0x08, [all …]
|
/Linux-v4.19/drivers/scsi/ |
D | script_asm.pl | 204 $address = 0; # Address of current instruction 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); 263 $tmp = ($address + $word) * 4 + $offset; 277 &patch ($address + $word, $offset, $length, $value); 290 $code[$address] |= 0x00_01_00_00; [all …]
|
/Linux-v4.19/drivers/acpi/acpica/ |
D | rsaddr.c | 41 {ACPI_RSC_MOVE16, ACPI_RS_OFFSET(data.address16.address.granularity), 79 {ACPI_RSC_MOVE32, ACPI_RS_OFFSET(data.address32.address.granularity), 117 {ACPI_RSC_MOVE64, ACPI_RS_OFFSET(data.address64.address.granularity), 162 ACPI_RS_OFFSET(data.ext_address64.address.granularity), 174 {ACPI_RSC_FLAGINIT, 0, AML_OFFSET(address.flags), 179 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.address.resource_type), 180 AML_OFFSET(address.resource_type), 185 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.producer_consumer), 186 AML_OFFSET(address.flags), 189 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.decode), [all …]
|
D | hwvalid.c | 18 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width); 90 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width) in acpi_hw_validate_io_request() argument 109 last_address = address + byte_width - 1; in acpi_hw_validate_io_request() 113 ACPI_FORMAT_UINT64(address), in acpi_hw_validate_io_request() 121 ACPI_FORMAT_UINT64(address), byte_width)); in acpi_hw_validate_io_request() 127 if (address > acpi_protected_ports[ACPI_PORT_INFO_ENTRIES - 1].end) { in acpi_hw_validate_io_request() 143 if ((address <= port_info->end) in acpi_hw_validate_io_request() 151 ACPI_FORMAT_UINT64(address), in acpi_hw_validate_io_request() 186 acpi_status acpi_hw_read_port(acpi_io_address address, u32 *value, u32 width) in acpi_hw_read_port() argument 195 address &= ACPI_UINT16_MAX; in acpi_hw_read_port() [all …]
|
/Linux-v4.19/arch/sh/mm/ |
D | fault.c | 42 force_sig_info_fault(int si_signo, int si_code, unsigned long address, in force_sig_info_fault() argument 45 force_sig_fault(si_signo, si_code, (void __user *)address, tsk); in force_sig_info_fault() 121 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) in vmalloc_sync_one() argument 123 unsigned index = pgd_index(address); in vmalloc_sync_one() 134 pud = pud_offset(pgd, address); in vmalloc_sync_one() 135 pud_k = pud_offset(pgd_k, address); in vmalloc_sync_one() 142 pmd = pmd_offset(pud, address); in vmalloc_sync_one() 143 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one() 171 static noinline int vmalloc_fault(unsigned long address) in vmalloc_fault() argument 178 if (!(address >= VMALLOC_START && address < __FAULT_ADDR_LIMIT)) in vmalloc_fault() [all …]
|
/Linux-v4.19/arch/nios2/mm/ |
D | ioremap.c | 22 static inline void remap_area_pte(pte_t *pte, unsigned long address, in remap_area_pte() argument 31 address &= ~PMD_MASK; in remap_area_pte() 32 end = address + size; in remap_area_pte() 35 if (address >= end) in remap_area_pte() 44 address += PAGE_SIZE; in remap_area_pte() 47 } while (address && (address < end)); in remap_area_pte() 50 static inline int remap_area_pmd(pmd_t *pmd, unsigned long address, in remap_area_pmd() argument 56 address &= ~PGDIR_MASK; in remap_area_pmd() 57 end = address + size; in remap_area_pmd() 60 phys_addr -= address; in remap_area_pmd() [all …]
|
/Linux-v4.19/mm/ |
D | pgtable-generic.c | 55 unsigned long address, pte_t *ptep, in ptep_set_access_flags() argument 60 set_pte_at(vma->vm_mm, address, ptep, entry); in ptep_set_access_flags() 61 flush_tlb_fix_spurious_fault(vma, address); in ptep_set_access_flags() 69 unsigned long address, pte_t *ptep) in ptep_clear_flush_young() argument 72 young = ptep_test_and_clear_young(vma, address, ptep); in ptep_clear_flush_young() 74 flush_tlb_page(vma, address); in ptep_clear_flush_young() 80 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush() argument 85 pte = ptep_get_and_clear(mm, address, ptep); in ptep_clear_flush() 87 flush_tlb_page(vma, address); in ptep_clear_flush() 96 unsigned long address, pmd_t *pmdp, in pmdp_set_access_flags() argument [all …]
|
/Linux-v4.19/arch/mips/mm/ |
D | ioremap.c | 21 static inline void remap_area_pte(pte_t * pte, unsigned long address, in remap_area_pte() argument 29 address &= ~PMD_MASK; in remap_area_pte() 30 end = address + size; in remap_area_pte() 33 BUG_ON(address >= end); in remap_area_pte() 41 address += PAGE_SIZE; in remap_area_pte() 44 } while (address && (address < end)); in remap_area_pte() 47 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, in remap_area_pmd() argument 52 address &= ~PGDIR_MASK; in remap_area_pmd() 53 end = address + size; in remap_area_pmd() 56 phys_addr -= address; in remap_area_pmd() [all …]
|
D | fault.c | 39 unsigned long address) in __do_page_fault() argument 53 current->comm, current->pid, field, address, write, in __do_page_fault() 83 if (unlikely(address >= VMALLOC_START && address <= VMALLOC_END)) in __do_page_fault() 86 if (unlikely(address >= MODULE_START && address < MODULE_END)) in __do_page_fault() 101 vma = find_vma(mm, address); in __do_page_fault() 104 if (vma->vm_start <= address) in __do_page_fault() 108 if (expand_stack(vma, address)) in __do_page_fault() 123 if (address == regs->cp0_epc && !(vma->vm_flags & VM_EXEC)) { in __do_page_fault() 128 field, address, write, in __do_page_fault() 134 exception_epc(regs) != address) { in __do_page_fault() [all …]
|
/Linux-v4.19/arch/x86/math-emu/ |
D | get_address.c | 123 static unsigned long vm86_segment(u_char segment, struct address *addr) in vm86_segment() 138 struct address *addr, long offset) in pm_address() 141 unsigned long base_address, limit, address, seg_top; in pm_address() local 164 address = base_address + offset; in pm_address() 180 (address <= limit) || (address >= seg_top) ? 0 : in pm_address() 181 ((seg_top - address) >= 255 ? 255 : seg_top - address); in pm_address() 184 (address > limit) || (address < base_address) ? 0 : in pm_address() 185 ((limit - address) >= 254 ? 255 : limit - address + 1); in pm_address() 191 return address; in pm_address() 211 struct address *addr, fpu_addr_modes addr_modes) in FPU_get_address() [all …]
|
/Linux-v4.19/include/asm-generic/ |
D | tlb.h | 125 unsigned long address, in __tlb_adjust_range() argument 128 tlb->start = min(tlb->start, address); in __tlb_adjust_range() 129 tlb->end = max(tlb->end, address + range_size); in __tlb_adjust_range() 209 #define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0) argument 219 #define tlb_remove_tlb_entry(tlb, ptep, address) \ argument 221 __tlb_adjust_range(tlb, address, PAGE_SIZE); \ 222 __tlb_remove_tlb_entry(tlb, ptep, address); \ 225 #define tlb_remove_huge_tlb_entry(h, tlb, ptep, address) \ argument 227 __tlb_adjust_range(tlb, address, huge_page_size(h)); \ 228 __tlb_remove_tlb_entry(tlb, ptep, address); \ [all …]
|
/Linux-v4.19/security/tomoyo/ |
D | network.c | 14 const __be32 *address; /* In network byte order. */ member 55 char *address = tomoyo_read_token(param); in tomoyo_parse_ipaddr_union() local 58 if (!strchr(address, ':') && in tomoyo_parse_ipaddr_union() 59 in4_pton(address, -1, min, '-', &end) > 0) { in tomoyo_parse_ipaddr_union() 68 if (in6_pton(address, -1, min, '-', &end) > 0) { in tomoyo_parse_ipaddr_union() 199 tomoyo_same_ipaddr_union(&p1->address, &p2->address) && in tomoyo_same_inet_acl() 300 e.address.group = in tomoyo_write_inet_network() 302 if (!e.address.group) in tomoyo_write_inet_network() 305 if (!tomoyo_parse_ipaddr_union(param, &e.address)) in tomoyo_write_inet_network() 315 tomoyo_put_group(e.address.group); in tomoyo_write_inet_network() [all …]
|
/Linux-v4.19/arch/s390/mm/ |
D | vmem.c | 75 unsigned long address = start; in vmem_add_mem() local 92 while (address < end) { in vmem_add_mem() 93 pg_dir = pgd_offset_k(address); in vmem_add_mem() 100 p4_dir = p4d_offset(pg_dir, address); in vmem_add_mem() 107 pu_dir = pud_offset(p4_dir, address); in vmem_add_mem() 108 if (MACHINE_HAS_EDAT2 && pud_none(*pu_dir) && address && in vmem_add_mem() 109 !(address & ~PUD_MASK) && (address + PUD_SIZE <= end) && in vmem_add_mem() 111 pud_val(*pu_dir) = address | r3_prot; in vmem_add_mem() 112 address += PUD_SIZE; in vmem_add_mem() 122 pm_dir = pmd_offset(pu_dir, address); in vmem_add_mem() [all …]
|
/Linux-v4.19/arch/powerpc/mm/ |
D | fault.c | 106 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long address, int si_code, in __bad_area_nosemaphore() argument 117 _exception_pkey(SIGSEGV, regs, si_code, address, pkey); in __bad_area_nosemaphore() 122 static noinline int bad_area_nosemaphore(struct pt_regs *regs, unsigned long address) in bad_area_nosemaphore() argument 124 return __bad_area_nosemaphore(regs, address, SEGV_MAPERR, 0); in bad_area_nosemaphore() 127 static int __bad_area(struct pt_regs *regs, unsigned long address, int si_code, in __bad_area() argument 138 return __bad_area_nosemaphore(regs, address, si_code, pkey); in __bad_area() 141 static noinline int bad_area(struct pt_regs *regs, unsigned long address) in bad_area() argument 143 return __bad_area(regs, address, SEGV_MAPERR, 0); in bad_area() 146 static int bad_key_fault_exception(struct pt_regs *regs, unsigned long address, in bad_key_fault_exception() argument 149 return __bad_area_nosemaphore(regs, address, SEGV_PKUERR, pkey); in bad_key_fault_exception() [all …]
|
/Linux-v4.19/arch/mips/include/asm/octeon/ |
D | cvmx-scratch.h | 51 static inline uint8_t cvmx_scratch_read8(uint64_t address) in cvmx_scratch_read8() argument 53 return *CASTPTR(volatile uint8_t, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read8() 63 static inline uint16_t cvmx_scratch_read16(uint64_t address) in cvmx_scratch_read16() argument 65 return *CASTPTR(volatile uint16_t, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read16() 75 static inline uint32_t cvmx_scratch_read32(uint64_t address) in cvmx_scratch_read32() argument 77 return *CASTPTR(volatile uint32_t, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read32() 87 static inline uint64_t cvmx_scratch_read64(uint64_t address) in cvmx_scratch_read64() argument 89 return *CASTPTR(volatile uint64_t, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read64() 98 static inline void cvmx_scratch_write8(uint64_t address, uint64_t value) in cvmx_scratch_write8() argument 100 *CASTPTR(volatile uint8_t, CVMX_SCRATCH_BASE + address) = in cvmx_scratch_write8() [all …]
|
D | cvmx-asm.h | 93 #define CVMX_PREPARE_FOR_STORE(address, offset) \ argument 95 [rbase] "d" (address)) 101 #define CVMX_DONT_WRITE_BACK(address, offset) \ argument 103 [rbase] "d" (address)) 117 #define CVMX_CACHE(op, address, offset) \ argument 119 : : [rbase] "d" (address) ) 121 #define CVMX_CACHE_LCKL2(address, offset) CVMX_CACHE(31, address, offset) argument 123 #define CVMX_CACHE_WBIL2(address, offset) CVMX_CACHE(23, address, offset) argument 125 #define CVMX_CACHE_WBIL2I(address, offset) CVMX_CACHE(3, address, offset) argument 127 #define CVMX_CACHE_LTGL2I(address, offset) CVMX_CACHE(7, address, offset) argument
|
/Linux-v4.19/arch/xtensa/mm/ |
D | fault.c | 41 unsigned int address = regs->excvaddr; in do_page_fault() local 53 if (address >= TASK_SIZE && !user_mode(regs)) in do_page_fault() 60 bad_page_fault(regs, address, SIGSEGV); in do_page_fault() 71 address, exccause, regs->pc, in do_page_fault() 78 vma = find_vma(mm, address); in do_page_fault() 82 if (vma->vm_start <= address) in do_page_fault() 86 if (expand_stack(vma, address)) in do_page_fault() 111 fault = handle_mm_fault(vma, address, flags); in do_page_fault() 144 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address); in do_page_fault() 146 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MAJ, 1, regs, address); in do_page_fault() [all …]
|
/Linux-v4.19/arch/arc/mm/ |
D | fault.c | 29 noinline static int handle_kernel_vaddr_fault(unsigned long address) in handle_kernel_vaddr_fault() argument 39 pgd = pgd_offset_fast(current->active_mm, address); in handle_kernel_vaddr_fault() 40 pgd_k = pgd_offset_k(address); in handle_kernel_vaddr_fault() 45 pud = pud_offset(pgd, address); in handle_kernel_vaddr_fault() 46 pud_k = pud_offset(pgd_k, address); in handle_kernel_vaddr_fault() 50 pmd = pmd_offset(pud, address); in handle_kernel_vaddr_fault() 51 pmd_k = pmd_offset(pud_k, address); in handle_kernel_vaddr_fault() 64 void do_page_fault(unsigned long address, struct pt_regs *regs) in do_page_fault() argument 86 if (address >= VMALLOC_START) { in do_page_fault() 87 ret = handle_kernel_vaddr_fault(address); in do_page_fault() [all …]
|
/Linux-v4.19/arch/arc/kernel/ |
D | traps.c | 31 void die(const char *str, struct pt_regs *regs, unsigned long address) in die() argument 33 show_kernel_fault_diag(str, regs, address); in die() 66 int name(unsigned long address, struct pt_regs *regs) \ 74 info.si_addr = (void __user *)address; \ 93 int do_misaligned_access(unsigned long address, struct pt_regs *regs, in do_misaligned_access() argument 97 if (misaligned_fixup(address, regs, cregs) != 0) in do_misaligned_access() 98 return do_misaligned_error(address, regs); in do_misaligned_access() 107 void do_machine_check_fault(unsigned long address, struct pt_regs *regs) in do_machine_check_fault() argument 109 die("Unhandled Machine Check Exception", regs, address); in do_machine_check_fault() 124 void do_non_swi_trap(unsigned long address, struct pt_regs *regs) in do_non_swi_trap() argument [all …]
|