Home
last modified time | relevance | path

Searched refs:lens (Results 1 – 23 of 23) sorted by relevance

/linux-2.6.39/net/rds/
Dconnection.c374 struct rds_info_lengths *lens, in rds_conn_message_info() argument
414 lens->nr = total; in rds_conn_message_info()
415 lens->each = sizeof(struct rds_info_message); in rds_conn_message_info()
420 struct rds_info_lengths *lens) in rds_conn_message_info_send() argument
422 rds_conn_message_info(sock, len, iter, lens, 1); in rds_conn_message_info_send()
428 struct rds_info_lengths *lens) in rds_conn_message_info_retrans() argument
430 rds_conn_message_info(sock, len, iter, lens, 0); in rds_conn_message_info_retrans()
435 struct rds_info_lengths *lens, in rds_for_each_conn_info() argument
447 lens->nr = 0; in rds_for_each_conn_info()
448 lens->each = item_len; in rds_for_each_conn_info()
[all …]
Dinfo.c161 struct rds_info_lengths lens; in rds_info_getsockopt() local
218 func(sock, len, &iter, &lens); in rds_info_getsockopt()
219 BUG_ON(lens.each == 0); in rds_info_getsockopt()
221 total = lens.nr * lens.each; in rds_info_getsockopt()
230 ret = lens.each; in rds_info_getsockopt()
Dstats.c108 struct rds_info_lengths *lens) in rds_stats_info() argument
136 lens->each = sizeof(struct rds_info_counter); in rds_stats_info()
137 lens->nr = rds_trans_stats_info_copy(iter, avail) + in rds_stats_info()
Daf_rds.c470 struct rds_info_lengths *lens) in rds_sock_inc_info() argument
497 lens->nr = total; in rds_sock_inc_info()
498 lens->each = sizeof(struct rds_info_message); in rds_sock_inc_info()
503 struct rds_info_lengths *lens) in rds_sock_info() argument
529 lens->nr = rds_sock_count; in rds_sock_info()
530 lens->each = sizeof(struct rds_info_socket); in rds_sock_info()
Dtcp.c153 struct rds_info_lengths *lens) in rds_tcp_tc_info() argument
185 lens->nr = rds_tcp_tc_count; in rds_tcp_tc_info()
186 lens->each = sizeof(tsinfo); in rds_tcp_tc_info()
Dinfo.h19 struct rds_info_lengths *lens);
Diw.c202 struct rds_info_lengths *lens) in rds_iw_ic_info() argument
204 rds_for_each_conn_info(sock, len, iter, lens, in rds_iw_ic_info()
Dib.c301 struct rds_info_lengths *lens) in rds_ib_ic_info() argument
303 rds_for_each_conn_info(sock, len, iter, lens, in rds_ib_ic_info()
Drds.h625 struct rds_info_lengths *lens,
/linux-2.6.39/lib/zlib_inflate/
Dinftrees.c23 int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, in zlib_inflate_table() argument
96 count[lens[sym]]++; in zlib_inflate_table()
133 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in zlib_inflate_table()
242 len = lens[work[sym]]; in zlib_inflate_table()
Dinflate.c482 state->lens[order[state->have++]] = (unsigned short)BITS(3); in zlib_inflate()
486 state->lens[order[state->have++]] = 0; in zlib_inflate()
490 ret = zlib_inflate_table(CODES, state->lens, 19, &(state->next), in zlib_inflate()
509 state->lens[state->have++] = this.val; in zlib_inflate()
520 len = state->lens[state->have - 1]; in zlib_inflate()
544 state->lens[state->have++] = (unsigned short)len; in zlib_inflate()
555 ret = zlib_inflate_table(LENS, state->lens, state->nlen, &(state->next), in zlib_inflate()
564 ret = zlib_inflate_table(DISTS, state->lens + state->nlen, state->ndist, in zlib_inflate()
Dinftrees.h56 extern int zlib_inflate_table (codetype type, unsigned short *lens,
Dinflate.h107 unsigned short lens[320]; /* temporary storage for code lengths */ member
/linux-2.6.39/drivers/isdn/i4l/
Disdn_bsdcomp.c139 unsigned short *lens; /* array of lengths of codes */ member
291 vfree(db->lens); in bsd_free()
292 db->lens = NULL; in bsd_free()
355 db->lens = NULL; in bsd_alloc()
357 db->lens = vmalloc((maxmaxcode + 1) * sizeof(db->lens[0])); in bsd_alloc()
358 if (!db->lens) { in bsd_alloc()
395 || (decomp && db->lens == NULL)) { in bsd_init()
396 …dn_bsd: %d %d %d %d %lx\n",data->optlen,data->num,data->options[0],decomp,(unsigned long)db->lens); in bsd_init()
402 db->lens[indx] = 1; in bsd_init()
425 #define lens_ptrx(p,idx) &(p->lens[idx])
[all …]
/linux-2.6.39/drivers/net/
Dbsd_comp.c159 unsigned short *lens; /* array of lengths of codes */ member
340 vfree(db->lens); in bsd_free()
341 db->lens = NULL; in bsd_free()
421 db->lens = NULL; in bsd_alloc()
428 db->lens = vmalloc((maxmaxcode + 1) * sizeof(db->lens[0])); in bsd_alloc()
429 if (!db->lens) in bsd_alloc()
472 || (decomp && db->lens == NULL)) in bsd_init()
482 db->lens[indx] = 1; in bsd_init()
524 #define lens_ptrx(p,idx) &(p->lens[idx])
729 if (db->lens) in bsd_compress()
/linux-2.6.39/drivers/tty/
Dmoxa.c747 u16 lens[5]; in moxa_load_fw() local
760 BUILD_BUG_ON(ARRAY_SIZE(hdr->len) != ARRAY_SIZE(lens)); in moxa_load_fw()
781 for (a = 0; a < ARRAY_SIZE(lens); a++) { in moxa_load_fw()
782 lens[a] = le16_to_cpu(hdr->len[a]); in moxa_load_fw()
783 if (lens[a] && len + lens[a] <= fw->size && in moxa_load_fw()
787 if (!lens[a] && a < lencnt) { in moxa_load_fw()
791 len += lens[a]; in moxa_load_fw()
805 ret = moxa_load_bios(brd, ptr, lens[lenp]); in moxa_load_fw()
810 ptr += lens[lenp] + lens[lenp + 1]; in moxa_load_fw()
814 ret = moxa_load_320b(brd, ptr, lens[lenp]); in moxa_load_fw()
[all …]
/linux-2.6.39/sound/usb/usx2y/
Dusx2yhwdeppcm.c66 int i, lens = 0, hwptr_done = subs->hwptr_done; in usX2Y_usbpcm_urb_capt_retire() local
80 lens += urb->iso_frame_desc[i].actual_length / usX2Y->stride; in usX2Y_usbpcm_urb_capt_retire()
82 if ((hwptr_done += lens) >= runtime->buffer_size) in usX2Y_usbpcm_urb_capt_retire()
85 subs->transfer_done += lens; in usX2Y_usbpcm_urb_capt_retire()
Dusbusx2yaudio.c75 int i, len, lens = 0, hwptr_done = subs->hwptr_done; in usX2Y_urb_capt_retire() local
102 lens += len; in usX2Y_urb_capt_retire()
108 subs->transfer_done += lens; in usX2Y_urb_capt_retire()
/linux-2.6.39/drivers/scsi/mvsas/
Dmv_sas.h195 __le32 lens; /* cmd, max resp frame len */ member
Dmv_sas.c541 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | ((req_len - 4) / 4)); in mvs_task_prep_smp()
698 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | (req_len / 4)); in mvs_task_prep_ata()
814 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | (req_len / 4)); in mvs_task_prep_ssp()
/linux-2.6.39/Documentation/video4linux/
Domap3isp.txt26 Sensor, lens and flash drivers using the v4l2_subdev interface in the kernel
Dov511.txt255 might be necessary if your camera has a custom lens assembly. This has
/linux-2.6.39/Documentation/
Dmedia-framework.txt172 - lens and flash controllers associated with a sensor