Searched refs:lens (Results 1 - 25 of 32) sorted by relevance

12

/linux-master/lib/zlib_inflate/
H A Dinftrees.h56 extern int zlib_inflate_table (codetype type, unsigned short *lens,
H A Dinftrees.c13 The code lengths are lens[0..codes-1]. The result starts at *table,
15 lens shorts, which is used as a work area. type is the type of code
23 int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, argument
63 code lengths are lens[0..codes-1]. Each length corresponds to the
75 lens[] are in the range 0..MAXBITS. The caller must assure this.
92 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
96 count[lens[sym]]++;
133 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
242 len = lens[wor
[all...]
H A Dinflate.h107 unsigned have; /* number of code lengths in lens[] */
109 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
H A Dinflate.c487 state->lens[order[state->have++]] = (unsigned short)BITS(3);
491 state->lens[order[state->have++]] = 0;
495 ret = zlib_inflate_table(CODES, state->lens, 19, &(state->next),
515 state->lens[state->have++] = this.val;
526 len = state->lens[state->have - 1];
550 state->lens[state->have++] = (unsigned short)len;
561 ret = zlib_inflate_table(LENS, state->lens, state->nlen, &(state->next),
570 ret = zlib_inflate_table(DISTS, state->lens + state->nlen, state->ndist,
/linux-master/drivers/media/test-drivers/vimc/
H A DMakefile3 vimc-debayer.o vimc-scaler.o vimc-sensor.o vimc-lens.o
/linux-master/net/rds/
H A Dinfo.h13 * These functions must fill in the fields of @lens to reflect the size
20 struct rds_info_lengths *lens);
H A Dinfo.c162 struct rds_info_lengths lens; local
218 func(sock, len, &iter, &lens);
219 BUG_ON(lens.each == 0);
221 total = lens.nr * lens.each;
230 ret = lens.each;
H A Dstats.c113 struct rds_info_lengths *lens)
141 lens->each = sizeof(struct rds_info_counter);
142 lens->nr = rds_trans_stats_info_copy(iter, avail) +
111 rds_stats_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
H A Dconnection.c536 struct rds_info_lengths *lens,
593 lens->nr = total;
595 lens->each = sizeof(struct rds6_info_message);
597 lens->each = sizeof(struct rds_info_message);
602 struct rds_info_lengths *lens,
605 rds_conn_message_info_cmn(sock, len, iter, lens, want_send, false);
611 struct rds_info_lengths *lens,
614 rds_conn_message_info_cmn(sock, len, iter, lens, want_send, true);
620 struct rds_info_lengths *lens)
622 rds_conn_message_info(sock, len, iter, lens,
534 rds_conn_message_info_cmn(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens, int want_send, bool isv6) argument
600 rds_conn_message_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens, int want_send) argument
609 rds6_conn_message_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens, int want_send) argument
618 rds_conn_message_info_send(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
626 rds6_conn_message_info_send(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
634 rds_conn_message_info_retrans(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
643 rds6_conn_message_info_retrans(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
652 rds_for_each_conn_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens, int (*visitor)(struct rds_connection *, void *), u64 *buffer, size_t item_len) argument
690 rds_walk_conn_path_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens, int (*visitor)(struct rds_conn_path *, void *), u64 *buffer, size_t item_len) argument
798 rds_conn_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
811 rds6_conn_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
[all...]
H A Daf_rds.c730 struct rds_info_lengths *lens)
762 lens->nr = total;
763 lens->each = sizeof(struct rds_info_message);
769 struct rds_info_lengths *lens)
794 lens->nr = total;
795 lens->each = sizeof(struct rds6_info_message);
801 struct rds_info_lengths *lens)
833 lens->nr = cnt;
834 lens->each = sizeof(struct rds_info_socket);
842 struct rds_info_lengths *lens)
728 rds_sock_inc_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
767 rds6_sock_inc_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
799 rds_sock_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
840 rds6_sock_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
[all...]
H A Dtcp.c233 struct rds_info_lengths *lens)
266 lens->nr = rds_tcp_tc_count;
267 lens->each = sizeof(tsinfo);
279 struct rds_info_lengths *lens)
309 lens->nr = rds6_tcp_tc_count;
310 lens->each = sizeof(tsinfo6);
231 rds_tcp_tc_info(struct socket *rds_sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
277 rds6_tcp_tc_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
H A Dib.c371 struct rds_info_lengths *lens)
375 rds_for_each_conn_info(sock, len, iter, lens,
385 struct rds_info_lengths *lens)
389 rds_for_each_conn_info(sock, len, iter, lens,
369 rds_ib_ic_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
383 rds6_ib_ic_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
/linux-master/fs/ntfs3/lib/
H A Dxpress_decompress.c27 u8 lens[XPRESS_NUM_SYMBOLS]; member in struct:xpress_decompressor
73 d->lens[i*2 + 0] = in_begin[i] & 0xF;
74 d->lens[i*2 + 1] = in_begin[i] >> 4;
79 XPRESS_TABLEBITS, d->lens,
H A Ddecompress_common.c69 * the 'lens' array and use the decoded symbol as an index into it.
84 * 'lens' array. Must be less than or equal to 2048.
90 * @lens:
98 * All entries in 'lens' must be less than or equal to this value.
109 const u32 table_bits, const u8 lens[],
133 len_counts[lens[sym]]++;
190 if (lens[sym])
191 sorted_syms[offsets[lens[sym]]++] = sym;
108 make_huffman_decode_table(u16 decode_table[], const u32 num_syms, const u32 table_bits, const u8 lens[], const u32 max_codeword_len, u16 working_space[]) argument
H A Dlzx_decompress.c245 * @lens: An array that contains the length values from the previous time
256 u8 *lens, u32 num_lens)
258 u8 *len_ptr = lens;
259 u8 *lens_end = lens + num_lens;
254 lzx_read_codeword_lens(struct lzx_decompressor *d, struct input_bitstream *is, u8 *lens, u32 num_lens) argument
H A Ddecompress_common.h199 const u32 num_bits, const u8 lens[],
/linux-master/lib/crypto/
H A Dchacha20poly1305.c64 __le64 lens[2]; member in union:__anon515
80 b.lens[0] = cpu_to_le64(ad_len);
81 b.lens[1] = cpu_to_le64(src_len);
82 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens));
135 __le64 lens[2]; member in union:__anon516
153 b.lens[0] = cpu_to_le64(ad_len);
154 b.lens[1] = cpu_to_le64(dst_len);
155 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens));
233 __le64 lens[2]; member in union:__anon517
[all...]
/linux-master/drivers/net/ppp/
H A Dbsd_comp.c159 unsigned short *lens; /* array of lengths of codes */ member in struct:bsd_db
340 vfree(db->lens);
341 db->lens = NULL;
421 db->lens = NULL;
428 db->lens = vmalloc(array_size(sizeof(db->lens[0]), (maxmaxcode + 1)));
429 if (!db->lens)
472 || (decomp && db->lens == NULL))
482 db->lens[indx] = 1;
524 #define lens_ptrx(p,idx) &(p->lens[id
[all...]
/linux-master/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_tx.c81 const unsigned int *lens,
91 fun_dataop_gl_init(gle, 0, 0, lens[i], addrs[i]);
96 fun_dataop_gl_init(gle, 0, 0, lens[i], addrs[i]);
155 unsigned int lens[MAX_SKB_FRAGS + 1]; local
166 skb_headlen(skb), addrs, lens))) {
277 gle = fun_write_gl(q, req, addrs, lens, ngle);
518 unsigned int lens[MAX_SKB_FRAGS + 1]; local
540 lens))) {
556 fun_write_gl(q, req, dma, lens, nfrags);
78 fun_write_gl(const struct funeth_txq *q, struct fun_eth_tx_req *req, const dma_addr_t *addrs, const unsigned int *lens, unsigned int ngle) argument
/linux-master/drivers/tty/
H A Dmoxa.c1035 u16 lens[5]; local
1048 BUILD_BUG_ON(ARRAY_SIZE(hdr->len) != ARRAY_SIZE(lens));
1069 for (a = 0; a < ARRAY_SIZE(lens); a++) {
1070 lens[a] = le16_to_cpu(hdr->len[a]);
1071 if (lens[a] && len + lens[a] <= fw->size &&
1075 if (!lens[a] && a < lencnt) {
1079 len += lens[a];
1093 ret = moxa_load_bios(brd, ptr, lens[lenp]);
1097 /* we skip the tty section (lens[
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dveristat.c104 int lens[ALL_STATS_CNT * 3]; /* 3x for comparison mode */ member in struct:stat_specs
1306 len = env.output_spec.lens[i];
1322 int *max_len = &env.output_spec.lens[i];
1384 int *max_len = &env.output_spec.lens[i], len;
1590 int len = env.output_spec.lens[3 * i + j];
1613 int *max_len = &env.output_spec.lens[3 * i + j];
1655 int *max_len_base = &env.output_spec.lens[3 * i + 0];
1656 int *max_len_comp = &env.output_spec.lens[3 * i + 1];
1657 int *max_len_diff = &env.output_spec.lens[3 * i + 2];
/linux-master/arch/arm64/kernel/
H A Dhw_breakpoint.c717 u32 lens, lene; local
721 lens = __ffs(ctrl->len);
724 wp_low = val + lens;
/linux-master/sound/usb/usx2y/
H A Dusx2yhwdeppcm.c53 int i, lens = 0, hwptr_done = subs->hwptr_done; local
71 lens += urb->iso_frame_desc[i].actual_length / usx2y->stride;
73 hwptr_done += lens;
77 subs->transfer_done += lens;
/linux-master/drivers/media/rc/
H A Dredrat3.c168 __be16 lens[RR3_DRIVER_MAXLENS]; /* not aligned */ member in struct:redrat3_irdata
363 val = get_unaligned_be16(&rr3->irdata.lens[offset]);
571 dev_dbg(dev, "set ir parm max lens %d rc 0x%02x\n", *val, rc);
802 &irdata->lens[curlencheck]);
/linux-master/arch/arm/kernel/
H A Dhw_breakpoint.c705 u32 lens, lene; local
707 lens = __ffs(ctrl->len);
710 wp_low = val + lens;

Completed in 757 milliseconds

12