Home
last modified time | relevance | path

Searched refs:address (Results 1 – 25 of 3372) sorted by relevance

12345678910>>...135

/Linux-v5.4/arch/x86/mm/
Dfault.c149 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) in vmalloc_sync_one() argument
151 unsigned index = pgd_index(address); in vmalloc_sync_one()
168 p4d = p4d_offset(pgd, address); in vmalloc_sync_one()
169 p4d_k = p4d_offset(pgd_k, address); in vmalloc_sync_one()
173 pud = pud_offset(p4d, address); in vmalloc_sync_one()
174 pud_k = pud_offset(p4d_k, address); in vmalloc_sync_one()
178 pmd = pmd_offset(pud, address); in vmalloc_sync_one()
179 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one()
194 unsigned long address; in vmalloc_sync_all() local
199 for (address = VMALLOC_START & PMD_MASK; in vmalloc_sync_all()
[all …]
/Linux-v5.4/drivers/acpi/pmic/
Dintel_pmic_bxtwc.c29 .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 …]
Dintel_pmic_crc.c26 .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 …]
Dintel_pmic_chtwc.c75 .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 …]
Dintel_pmic_xpower.c31 .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 …]
Dintel_pmic_chtdc_ti.c23 { .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 …]
Dtps68470_pmic.c19 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-v5.4/drivers/scsi/
Dscript_asm.pl191 $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 …]
/Linux-v5.4/drivers/acpi/acpica/
Drsaddr.c41 {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 …]
Dhwvalid.c18 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-v5.4/arch/sh/mm/
Dfault.c28 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()
106 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) in vmalloc_sync_one() argument
108 unsigned index = pgd_index(address); in vmalloc_sync_one()
119 pud = pud_offset(pgd, address); in vmalloc_sync_one()
120 pud_k = pud_offset(pgd_k, address); in vmalloc_sync_one()
127 pmd = pmd_offset(pud, address); in vmalloc_sync_one()
128 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one()
156 static noinline int vmalloc_fault(unsigned long address) in vmalloc_fault() argument
163 if (!(address >= VMALLOC_START && address < __FAULT_ADDR_LIMIT)) in vmalloc_fault()
[all …]
/Linux-v5.4/arch/nios2/mm/
Dioremap.c22 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-v5.4/mm/
Dpgtable-generic.c56 unsigned long address, pte_t *ptep, in ptep_set_access_flags() argument
61 set_pte_at(vma->vm_mm, address, ptep, entry); in ptep_set_access_flags()
62 flush_tlb_fix_spurious_fault(vma, address); in ptep_set_access_flags()
70 unsigned long address, pte_t *ptep) in ptep_clear_flush_young() argument
73 young = ptep_test_and_clear_young(vma, address, ptep); in ptep_clear_flush_young()
75 flush_tlb_page(vma, address); in ptep_clear_flush_young()
81 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush() argument
86 pte = ptep_get_and_clear(mm, address, ptep); in ptep_clear_flush()
88 flush_tlb_page(vma, address); in ptep_clear_flush()
97 unsigned long address, pmd_t *pmdp, in pmdp_set_access_flags() argument
[all …]
/Linux-v5.4/arch/mips/mm/
Dioremap.c21 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 …]
Dfault.c39 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-v5.4/arch/powerpc/mm/
Dfault.c83 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long address, int si_code) in __bad_area_nosemaphore() argument
93 _exception(SIGSEGV, regs, si_code, address); in __bad_area_nosemaphore()
98 static noinline int bad_area_nosemaphore(struct pt_regs *regs, unsigned long address) in bad_area_nosemaphore() argument
100 return __bad_area_nosemaphore(regs, address, SEGV_MAPERR); in bad_area_nosemaphore()
103 static int __bad_area(struct pt_regs *regs, unsigned long address, int si_code) in __bad_area() argument
113 return __bad_area_nosemaphore(regs, address, si_code); in __bad_area()
116 static noinline int bad_area(struct pt_regs *regs, unsigned long address) in bad_area() argument
118 return __bad_area(regs, address, SEGV_MAPERR); in bad_area()
121 static int bad_key_fault_exception(struct pt_regs *regs, unsigned long address, in bad_key_fault_exception() argument
132 _exception_pkey(regs, address, pkey); in bad_key_fault_exception()
[all …]
/Linux-v5.4/arch/x86/math-emu/
Dget_address.c123 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-v5.4/security/tomoyo/
Dnetwork.c14 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-v5.4/arch/mips/include/asm/octeon/
Dcvmx-scratch.h51 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 …]
/Linux-v5.4/arch/s390/mm/
Dvmem.c74 unsigned long address = start; in vmem_add_mem() local
91 while (address < end) { in vmem_add_mem()
92 pg_dir = pgd_offset_k(address); in vmem_add_mem()
99 p4_dir = p4d_offset(pg_dir, address); in vmem_add_mem()
106 pu_dir = pud_offset(p4_dir, address); in vmem_add_mem()
107 if (MACHINE_HAS_EDAT2 && pud_none(*pu_dir) && address && in vmem_add_mem()
108 !(address & ~PUD_MASK) && (address + PUD_SIZE <= end) && in vmem_add_mem()
110 pud_val(*pu_dir) = address | r3_prot; in vmem_add_mem()
111 address += PUD_SIZE; in vmem_add_mem()
121 pm_dir = pmd_offset(pu_dir, address); in vmem_add_mem()
[all …]
/Linux-v5.4/arch/xtensa/mm/
Dfault.c41 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-v5.4/arch/ia64/mm/
Dfault.c29 mapped_kernel_page_is_present (unsigned long address) in mapped_kernel_page_is_present() argument
36 pgd = pgd_offset_k(address); in mapped_kernel_page_is_present()
40 pud = pud_offset(pgd, address); in mapped_kernel_page_is_present()
44 pmd = pmd_offset(pud, address); in mapped_kernel_page_is_present()
48 ptep = pte_offset_kernel(pmd, address); in mapped_kernel_page_is_present()
61 ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *regs) in ia64_do_page_fault() argument
90 if ((REGION_NUMBER(address) == 5) && !user_mode(regs)) in ia64_do_page_fault()
107 vma = find_vma_prev(mm, address, &prev_vma); in ia64_do_page_fault()
118 if (( !vma && prev_vma ) || (address < vma->vm_start) ) in ia64_do_page_fault()
142 fault = handle_mm_fault(vma, address, flags); in ia64_do_page_fault()
[all …]
/Linux-v5.4/arch/arc/mm/
Dfault.c26 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 pud = pud_offset(pgd, address); in handle_kernel_vaddr_fault()
43 pud_k = pud_offset(pgd_k, address); in handle_kernel_vaddr_fault()
47 pmd = pmd_offset(pud, address); in handle_kernel_vaddr_fault()
48 pmd_k = pmd_offset(pud_k, address); in handle_kernel_vaddr_fault()
61 void do_page_fault(unsigned long address, struct pt_regs *regs) in do_page_fault() argument
77 if (address >= VMALLOC_START && !user_mode(regs)) { in do_page_fault()
78 if (unlikely(handle_kernel_vaddr_fault(address))) in do_page_fault()
[all …]
/Linux-v5.4/arch/arm/boot/dts/
Daspeed-bmc-facebook-minipack.dts163 #address-cells = <1>;
168 #address-cells = <1>;
174 #address-cells = <1>;
180 #address-cells = <1>;
186 #address-cells = <1>;
192 #address-cells = <1>;
198 #address-cells = <1>;
204 #address-cells = <1>;
210 #address-cells = <1>;
243 #address-cells = <1>;
[all …]
/Linux-v5.4/arch/arc/kernel/
Dtraps.c28 void die(const char *str, struct pt_regs *regs, unsigned long address) in die() argument
30 show_kernel_fault_diag(str, regs, address); in die()
64 int name(unsigned long address, struct pt_regs *regs) \
67 (void __user *)address); \
84 int do_misaligned_access(unsigned long address, struct pt_regs *regs, in do_misaligned_access() argument
88 if (misaligned_fixup(address, regs, cregs) != 0) in do_misaligned_access()
89 return do_misaligned_error(address, regs); in do_misaligned_access()
98 void do_machine_check_fault(unsigned long address, struct pt_regs *regs) in do_machine_check_fault() argument
100 die("Unhandled Machine Check Exception", regs, address); in do_machine_check_fault()
115 void do_non_swi_trap(unsigned long address, struct pt_regs *regs) in do_non_swi_trap() argument
[all …]

12345678910>>...135