Home
last modified time | relevance | path

Searched refs:__ptr (Results 1 – 8 of 8) sorted by relevance

/include/linux/
Dcompiler-gcc.h33 unsigned long __ptr; \
34 __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
35 (typeof(ptr)) (__ptr + (off)); \
Doverflow.h98 typeof(var) *__ptr = &(var); \
99 *__ptr = wrapping_add(typeof(var), *__ptr, offset); \
144 typeof(var) *__ptr = &(var); \
145 *__ptr = wrapping_sub(typeof(var), *__ptr, offset); \
Dcompiler.h153 ({ unsigned long __ptr; \
154 __ptr = (unsigned long) (ptr); \
155 (typeof(ptr)) (__ptr + (off)); })
Dcleanup.h204 __auto_type __ptr = &(p); \
205 __auto_type __val = *__ptr; \
206 *__ptr = nullvalue; \
Drculist.h355 struct list_head *__ptr = (ptr); \
356 struct list_head *__next = READ_ONCE(__ptr->next); \
357 likely(__ptr != __next) ? list_entry_rcu(__next, type, member) : NULL; \
375 struct list_head *__ptr = (ptr); \
376 struct list_head *__next = READ_ONCE(__ptr->next); \
Dsocket.h157 struct cmsghdr * __ptr; in __cmsg_nxthdr() local
159 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len)); in __cmsg_nxthdr()
160 if ((unsigned long)((char*)(__ptr+1) - (char *) __ctl) > __size) in __cmsg_nxthdr()
163 return __ptr; in __cmsg_nxthdr()
Dstring.h506 u8 *__ptr = (u8 *)(obj); \
508 memset(__ptr + offsetofend(typeof(*(obj)), member), __val, \
524 u8 *__ptr = (u8 *)(obj); \
526 memset(__ptr + offsetof(typeof(*(obj)), member), __val, \
/include/kunit/
Dtest.h908 const typeof(ptr) __ptr = (ptr); \
911 if (!IS_ERR_OR_NULL(__ptr)) \
918 KUNIT_INIT_ASSERT(.text = #ptr, .value = __ptr), \