Home
last modified time | relevance | path

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

1234

/lib/
Dcrc32.c58 crc32_body(u32 crc, unsigned char const *buf, size_t len, const u32 (*tab)[256])
147 size_t len, const u32 (*tab)[256],
186 u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len)
190 u32 __pure __weak __crc32c_le(u32 crc, unsigned char const *p, size_t len)
195 u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len)
200 u32 __pure __weak __crc32c_le(u32 crc, unsigned char const *p, size_t len)
243 static u32 __attribute_const__ crc32_generic_shift(u32 crc, size_t len,
273 u32 __attribute_const__ crc32_le_shift(u32 crc, size_t len)
278 u32 __attribute_const__ __crc32c_le_shift(u32 crc, size_t len)
295 size_t len, const u32 (*tab)[256],
[all …]
Dkfifo.c90 unsigned int len, unsigned int off) in kfifo_copy_in()
114 const void *buf, unsigned int len) in __kfifo_in()
129 unsigned int len, unsigned int off) in kfifo_copy_out()
153 void *buf, unsigned int len) in __kfifo_out_peek()
167 void *buf, unsigned int len) in __kfifo_out()
176 const void __user *from, unsigned int len, unsigned int off, in kfifo_copy_from_user()
211 unsigned long len, unsigned int *copied) in __kfifo_from_user()
237 unsigned int len, unsigned int off, unsigned int *copied) in kfifo_copy_to_user()
271 unsigned long len, unsigned int *copied) in __kfifo_to_user()
296 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 size_t 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.c46 static unsigned int do_csum(const unsigned char *buff, int len) in do_csum()
125 __wsum csum_partial(const void *buff, int len, __wsum wsum) in csum_partial()
142 __sum16 ip_compute_csum(const void *buff, int len) in ip_compute_csum()
152 csum_partial_copy_from_user(const void __user *src, void *dst, int len, in csum_partial_copy_from_user()
172 csum_partial_copy(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy()
190 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_nofold()
Dfind_bit_benchmark.c36 static int __init test_find_first_bit(void *bitmap, unsigned long len) in test_find_first_bit()
52 static int __init test_find_next_bit(const void *bitmap, unsigned long len) in test_find_next_bit()
66 static int __init test_find_next_zero_bit(const void *bitmap, unsigned long len) in test_find_next_zero_bit()
80 static int __init test_find_last_bit(const void *bitmap, unsigned long len) in test_find_last_bit()
100 const void *bitmap2, unsigned long len) in test_find_next_and_bit()
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()
Dtest_bpf.c70 unsigned int len; member
89 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns1() local
109 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns2() local
128 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns3() local
155 unsigned int len = BPF_MAXINSNS + 1; in bpf_fill_maxinsns4() local
174 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns5() local
197 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns6() local
219 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns7() local
245 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns8() local
268 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns9() local
[all …]
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()
Dcrc-ccitt.c99 u16 crc_ccitt(u16 crc, u8 const *buffer, size_t len) in crc_ccitt()
114 u16 crc_ccitt_false(u16 crc, u8 const *buffer, size_t len) in crc_ccitt_false()
Dtest_hexdump.c67 static void __init test_hexdump_prepare_test(size_t len, int rowsize, in test_hexdump_prepare_test()
125 static void __init test_hexdump(size_t len, int rowsize, int groupsize, in test_hexdump()
152 size_t len = get_random_int() % d + 1; in test_hexdump_set() local
160 static void __init test_hexdump_overflow(size_t buflen, size_t len, in test_hexdump_overflow()
215 size_t len = get_random_int() % rs + gs; in test_hexdump_overflow_set() local
Dnlattr.c70 static int nla_validate_array(const struct nlattr *head, int len, int maxtype, in nla_validate_array()
357 static int __nla_validate_parse(const struct nlattr *head, int len, int maxtype, in __nla_validate_parse()
419 int __nla_validate(const struct nlattr *head, int len, int maxtype, in __nla_validate()
442 int i, len = 0; in nla_policy_len() local
474 const struct nlattr *head, int len, in __nla_parse()
491 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find()
525 size_t len = (srclen >= dstsize) ? dstsize - 1 : srclen; in nla_strlcpy() local
607 int len = strlen(str); in nla_strcmp() local
728 size_t len; in nla_reserve_64bit() local
853 size_t len; in nla_put_64bit() local
Dtextsearch.c200 unsigned int len; member
233 const void *data, unsigned int len) in textsearch_find_continuous()
264 unsigned int len, gfp_t gfp_mask, int flags) in textsearch_prepare()
Dpci_iomap.c34 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_range() local
74 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_wc_range() local
Dcrc-t10dif.c57 __u16 crc_t10dif_update(__u16 crc, const unsigned char *buffer, size_t len) in crc_t10dif_update()
81 __u16 crc_t10dif(const unsigned char *buffer, size_t len) in crc_t10dif()
Dcrc16.c55 u16 crc16(u16 crc, u8 const *buffer, size_t len) in crc16()
Dcrc7.c65 u8 crc7_be(u8 crc, const u8 *buffer, size_t len) in crc7_be()
Dcrc-itu-t.c57 u16 crc_itu_t(u16 crc, const u8 *buffer, size_t len) in crc_itu_t()
Dcrc64.c43 u64 __pure crc64_be(u64 crc, const void *p, size_t len) in crc64_be()
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()
Dts_kmp.c74 static inline void compute_prefix_tbl(const u8 *pattern, unsigned int len, in compute_prefix_tbl()
91 static struct ts_config *kmp_init(const void *pattern, unsigned int len, in kmp_init()
Dhexdump.c105 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer()
241 const void *buf, size_t len, bool ascii) in print_hex_dump()
Ddecompress_bunzip2.c523 static int INIT read_bunzip(struct bunzip_data *bd, char *outbuf, int len) in read_bunzip()
621 static long INIT nofill(void *buf, unsigned long len) in nofill()
629 static int INIT start_bunzip(struct bunzip_data **bdp, void *inbuf, long len, in start_bunzip()
679 STATIC int INIT bunzip2(unsigned char *buf, long len, in bunzip2()
747 STATIC int INIT __decompress(unsigned char *buf, long len, in __decompress()
/lib/reed_solomon/
Dtest_rslib.c152 int len, int errs, int eras) in get_rcw_we()
230 int len, uint16_t *syn) in compute_syndrome()
260 static void test_uc(struct rs_control *rs, int len, int errs, in test_uc()
314 int len, int trials, int method) in ex_rs_helper()
350 int len, int trials) in exercise_rs()
366 static void test_bc(struct rs_control *rs, int len, int errs, in test_bc()
408 int len, int trials) in exercise_rs_bc()
464 int len = nn - pad; in run_exercise() local
Dreed_solomon.c328 int encode_rs8(struct rs_control *rsc, uint8_t *data, int len, uint16_t *par, in encode_rs8()
361 int decode_rs8(struct rs_control *rsc, uint8_t *data, uint16_t *par, int len, in decode_rs8()
381 int encode_rs16(struct rs_control *rsc, uint16_t *data, int len, uint16_t *par, in encode_rs16()
412 int decode_rs16(struct rs_control *rsc, 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()

1234