Home
last modified time | relevance | path

Searched refs:__s (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h40 #define ELF_GEN_FIELD_GET_SET(__s, __field, __type) \ argument
41 static inline __type elf_##__s##_get_##__field(u8 class, const void *arg) \
44 return (__type) ((const struct elf32_##__s *) arg)->__field; \
46 return (__type) ((const struct elf64_##__s *) arg)->__field; \
48 static inline void elf_##__s##_set_##__field(u8 class, void *arg, \
52 ((struct elf32_##__s *) arg)->__field = (__type) value; \
54 ((struct elf64_##__s *) arg)->__field = (__type) value; \
87 #define ELF_STRUCT_SIZE(__s) \ in ELF_GEN_FIELD_GET_SET() argument
88 static inline unsigned long elf_size_of_##__s(u8 class) \ in ELF_GEN_FIELD_GET_SET()
91 return sizeof(struct elf32_##__s); \ in ELF_GEN_FIELD_GET_SET()
[all …]
/linux/include/linux/
H A Dregset.h64 struct membuf *__s = (s); \
65 if (__s->left) { \
68 if (unlikely(__size > __s->left)) { \
69 __size = __s->left; \
70 memcpy(__s->p, &__v, __size); \
72 *(typeof(__v + 0) *)__s->p = __v; \
74 __s->p += __size; \
75 __s->left -= __size; \
77 __s->left;})
H A Du64_stats_sync.h140 struct u64_stats_sync *__s = (syncp); \
141 seqcount_init(&__s->seq); \
H A Defi.h1185 typeof((p)->f(args)) __s; \
1191 __s = arch_efi_call_virt(p, f, args); \
1196 __s; \
/linux/arch/riscv/include/asm/
H A Dcmpxchg.h31 ulong __s = ((ulong)(p) & (0x4 - sizeof(*p))) * BITS_PER_BYTE; \
33 << __s; \
34 ulong __newx = (ulong)(n) << __s; \
50 r = (__typeof__(*(p)))((__retx & __mask) >> __s); \
147 ulong __s = ((ulong)(p) & (0x4 - sizeof(*p))) * BITS_PER_BYTE; \
149 << __s; \
150 ulong __newx = (ulong)(n) << __s; \
151 ulong __oldx = (ulong)(o) << __s; \
171 r = (__typeof__(*(p)))((__retx & __mask) >> __s); \
/linux/tools/bootconfig/scripts/
H A Dxbc.sh54 __s=`nr_args $__keys`
55 grep "^$1$3" $XBC_TMPFILE | cut -d= -f1| cut -d. -f$((__s + 1))-$((__s + $2)) | uniq
/linux/arch/arm/include/asm/
H A Duaccess.h146 #define __get_user_x(__r2, __p, __e, __l, __s) \ argument
150 "bl __get_user_" #__s \
157 #define __get_user_x_32t(__r2, __p, __e, __l, __s) \ argument
168 #define __get_user_x_64t(__r2, __p, __e, __l, __s) \ argument
172 "bl __get_user_64t_" #__s \
234 #define __put_user_check(__pu_val, __ptr, __err, __s) \ argument
244 "bl __put_user_" #__s \
/linux/tools/testing/selftests/timers/
H A Draw_skew.c33 __typeof__(s) __s = (s); \
34 __x < 0 ? -(-__x >> __s) : __x >> __s; \
/linux/arch/loongarch/include/asm/
H A Dstring.h9 extern void *memset(void *__s, int __c, size_t __count);
10 extern void *__memset(void *__s, int __c, size_t __count);
/linux/arch/sh/include/asm/
H A Dstring_32.h88 extern void *memset(void *__s, int __c, size_t __count);
97 extern void *memchr(const void *__s, int __c, size_t __n);
/linux/drivers/usb/host/
H A Disp116x.h508 #define PIPETYPE(pipe) ({ char *__s; \
509 if (usb_pipecontrol(pipe)) __s = "ctrl"; \
510 else if (usb_pipeint(pipe)) __s = "int"; \
511 else if (usb_pipebulk(pipe)) __s = "bulk"; \
512 else __s = "iso"; \
513 __s;})
/linux/arch/xtensa/include/asm/
H A Dstring.h110 extern void *memset(void *__s, int __c, size_t __count);
111 extern void *__memset(void *__s, int __c, size_t __count);
/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-regs.h99 #define SOLO_PCI_ERR_FSM0(__s) (((__s) >> 16) & 0x0f) argument
100 #define SOLO_PCI_ERR_FSM1(__s) (((__s) >> 20) & 0x0f) argument
101 #define SOLO_PCI_ERR_FSM2(__s) (((__s) >> 24) & 0x1f) argument
/linux/include/linux/surface_aggregator/
H A Dcontroller.h261 int __i, __s = 0; \
264 __s = request(args); \
265 if (__s != -ETIMEDOUT && __s != -EREMOTEIO) \
268 __s; \
/linux/arch/mips/include/asm/
H A Dstring.h14 extern void *memset(void *__s, int __c, size_t __count);
/linux/tools/perf/util/
H A Dperf_event_attr_fprintf.c174 const char *__s = _s; \
175 if (__s == NULL) \
178 snprintf(buf, size, _f" (%s)", value, __s); \ in __p_type_id()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_display.h225 #define for_each_sprite(__dev_priv, __p, __s) \ argument
226 for ((__s) = 0; \
227 (__s) < DISPLAY_RUNTIME_INFO(__dev_priv)->num_sprites[(__p)]; \
228 (__s)++)
/linux/tools/perf/
H A Dbuiltin-c2c.c494 #define HEX_STR(__s, __v) \ argument
496 scnprintf(__s, sizeof(__s), "0x%" PRIx64, __v); \
497 __s; \
830 #define PERC_STR(__s, __v) \ argument
832 scnprintf(__s, sizeof(__s), "%.2F%%", __v); \
833 __s; \
1348 #define HEADER_SPAN(__h0, __h1, __s) \ argument
1352 .span = __s, \
H A Dbuiltin-kvm.c229 #define PERC_STR(__s, __v) \ argument
231 scnprintf(__s, sizeof(__s), "%.2F%%", __v); \
232 __s; \
/linux/arch/powerpc/kernel/
H A Dsignal_32.c135 const sigset_t *__s = set; \
137 unsafe_copy_to_user(__us, __s, sizeof(*__us), label); \
/linux/lib/
H A Doverflow_kunit.c398 typeof(s) __s = (s); \
401 bool __of = check_shl_overflow(__a, __s, &__d); \
/linux/mm/
H A Dslub.c443 #define for_each_kmem_cache_node(__s, __node, __n) \ argument
445 if ((__n = get_node(__s, __node)))
573 #define for_each_object(__p, __s, __addr, __objects) \ argument
574 for (__p = fixup_red_left(__s, __addr); \
575 __p < (__addr) + (__objects) * (__s)->size; \
576 __p += (__s)->size)
/linux/drivers/gpu/drm/xe/
H A Dxe_oa.c209 #define oa_report_header_64bit(__s) \ argument
210 ((__s)->oa_buffer.format->header == HDR_64_BIT)
/linux/drivers/gpu/drm/i915/
H A Di915_perf.c459 #define oa_report_header_64bit(__s) \ argument
460 ((__s)->oa_buffer.format->header == HDR_64_BIT)