Home
last modified time | relevance | path

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

12345678910>>...42

/linux-2.4.37.9/arch/alpha/mm/
Dremap.c6 remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, in remap_area_pte() argument
11 address &= ~PMD_MASK; in remap_area_pte()
12 end = address + size; in remap_area_pte()
15 if (address >= end) in remap_area_pte()
26 address += PAGE_SIZE; in remap_area_pte()
29 } while (address && (address < end)); in remap_area_pte()
34 remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, in remap_area_pmd() argument
39 address &= ~PGDIR_MASK; in remap_area_pmd()
40 end = address + size; in remap_area_pmd()
43 phys_addr -= address; in remap_area_pmd()
[all …]
/linux-2.4.37.9/arch/s390x/mm/
Dioremap.c20 static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, in remap_area_pte() argument
25 address &= ~PMD_MASK; in remap_area_pte()
26 end = address + size; in remap_area_pte()
29 if (address >= end) in remap_area_pte()
38 address += PAGE_SIZE; in remap_area_pte()
41 } while (address && (address < end)); in remap_area_pte()
44 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, in remap_area_pmd() argument
49 address &= ~PGDIR_MASK; in remap_area_pmd()
50 end = address + size; in remap_area_pmd()
53 phys_addr -= address; in remap_area_pmd()
[all …]
/linux-2.4.37.9/arch/s390/mm/
Dioremap.c20 static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, in remap_area_pte() argument
25 address &= ~PMD_MASK; in remap_area_pte()
26 end = address + size; in remap_area_pte()
29 if (address >= end) in remap_area_pte()
38 address += PAGE_SIZE; in remap_area_pte()
41 } while (address && (address < end)); in remap_area_pte()
44 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, in remap_area_pmd() argument
49 address &= ~PGDIR_MASK; in remap_area_pmd()
50 end = address + size; in remap_area_pmd()
53 phys_addr -= address; in remap_area_pmd()
[all …]
/linux-2.4.37.9/drivers/scsi/
Dscript_asm.pl221 $address = 0; # Address of current instruction
236 local ($address, $offset, $length, $value) = @_;
238 print STDERR "Patching $address at offset $offset, length $length to $value\n";
239 printf STDERR "Old code : %08x\n", $code[$address];
244 $code[$address] = ($code[$address] & ~$mask) |
245 (($code[$address] & $mask) + ($value << ($offset * 8)) &
248 printf STDERR "New code : %08x\n", $code[$address] if ($debug);
280 $tmp = ($address + $word) * 4 + $offset;
294 &patch ($address + $word, $offset, $length, $value);
307 $code[$address] |= 0x00_01_00_00;
[all …]
/linux-2.4.37.9/arch/arm/mm/
Dioremap.c34 remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, in remap_area_pte() argument
39 address &= ~PMD_MASK; in remap_area_pte()
40 end = address + size; in remap_area_pte()
43 BUG_ON(address >= end); in remap_area_pte()
49 address += PAGE_SIZE; in remap_area_pte()
52 } while (address && (address < end)); in remap_area_pte()
61 remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, in remap_area_pmd() argument
67 address &= ~PGDIR_MASK; in remap_area_pmd()
68 end = address + size; in remap_area_pmd()
73 pfn -= address >> PAGE_SHIFT; in remap_area_pmd()
[all …]
/linux-2.4.37.9/arch/sh/mm/
Dioremap.c16 static inline void remap_area_pte(pte_t * pte, unsigned long address, in remap_area_pte() argument
24 address &= ~PMD_MASK; in remap_area_pte()
25 end = address + size; in remap_area_pte()
28 if (address >= end) in remap_area_pte()
36 address += PAGE_SIZE; in remap_area_pte()
39 } while (address && (address < end)); in remap_area_pte()
42 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, in remap_area_pmd() argument
47 address &= ~PGDIR_MASK; in remap_area_pmd()
48 end = address + size; in remap_area_pmd()
51 phys_addr -= address; in remap_area_pmd()
[all …]
/linux-2.4.37.9/arch/parisc/mm/
Dioremap.c16 static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, in remap_area_pte() argument
21 address &= ~PMD_MASK; in remap_area_pte()
22 end = address + size; in remap_area_pte()
25 if (address >= end) in remap_area_pte()
34 address += PAGE_SIZE; in remap_area_pte()
37 } while (address && (address < end)); in remap_area_pte()
40 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, in remap_area_pmd() argument
45 address &= ~PGDIR_MASK; in remap_area_pmd()
46 end = address + size; in remap_area_pmd()
49 phys_addr -= address; in remap_area_pmd()
[all …]
/linux-2.4.37.9/arch/x86_64/mm/
Dioremap.c15 static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, in remap_area_pte() argument
20 address &= ~PMD_MASK; in remap_area_pte()
21 end = address + size; in remap_area_pte()
24 if (address >= end) in remap_area_pte()
33 address += PAGE_SIZE; in remap_area_pte()
36 } while (address && (address < end)); in remap_area_pte()
39 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, in remap_area_pmd() argument
44 address &= ~PGDIR_MASK; in remap_area_pmd()
45 end = address + size; in remap_area_pmd()
48 phys_addr -= address; in remap_area_pmd()
[all …]
Dfault.c66 void dump_pagetable(unsigned long address) in dump_pagetable() argument
72 pml4 += pml4_index(address); in dump_pagetable()
77 pgd_t *pgd = __pgd_offset_k((pgd_t *)pml4_page(*pml4), address); in dump_pagetable()
82 pmd_t *pmd = pmd_offset(pgd, address); in dump_pagetable()
87 pte_t *pte = pte_offset(pmd, address); in dump_pagetable()
195 unsigned long address; in do_page_fault() local
201 __asm__("movq %%cr2,%0":"=r" (address)); in do_page_fault()
209 regs->rip,regs->rsp,regs->cs,regs->ss,address,error_code); in do_page_fault()
229 ((address >= VMALLOC_START && address <= VMALLOC_END) || in do_page_fault()
230 (address >= MODULES_VADDR && address <= MODULES_END)))) in do_page_fault()
[all …]
Dpageattr.c15 static inline pte_t *lookup_address(unsigned long address) in lookup_address() argument
17 pgd_t *pgd = pgd_offset_k(address); in lookup_address()
21 pmd = pmd_offset(pgd, address); in lookup_address()
26 return pte_offset(pmd, address); in lookup_address()
29 static struct page *split_large_page(unsigned long address, pgprot_t prot) in split_large_page() argument
37 address = __pa(address); in split_large_page()
38 addr = address & LARGE_PAGE_MASK; in split_large_page()
42 addr == address ? prot : PAGE_KERNEL); in split_large_page()
47 static void flush_kernel_map(void * address) in flush_kernel_map() argument
55 asm volatile("clflush (%0)" :: "r" (address + i)); in flush_kernel_map()
[all …]
/linux-2.4.37.9/arch/cris/mm/
Dioremap.c16 extern inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, in remap_area_pte() argument
21 address &= ~PMD_MASK; in remap_area_pte()
22 end = address + size; in remap_area_pte()
25 if (address >= end) in remap_area_pte()
35 address += PAGE_SIZE; in remap_area_pte()
38 } while (address && (address < end)); in remap_area_pte()
41 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, in remap_area_pmd() argument
46 address &= ~PGDIR_MASK; in remap_area_pmd()
47 end = address + size; in remap_area_pmd()
50 phys_addr -= address; in remap_area_pmd()
[all …]
/linux-2.4.37.9/arch/mips/baget/
Dbaget.c23 static inline int alloc_area_pte(pte_t * pte, unsigned long address, in alloc_area_pte() argument
28 address &= ~PMD_MASK; in alloc_area_pte()
29 end = address + size; in alloc_area_pte()
32 while (address < end) { in alloc_area_pte()
45 address += PAGE_SIZE; in alloc_area_pte()
52 static inline int alloc_area_pmd(pmd_t * pmd, unsigned long address, in alloc_area_pmd() argument
57 address &= ~PGDIR_MASK; in alloc_area_pmd()
58 end = address + size; in alloc_area_pmd()
61 while (address < end) { in alloc_area_pmd()
62 pte_t * pte = pte_alloc_kernel(pmd, address); in alloc_area_pmd()
[all …]
/linux-2.4.37.9/arch/mips/mm/
Dioremap.c17 static inline void remap_area_pte(pte_t * pte, unsigned long address, in remap_area_pte() argument
24 address &= ~PMD_MASK; in remap_area_pte()
25 end = address + size; in remap_area_pte()
28 if (address >= end) in remap_area_pte()
36 address += PAGE_SIZE; in remap_area_pte()
39 } while (address && (address < end)); in remap_area_pte()
42 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, in remap_area_pmd() argument
47 address &= ~PGDIR_MASK; in remap_area_pmd()
48 end = address + size; in remap_area_pmd()
51 phys_addr -= address; in remap_area_pmd()
[all …]
Dremap.c38 static inline void remap_pte_range(pte_t * pte, unsigned long address, unsigned long size, in remap_pte_range() argument
43 address &= ~PMD_MASK; in remap_pte_range()
44 end = address + size; in remap_pte_range()
56 address += PAGE_SIZE; in remap_pte_range()
59 } while (address && (address < end)); in remap_pte_range()
62 static inline int remap_pmd_range(struct mm_struct *mm, pmd_t * pmd, unsigned long address, unsigne… in remap_pmd_range() argument
67 address &= ~PGDIR_MASK; in remap_pmd_range()
68 end = address + size; in remap_pmd_range()
71 phys_addr -= address; in remap_pmd_range()
73 pte_t * pte = pte_alloc(mm, pmd, address); in remap_pmd_range()
[all …]
/linux-2.4.37.9/arch/i386/math-emu/
Dget_address.c137 struct address *addr) in vm86_segment()
154 struct address *addr, long offset) in pm_address()
157 unsigned long base_address, limit, address, seg_top; in pm_address() local
194 address = base_address + offset; in pm_address()
209 (address <= limit) || (address >= seg_top) ? 0 : in pm_address()
210 ((seg_top-address) >= 255 ? 255 : seg_top-address); in pm_address()
215 (address > limit) || (address < base_address) ? 0 : in pm_address()
216 ((limit-address) >= 254 ? 255 : limit-address+1); in pm_address()
223 return address; in pm_address()
245 struct address *addr, in FPU_get_address()
[all …]
/linux-2.4.37.9/arch/i386/mm/
Dioremap.c15 static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, in remap_area_pte() argument
20 address &= ~PMD_MASK; in remap_area_pte()
21 end = address + size; in remap_area_pte()
24 if (address >= end) in remap_area_pte()
33 address += PAGE_SIZE; in remap_area_pte()
36 } while (address && (address < end)); in remap_area_pte()
39 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, in remap_area_pmd() argument
44 address &= ~PGDIR_MASK; in remap_area_pmd()
45 end = address + size; in remap_area_pmd()
48 phys_addr -= address; in remap_area_pmd()
[all …]
Dpageattr.c18 static inline pte_t *lookup_address(unsigned long address) in lookup_address() argument
21 pgd_t *pgd = pgd_offset(&init_mm, address); in lookup_address()
27 pmd = pmd_offset(pgd, address); in lookup_address()
32 return pte_offset(pmd, address); in lookup_address()
35 static struct page *split_large_page(unsigned long address, pgprot_t prot) in split_large_page() argument
43 address = __pa(address); in split_large_page()
44 addr = address & LARGE_PAGE_MASK; in split_large_page()
48 addr == address ? prot : PAGE_KERNEL); in split_large_page()
53 static void flush_kernel_map(void * address) in flush_kernel_map() argument
64 static void set_pmd_pte(pte_t *kpte, unsigned long address, pte_t pte) in set_pmd_pte() argument
[all …]
/linux-2.4.37.9/mm/
Dvmalloc.c22 static inline void free_area_pte(pmd_t * pmd, unsigned long address, unsigned long size) in free_area_pte() argument
34 pte = pte_offset(pmd, address); in free_area_pte()
35 address &= ~PMD_MASK; in free_area_pte()
36 end = address + size; in free_area_pte()
42 address += PAGE_SIZE; in free_area_pte()
53 } while (address < end); in free_area_pte()
56 static inline void free_area_pmd(pgd_t * dir, unsigned long address, unsigned long size) in free_area_pmd() argument
68 pmd = pmd_offset(dir, address); in free_area_pmd()
69 address &= ~PGDIR_MASK; in free_area_pmd()
70 end = address + size; in free_area_pmd()
[all …]
Dmemory.c64 static inline void copy_cow_page(struct page * from, struct page * to, unsigned long address) in copy_cow_page() argument
66 if (from == ZERO_PAGE(address)) { in copy_cow_page()
67 clear_user_highpage(to, address); in copy_cow_page()
70 copy_user_highpage(to, from, address); in copy_cow_page()
180 unsigned long address = vma->vm_start; in copy_page_range() local
184 src_pgd = pgd_offset(src, address)-1; in copy_page_range()
185 dst_pgd = pgd_offset(dst, address)-1; in copy_page_range()
199 skip_copy_pmd_range: address = (address + PGDIR_SIZE) & PGDIR_MASK; in copy_page_range()
200 if (!address || (address >= end)) in copy_page_range()
205 src_pmd = pmd_offset(src_pgd, address); in copy_page_range()
[all …]
/linux-2.4.37.9/arch/sparc64/mm/
Dgeneric.c41 static inline void io_remap_pte_range(pte_t * pte, unsigned long address, unsigned long size, in io_remap_pte_range() argument
46 address &= ~PMD_MASK; in io_remap_pte_range()
47 end = address + size; in io_remap_pte_range()
53 unsigned long curend = address + PAGE_SIZE; in io_remap_pte_range()
56 if (!(address & 0xffff)) { in io_remap_pte_range()
57 if (!(address & 0x3fffff) && !(offset & 0x3ffffe) && end >= address + 0x400000) { in io_remap_pte_range()
61 curend = address + 0x400000; in io_remap_pte_range()
63 } else if (!(address & 0x7ffff) && !(offset & 0x7fffe) && end >= address + 0x80000) { in io_remap_pte_range()
67 curend = address + 0x80000; in io_remap_pte_range()
69 } else if (!(offset & 0xfffe) && end >= address + 0x10000) { in io_remap_pte_range()
[all …]
/linux-2.4.37.9/arch/ia64/mm/
Dfault.c31 expand_backing_store (struct vm_area_struct *vma, unsigned long address) in expand_backing_store() argument
36 if (address - vma->vm_start > current->rlim[RLIMIT_STACK].rlim_cur in expand_backing_store()
51 mapped_kernel_page_is_present (unsigned long address) in mapped_kernel_page_is_present() argument
57 pgd = pgd_offset_k(address); in mapped_kernel_page_is_present()
61 pmd = pmd_offset(pgd,address); in mapped_kernel_page_is_present()
65 ptep = pte_offset(pmd, address); in mapped_kernel_page_is_present()
74 ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *regs) in ia64_do_page_fault() argument
94 if ((REGION_NUMBER(address) == 5) && !user_mode(regs)) in ia64_do_page_fault()
99 vma = find_vma_prev(mm, address, &prev_vma); in ia64_do_page_fault()
104 if (address < vma->vm_start) in ia64_do_page_fault()
[all …]
/linux-2.4.37.9/drivers/isdn/eicon/
Duxio.h71 void *address,
85 void UxCardMemDetach(ux_diva_card_t *card, void *address);
91 byte UxCardMemIn(ux_diva_card_t *card, void *address);
93 word UxCardMemInW(ux_diva_card_t *card, void *address);
95 dword UxCardMemInD(ux_diva_card_t *card, void *address);
98 void *address,
106 void UxCardMemOut(ux_diva_card_t *card, void *address, byte data);
108 void UxCardMemOutW(ux_diva_card_t *card, void *address, word data);
110 void UxCardMemOutD(ux_diva_card_t *card, void *address, dword data);
113 void *address,
[all …]
Dlinio.c191 void UxCardMemDetach(ux_diva_card_t *card, void *address) in UxCardMemDetach() argument
254 byte UxCardMemIn(ux_diva_card_t *card, void *address) in UxCardMemIn() argument
257 volatile byte* t = (byte*)address; in UxCardMemIn()
263 byte *a = address; in UxCardMemIn()
271 word UxCardMemInW(ux_diva_card_t *card, void *address) in UxCardMemInW() argument
274 volatile word* t = (word*)address; in UxCardMemInW()
280 byte *a = address; in UxCardMemInW()
288 dword UxCardMemInD(ux_diva_card_t *card, void *address) in UxCardMemInD() argument
291 volatile dword* t = (dword*)address; in UxCardMemInD()
297 byte *a = address; in UxCardMemInD()
[all …]
/linux-2.4.37.9/arch/sh64/mm/
Dtlbmiss.c48 __inline__ void __do_tlb_refill(unsigned long address, in __do_tlb_refill() argument
62 pteh = address & MMU_VPN_MASK; in __do_tlb_refill()
97 unsigned long address) in handle_vmalloc_fault() argument
104 dir = pgd_offset_k(address); in handle_vmalloc_fault()
105 pmd = pmd_offset(dir, address); in handle_vmalloc_fault()
115 pte = pte_offset(pmd, address); in handle_vmalloc_fault()
125 __do_tlb_refill(address, textaccess, pte); in handle_vmalloc_fault()
132 unsigned long address) in handle_tlbmiss() argument
150 if (address >= (unsigned long) TASK_SIZE) { in handle_tlbmiss()
154 dir = pgd_offset(mm, address); in handle_tlbmiss()
[all …]
/linux-2.4.37.9/drivers/acpi/tables/
Dtbget.c69 struct acpi_pointer *address, in acpi_tb_get_table() argument
82 status = acpi_tb_get_table_header (address, &header); in acpi_tb_get_table()
89 status = acpi_tb_get_table_body (address, &header, table_info); in acpi_tb_get_table()
119 struct acpi_pointer *address, in acpi_tb_get_table_header() argument
133 switch (address->pointer_type) { in acpi_tb_get_table_header()
139 ACPI_MEMCPY (return_header, address->pointer.logical, sizeof (struct acpi_table_header)); in acpi_tb_get_table_header()
147 status = acpi_os_map_memory (address->pointer.physical, sizeof (struct acpi_table_header), in acpi_tb_get_table_header()
151 ACPI_FORMAT_UINT64 (address->pointer.physical), in acpi_tb_get_table_header()
166 address->pointer_type)); in acpi_tb_get_table_header()
196 struct acpi_pointer *address, in acpi_tb_get_table_body() argument
[all …]

12345678910>>...42