Home
last modified time | relevance | path

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

12

/openbmc/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 …]
/openbmc/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 Dtimex.h153 __typeof__(s) __s = (s); \
154 __x < 0 ? -(-__x >> __s) : __x >> __s; \
H A 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 …]
H A Du64_stats_sync.h140 struct u64_stats_sync *__s = (syncp); \
141 seqcount_init(&__s->seq); \
H A Defi.h1194 typeof((p)->f(args)) __s; \
1200 __s = arch_efi_call_virt(p, f, args); \
1205 __s; \
/openbmc/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
/openbmc/linux/tools/testing/selftests/timers/
H A Draw_skew.c35 __typeof__(s) __s = (s); \
36 __x < 0 ? -(-__x >> __s) : __x >> __s; \
/openbmc/linux/arch/arm/include/asm/
H A Duaccess.h112 #define __get_user_x(__r2, __p, __e, __l, __s) \ argument
116 "bl __get_user_" #__s \
123 #define __get_user_x_32t(__r2, __p, __e, __l, __s) \ argument
134 #define __get_user_x_64t(__r2, __p, __e, __l, __s) \ argument
138 "bl __get_user_64t_" #__s \
200 #define __put_user_check(__pu_val, __ptr, __err, __s) \ argument
210 "bl __put_user_" #__s \
/openbmc/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);
/openbmc/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);
/openbmc/u-boot/arch/sh/include/asm/
H A Dstring.h88 extern void *memset(void *__s, int __c, size_t __count);
97 extern void *memchr(const void *__s, int __c, size_t __n);
/openbmc/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);
/openbmc/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;})
/openbmc/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
/openbmc/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; \
/openbmc/linux/arch/mips/include/asm/
H A Dstring.h14 extern void *memset(void *__s, int __c, size_t __count);
/openbmc/u-boot/arch/mips/include/asm/
H A Dstring.h28 extern void *memset(void *__s, int __c, __kernel_size_t __count);
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_display.h238 #define for_each_sprite(__dev_priv, __p, __s) \ argument
239 for ((__s) = 0; \
240 (__s) < DISPLAY_RUNTIME_INFO(__dev_priv)->num_sprites[(__p)]; \
241 (__s)++)
/openbmc/linux/tools/perf/util/
H A Dperf_event_attr_fprintf.c173 const char *__s = _s; \
174 if (__s == NULL) \
177 snprintf(buf, size, _f" (%s)", value, __s); \
/openbmc/linux/arch/x86/platform/efi/
H A Defi_64.c543 efi_status_t __s; \
547 __s = __efi_thunk(func); \
551 __s; \
/openbmc/linux/drivers/vdpa/mlx5/core/
H A Dmr.c14 u64 __s = _s; \
16 _res = (((_n) + (1 << (__s)) - 1) >> (__s)); \
/openbmc/linux/io_uring/
H A Drw.c712 struct io_rw_state __s, *s = &__s; in __io_read() local
903 struct io_rw_state __s, *s = &__s; in io_write() local
/openbmc/linux/tools/perf/
H A Dbuiltin-c2c.c511 #define HEX_STR(__s, __v) \ argument
513 scnprintf(__s, sizeof(__s), "0x%" PRIx64, __v); \
514 __s; \
847 #define PERC_STR(__s, __v) \ argument
849 scnprintf(__s, sizeof(__s), "%.2F%%", __v); \
850 __s; \
1365 #define HEADER_SPAN(__h0, __h1, __s) \ argument
1369 .span = __s, \
/openbmc/linux/mm/
H A Dslab.h820 #define for_each_kmem_cache_node(__s, __node, __n) \ argument
822 if ((__n = get_node(__s, __node)))

12