Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/remoteproc/
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-6.12.1/include/linux/
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;})
Dtimex.h153 __typeof__(s) __s = (s); \
154 __x < 0 ? -(-__x >> __s) : __x >> __s; \
Dcompat.h471 const sigset_t *__s = set; \
475 unsafe_put_user(__s->sig[3] >> 32, &__c->sig[7], label); \
476 unsafe_put_user(__s->sig[3], &__c->sig[6], label); \
479 unsafe_put_user(__s->sig[2] >> 32, &__c->sig[5], label); \
480 unsafe_put_user(__s->sig[2], &__c->sig[4], label); \
483 unsafe_put_user(__s->sig[1] >> 32, &__c->sig[3], label); \
484 unsafe_put_user(__s->sig[1], &__c->sig[2], label); \
487 unsafe_put_user(__s->sig[0] >> 32, &__c->sig[1], label); \
488 unsafe_put_user(__s->sig[0], &__c->sig[0], label); \
495 sigset_t *__s = set; \
[all …]
Du64_stats_sync.h140 struct u64_stats_sync *__s = (syncp); \
141 seqcount_init(&__s->seq); \
Defi.h1196 typeof((p)->f(args)) __s; \
1202 __s = arch_efi_call_virt(p, f, args); \
1207 __s; \
/linux-6.12.1/arch/riscv/include/asm/
Dcmpxchg.h19 ulong __s = ((ulong)(p) & (0x4 - sizeof(*p))) * BITS_PER_BYTE; \
21 << __s; \
22 ulong __newx = (ulong)(n) << __s; \
38 r = (__typeof__(*(p)))((__retx & __mask) >> __s); \
113 ulong __s = ((ulong)(p) & (0x4 - sizeof(*p))) * BITS_PER_BYTE; \
115 << __s; \
116 ulong __newx = (ulong)(n) << __s; \
117 ulong __oldx = (ulong)(o) << __s; \
137 r = (__typeof__(*(p)))((__retx & __mask) >> __s); \
/linux-6.12.1/tools/bootconfig/scripts/
Dxbc.sh54 __s=`nr_args $__keys`
55 grep "^$1$3" $XBC_TMPFILE | cut -d= -f1| cut -d. -f$((__s + 1))-$((__s + $2)) | uniq
/linux-6.12.1/tools/testing/selftests/timers/
Draw_skew.c35 __typeof__(s) __s = (s); \
36 __x < 0 ? -(-__x >> __s) : __x >> __s; \
/linux-6.12.1/arch/arm/include/asm/
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-6.12.1/arch/loongarch/include/asm/
Dstring.h9 extern void *memset(void *__s, int __c, size_t __count);
10 extern void *__memset(void *__s, int __c, size_t __count);
/linux-6.12.1/arch/sh/include/asm/
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-6.12.1/arch/xtensa/include/asm/
Dstring.h110 extern void *memset(void *__s, int __c, size_t __count);
111 extern void *__memset(void *__s, int __c, size_t __count);
/linux-6.12.1/drivers/usb/host/
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-6.12.1/drivers/media/pci/solo6x10/
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-6.12.1/include/linux/surface_aggregator/
Dcontroller.h261 int __i, __s = 0; \
264 __s = request(args); \
265 if (__s != -ETIMEDOUT && __s != -EREMOTEIO) \
268 __s; \
/linux-6.12.1/arch/mips/include/asm/
Dstring.h14 extern void *memset(void *__s, int __c, size_t __count);
/linux-6.12.1/tools/perf/util/
Dperf_event_attr_fprintf.c174 const char *__s = _s; \
175 if (__s == NULL) \
178 snprintf(buf, size, _f" (%s)", value, __s); \
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_display.h235 #define for_each_sprite(__dev_priv, __p, __s) \ argument
236 for ((__s) = 0; \
237 (__s) < DISPLAY_RUNTIME_INFO(__dev_priv)->num_sprites[(__p)]; \
238 (__s)++)
/linux-6.12.1/arch/x86/platform/efi/
Defi_64.c543 efi_status_t __s; \
547 __s = __efi_thunk(func); \
551 __s; \
/linux-6.12.1/tools/perf/
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, \
Dbuiltin-kvm.c229 #define PERC_STR(__s, __v) \ argument
231 scnprintf(__s, sizeof(__s), "%.2F%%", __v); \
232 __s; \
/linux-6.12.1/drivers/vdpa/mlx5/core/
Dmr.c14 u64 __s = _s; \
16 _res = (((_n) + (1 << (__s)) - 1) >> (__s)); \
/linux-6.12.1/arch/powerpc/kernel/
Dsignal_32.c135 const sigset_t *__s = set; \
137 unsafe_copy_to_user(__us, __s, sizeof(*__us), label); \
/linux-6.12.1/lib/
Doverflow_kunit.c398 typeof(s) __s = (s); \
401 bool __of = check_shl_overflow(__a, __s, &__d); \

12