Home
last modified time | relevance | path

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

123

/lib/
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.c27 static bool seq_buf_can_fit(struct seq_buf *s, size_t len) in seq_buf_can_fit()
41 unsigned int len = seq_buf_used(s); in seq_buf_print_seq() local
58 int len; in seq_buf_vprintf() local
114 unsigned int len = seq_buf_buffer_left(s); in seq_buf_bprintf() local
142 unsigned int len = strlen(str); in seq_buf_puts() local
192 int seq_buf_putmem(struct seq_buf *s, const void *mem, unsigned int len) in seq_buf_putmem()
221 unsigned int len)
311 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 unsigned short len, in csum_tcpudp_nofold()
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 …]
Ddecompress_inflate.c31 static long INIT nofill(void *buffer, unsigned long len) in nofill()
37 STATIC int INIT __gunzip(unsigned char *buf, long len, in __gunzip()
186 STATIC int INIT gunzip(unsigned char *buf, long len, in gunzip()
196 STATIC int INIT __decompress(unsigned char *buf, long len, in __decompress()
Dsiphash.c29 #define PREAMBLE(len) \ argument
53 u64 __siphash_aligned(const void *data, size_t len, const siphash_key_t *key) in __siphash_aligned()
86 u64 __siphash_unaligned(const void *data, size_t len, const siphash_key_t *key) in __siphash_unaligned()
242 #define HPREAMBLE(len) PREAMBLE(len) argument
254 u32 __hsiphash_aligned(const void *data, size_t len, const hsiphash_key_t *key) in __hsiphash_aligned()
286 u32 __hsiphash_unaligned(const void *data, size_t len, in __hsiphash_unaligned()
400 #define HPREAMBLE(len) \ argument
422 u32 __hsiphash_aligned(const void *data, size_t len, const hsiphash_key_t *key) in __hsiphash_aligned()
444 u32 __hsiphash_unaligned(const void *data, size_t len, in __hsiphash_unaligned()
Dtest_bpf.c76 unsigned int len; member
94 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns1() local
114 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns2() local
133 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns3() local
160 unsigned int len = BPF_MAXINSNS + 1; in bpf_fill_maxinsns4() local
179 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns5() local
202 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns6() local
224 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns7() local
250 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns8() local
273 unsigned int len = BPF_MAXINSNS; in bpf_fill_maxinsns9() local
[all …]
Dnlattr.c122 int nla_validate(const struct nlattr *head, int len, int maxtype, in nla_validate()
154 int i, len = 0; in nla_policy_len() local
183 int len, const struct nla_policy *policy) in nla_parse()
222 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find()
256 size_t len = (srclen >= dstsize) ? dstsize - 1 : srclen; in nla_strlcpy() local
314 int len = strlen(str); in nla_strcmp() 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
Dparser.c35 int len = -1; in match_one() local
134 size_t len = s->to - s->from; in match_number() local
265 size_t len = ret >= size ? size - 1 : ret; in match_strlcpy() local
Dhexdump.c108 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer()
244 const void *buf, size_t len, bool ascii) in print_hex_dump()
290 const void *buf, size_t len) in print_hex_dump_bytes()
Dcrc-ccitt.c60 u16 crc_ccitt(u16 crc, u8 const *buffer, size_t len) in crc_ccitt()
Dcrc7.c67 u8 crc7_be(u8 crc, const u8 *buffer, size_t len) in crc7_be()
Dcrc16.c57 u16 crc16(u16 crc, u8 const *buffer, size_t len) in crc16()
Dcrc-itu-t.c59 u16 crc_itu_t(u16 crc, const u8 *buffer, size_t len) in crc_itu_t()
Dnmi_backtrace.c101 int len, last_i = 0; in nmi_trigger_all_cpu_backtrace() local
142 unsigned int len = seq_buf_used(&s->seq); in nmi_vprintk() local
Dtest-hexdump.c45 static void __init test_hexdump(size_t len, int rowsize, int groupsize, in test_hexdump()
109 size_t len = get_random_int() % d + 1; in test_hexdump_set() local
Dkobject_uevent.c132 int len; in init_uevent_argv() local
294 size_t len; in kobject_uevent_env() local
390 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()
Dasn1_decoder.c65 size_t dp = *_dp, len, n; in asn1_find_indefinite_length() local
181 size_t pc = 0, dp = 0, tdp = 0, len = 0; in asn1_ber_decoder() local
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()
/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