Home
last modified time | relevance | path

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

/openbmc/linux/include/net/netfilter/
H A Dnf_tables_offload.h79 #define NFT_OFFLOAD_MATCH_FLAGS(__key, __base, __field, __len, __reg, __flags) \ argument
84 (__reg)->len = __len; \
88 #define NFT_OFFLOAD_MATCH(__key, __base, __field, __len, __reg) \ argument
89 NFT_OFFLOAD_MATCH_FLAGS(__key, __base, __field, __len, __reg, 0)
91 #define NFT_OFFLOAD_MATCH_EXACT(__key, __base, __field, __len, __reg) \ argument
92 NFT_OFFLOAD_MATCH(__key, __base, __field, __len, __reg) \
/openbmc/linux/include/linux/
H A Dkfifo.h667 unsigned int __len = (len); \
672 __kfifo_from_user_r(__kfifo, __from, __len, __copied, __recsize) : \
673 __kfifo_from_user(__kfifo, __from, __len, __copied); \
695 unsigned int __len = (len); \
700 __kfifo_to_user_r(__kfifo, __to, __len, __copied, __recsize) : \
701 __kfifo_to_user(__kfifo, __to, __len, __copied); \
723 unsigned int __len = (len); \
727 __kfifo_dma_in_prepare_r(__kfifo, __sgl, __nents, __len, __recsize) : \
728 __kfifo_dma_in_prepare(__kfifo, __sgl, __nents, __len); \
745 unsigned int __len = (len); \
[all …]
H A Dminmax.h190 typeof(len) __len = (len); \
191 __unqual_scalar_typeof(__array[0]) __element = __array[--__len];\
192 while (__len--) \
193 __element = op(__element, __array[__len]); \
H A Dnetdevice.h289 #define HH_DATA_OFF(__len) \ argument
290 (HH_DATA_MOD - (((__len - 1) & (HH_DATA_MOD - 1)) + 1))
291 #define HH_DATA_ALIGN(__len) \ argument
292 (((__len)+(HH_DATA_MOD-1))&~(HH_DATA_MOD - 1))
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-systemd/
H A D0001-Provide-implementation-of-strndupa-for-musl.patch30 + size_t __len = strnlen(__old, (n)); \
31 + char *__new = (char *)alloca(__len + 1); \
32 + __new[__len] = '\0'; \
33 + (char *)memcpy(__new, __old, __len); \
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-filesystems/zfs/zfs/
H A D0001-Define-strndupa-if-it-does-not-exist.patch26 + size_t __len = strnlen (__in, (n)) + 1; \
27 + char *__out = (char *) alloca (__len); \
28 + __out[__len-1] = '\0'; \
29 + (char *) memcpy (__out, __in, __len-1);}))
/openbmc/linux/arch/riscv/include/asm/
H A Dbug.h24 unsigned long __len; \
25 __len = ((insn & __INSN_LENGTH_MASK) == __INSN_LENGTH_32) ? \
27 __len; \
/openbmc/u-boot/include/test/
H A Dut.h84 const uint __len = len; \
86 if (memcmp(val1, val2, __len)) { \
89 bin2hex(__buf1, val1, min(__len, (uint)32)); \
90 bin2hex(__buf2, val2, min(__len, (uint)32)); \
/openbmc/hiomapd/vpnor/
H A Dpartition.cpp121 size_t __len = len; \
125 __len -= __accessed; \
126 __accessed = TEMP_FAILURE_RETRY(fn(fd, src, __len)); \
127 } while (__len > 0 && __accessed > 0); \
128 __len ? -1 : 0; \
/openbmc/linux/include/trace/events/
H A Dafs.h665 unsigned int __len = min_t(unsigned int, name->len, 23);
675 memcpy(__entry->name, name->name, __len);
676 __entry->name[__len] = 0;
703 unsigned int __len = min_t(unsigned int, name->len, 23);
714 memcpy(__entry->name, name->name, __len);
715 __entry->name[__len] = 0;
919 int __len = min_t(int, name->len, 23);
922 memcpy(__entry->name, name->name, __len);
923 __entry->name[__len] = 0;
957 int __len = strlen(name);
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/elfutils/files/
H A D0003-musl-utils.patch87 + size_t __len = strnlen (__in, (n)) + 1; \
88 + char *__out = (char *) alloca (__len); \
89 + __out[__len-1] = '\0'; \
90 + (char *) memcpy (__out, __in, __len-1);})
/openbmc/linux/arch/mips/include/asm/
H A Duaccess.h487 extern long __strncpy_from_user_asm(char *__to, const char __user *__from, long __len);
508 strncpy_from_user(char *__to, const char __user *__from, long __len) in strncpy_from_user() argument
512 if (!access_ok(__from, __len)) in strncpy_from_user()
523 : "r" (__to), "r" (__from), "r" (__len) in strncpy_from_user()
/openbmc/linux/drivers/net/ethernet/smsc/
H A Dsmc91x.h1052 int __len = (l); \
1054 if (__len >= 2 && (unsigned long)__ptr & 2) { \
1055 __len -= 2; \
1061 SMC_outsl(__ioaddr, DATA_REG(lp), __ptr, __len>>2); \
1062 if (__len & 2) { \
1063 __ptr += (__len & ~3); \
1076 int __len = (l); \
1093 __len += 2; \
1099 __len += 2; \
1100 SMC_insl(__ioaddr, DATA_REG(lp), __ptr, __len>>2); \
/openbmc/linux/drivers/media/i2c/ccs/
H A Dccs-data.c62 ccs_data_parse_length_specifier(const struct __ccs_data_length_specifier *__len, in ccs_data_parse_length_specifier() argument
68 if (!is_contained(__len, endp)) in ccs_data_parse_length_specifier()
71 switch (__len->length >> CCS_DATA_LENGTH_SPECIFIER_SIZE_SHIFT) { in ccs_data_parse_length_specifier()
73 hlen = sizeof(*__len); in ccs_data_parse_length_specifier()
74 plen = __len->length & in ccs_data_parse_length_specifier()
78 struct __ccs_data_length_specifier2 *__len2 = (void *)__len; in ccs_data_parse_length_specifier()
91 struct __ccs_data_length_specifier3 *__len3 = (void *)__len; in ccs_data_parse_length_specifier()
107 if (!has_headroom(__len, hlen + plen, endp)) in ccs_data_parse_length_specifier()
/openbmc/linux/fs/
H A Dd_path.c16 #define DECLARE_BUFFER(__name, __buf, __len) \ argument
17 struct prepend_buffer __name = {.buf = __buf + __len, .len = __len}
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-extended/kronosnet/kronosnet/
H A D0001-links.c-Fix-build-with-gcc-12.patch8 | 59 | return __builtin___memset_chk (__dest, __ch, __len,
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/bearssl/bearssl/
H A D0002-test-test_x509.c-fix-potential-overflow-issue.patch17 | 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc.h59 #define bfa_alen_set(__alen, __len, __pa) \ argument
60 __bfa_alen_set(__alen, __len, (u64)__pa)
/openbmc/linux/arch/nios2/include/asm/
H A Duaccess.h64 long __len);
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dtrace.h71 #define trace_mt_submit_urb_sync(__dev, __pipe, __len) ({ \ argument
74 u.transfer_buffer_length = __len; \
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0003-src-basic-missing.h-check-for-missing-strndupa.patch151 + size_t __len = strnlen(__old, (n)); \
152 + char *__new = (char *)alloca(__len + 1); \
153 + __new[__len] = '\0'; \
154 + (char *)memcpy(__new, __old, __len); \
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste.c800 size_t __len = (len); \
801 memcpy(__to, __from, __len); \
803 memset(__from, 0, __len); \
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_ioc.h184 #define bfa_alen_set(__alen, __len, __pa) \ argument
185 __bfa_alen_set(__alen, __len, (u64)__pa)
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__meta.hpp269 constexpr std::size_t __len = _Len < _OtherLen ? _Len : _OtherLen; in operator <=>() local
270 for (std::size_t __i = 0; __i < __len; ++__i) in operator <=>()
/openbmc/linux/drivers/ufs/core/
H A Dufshcd.c123 size_t __len = (len); \
125 __len > 4 ? DUMP_PREFIX_OFFSET : DUMP_PREFIX_NONE,\
126 16, 4, buf, __len, false); \