Home
last modified time | relevance | path

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

12345678910>>...52

/linux-2.6.39/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 …]
/linux-2.6.39/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()
360 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int()
396 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src()
401 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct()
428 int *ptr, uint32_t *saved, int print) in atom_get_dst()
436 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst()
444 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst()
578 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add()
592 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and()
606 static void atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) in atom_op_beep()
[all …]
/linux-2.6.39/include/linux/
Dkmemleak.h38 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
46 static inline void kmemleak_free_recursive(const void *ptr, unsigned long flags) in kmemleak_free_recursive()
52 static inline void kmemleak_erase(void **ptr) in kmemleak_erase()
62 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc()
66 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
71 static inline void kmemleak_free(const void *ptr) in kmemleak_free()
74 static inline void kmemleak_free_part(const void *ptr, size_t size) in kmemleak_free_part()
77 static inline void kmemleak_free_recursive(const void *ptr, unsigned long flags) in kmemleak_free_recursive()
80 static inline void kmemleak_not_leak(const void *ptr) in kmemleak_not_leak()
83 static inline void kmemleak_ignore(const void *ptr) in kmemleak_ignore()
[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-2.6.39/arch/x86/include/asm/
Dcmpxchg_32.h19 #define __xchg(x, ptr, size) \ argument
56 #define xchg(ptr, v) \ argument
73 static inline void set_64bit(volatile u64 *ptr, u64 value) in set_64bit()
94 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument
133 #define __cmpxchg(ptr, old, new, size) \ argument
136 #define __sync_cmpxchg(ptr, old, new, size) \ argument
139 #define __cmpxchg_local(ptr, old, new, size) \ argument
145 #define cmpxchg(ptr, old, new) \ argument
148 #define sync_cmpxchg(ptr, old, new) \ argument
151 #define cmpxchg_local(ptr, old, new) \ argument
[all …]
Dcmpxchg_64.h6 static inline void set_64bit(volatile u64 *ptr, u64 val) in set_64bit()
20 #define __xchg(x, ptr, size) \ argument
66 #define xchg(ptr, v) \ argument
76 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument
124 #define __cmpxchg(ptr, old, new, size) \ argument
127 #define __sync_cmpxchg(ptr, old, new, size) \ argument
130 #define __cmpxchg_local(ptr, old, new, size) \ argument
133 #define cmpxchg(ptr, old, new) \ argument
136 #define sync_cmpxchg(ptr, old, new) \ argument
139 #define cmpxchg_local(ptr, old, new) \ argument
[all …]
Duaccess.h122 #define __get_user_x(size, ret, x, ptr) \ argument
148 #define __get_user_8(__ret_gu, __val_gu, ptr) \ argument
151 #define __get_user_8(__ret_gu, __val_gu, ptr) \ argument
155 #define get_user(x, ptr) \ argument
182 #define __put_user_x(size, x, ptr, __ret_pu) \ argument
210 #define __put_user_x8(x, ptr, __ret_pu) \ argument
214 #define __put_user_asm_u64(x, ptr, retval, errret) \ argument
218 #define __put_user_x8(x, ptr, __ret_pu) __put_user_x(8, x, ptr, __ret_pu) argument
250 #define put_user(x, ptr) \ argument
277 #define __put_user_size(x, ptr, size, retval, errret) \ argument
[all …]
/linux-2.6.39/drivers/media/video/zoran/
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 …]
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 …]
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-2.6.39/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-2.6.39/arch/parisc/include/asm/
Duaccess.h47 #define LDD_KERNEL(ptr) __get_kernel_bad(); argument
48 #define LDD_USER(ptr) __get_user_bad(); argument
49 #define STD_KERNEL(x, ptr) __put_kernel_asm64(x,ptr) argument
50 #define STD_USER(x, ptr) __put_user_asm64(x,ptr) argument
53 #define LDD_KERNEL(ptr) __get_kernel_asm("ldd",ptr) argument
54 #define LDD_USER(ptr) __get_user_asm("ldd",ptr) argument
55 #define STD_KERNEL(x, ptr) __put_kernel_asm("std",x,ptr) argument
56 #define STD_USER(x, ptr) __put_user_asm("std",x,ptr) argument
86 #define __get_user(x,ptr) \ argument
114 #define __get_kernel_asm(ldx,ptr) \ argument
[all …]
/linux-2.6.39/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
174 static inline unsigned long long __cmpxchg64(void *ptr, in __cmpxchg64()
188 #define cmpxchg64(ptr, o, n) \ argument
196 static inline unsigned long __cmpxchg_local(void *ptr, in __cmpxchg_local()
219 #define cmpxchg_local(ptr, o, n) \ argument
223 #define cmpxchg64_local(ptr, o, n) cmpxchg64((ptr), (o), (n)) argument
/linux-2.6.39/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 …]
Dcmpxchg.h72 #define __cmpxchg(ptr, old, new, pre_barrier, post_barrier) \ argument
101 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_mb__before_llsc(), smp_llsc_mb()) argument
102 #define cmpxchg_local(ptr, old, new) __cmpxchg(ptr, old, new, , ) argument
104 #define cmpxchg64(ptr, o, n) \ argument
111 #define cmpxchg64_local(ptr, o, n) \ argument
118 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
/linux-2.6.39/fs/xfs/linux-2.6/
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-2.6.39/arch/powerpc/include/asm/
Duaccess.h105 #define get_user(x, ptr) \ argument
107 #define put_user(x, ptr) \ argument
110 #define __get_user(x, ptr) \ argument
112 #define __put_user(x, ptr) \ argument
116 #define __get_user64(x, ptr) \ argument
118 #define __put_user64(x, ptr) __put_user(x, ptr) argument
121 #define __get_user_inatomic(x, ptr) \ argument
123 #define __put_user_inatomic(x, ptr) \ argument
152 #define __put_user_asm2(x, ptr, retval) \ argument
173 #define __put_user_size(x, ptr, size, retval) \ argument
[all …]
/linux-2.6.39/arch/avr32/include/asm/
Duaccess.h111 #define put_user(x,ptr) \ argument
131 #define get_user(x,ptr) \ argument
153 #define __put_user(x,ptr) \ argument
176 #define __get_user(x,ptr) \ argument
182 #define __get_user_nocheck(x, ptr, size) \ argument
198 #define __get_user_check(x, ptr, size) \ argument
229 #define __get_user_asm(suffix, __gu_val, ptr, __gu_err) \ argument
243 #define __put_user_nocheck(x, ptr, size) \ argument
259 #define __put_user_check(x, ptr, size) \ argument
294 #define __put_user_asm(suffix, ptr, __pu_val, __gu_err) \ argument
/linux-2.6.39/include/linux/unaligned/
Dpacked_struct.h12 const struct __una_u16 *ptr = (const struct __una_u16 *)p; in __get_unaligned_cpu16() local
18 const struct __una_u32 *ptr = (const struct __una_u32 *)p; in __get_unaligned_cpu32() local
24 const struct __una_u64 *ptr = (const struct __una_u64 *)p; in __get_unaligned_cpu64() local
30 struct __una_u16 *ptr = (struct __una_u16 *)p; in __put_unaligned_cpu16() local
36 struct __una_u32 *ptr = (struct __una_u32 *)p; in __put_unaligned_cpu32() local
42 struct __una_u64 *ptr = (struct __una_u64 *)p; in __put_unaligned_cpu64() local
Dgeneric.h10 #define __get_unaligned_le(ptr) ((__force typeof(*(ptr)))({ \ argument
18 #define __get_unaligned_be(ptr) ((__force typeof(*(ptr)))({ \ argument
26 #define __put_unaligned_le(val, ptr) ({ \ argument
47 #define __put_unaligned_be(val, ptr) ({ \ argument
/linux-2.6.39/arch/parisc/lib/
Dbitops.c21 unsigned long __xchg64(unsigned long x, unsigned long *ptr) in __xchg64()
33 unsigned long __xchg32(int x, int *ptr) in __xchg32()
46 unsigned long __xchg8(char x, char *ptr) in __xchg8()
60 unsigned long __cmpxchg_u64(volatile unsigned long *ptr, unsigned long old, unsigned long new) in __cmpxchg_u64()
73 unsigned long __cmpxchg_u32(volatile unsigned int *ptr, unsigned int old, unsigned int new) in __cmpxchg_u32()
/linux-2.6.39/arch/blackfin/include/asm/
Dsystem.h52 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg()
77 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg()
96 #define cmpxchg(ptr, o, n) \ argument
114 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg()
152 #define cmpxchg_local(ptr, o, n) \ argument
155 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
161 #define xchg(ptr, x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) argument
162 #define tas(ptr) ((void)xchg((ptr), 1)) argument
/linux-2.6.39/arch/xtensa/include/asm/
Dsystem.h75 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg()
84 #define cmpxchg(ptr,o,n) \ argument
93 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local()
111 #define cmpxchg_local(ptr, o, n) \ argument
114 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
140 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) argument
151 __xchg(unsigned long x, volatile void * ptr, int size) in __xchg()
/linux-2.6.39/arch/m68k/include/asm/
Dsystem_mm.h66 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) argument
72 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) in __xchg()
102 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) in __xchg()
136 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
169 #define cmpxchg(ptr, o, n) \ argument
172 #define cmpxchg_local(ptr, o, n) \ argument
181 #define cmpxchg_local(ptr, o, n) \ argument

12345678910>>...52