Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 69) sorted by relevance

123

/lib/
Dcrc32.c57 crc32_body(u32 crc, unsigned char const *buf, size_t len, const u32 (*tab)[256])
146 size_t len, const u32 (*tab)[256],
185 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len)
189 u32 __pure __crc32c_le(u32 crc, unsigned char const *p, size_t len)
194 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len)
199 u32 __pure __crc32c_le(u32 crc, unsigned char const *p, size_t len)
239 static u32 __attribute_const__ crc32_generic_shift(u32 crc, size_t len,
269 u32 __attribute_const__ crc32_le_shift(u32 crc, size_t len)
274 u32 __attribute_const__ __crc32c_le_shift(u32 crc, size_t len)
291 size_t len, const u32 (*tab)[256],
[all …]
Dkfifo.c104 unsigned int len, unsigned int off) in kfifo_copy_in()
128 const void *buf, unsigned int len) in __kfifo_in()
143 unsigned int len, unsigned int off) in kfifo_copy_out()
167 void *buf, unsigned int len) in __kfifo_out_peek()
181 void *buf, unsigned int len) in __kfifo_out()
190 const void __user *from, unsigned int len, unsigned int off, in kfifo_copy_from_user()
225 unsigned long len, unsigned int *copied) in __kfifo_from_user()
251 unsigned int len, unsigned int off, unsigned int *copied) in kfifo_copy_to_user()
285 unsigned long len, unsigned int *copied) in __kfifo_to_user()
310 int nents, unsigned int len) in setup_sgl_buf()
[all …]
Dseq_buf.c28 static bool seq_buf_can_fit(struct seq_buf *s, size_t len) in seq_buf_can_fit()
42 unsigned int len = seq_buf_used(s); in seq_buf_print_seq() local
59 int len; in seq_buf_vprintf() local
115 unsigned int len = seq_buf_buffer_left(s); in seq_buf_bprintf() local
143 unsigned int len = strlen(str); in seq_buf_puts() local
193 int seq_buf_putmem(struct seq_buf *s, const void *mem, unsigned int len) in seq_buf_putmem()
222 unsigned int len)
308 int len; local
Dchecksum.c50 static unsigned int do_csum(const unsigned char *buff, int len) in do_csum()
129 __wsum csum_partial(const void *buff, int len, __wsum wsum) in csum_partial()
146 __sum16 ip_compute_csum(const void *buff, int len) in ip_compute_csum()
156 csum_partial_copy_from_user(const void __user *src, void *dst, int len, in csum_partial_copy_from_user()
176 csum_partial_copy(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy()
194 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_nofold()
Dtest_bpf.c76 unsigned int len; member
95 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns1() local
115 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns2() local
134 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns3() local
161 unsigned int len = BPF_MAXINSNS + 1; in bpf_fill_maxinsns4() local
180 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns5() local
203 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns6() local
225 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns7() local
251 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns8() local
274 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns9() local
[all …]
Dsiphash.c29 #define PREAMBLE(len) \ argument
52 u64 __siphash_aligned(const void *data, size_t len, const siphash_key_t *key) in __siphash_aligned()
85 u64 __siphash_unaligned(const void *data, size_t len, const siphash_key_t *key) in __siphash_unaligned()
242 #define HPREAMBLE(len) PREAMBLE(len) argument
253 u32 __hsiphash_aligned(const void *data, size_t len, const hsiphash_key_t *key) in __hsiphash_aligned()
285 u32 __hsiphash_unaligned(const void *data, size_t len, in __hsiphash_unaligned()
400 #define HPREAMBLE(len) \ argument
421 u32 __hsiphash_aligned(const void *data, size_t len, const hsiphash_key_t *key) in __hsiphash_aligned()
443 u32 __hsiphash_unaligned(const void *data, size_t len, in __hsiphash_unaligned()
Ddecompress_inflate.c32 static long INIT nofill(void *buffer, unsigned long len) in nofill()
38 STATIC int INIT __gunzip(unsigned char *buf, long len, in __gunzip()
187 STATIC int INIT gunzip(unsigned char *buf, long len, in gunzip()
197 STATIC int INIT __decompress(unsigned char *buf, long len, in __decompress()
Dtest_hexdump.c50 static void __init test_hexdump_prepare_test(size_t len, int rowsize, in test_hexdump_prepare_test()
107 static void __init test_hexdump(size_t len, int rowsize, int groupsize, in test_hexdump()
134 size_t len = get_random_int() % d + 1; in test_hexdump_set() local
142 static void __init test_hexdump_overflow(size_t buflen, size_t len, in test_hexdump_overflow()
197 size_t len = get_random_int() % rs + gs; in test_hexdump_overflow_set() local
Dnlattr.c154 int nla_validate(const struct nlattr *head, int len, int maxtype, in nla_validate()
189 int i, len = 0; in nla_policy_len() local
218 int len, const struct nla_policy *policy, in nla_parse()
261 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find()
295 size_t len = (srclen >= dstsize) ? dstsize - 1 : srclen; in nla_strlcpy() local
377 int len = strlen(str); in nla_strcmp() local
498 size_t len; in nla_reserve_64bit() local
623 size_t len; in nla_put_64bit() local
Dparser.c35 int len = -1; in match_one() local
134 size_t len = s->to - s->from; in match_number() local
169 size_t len = s->to - s->from; in match_u64int() local
312 size_t len = ret >= size ? size - 1 : ret; in match_strlcpy() local
Dtextsearch.c198 unsigned int len; member
231 const void *data, unsigned int len) in textsearch_find_continuous()
262 unsigned int len, gfp_t gfp_mask, int flags) in textsearch_prepare()
Dcrc-t10dif.c22 __u16 crc_t10dif_update(__u16 crc, const unsigned char *buffer, size_t len) in crc_t10dif_update()
44 __u16 crc_t10dif(const unsigned char *buffer, size_t len) in crc_t10dif()
Dpci_iomap.c33 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_range() local
73 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_wc_range() local
Dhexdump.c109 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer()
245 const void *buf, size_t len, bool ascii) in print_hex_dump()
291 const void *buf, size_t len) in print_hex_dump_bytes()
Dcrc16.c57 u16 crc16(u16 crc, u8 const *buffer, size_t len) in crc16()
Dcrc7.c67 u8 crc7_be(u8 crc, const u8 *buffer, size_t len) in crc7_be()
Dcrc-ccitt.c60 u16 crc_ccitt(u16 crc, u8 const *buffer, size_t len) in crc_ccitt()
Dcrc-itu-t.c59 u16 crc_itu_t(u16 crc, const u8 *buffer, size_t len) in crc_itu_t()
Dxxhash.c102 uint32_t xxh32(const void *input, const size_t len, const uint32_t seed) in xxh32()
172 uint64_t xxh64(const void *input, const size_t len, const uint64_t seed) in xxh64()
270 int xxh32_update(struct xxh32_state *state, const void *input, const size_t len) in xxh32_update()
377 int xxh64_update(struct xxh64_state *state, const void *input, const size_t len) in xxh64_update()
Dkobject_uevent.c274 int len; in init_uevent_argv() local
476 size_t len; in kobject_uevent_env() local
515 size_t len; in kobject_uevent_env() local
616 int len; in add_uevent_var() local
Dts_kmp.c78 static inline void compute_prefix_tbl(const u8 *pattern, unsigned int len, in compute_prefix_tbl()
95 static struct ts_config *kmp_init(const void *pattern, unsigned int len, in kmp_init()
Ddecompress_bunzip2.c522 static int INIT read_bunzip(struct bunzip_data *bd, char *outbuf, int len) in read_bunzip()
620 static long INIT nofill(void *buf, unsigned long len) in nofill()
628 static int INIT start_bunzip(struct bunzip_data **bdp, void *inbuf, long len, in start_bunzip()
678 STATIC int INIT bunzip2(unsigned char *buf, long len, in bunzip2()
746 STATIC int INIT __decompress(unsigned char *buf, long len, in __decompress()
Dasn1_decoder.c66 size_t dp = *_dp, len, n; in asn1_find_indefinite_length() local
182 size_t pc = 0, dp = 0, tdp = 0, len = 0; in asn1_ber_decoder() local
/lib/reed_solomon/
Dreed_solomon.c298 int encode_rs8(struct rs_control *rs, uint8_t *data, int len, uint16_t *par, in encode_rs8()
324 int decode_rs8(struct rs_control *rs, uint8_t *data, uint16_t *par, int len, in decode_rs8()
344 int encode_rs16(struct rs_control *rs, uint16_t *data, int len, uint16_t *par, in encode_rs16()
368 int decode_rs16(struct rs_control *rs, uint16_t *data, uint16_t *par, int len, in decode_rs16()
/lib/zlib_inflate/
Dinfutil.c10 const void *buf, unsigned int len) in zlib_inflate_blob()

123