Home
last modified time | relevance | path

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

/include/linux/
A Dcompiler-gcc.h33 unsigned long __ptr; \
34 __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
35 (typeof(ptr)) (__ptr + (off)); \
A 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); \
A Dcompiler.h153 ({ unsigned long __ptr; \
154 __ptr = (unsigned long) (ptr); \
155 (typeof(ptr)) (__ptr + (off)); })
A Drculist.h399 struct list_head *__ptr = (ptr); \
400 struct list_head *__next = READ_ONCE(__ptr->next); \
401 likely(__ptr != __next) ? list_entry_rcu(__next, type, member) : NULL; \
419 struct list_head *__ptr = (ptr); \
420 struct list_head *__next = READ_ONCE(__ptr->next); \
A 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()
A Dstring.h510 u8 *__ptr = (u8 *)(obj); \
512 memset(__ptr + offsetofend(typeof(*(obj)), member), __val, \
528 u8 *__ptr = (u8 *)(obj); \
530 memset(__ptr + offsetof(typeof(*(obj)), member), __val, \
A Dcleanup.h217 __auto_type __ptr = &(p); \
218 __auto_type __val = *__ptr; \
219 *__ptr = nullvalue; \
/include/kunit/
A Dtest.h913 const typeof(ptr) __ptr = (ptr); \
916 if (!IS_ERR_OR_NULL(__ptr)) \
923 KUNIT_INIT_ASSERT(.text = #ptr, .value = __ptr), \

Completed in 55 milliseconds