Home
last modified time | relevance | path

Searched refs:address_space (Results 1 – 25 of 33) sorted by relevance

12

/external/clang/test/SemaCXX/
Daddress-space-initialize.cpp3 __attribute__((address_space(42)))
6 __attribute__((address_space(42)))
9 __attribute__((address_space(42)))
12 __attribute__((address_space(42)))
15 __attribute__((address_space(42)))
19 __attribute__((address_space(9999)))
23 __attribute__((address_space(42))) int* __attribute__((address_space(42))) ptr_in_same_addr_space =…
24 __attribute__((address_space(42))) int* __attribute__((address_space(999))) ptr_in_different_addr_s…
Daddress-space-newdelete.cpp6 typedef int __attribute__((address_space(1))) int_1;
10 …(void)new __attribute__((address_space(1))) int; // expected-error{{'new' cannot allocate objects … in test_new()
12 …(void)new __attribute__((address_space(1))) int [5]; // expected-error{{'new' cannot allocate obje… in test_new()
16 …(void)new (p) __attribute__((address_space(1))) int; // expected-error{{'new' cannot allocate obje… in test_new()
18 …(void)new (p) __attribute__((address_space(1))) int [5]; // expected-error{{'new' cannot allocate … in test_new()
Daddress-space-conversion.cpp10 typedef void __attribute__((address_space(1))) *void_ptr_1;
11 typedef void __attribute__((address_space(2))) *void_ptr_2;
14 typedef int __attribute__((address_space(1))) *int_ptr_1;
15 typedef int __attribute__((address_space(2))) *int_ptr_2;
18 typedef A __attribute__((address_space(1))) *A_ptr_1;
19 typedef A __attribute__((address_space(2))) *A_ptr_2;
22 typedef B __attribute__((address_space(1))) *B_ptr_1;
23 typedef B __attribute__((address_space(2))) *B_ptr_2;
28 const int __attribute__((address_space(1))) *cip1) { in test_const_cast()
134 const void __attribute__((address_space(1))) *cvp1) { in test_reinterpret_cast()
[all …]
Daddress-space-references.cpp3 typedef int __attribute__((address_space(1))) int_1;
4 typedef int __attribute__((address_space(2))) int_2;
Dvalue-dependent-exprs.cpp38 typedef int int_a0 __attribute__((address_space(1 + B)));
/external/kernel-headers/original/linux/
Dpagemap.h22 static inline gfp_t mapping_gfp_mask(struct address_space * mapping) in mapping_gfp_mask()
31 static inline void mapping_set_gfp_mask(struct address_space *m, gfp_t mask) in mapping_set_gfp_mask()
55 extern struct page *page_cache_alloc(struct address_space *x);
56 extern struct page *page_cache_alloc_cold(struct address_space *x);
58 static inline struct page *page_cache_alloc(struct address_space *x) in page_cache_alloc()
63 static inline struct page *page_cache_alloc_cold(struct address_space *x) in page_cache_alloc_cold()
71 extern struct page * find_get_page(struct address_space *mapping,
73 extern struct page * find_lock_page(struct address_space *mapping,
76 struct address_space *mapping, unsigned long index);
77 extern struct page * find_or_create_page(struct address_space *mapping,
[all …]
Dswap.h87 struct address_space;
187 extern int remove_mapping(struct address_space *mapping, struct page *page);
218 extern struct address_space swapper_space;
226 struct address_space *);
329 struct address_space *mapping) in move_from_swap_cache()
Dfs.h533 struct address_space;
595 int (*writepages)(struct address_space *, struct writeback_control *);
600 int (*readpages)(struct file *filp, struct address_space *mapping,
603 int (*write_begin)(struct file *, struct address_space *mapping,
606 int (*write_end)(struct file *, struct address_space *mapping,
611 sector_t (*bmap)(struct address_space *, sector_t);
617 int (*get_xip_mem)(struct address_space *, pgoff_t, int,
623 int (*migratepage) (struct address_space *,
628 int (*error_remove_page)(struct address_space *, struct page *);
637 int pagecache_write_begin(struct file *, struct address_space *mapping,
[all …]
Dmm.h240 struct address_space *mapping; /* If low bit clear, points to
570 extern struct address_space swapper_space;
571 static inline struct address_space *page_mapping(struct page *page) in page_mapping()
573 struct address_space *mapping = page->mapping; in page_mapping()
704 struct address_space *check_mapping; /* Check page->mapping if set */
726 void unmap_mapping_range(struct address_space *mapping,
729 static inline void unmap_shared_mapping_range(struct address_space *mapping, in unmap_shared_mapping_range()
958 extern void truncate_inode_pages(struct address_space *, loff_t);
959 extern void truncate_inode_pages_range(struct address_space *,
976 int do_page_cache_readahead(struct address_space *mapping, struct file *filp,
[all …]
Dcompiler.h7 # define __user __attribute__((noderef, address_space(1)))
12 # define __iomem __attribute__((noderef, address_space(2)))
/external/clang/test/Sema/
Daddress_spaces.c3 #define _AS1 __attribute__((address_space(1)))
4 #define _AS2 __attribute__((address_space(2)))
5 #define _AS3 __attribute__((address_space(3)))
22 __attribute__((address_space(-1))) int *_boundsA; // expected-error {{address space is negative}} in foo()
23 __attribute__((address_space(0xFFFFFF))) int *_boundsB; in foo()
24 …__attribute__((address_space(0x1000000))) int *_boundsC; // expected-error {{address space is larg… in foo()
26 …__attribute__((address_space(4294967500))) int *_boundsD; // expected-error {{address space is lar… in foo()
33 } s __attribute ((address_space(1))) = {1, 1};
37 __attribute__((address_space(256))) void * * const base = 0;
42 __attribute__((address_space(1))) char test3_array[10];
[all …]
Dconditional-expr.c74 int __attribute__((address_space(2))) *adr2; in foo()
75 int __attribute__((address_space(3))) *adr3; in foo()
/external/clang/test/SemaTemplate/
Daddress-spaces.cpp13 typedef int __attribute__((address_space(1))) int_1;;
14 typedef int __attribute__((address_space(2))) int_2;;
15 typedef int __attribute__((address_space(1))) *int_1_ptr;
41 struct is_pointer_in_address_space_1<T __attribute__((address_space(1))) *> {
58 static __attribute__((address_space(3))) int array[17]; in test_accept_any_pointer()
66 identity<T> accept_arg_in_address_space_1(__attribute__((address_space(1))) T &ir1);
72 static int __attribute__((address_space(1))) int_1; in test_arg_in_address_space_1()
74 identity<int __attribute__((address_space(1)))> ii2 = accept_any_arg(int_1); in test_arg_in_address_space_1()
78 template<typename T> int &order1(__attribute__((address_space(1))) T&);
82 static __attribute__((address_space(1))) int i1; in test_order1()
/external/clang/test/CodeGen/
Daddress-space.c7 int foo __attribute__((address_space(1)));
10 int ban[10] __attribute__((address_space(1)));
22 __attribute__((address_space(2))) int *A, *B;
41 void test4(MyStruct __attribute__((address_space(2))) *pPtr) { in test4()
Daddress-space-field1.c26 #define __addr1 __attribute__((address_space(1)))
27 #define __addr2 __attribute__((address_space(2)))
Daddress-space-cast.c3 volatile unsigned char* const __attribute__((address_space(1))) serial_ctrl = 0x02;
Daddress-space-compound-literal.c3 typedef int a __attribute__((address_space(1)));
Datomic.c100 void addrspace(int __attribute__((address_space(256))) * P) { in addrspace()
Dcatch-undef-behavior.c99 int addr_space(int __attribute__((address_space(256))) *a) { in addr_space()
/external/clang/test/CodeGenCXX/
Dmangle-address-space.cpp6 void f0(char __attribute__((address_space(1))) *p) { } in f0()
9 typedef OpaqueType __attribute__((address_space(100))) * OpaqueTypePtr;
/external/clang/test/Parser/
Datomic.c31 typedef _Atomic int __attribute__((address_space(1))) atomic_addr_space_int;
32 typedef _Atomic(int) __attribute__((address_space(1))) atomic_addr_space_int;
/external/clang/test/PCH/
Dtypes.h4 typedef __attribute__((address_space(1))) int ASInt;
Dtypes.c11 __attribute__((address_space(1))) int int_as_one;
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
Dinvocation.cpp228 unsigned address_space = llvm::cast<llvm::PointerType>(arg_type)->getAddressSpace(); in build_module_llvm() local
229 switch (address_space) { in build_module_llvm()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/llvm/
Dinvocation.cpp228 unsigned address_space = llvm::cast<llvm::PointerType>(arg_type)->getAddressSpace(); in build_module_llvm() local
229 switch (address_space) { in build_module_llvm()

12