/kernel/linux/linux-5.10/arch/x86/mm/ |
D | fault.c | 157 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) in vmalloc_sync_one() argument 159 unsigned index = pgd_index(address); in vmalloc_sync_one() 176 p4d = p4d_offset(pgd, address); in vmalloc_sync_one() 177 p4d_k = p4d_offset(pgd_k, address); in vmalloc_sync_one() 181 pud = pud_offset(p4d, address); in vmalloc_sync_one() 182 pud_k = pud_offset(p4d_k, address); in vmalloc_sync_one() 186 pmd = pmd_offset(pud, address); in vmalloc_sync_one() 187 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one() 214 static noinline int vmalloc_fault(unsigned long address) in vmalloc_fault() argument 221 if (!(address >= VMALLOC_START && address < VMALLOC_END)) in vmalloc_fault() [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/pmic/ |
D | intel_pmic_bxtwc.c | 29 .address = 0x0, 34 .address = 0x04, 39 .address = 0x08, 44 .address = 0x0c, 49 .address = 0x10, 54 .address = 0x14, 59 .address = 0x18, 64 .address = 0x1c, 69 .address = 0x20, 74 .address = 0x24, [all …]
|
D | intel_pmic_bytcrc.c | 26 .address = 0x04, 31 .address = 0x08, 36 .address = 0x0c, 41 .address = 0x10, 46 .address = 0x14, 51 .address = 0x18, 56 .address = 0x1c, 66 .address = 0x24, 76 .address = 0x2c, 81 .address = 0x30, [all …]
|
D | intel_pmic_chtwc.c | 75 .address = 0x0, 80 .address = 0x04, 85 .address = 0x08, 90 .address = 0x0c, 95 .address = 0x10, 100 .address = 0x14, 105 .address = 0x18, 110 .address = 0x1c, 115 .address = 0x20, 140 .address = 0x34, [all …]
|
D | intel_pmic_xpower.c | 31 .address = 0x00, 36 .address = 0x04, 41 .address = 0x08, 46 .address = 0x0c, 51 .address = 0x10, 56 .address = 0x14, 61 .address = 0x18, 66 .address = 0x1c, 71 .address = 0x20, 76 .address = 0x24, [all …]
|
D | intel_pmic_chtdc_ti.c | 23 { .address = 0x00, .reg = 0x41 }, 24 { .address = 0x04, .reg = 0x42 }, 25 { .address = 0x08, .reg = 0x43 }, 26 { .address = 0x0c, .reg = 0x45 }, 27 { .address = 0x10, .reg = 0x46 }, 28 { .address = 0x14, .reg = 0x47 }, 29 { .address = 0x18, .reg = 0x48 }, 30 { .address = 0x1c, .reg = 0x49 }, 31 { .address = 0x20, .reg = 0x4a }, 32 { .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 …]
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | aspeed-bmc-facebook-cmm.dts | 333 #address-cells = <1>; 340 #address-cells = <1>; 346 #address-cells = <1>; 352 #address-cells = <1>; 357 #address-cells = <1>; 362 #address-cells = <1>; 367 #address-cells = <1>; 372 #address-cells = <1>; 377 #address-cells = <1>; 382 #address-cells = <1>; [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | script_asm.pl | 191 $address = 0; # Address of current instruction 206 local ($address, $offset, $length, $value) = @_; 208 print STDERR "Patching $address at offset $offset, length $length to $value\n"; 209 printf STDERR "Old code : %08x\n", $code[$address]; 214 $code[$address] = ($code[$address] & ~$mask) | 215 (($code[$address] & $mask) + ($value << ($offset * 8)) & 218 printf STDERR "New code : %08x\n", $code[$address] if ($debug); 250 $tmp = ($address + $word) * 4 + $offset; 264 &patch ($address + $word, $offset, $length, $value); 277 $code[$address] |= 0x00_01_00_00; [all …]
|
/kernel/linux/linux-5.10/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() 152 ACPI_FORMAT_UINT64(address), in acpi_hw_validate_io_request() 187 acpi_status acpi_hw_read_port(acpi_io_address address, u32 *value, u32 width) in acpi_hw_read_port() argument 196 address &= ACPI_UINT16_MAX; in acpi_hw_read_port() [all …]
|
/kernel/linux/linux-5.10/arch/sh/mm/ |
D | fault.c | 28 force_sig_info_fault(int si_signo, int si_code, unsigned long address) in force_sig_info_fault() argument 30 force_sig_fault(si_signo, si_code, (void __user *)address); in force_sig_info_fault() 120 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) in vmalloc_sync_one() argument 122 unsigned index = pgd_index(address); in vmalloc_sync_one() 134 p4d = p4d_offset(pgd, address); in vmalloc_sync_one() 135 p4d_k = p4d_offset(pgd_k, address); in vmalloc_sync_one() 139 pud = pud_offset(p4d, address); in vmalloc_sync_one() 140 pud_k = pud_offset(p4d_k, address); in vmalloc_sync_one() 147 pmd = pmd_offset(pud, address); in vmalloc_sync_one() 148 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/mm/ |
D | pgtable-generic.c | 65 unsigned long address, pte_t *ptep, in ptep_set_access_flags() argument 70 set_pte_at(vma->vm_mm, address, ptep, entry); in ptep_set_access_flags() 71 flush_tlb_fix_spurious_fault(vma, address); in ptep_set_access_flags() 79 unsigned long address, pte_t *ptep) in ptep_clear_flush_young() argument 82 young = ptep_test_and_clear_young(vma, address, ptep); in ptep_clear_flush_young() 84 flush_tlb_page(vma, address); in ptep_clear_flush_young() 90 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush() argument 95 pte = ptep_get_and_clear(mm, address, ptep); in ptep_clear_flush() 97 flush_tlb_page(vma, address); in ptep_clear_flush() 106 unsigned long address, pmd_t *pmdp, in pmdp_set_access_flags() argument [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_hubp.c | 74 const struct dc_plane_address *address, in hubp3_program_surface_flip_and_addr() argument 86 VMID, address->vmid); in hubp3_program_surface_flip_and_addr() 88 if (address->type == PLN_ADDR_TYPE_GRPH_STEREO) { in hubp3_program_surface_flip_and_addr() 103 switch (address->type) { in hubp3_program_surface_flip_and_addr() 112 if (address->grph.addr.quad_part == 0) in hubp3_program_surface_flip_and_addr() 116 PRIMARY_SURFACE_TMZ, address->tmz_surface, in hubp3_program_surface_flip_and_addr() 117 PRIMARY_META_SURFACE_TMZ, address->tmz_surface); in hubp3_program_surface_flip_and_addr() 119 if (address->grph.meta_addr.quad_part != 0) { in hubp3_program_surface_flip_and_addr() 122 address->grph.meta_addr.high_part); in hubp3_program_surface_flip_and_addr() 126 address->grph.meta_addr.low_part); in hubp3_program_surface_flip_and_addr() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | fault.c | 51 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long address, int si_code) in __bad_area_nosemaphore() argument 61 _exception(SIGSEGV, regs, si_code, address); in __bad_area_nosemaphore() 66 static noinline int bad_area_nosemaphore(struct pt_regs *regs, unsigned long address) in bad_area_nosemaphore() argument 68 return __bad_area_nosemaphore(regs, address, SEGV_MAPERR); in bad_area_nosemaphore() 71 static int __bad_area(struct pt_regs *regs, unsigned long address, int si_code) in __bad_area() argument 81 return __bad_area_nosemaphore(regs, address, si_code); in __bad_area() 84 static noinline int bad_area(struct pt_regs *regs, unsigned long address) in bad_area() argument 86 return __bad_area(regs, address, SEGV_MAPERR); in bad_area() 90 static noinline int bad_access_pkey(struct pt_regs *regs, unsigned long address, in bad_access_pkey() argument 125 _exception_pkey(regs, address, pkey); in bad_access_pkey() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | tlb.h | 310 unsigned long address, in __tlb_adjust_range() argument 313 tlb->start = min(tlb->start, address); in __tlb_adjust_range() 314 tlb->end = max(tlb->end, address + range_size); in __tlb_adjust_range() 523 unsigned long address, unsigned long size) in tlb_flush_pte_range() argument 525 __tlb_adjust_range(tlb, address, size); in tlb_flush_pte_range() 530 unsigned long address, unsigned long size) in tlb_flush_pmd_range() argument 532 __tlb_adjust_range(tlb, address, size); in tlb_flush_pmd_range() 537 unsigned long address, unsigned long size) in tlb_flush_pud_range() argument 539 __tlb_adjust_range(tlb, address, size); in tlb_flush_pud_range() 544 unsigned long address, unsigned long size) in tlb_flush_p4d_range() argument [all …]
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
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() 100 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address); in __do_page_fault() 103 vma = find_vma(mm, address); in __do_page_fault() 106 if (vma->vm_start <= address) in __do_page_fault() 110 if (expand_stack(vma, address)) in __do_page_fault() 125 if (address == regs->cp0_epc && !(vma->vm_flags & VM_EXEC)) { in __do_page_fault() 130 field, address, write, in __do_page_fault() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/arch/x86/boot/compressed/ |
D | ident_map_64.c | 185 unsigned long address; in split_large_pmd() local 194 address = __address & PMD_MASK; in split_large_pmd() 200 set_pte(&pte[i], __pte(address | page_flags)); in split_large_pmd() 201 address += PAGE_SIZE; in split_large_pmd() 221 static void clflush_page(unsigned long address) in clflush_page() argument 231 start = (char *)(address & PAGE_MASK); in clflush_page() 245 unsigned long address, in set_clr_page_flags() argument 265 :: [address] "g" (*(unsigned long *)address) in set_clr_page_flags() 272 p4dp = p4d_offset(pgdp, address); in set_clr_page_flags() 273 pudp = pud_offset(p4dp, address); in set_clr_page_flags() [all …]
|
/kernel/linux/linux-5.10/arch/xtensa/mm/ |
D | fault.c | 40 unsigned int address = regs->excvaddr; in do_page_fault() local 52 if (address >= TASK_SIZE && !user_mode(regs)) in do_page_fault() 59 bad_page_fault(regs, address, SIGSEGV); in do_page_fault() 70 address, exccause, regs->pc, in do_page_fault() 76 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address); in do_page_fault() 80 vma = find_vma(mm, address); in do_page_fault() 84 if (vma->vm_start <= address) in do_page_fault() 88 if (expand_stack(vma, address)) in do_page_fault() 113 fault = handle_mm_fault(vma, address, flags, regs); in do_page_fault() 152 current->thread.bad_vaddr = address; in do_page_fault() [all …]
|
/kernel/linux/linux-5.10/arch/ia64/mm/ |
D | fault.c | 29 mapped_kernel_page_is_present (unsigned long address) in mapped_kernel_page_is_present() argument 37 pgd = pgd_offset_k(address); in mapped_kernel_page_is_present() 41 p4d = p4d_offset(pgd, address); in mapped_kernel_page_is_present() 45 pud = pud_offset(p4d, address); in mapped_kernel_page_is_present() 49 pmd = pmd_offset(pud, address); in mapped_kernel_page_is_present() 53 ptep = pte_offset_kernel(pmd, address); in mapped_kernel_page_is_present() 66 ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *regs) in ia64_do_page_fault() argument 95 if ((REGION_NUMBER(address) == 5) && !user_mode(regs)) in ia64_do_page_fault() 110 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address); in ia64_do_page_fault() 114 vma = find_vma_prev(mm, address, &prev_vma); in ia64_do_page_fault() [all …]
|
/kernel/linux/linux-5.10/arch/arc/mm/ |
D | fault.c | 25 noinline static int handle_kernel_vaddr_fault(unsigned long address) in handle_kernel_vaddr_fault() argument 36 pgd = pgd_offset_fast(current->active_mm, address); in handle_kernel_vaddr_fault() 37 pgd_k = pgd_offset_k(address); in handle_kernel_vaddr_fault() 42 p4d = p4d_offset(pgd, address); in handle_kernel_vaddr_fault() 43 p4d_k = p4d_offset(pgd_k, address); in handle_kernel_vaddr_fault() 47 pud = pud_offset(p4d, address); in handle_kernel_vaddr_fault() 48 pud_k = pud_offset(p4d_k, address); in handle_kernel_vaddr_fault() 52 pmd = pmd_offset(pud, address); in handle_kernel_vaddr_fault() 53 pmd_k = pmd_offset(pud_k, address); in handle_kernel_vaddr_fault() 66 void do_page_fault(unsigned long address, struct pt_regs *regs) in do_page_fault() argument [all …]
|