Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dregset.h67 size_t __size = sizeof(__v); \
68 if (unlikely(__size > __s->left)) { \
69 __size = __s->left; \
70 memcpy(__s->p, &__v, __size); \
74 __s->p += __size; \
75 __s->left -= __size; \
H A Dfilter.h534 const int __size = bytes_to_bpf_size(sizeof(type)); \
535 BUILD_BUG_ON(__size < 0); \
536 __size; \
541 const int __size = bytes_to_bpf_size(sizeof_field(type, field)); \
542 BUILD_BUG_ON(__size < 0); \
543 __size; \
548 const int __size = bpf_size_to_bytes(BPF_SIZE((insn)->code)); \
549 WARN_ON(__size < 0); \
550 __size; \
H A Dsocket.h154 static inline struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, in __cmsg_nxthdr() argument
160 if ((unsigned long)((char*)(__ptr+1) - (char *) __ctl) > __size) in __cmsg_nxthdr()
/linux/include/xen/interface/io/
H A Dring.h139 #define FRONT_RING_ATTACH(_r, _s, _i, __size) do { \ argument
142 (_r)->nr_ents = __RING_SIZE(_s, __size); \
146 #define FRONT_RING_INIT(_r, _s, __size) FRONT_RING_ATTACH(_r, _s, 0, __size) argument
153 #define BACK_RING_ATTACH(_r, _s, _i, __size) do { \ argument
156 (_r)->nr_ents = __RING_SIZE(_s, __size); \
160 #define BACK_RING_INIT(_r, _s, __size) BACK_RING_ATTACH(_r, _s, 0, __size) argument
/linux/arch/sparc/include/asm/
H A Dstring.h27 size_t __size = (__arg2); \
30 __retval = __memscan_zero(__addr, __size); \
32 __retval = __memscan_generic(__addr, (__char), __size); \
/linux/arch/arm/mach-sa1100/
H A Dgeneric.h17 #define SET_BANK(__nr,__start,__size) \ argument
19 mi->bank[__nr].size = (__size)
/linux/arch/arm/mach-pxa/
H A Dgeneric.h18 #define SET_BANK(__nr,__start,__size) \ argument
20 mi->bank[__nr].size = (__size)
/linux/include/linux/netfilter_arp/
H A Darp_tables.h29 #define ARPT_ENTRY_INIT(__size) \ argument
32 .next_offset = (__size), \
/linux/include/linux/netfilter_ipv4/
H A Dip_tables.h43 #define IPT_ENTRY_INIT(__size) \ argument
46 .next_offset = (__size), \
/linux/include/uapi/linux/netfilter/
H A Dx_tables.h57 #define XT_TARGET_INIT(__name, __size) \ argument
60 .target_size = XT_ALIGN(__size), \
/linux/include/uapi/linux/netfilter_ipv6/
H A Dip6_tables.h142 #define IP6T_ENTRY_INIT(__size) \ argument
145 .next_offset = (__size), \
/linux/tools/include/nolibc/
H A Dtypes.h154 int __size = (FD_SETSIZE+FD_SETBITMASK) / FD_SETIDXMASK;\
155 for (__idx = 0; __idx < __size; __idx++) \
/linux/kernel/trace/
H A Dtrace_fprobe.c282 int size, __size, dsize; in fentry_perf_func() local
290 __size = sizeof(*entry) + tf->tp.size + dsize; in fentry_perf_func()
291 size = ALIGN(__size + sizeof(u32), sizeof(u64)); in fentry_perf_func()
315 int size, __size, dsize; in fexit_perf_func() local
323 __size = sizeof(*entry) + tf->tp.size + dsize; in fexit_perf_func()
324 size = ALIGN(__size + sizeof(u32), sizeof(u64)); in fexit_perf_func()
H A Dtrace_kprobe.c1596 int size, __size, dsize; in kprobe_perf_func() local
1621 __size = sizeof(*entry) + tk->tp.size + dsize; in kprobe_perf_func()
1622 size = ALIGN(__size + sizeof(u32), sizeof(u64)); in kprobe_perf_func()
1646 int size, __size, dsize; in kretprobe_perf_func() local
1657 __size = sizeof(*entry) + tk->tp.size + dsize; in kretprobe_perf_func()
1658 size = ALIGN(__size + sizeof(u32), sizeof(u64)); in kretprobe_perf_func()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00.h84 #define GET_DURATION(__size, __rate) (((__size) * 8 * 10) / (__rate)) argument
85 #define GET_DURATION_RES(__size, __rate)(((__size) * 8 * 10) % (__rate)) argument
/linux/tools/perf/trace/beauty/include/linux/
H A Dsocket.h154 static inline struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, in __cmsg_nxthdr() argument
160 if ((unsigned long)((char*)(__ptr+1) - (char *) __ctl) > __size) in __cmsg_nxthdr()
/linux/arch/arm/include/asm/
H A Duaccess.h395 #define __put_user_nocheck(x, __pu_ptr, __err, __size) \ argument
398 __put_user_nocheck_##__size(x, __pu_addr, __err, TUSER());\
/linux/include/kunit/
H A Dtest.h803 const size_t __size = (size_); \
812 if (likely(memcmp(__left, __right, __size) op 0)) \
822 .size = __size), \
/linux/drivers/scsi/bfa/
H A Dbfa.h65 #define CQ_INCR(__index, __size) do { \ argument
67 (__index) &= ((__size) - 1); \
/linux/include/net/netfilter/
H A Dnf_tables.h532 #define nft_setelem_expr_foreach(__expr, __elem_expr, __size) \ argument
533 for (__expr = nft_setelem_expr_at(__elem_expr, 0), __size = 0; \
534 __size < (__elem_expr)->size; \
535 __size += (__expr)->ops->size, __expr = ((void *)(__expr)) + (__expr)->ops->size)
/linux/drivers/gpu/drm/display/
H A Ddrm_dp_tunnel.c89 #define __DPTUN_REG_RANGE(__start, __size) \ argument
90 GENMASK_ULL((__start) + (__size) - 1, (__start))
92 #define DPTUN_REG_RANGE(__addr, __size) \ argument
93 __DPTUN_REG_RANGE((__addr) - DP_TUNNELING_BASE, (__size))
/linux/drivers/mmc/core/
H A Dsd.c60 const int __size = size; \
61 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
67 if (__size + __shft > 32) \
H A Dmmc.c56 const int __size = size; \
57 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
63 if (__size + __shft > 32) \
/linux/mm/
H A Dslab_common.c762 #define INIT_KMALLOC_INFO(__size, __short_size) \ argument
769 .size = __size, \