/kernel/linux/linux-5.10/arch/x86/mm/ |
H A 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 > in vmalloc_fault() 275 check_v8086_mode(struct pt_regs *regs, unsigned long address, struct task_struct *tsk) check_v8086_mode() argument 295 dump_pagetable(unsigned long address) dump_pagetable() argument 348 check_v8086_mode(struct pt_regs *regs, unsigned long address, struct task_struct *tsk) check_v8086_mode() argument 360 dump_pagetable(unsigned long address) dump_pagetable() argument 429 is_errata93(struct pt_regs *regs, unsigned long address) is_errata93() argument 461 is_errata100(struct pt_regs *regs, unsigned long address) is_errata100() argument 471 is_f00f_bug(struct pt_regs *regs, unsigned long address) is_f00f_bug() argument 514 show_fault_oops(struct pt_regs *regs, unsigned long error_code, unsigned long address) show_fault_oops() argument 591 pgtable_bad(struct pt_regs *regs, unsigned long error_code, unsigned long address) pgtable_bad() argument 612 set_signal_archinfo(unsigned long address, unsigned long error_code) set_signal_archinfo() argument 635 no_context(struct pt_regs *regs, unsigned long error_code, unsigned long address, int signal, int si_code) no_context() argument 762 show_signal_msg(struct pt_regs *regs, unsigned long error_code, unsigned long address, struct task_struct *tsk) show_signal_msg() argument 794 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, unsigned long address, u32 pkey, int si_code) __bad_area_nosemaphore() argument 846 bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area_nosemaphore() argument 853 __bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address, u32 pkey, int si_code) __bad_area() argument 867 bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area() argument 890 bad_area_access_error(struct pt_regs *regs, unsigned long error_code, unsigned long address, struct vm_area_struct *vma) bad_area_access_error() argument 928 do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address, vm_fault_t fault) do_sigbus() argument 963 mm_fault_error(struct pt_regs *regs, unsigned long error_code, unsigned long address, vm_fault_t fault) mm_fault_error() argument 1029 spurious_kernel_fault(unsigned long error_code, unsigned long address) spurious_kernel_fault() argument 1138 fault_in_kernel_space(unsigned long address) fault_in_kernel_space() argument 1157 do_kern_addr_fault(struct pt_regs *regs, unsigned long hw_error_code, unsigned long address) do_kern_addr_fault() argument 1220 do_user_addr_fault(struct pt_regs *regs, unsigned long hw_error_code, unsigned long address) do_user_addr_fault() argument 1411 trace_page_fault_entries(struct pt_regs *regs, unsigned long error_code, unsigned long address) trace_page_fault_entries() argument 1424 handle_page_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address) handle_page_fault() argument 1450 unsigned long address = read_cr2(); DEFINE_IDTENTRY_RAW_ERRORCODE() local [all...] |
/kernel/linux/linux-6.6/arch/x86/mm/ |
H A D | fault.c | 174 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) in vmalloc_sync_one() argument 176 unsigned index = pgd_index(address); in vmalloc_sync_one() 193 p4d = p4d_offset(pgd, address); in vmalloc_sync_one() 194 p4d_k = p4d_offset(pgd_k, address); in vmalloc_sync_one() 198 pud = pud_offset(p4d, address); in vmalloc_sync_one() 199 pud_k = pud_offset(p4d_k, address); in vmalloc_sync_one() 203 pmd = pmd_offset(pud, address); in vmalloc_sync_one() 204 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one() 231 static noinline int vmalloc_fault(unsigned long address) in vmalloc_fault() argument 238 if (!(address > in vmalloc_fault() 293 dump_pagetable(unsigned long address) dump_pagetable() argument 349 dump_pagetable(unsigned long address) dump_pagetable() argument 418 is_errata93(struct pt_regs *regs, unsigned long address) is_errata93() argument 453 is_errata100(struct pt_regs *regs, unsigned long address) is_errata100() argument 463 is_f00f_bug(struct pt_regs *regs, unsigned long error_code, unsigned long address) is_f00f_bug() argument 508 show_fault_oops(struct pt_regs *regs, unsigned long error_code, unsigned long address) show_fault_oops() argument 585 pgtable_bad(struct pt_regs *regs, unsigned long error_code, unsigned long address) pgtable_bad() argument 606 sanitize_error_code(unsigned long address, unsigned long *error_code) sanitize_error_code() argument 622 set_signal_archinfo(unsigned long address, unsigned long error_code) set_signal_archinfo() argument 633 page_fault_oops(struct pt_regs *regs, unsigned long error_code, unsigned long address) page_fault_oops() argument 713 kernelmode_fixup_or_oops(struct pt_regs *regs, unsigned long error_code, unsigned long address, int signal, int si_code, u32 pkey) kernelmode_fixup_or_oops() argument 769 show_signal_msg(struct pt_regs *regs, unsigned long error_code, unsigned long address, struct task_struct *tsk) show_signal_msg() argument 802 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, unsigned long address, u32 pkey, int si_code) __bad_area_nosemaphore() argument 854 bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area_nosemaphore() argument 861 __bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address, u32 pkey, int si_code) __bad_area() argument 892 bad_area_access_error(struct pt_regs *regs, unsigned long error_code, unsigned long address, struct vm_area_struct *vma) bad_area_access_error() argument 930 do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address, vm_fault_t fault) do_sigbus() argument 1003 spurious_kernel_fault(unsigned long error_code, unsigned long address) spurious_kernel_fault() argument 1138 fault_in_kernel_space(unsigned long address) fault_in_kernel_space() argument 1157 do_kern_addr_fault(struct pt_regs *regs, unsigned long hw_error_code, unsigned long address) do_kern_addr_fault() argument 1230 do_user_addr_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address) do_user_addr_fault() argument 1471 trace_page_fault_entries(struct pt_regs *regs, unsigned long error_code, unsigned long address) trace_page_fault_entries() argument 1484 handle_page_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address) handle_page_fault() argument 1510 unsigned long address = read_cr2(); DEFINE_IDTENTRY_RAW_ERRORCODE() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | rsaddr.c | 17 * acpi_rs_convert_address16 - All WORD (16-bit) address resources 41 {ACPI_RSC_MOVE16, ACPI_RS_OFFSET(data.address16.address.granularity), 54 * acpi_rs_convert_address32 - All DWORD (32-bit) address resources 79 {ACPI_RSC_MOVE32, ACPI_RS_OFFSET(data.address32.address.granularity), 92 * acpi_rs_convert_address64 - All QWORD (64-bit) address resources 117 {ACPI_RSC_MOVE64, ACPI_RS_OFFSET(data.address64.address.granularity), 130 * acpi_rs_convert_ext_address64 - All Extended (64-bit) address resources 162 ACPI_RS_OFFSET(data.ext_address64.address.granularity), 169 * acpi_rs_convert_general_flags - Flags common to all address descriptors 174 {ACPI_RSC_FLAGINIT, 0, AML_OFFSET(address [all...] |
/kernel/linux/linux-5.10/arch/sh/mm/ |
H A 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() 176 vmalloc_fault(unsigned long address) vmalloc_fault() argument 206 show_fault_oops(struct pt_regs *regs, unsigned long address) show_fault_oops() argument 222 no_context(struct pt_regs *regs, unsigned long error_code, unsigned long address) no_context() argument 246 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, unsigned long address, int si_code) __bad_area_nosemaphore() argument 265 bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area_nosemaphore() argument 272 __bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address, int si_code) __bad_area() argument 287 bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area() argument 293 bad_area_access_error(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area_access_error() argument 300 do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address) do_sigbus() argument 315 mm_fault_error(struct pt_regs *regs, unsigned long error_code, unsigned long address, vm_fault_t fault) mm_fault_error() argument 381 fault_in_kernel_space(unsigned long address) fault_in_kernel_space() argument 391 do_page_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address) do_page_fault() argument [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | rsaddr.c | 17 * acpi_rs_convert_address16 - All WORD (16-bit) address resources 41 {ACPI_RSC_MOVE16, ACPI_RS_OFFSET(data.address16.address.granularity), 54 * acpi_rs_convert_address32 - All DWORD (32-bit) address resources 79 {ACPI_RSC_MOVE32, ACPI_RS_OFFSET(data.address32.address.granularity), 92 * acpi_rs_convert_address64 - All QWORD (64-bit) address resources 117 {ACPI_RSC_MOVE64, ACPI_RS_OFFSET(data.address64.address.granularity), 130 * acpi_rs_convert_ext_address64 - All Extended (64-bit) address resources 162 ACPI_RS_OFFSET(data.ext_address64.address.granularity), 169 * acpi_rs_convert_general_flags - Flags common to all address descriptors 174 {ACPI_RSC_FLAGINIT, 0, AML_OFFSET(address 275 struct aml_resource_address address; acpi_rs_get_address_common() local [all...] |
/kernel/linux/linux-6.6/arch/sh/mm/ |
H A 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() 176 vmalloc_fault(unsigned long address) vmalloc_fault() argument 206 show_fault_oops(struct pt_regs *regs, unsigned long address) show_fault_oops() argument 222 no_context(struct pt_regs *regs, unsigned long error_code, unsigned long address) no_context() argument 244 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, unsigned long address, int si_code) __bad_area_nosemaphore() argument 263 bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area_nosemaphore() argument 270 __bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address, int si_code) __bad_area() argument 285 bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area() argument 291 bad_area_access_error(struct pt_regs *regs, unsigned long error_code, unsigned long address) bad_area_access_error() argument 298 do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address) do_sigbus() argument 313 mm_fault_error(struct pt_regs *regs, unsigned long error_code, unsigned long address, vm_fault_t fault) mm_fault_error() argument 379 fault_in_kernel_space(unsigned long address) fault_in_kernel_space() argument 389 do_page_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address) do_page_fault() argument [all...] |
/kernel/linux/linux-5.10/arch/nios2/mm/ |
H A 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 in remap_area_pmd() 76 remap_area_pages(unsigned long address, unsigned long phys_addr, unsigned long size, unsigned long flags) remap_area_pages() argument [all...] |
/kernel/linux/linux-6.6/arch/nios2/mm/ |
H A 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 in remap_area_pmd() 76 remap_area_pages(unsigned long address, unsigned long phys_addr, unsigned long size, unsigned long flags) remap_area_pages() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | script_asm.pl | 176 # delimited list of address,size 191 $address = 0; # Address of current instruction 198 # &patch ($address, $offset, $length, $value) patches $code[$address] 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] [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | script_asm.pl | 176 # delimited list of address,size 191 $address = 0; # Address of current instruction 198 # &patch ($address, $offset, $length, $value) patches $code[$address] 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] [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_hubp.c | 74 const struct dc_plane_address *address, in hubp3_program_surface_flip_and_addr() 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() 98 /* HW automatically latch rest of address register on write to in hubp3_program_surface_flip_and_addr() 103 switch (address->type) { in hubp3_program_surface_flip_and_addr() 107 * base on address->grph.dcc_const_color 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 in hubp3_program_surface_flip_and_addr() 72 hubp3_program_surface_flip_and_addr( struct hubp *hubp, const struct dc_plane_address *address, bool flip_immediate) hubp3_program_surface_flip_and_addr() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_hubp.c | 70 const struct dc_plane_address *address, in hubp3_program_surface_flip_and_addr() 82 VMID, address->vmid); in hubp3_program_surface_flip_and_addr() 84 if (address->type == PLN_ADDR_TYPE_GRPH_STEREO) { in hubp3_program_surface_flip_and_addr() 94 /* HW automatically latch rest of address register on write to in hubp3_program_surface_flip_and_addr() 99 switch (address->type) { in hubp3_program_surface_flip_and_addr() 103 * base on address->grph.dcc_const_color in hubp3_program_surface_flip_and_addr() 108 if (address->grph.addr.quad_part == 0) in hubp3_program_surface_flip_and_addr() 112 PRIMARY_SURFACE_TMZ, address->tmz_surface, in hubp3_program_surface_flip_and_addr() 113 PRIMARY_META_SURFACE_TMZ, address->tmz_surface); in hubp3_program_surface_flip_and_addr() 115 if (address in hubp3_program_surface_flip_and_addr() 68 hubp3_program_surface_flip_and_addr( struct hubp *hubp, const struct dc_plane_address *address, bool flip_immediate) hubp3_program_surface_flip_and_addr() argument [all...] |
/kernel/linux/linux-5.10/drivers/acpi/pmic/ |
H A 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 [all...] |
/kernel/linux/linux-6.6/drivers/acpi/pmic/ |
H A 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 [all...] |
/kernel/linux/linux-5.10/arch/x86/math-emu/ |
H A D | get_address.c | 5 | Get the effective address from an FPU instruction. | 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 > limi in pm_address() 216 int address = 0; /* Initialized just to stop compiler warnings. */ FPU_get_address() local 300 int address = 0; /* Default used for mod == 0 */ FPU_get_address_16() local [all...] |
/kernel/linux/linux-6.6/arch/x86/math-emu/ |
H A D | get_address.c | 5 | Get the effective address from an FPU instruction. | 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 > limi in pm_address() 216 int address = 0; /* Initialized just to stop compiler warnings. */ FPU_get_address() local 300 int address = 0; /* Default used for mod == 0 */ FPU_get_address_16() local [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | pgtable-generic.c | 65 unsigned long address, pte_t *ptep, in ptep_set_access_flags() 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() 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_ in pmdp_set_access_flags() 64 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 78 ptep_clear_flush_young(struct vm_area_struct *vma, unsigned long address, pte_t *ptep) ptep_clear_flush_young() argument 105 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 120 pmdp_clear_flush_young(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp) pmdp_clear_flush_young() argument 133 pmdp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp) pmdp_huge_clear_flush() argument 146 pudp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, pud_t *pudp) pudp_huge_clear_flush() argument 194 pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp) pmdp_invalidate() argument 204 pmdp_collapse_flush(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp) pmdp_collapse_flush() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
H A 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, pke in bad_access_pkey() 131 bad_access(struct pt_regs *regs, unsigned long address) bad_access() argument 136 do_sigbus(struct pt_regs *regs, unsigned long address, vm_fault_t fault) do_sigbus() argument 196 bad_kernel_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address, bool is_write) bad_kernel_fault() argument 304 sanity_check_fault(bool is_write, bool is_user, unsigned long error_code, unsigned long address) sanity_check_fault() argument 389 __do_page_fault(struct pt_regs *regs, unsigned long address, unsigned long error_code) __do_page_fault() argument 543 do_page_fault(struct pt_regs *regs, unsigned long address, unsigned long error_code) do_page_fault() argument 558 bad_page_fault(struct pt_regs *regs, unsigned long address, int sig) bad_page_fault() argument [all...] |
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | cmpxchg.h | 18 __arch_xchg(unsigned long x, unsigned long address, int size) in __arch_xchg() argument 25 shift = (3 ^ (address & 3)) << 3; in __arch_xchg() 26 address ^= address & 3; in __arch_xchg() 34 : "=&d" (old), "+Q" (*(int *) address) in __arch_xchg() 39 shift = (2 ^ (address & 2)) << 3; in __arch_xchg() 40 address ^= address & 2; in __arch_xchg() 48 : "=&d" (old), "+Q" (*(int *) address) in __arch_xchg() 57 : "=&d" (old), "+Q" (*(int *) address) in __arch_xchg() 87 __cmpxchg(unsigned long address, unsigned long old, unsigned long new, int size) __cmpxchg() argument [all...] |
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | network.c | 11 /* Structure for holding inet domain socket's address. */ 14 const __be32 *address; /* In network byte order. */ member 18 /* Structure for holding unix domain socket's address. */ 24 /* Structure for holding socket address. */ 43 * tomoyo_parse_ipaddr_union - Parse an IP address. 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() 81 * tomoyo_print_ipv4 - Print an IPv4 address 363 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 383 const __be32 *address = r->param.inet_network.address; tomoyo_audit_inet_log() local 467 tomoyo_inet_entry(const struct tomoyo_addr_info *address) tomoyo_inet_entry() argument 501 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 544 tomoyo_unix_entry(const struct tomoyo_addr_info *address) tomoyo_unix_entry() argument 593 tomoyo_check_unix_address(struct sockaddr *addr, const unsigned int addr_len, struct tomoyo_addr_info *address) tomoyo_check_unix_address() argument 652 struct tomoyo_addr_info address; tomoyo_socket_listen_permission() local 689 struct tomoyo_addr_info address; tomoyo_socket_connect_permission() local 726 struct tomoyo_addr_info address; tomoyo_socket_bind_permission() local 761 struct tomoyo_addr_info address; tomoyo_socket_sendmsg_permission() local [all...] |
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | network.c | 11 /* Structure for holding inet domain socket's address. */ 14 const __be32 *address; /* In network byte order. */ member 18 /* Structure for holding unix domain socket's address. */ 24 /* Structure for holding socket address. */ 43 * tomoyo_parse_ipaddr_union - Parse an IP address. 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() 81 * tomoyo_print_ipv4 - Print an IPv4 address 363 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 383 const __be32 *address = r->param.inet_network.address; tomoyo_audit_inet_log() local 467 tomoyo_inet_entry(const struct tomoyo_addr_info *address) tomoyo_inet_entry() argument 501 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 544 tomoyo_unix_entry(const struct tomoyo_addr_info *address) tomoyo_unix_entry() argument 593 tomoyo_check_unix_address(struct sockaddr *addr, const unsigned int addr_len, struct tomoyo_addr_info *address) tomoyo_check_unix_address() argument 652 struct tomoyo_addr_info address; tomoyo_socket_listen_permission() local 689 struct tomoyo_addr_info address; tomoyo_socket_connect_permission() local 726 struct tomoyo_addr_info address; tomoyo_socket_bind_permission() local 761 struct tomoyo_addr_info address; tomoyo_socket_sendmsg_permission() local [all...] |
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
H A D | cvmx-scratch.h | 47 * @address: byte address to read from 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() 59 * @address: byte address to read from 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() 71 * @address: byte address t 75 cvmx_scratch_read32(uint64_t address) cvmx_scratch_read32() argument 87 cvmx_scratch_read64(uint64_t address) cvmx_scratch_read64() argument 98 cvmx_scratch_write8(uint64_t address, uint64_t value) cvmx_scratch_write8() argument 110 cvmx_scratch_write16(uint64_t address, uint64_t value) cvmx_scratch_write16() argument 122 cvmx_scratch_write32(uint64_t address, uint64_t value) cvmx_scratch_write32() argument 134 cvmx_scratch_write64(uint64_t address, uint64_t value) cvmx_scratch_write64() argument [all...] |
/kernel/linux/linux-6.6/arch/mips/include/asm/octeon/ |
H A D | cvmx-scratch.h | 47 * @address: byte address to read from 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() 59 * @address: byte address to read from 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() 71 * @address: byte address t 75 cvmx_scratch_read32(uint64_t address) cvmx_scratch_read32() argument 87 cvmx_scratch_read64(uint64_t address) cvmx_scratch_read64() argument 98 cvmx_scratch_write8(uint64_t address, uint64_t value) cvmx_scratch_write8() argument 110 cvmx_scratch_write16(uint64_t address, uint64_t value) cvmx_scratch_write16() argument 122 cvmx_scratch_write32(uint64_t address, uint64_t value) cvmx_scratch_write32() argument 134 cvmx_scratch_write64(uint64_t address, uint64_t value) cvmx_scratch_write64() argument [all...] |
/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | fault.c | 34 * This routine handles page faults. It determines the address, 39 unsigned long address) in __do_page_fault() 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() 38 __do_page_fault(struct pt_regs *regs, unsigned long write, unsigned long address) __do_page_fault() argument 324 do_page_fault(struct pt_regs *regs, unsigned long write, unsigned long address) do_page_fault() argument [all...] |
/kernel/linux/linux-5.10/include/asm-generic/ |
H A D | tlb.h | 310 unsigned long address, in __tlb_adjust_range() 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() 525 __tlb_adjust_range(tlb, address, size); in tlb_flush_pte_range() 530 unsigned long address, unsigned long size) in tlb_flush_pmd_range() 532 __tlb_adjust_range(tlb, address, size); in tlb_flush_pmd_range() 537 unsigned long address, unsigned long size) in tlb_flush_pud_range() 539 __tlb_adjust_range(tlb, address, size); in tlb_flush_pud_range() 544 unsigned long address, unsigne in tlb_flush_p4d_range() 309 __tlb_adjust_range(struct mmu_gather *tlb, unsigned long address, unsigned int range_size) __tlb_adjust_range() argument 522 tlb_flush_pte_range(struct mmu_gather *tlb, unsigned long address, unsigned long size) tlb_flush_pte_range() argument 529 tlb_flush_pmd_range(struct mmu_gather *tlb, unsigned long address, unsigned long size) tlb_flush_pmd_range() argument 536 tlb_flush_pud_range(struct mmu_gather *tlb, unsigned long address, unsigned long size) tlb_flush_pud_range() argument 543 tlb_flush_p4d_range(struct mmu_gather *tlb, unsigned long address, unsigned long size) tlb_flush_p4d_range() argument [all...] |