Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 1350) sorted by relevance

12345678910>>...54

/linux-3.4.99/include/linux/
Dkmemleak.h40 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
48 static inline void kmemleak_free_recursive(const void *ptr, unsigned long flags) in kmemleak_free_recursive()
54 static inline void kmemleak_erase(void **ptr) in kmemleak_erase()
64 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc()
68 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
73 static inline void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size) in kmemleak_alloc_percpu()
76 static inline void kmemleak_free(const void *ptr) in kmemleak_free()
79 static inline void kmemleak_free_part(const void *ptr, size_t size) in kmemleak_free_part()
82 static inline void kmemleak_free_recursive(const void *ptr, unsigned long flags) in kmemleak_free_recursive()
85 static inline void kmemleak_free_percpu(const void __percpu *ptr) in kmemleak_free_percpu()
[all …]
Derr.h27 static inline long __must_check PTR_ERR(const void *ptr) in PTR_ERR()
32 static inline long __must_check IS_ERR(const void *ptr) in IS_ERR()
37 static inline long __must_check IS_ERR_OR_NULL(const void *ptr) in IS_ERR_OR_NULL()
49 static inline void * __must_check ERR_CAST(const void *ptr) in ERR_CAST()
55 static inline int __must_check PTR_RET(const void *ptr) in PTR_RET()
/linux-3.4.99/arch/arm/include/asm/
Dlocks.h17 #define __down_op(ptr,fail) \ argument
35 #define __down_op_ret(ptr,fail) \ argument
57 #define __up_op(ptr,wake) \ argument
84 #define __down_op_write(ptr,fail) \ argument
102 #define __up_op_write(ptr,wake) \ argument
119 #define __down_op_read(ptr,fail) \ argument
122 #define __up_op_read(ptr,wake) \ argument
142 #define __down_op(ptr,fail) \ argument
161 #define __down_op_ret(ptr,fail) \ argument
184 #define __up_op(ptr,wake) \ argument
[all …]
Dcmpxchg.h26 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg()
103 #define xchg(ptr,x) \ argument
119 #define cmpxchg_local(ptr, o, n) \ argument
122 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
136 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
188 static inline unsigned long __cmpxchg_mb(volatile void *ptr, unsigned long old, in __cmpxchg_mb()
200 #define cmpxchg(ptr,o,n) \ argument
206 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
226 #define cmpxchg_local(ptr,o,n) \ argument
239 static inline unsigned long long __cmpxchg64(volatile void *ptr, in __cmpxchg64()
[all …]
/linux-3.4.99/drivers/gpu/drm/radeon/
Datom-bits.h28 static inline uint8_t get_u8(void *bios, int ptr) in get_u8()
32 #define U8(ptr) get_u8(ctx->ctx->bios, (ptr)) argument
33 #define CU8(ptr) get_u8(ctx->bios, (ptr)) argument
34 static inline uint16_t get_u16(void *bios, int ptr) in get_u16()
38 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) argument
39 #define CU16(ptr) get_u16(ctx->bios, (ptr)) argument
40 static inline uint32_t get_u32(void *bios, int ptr) in get_u32()
44 #define U32(ptr) get_u32(ctx->ctx->bios, (ptr)) argument
45 #define CU32(ptr) get_u32(ctx->bios, (ptr)) argument
46 #define CSTR(ptr) (((char *)(ctx->bios))+(ptr)) argument
Datom.c178 int *ptr, uint32_t *saved, int print) in atom_get_src_int()
365 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int()
401 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src()
406 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct()
433 int *ptr, uint32_t *saved, int print) in atom_get_dst()
441 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst()
449 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst()
587 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add()
601 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and()
615 static void atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) in atom_op_beep()
[all …]
/linux-3.4.99/arch/x86/include/asm/
Dcmpxchg.h40 #define __xchg_op(ptr, arg, op, lock) \ argument
76 #define xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") argument
83 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument
131 #define __cmpxchg(ptr, old, new, size) \ argument
134 #define __sync_cmpxchg(ptr, old, new, size) \ argument
137 #define __cmpxchg_local(ptr, old, new, size) \ argument
147 #define cmpxchg(ptr, old, new) \ argument
150 #define sync_cmpxchg(ptr, old, new) \ argument
153 #define cmpxchg_local(ptr, old, new) \ argument
165 #define __xadd(ptr, inc, lock) __xchg_op((ptr), (inc), xadd, lock) argument
[all …]
Dcmpxchg_32.h23 static inline void set_64bit(volatile u64 *ptr, u64 value) in set_64bit()
42 #define cmpxchg64(ptr, o, n) \ argument
45 #define cmpxchg64_local(ptr, o, n) \ argument
50 static inline u64 __cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64()
63 static inline u64 __cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64_local()
87 static inline unsigned long cmpxchg_386(volatile void *ptr, unsigned long old, in cmpxchg_386()
101 #define cmpxchg(ptr, o, n) \ argument
114 #define cmpxchg_local(ptr, o, n) \ argument
135 #define cmpxchg64(ptr, o, n) \ argument
152 #define cmpxchg64_local(ptr, o, n) \ argument
Duaccess.h121 #define __get_user_x(size, ret, x, ptr) \ argument
147 #define __get_user_8(__ret_gu, __val_gu, ptr) \ argument
150 #define __get_user_8(__ret_gu, __val_gu, ptr) \ argument
154 #define get_user(x, ptr) \ argument
181 #define __put_user_x(size, x, ptr, __ret_pu) \ argument
209 #define __put_user_x8(x, ptr, __ret_pu) \ argument
213 #define __put_user_asm_u64(x, ptr, retval, errret) \ argument
217 #define __put_user_x8(x, ptr, __ret_pu) __put_user_x(8, x, ptr, __ret_pu) argument
249 #define put_user(x, ptr) \ argument
276 #define __put_user_size(x, ptr, size, retval, errret) \ argument
[all …]
/linux-3.4.99/drivers/media/video/zoran/
Dzr36060.c76 zr36060_read (struct zr36060 *ptr, in zr36060_read()
96 zr36060_write(struct zr36060 *ptr, in zr36060_write()
121 zr36060_read_status (struct zr36060 *ptr) in zr36060_read_status()
137 zr36060_read_scalefactor (struct zr36060 *ptr) in zr36060_read_scalefactor()
154 zr36060_wait_end (struct zr36060 *ptr) in zr36060_wait_end()
176 zr36060_basic_test (struct zr36060 *ptr) in zr36060_basic_test()
206 zr36060_pushit (struct zr36060 *ptr, in zr36060_pushit()
337 zr36060_set_sof (struct zr36060 *ptr) in zr36060_set_sof()
370 zr36060_set_sos (struct zr36060 *ptr) in zr36060_set_sos()
399 zr36060_set_dri (struct zr36060 *ptr) in zr36060_set_dri()
[all …]
Dzr36050.c72 zr36050_read (struct zr36050 *ptr, in zr36050_read()
93 zr36050_write (struct zr36050 *ptr, in zr36050_write()
118 zr36050_read_status1 (struct zr36050 *ptr) in zr36050_read_status1()
134 zr36050_read_scalefactor (struct zr36050 *ptr) in zr36050_read_scalefactor()
151 zr36050_wait_end (struct zr36050 *ptr) in zr36050_wait_end()
173 zr36050_basic_test (struct zr36050 *ptr) in zr36050_basic_test()
215 zr36050_pushit (struct zr36050 *ptr, in zr36050_pushit()
346 zr36050_set_sof (struct zr36050 *ptr) in zr36050_set_sof()
378 zr36050_set_sos (struct zr36050 *ptr) in zr36050_set_sos()
406 zr36050_set_dri (struct zr36050 *ptr) in zr36050_set_dri()
[all …]
Dzr36016.c74 zr36016_read (struct zr36016 *ptr, in zr36016_read()
96 zr36016_write (struct zr36016 *ptr, in zr36016_write()
117 zr36016_readi (struct zr36016 *ptr, in zr36016_readi()
139 zr36016_writei (struct zr36016 *ptr, in zr36016_writei()
165 zr36016_read_version (struct zr36016 *ptr) in zr36016_read_version()
178 zr36016_basic_test (struct zr36016 *ptr) in zr36016_basic_test()
254 zr36016_init (struct zr36016 *ptr) in zr36016_init()
298 struct zr36016 *ptr = (struct zr36016 *) codec->data; in zr36016_set_mode() local
318 struct zr36016 *ptr = (struct zr36016 *) codec->data; in zr36016_set_video() local
356 struct zr36016 *ptr = (struct zr36016 *) codec->data; in zr36016_control() local
[all …]
/linux-3.4.99/arch/ia64/sn/pci/pcibr/
Dpcibr_reg.c28 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_control_bit_clr() local
48 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_control_bit_set() local
71 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_tflush_get() local
101 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_intr_status_get() local
126 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_intr_enable_bit_clr() local
146 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_intr_enable_bit_set() local
170 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_intr_addr_addr_set() local
199 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_force_intr_set() local
222 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_wrb_flush_get() local
247 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_int_ate_set() local
[all …]
/linux-3.4.99/arch/frv/include/asm/
Dcmpxchg.h27 #define xchg(ptr, x) \ argument
55 #define xchg(ptr, x) \ argument
72 #define tas(ptr) (xchg((ptr), 1)) argument
84 #define cmpxchg(ptr, test, new) \ argument
124 #define cmpxchg(ptr, test, new) \ argument
149 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
167 #define cmpxchg_local(ptr, o, n) \ argument
170 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
/linux-3.4.99/arch/parisc/include/asm/
Duaccess.h46 #define LDD_KERNEL(ptr) __get_kernel_bad(); argument
47 #define LDD_USER(ptr) __get_user_bad(); argument
48 #define STD_KERNEL(x, ptr) __put_kernel_asm64(x,ptr) argument
49 #define STD_USER(x, ptr) __put_user_asm64(x,ptr) argument
52 #define LDD_KERNEL(ptr) __get_kernel_asm("ldd",ptr) argument
53 #define LDD_USER(ptr) __get_user_asm("ldd",ptr) argument
54 #define STD_KERNEL(x, ptr) __put_kernel_asm("std",x,ptr) argument
55 #define STD_USER(x, ptr) __put_user_asm("std",x,ptr) argument
85 #define __get_user(x,ptr) \ argument
113 #define __get_kernel_asm(ldx,ptr) \ argument
[all …]
Dcmpxchg.h24 __xchg(unsigned long x, __volatile__ void *ptr, int size) in __xchg()
46 #define xchg(ptr, x) \ argument
62 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg()
75 #define cmpxchg(ptr, o, n) \ argument
85 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
103 #define cmpxchg_local(ptr, o, n) \ argument
107 #define cmpxchg64_local(ptr, o, n) \ argument
113 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
/linux-3.4.99/arch/blackfin/include/asm/
Dcmpxchg.h24 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg()
49 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
68 #define cmpxchg(ptr, o, n) \ argument
82 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg()
120 #define cmpxchg_local(ptr, o, n) \ argument
123 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
125 #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) argument
126 #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) argument
130 #define xchg(ptr, x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) argument
131 #define tas(ptr) ((void)xchg((ptr), 1)) argument
/linux-3.4.99/arch/s390/include/asm/
Dcmpxchg.h14 static inline unsigned long __xchg(unsigned long x, void *ptr, int size) in __xchg()
75 #define xchg(ptr, x) \ argument
93 static inline unsigned long __cmpxchg(void *ptr, unsigned long old, in __cmpxchg()
163 #define cmpxchg(ptr, o, n) \ argument
168 #define cmpxchg64(ptr, o, n) \ argument
173 static inline unsigned long long __cmpxchg64(void *ptr, in __cmpxchg64()
187 #define cmpxchg64(ptr, o, n) \ argument
195 static inline unsigned long __cmpxchg_local(void *ptr, in __cmpxchg_local()
218 #define cmpxchg_local(ptr, o, n) \ argument
222 #define cmpxchg64_local(ptr, o, n) cmpxchg64((ptr), (o), (n)) argument
/linux-3.4.99/arch/mips/include/asm/
Duaccess.h141 #define put_user(x,ptr) \ argument
161 #define get_user(x,ptr) \ argument
183 #define __put_user(x,ptr) \ argument
206 #define __get_user(x,ptr) \ argument
217 #define __GET_USER_DW(val, ptr) __get_user_asm_ll32(val, ptr) argument
220 #define __GET_USER_DW(val, ptr) __get_user_asm(val, "ld", ptr) argument
225 #define __get_user_common(val, size, ptr) \ argument
236 #define __get_user_nocheck(x, ptr, size) \ argument
245 #define __get_user_check(x, ptr, size) \ argument
311 #define __PUT_USER_DW(ptr) __put_user_asm_ll32(ptr) argument
[all …]
/linux-3.4.99/fs/xfs/
Dkmem.c36 void *ptr; in kmem_zalloc_greedy() local
53 void *ptr; in kmem_alloc() local
70 void *ptr; in kmem_zalloc() local
79 kmem_free(const void *ptr) in kmem_free()
89 kmem_realloc(const void *ptr, size_t newsize, size_t oldsize, in kmem_realloc()
109 void *ptr; in kmem_zone_alloc() local
126 void *ptr; in kmem_zone_zalloc() local
/linux-3.4.99/arch/m32r/include/asm/
Dcmpxchg.h17 __xchg(unsigned long x, volatile void *ptr, int size) in __xchg()
67 #define xchg(ptr, x) \ argument
71 __xchg_local(unsigned long x, volatile void *ptr, int size) in __xchg_local()
106 #define xchg_local(ptr, x) \ argument
178 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg()
192 #define cmpxchg(ptr, o, n) \ argument
198 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
216 #define cmpxchg_local(ptr, o, n) \ argument
219 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
/linux-3.4.99/arch/powerpc/include/asm/
Dcmpxchg.h102 __xchg(volatile void *ptr, unsigned long x, unsigned int size) in __xchg()
117 __xchg_local(volatile void *ptr, unsigned long x, unsigned int size) in __xchg_local()
130 #define xchg(ptr,x) \ argument
136 #define xchg_local(ptr,x) \ argument
244 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg()
260 __cmpxchg_local(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg_local()
275 #define cmpxchg(ptr, o, n) \ argument
284 #define cmpxchg_local(ptr, o, n) \ argument
293 #define cmpxchg64(ptr, o, n) \ argument
298 #define cmpxchg64_local(ptr, o, n) \ argument
[all …]
/linux-3.4.99/arch/xtensa/include/asm/
Dcmpxchg.h43 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg()
52 #define cmpxchg(ptr,o,n) \ argument
61 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
79 #define cmpxchg_local(ptr, o, n) \ argument
82 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
108 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) argument
119 __xchg(unsigned long x, volatile void * ptr, int size) in __xchg()
/linux-3.4.99/arch/ia64/include/asm/
Dcmpxchg.h29 #define __xchg(x, ptr, size) \ argument
55 #define xchg(ptr, x) \ argument
72 #define ia64_cmpxchg(sem, ptr, old, new, size) \ argument
116 #define cmpxchg_acq(ptr, o, n) \ argument
118 #define cmpxchg_rel(ptr, o, n) \ argument
122 #define cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) argument
123 #define cmpxchg64(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) argument
/linux-3.4.99/arch/avr32/include/asm/
Dcmpxchg.h17 #define xchg(ptr,x) \ argument
34 volatile void *ptr, in __xchg()
75 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
89 #define cmpxchg(ptr, old, new) \ argument
96 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
110 #define cmpxchg_local(ptr, old, new) \ argument
115 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument

12345678910>>...54