Home
last modified time | relevance | path

Searched refs:__s (Results 1 – 23 of 23) 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/arch/riscv/include/asm/
H A Dcmpxchg.h33 ulong __s = ((ulong)(p) & (0x4 - sizeof(*p))) * BITS_PER_BYTE; \
35 << __s; \
36 ulong __newx = (ulong)(n) << __s; \
53 r = (__typeof__(*(p)))((__retx & __mask) >> __s); \
151 ulong __s = ((ulong)(p) & (0x4 - sizeof(*p))) * BITS_PER_BYTE; \
153 << __s; \
154 ulong __newx = (ulong)(n) << __s; \
155 ulong __oldx = (ulong)(o) << __s; \
175 r = (__typeof__(*(p)))((__retx & __mask) >> __s); \
374 ulong __s, __val, __mask; in __cmpwait() local
[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.h165 struct u64_stats_sync *__s = (syncp); \ in __u64_stats_irqrestore()
166 seqcount_init(&__s->seq); \ in __u64_stats_irqrestore()
/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/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.h10 extern void *memset(void *__s, int __c, size_t __count);
11 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/arch/x86/platform/efi/
H A Defi_64.c499 efi_status_t __s; \
503 __s = __efi_thunk(func); \
507 __s; \
/linux/tools/perf/
H A Dbuiltin-c2c.c532 #define HEX_STR(__s, __v) \ argument
534 scnprintf(__s, sizeof(__s), "0x%" PRIx64, __v); \
535 __s; \
868 #define PERC_STR(__s, __v) \ argument
870 scnprintf(__s, sizeof(__s), "%.2F%%", __v); \
871 __s; \
1386 #define HEADER_SPAN(__h0, __h1, __s) \ argument
1390 .span = __s, \
H A Dbuiltin-kvm.c230 #define PERC_STR(__s, __v) \ argument
232 scnprintf(__s, sizeof(__s), "%.2F%%", __v); \
233 __s; \
/linux/drivers/vdpa/mlx5/core/
H A Dmr.c14 u64 __s = _s; \
16 _res = (((_n) + (1 << (__s)) - 1) >> (__s)); \
/linux/sound/core/
H A Dpcm_native.c3095 #define snd_pcm_sync_ptr_put_user(__s, __c, __ptr) ({ \ argument
3102 unsafe_put_user(__s.state, &__src->s.status.state, failed); \
3103 unsafe_put_user(__s.hw_ptr, &__src->s.status.hw_ptr, failed); \
3104 unsafe_put_user(__s.tstamp.tv_sec, &__src->s.status.tstamp.tv_sec, failed); \
3105 unsafe_put_user(__s.tstamp.tv_nsec, &__src->s.status.tstamp.tv_nsec, failed); \
3106 unsafe_put_user(__s.suspended_state, &__src->s.status.suspended_state, failed); \
3107 unsafe_put_user(__s.audio_tstamp.tv_sec, &__src->s.status.audio_tstamp.tv_sec, failed); \
3108 unsafe_put_user(__s.audio_tstamp.tv_nsec, &__src->s.status.audio_tstamp.tv_nsec, failed);\
/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/mm/
H A Dslub.c465 #define for_each_kmem_cache_node(__s, __node, __n) \ argument
467 if ((__n = get_node(__s, __node)))
570 #define for_each_object(__p, __s, __addr, __objects) \ argument
571 for (__p = fixup_red_left(__s, __addr); \
572 __p < (__addr) + (__objects) * (__s)->size; \
573 __p += (__s)->size)
/linux/drivers/gpu/drm/xe/
H A Dxe_oa.c213 #define oa_report_header_64bit(__s) \ argument
214 ((__s)->oa_buffer.format->header == HDR_64_BIT)
/linux/drivers/gpu/drm/i915/
H A Di915_perf.c460 #define oa_report_header_64bit(__s) \ argument
461 ((__s)->oa_buffer.format->header == HDR_64_BIT)
/linux/arch/arm64/kvm/
H A Dsys_regs.c2233 u8 __s = SYS_FIELD_GET(ID_AA64MMFR0_EL1, tg, safe); \
2236 __s == __u || __u == ID_AA64MMFR0_EL1_##tg##_NI; \