Home
last modified time | relevance | path

Searched refs:dlen (Results 1 – 25 of 41) sorted by relevance

12

/linux-2.4.37.9/fs/isofs/
Dnamei.c27 isofs_cmp(struct dentry * dentry, const char * compare, int dlen) in isofs_cmp() argument
35 if (dlen == 1) { in isofs_cmp()
43 dlen = 2; in isofs_cmp()
48 qstr.len = dlen; in isofs_cmp()
77 int de_len, match, i, dlen; in isofs_find_entry() local
119 dlen = de->name_len[0]; in isofs_find_entry()
124 dlen = i; /* possibly -1 */ in isofs_find_entry()
128 dlen = get_joliet_filename(de, tmpname, dir); in isofs_find_entry()
132 dlen = get_acorn_filename(de, tmpname, dir); in isofs_find_entry()
135 dlen = isofs_name_translate(de, tmpname, dir); in isofs_find_entry()
[all …]
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_conntrack_ftp.c72 static int try_number(const char *data, size_t dlen, u_int32_t array[], in try_number() argument
80 for (i = 0, len = 0; len < dlen && i < array_size; len++, data++) { in try_number()
103 static int try_rfc959(const char *data, size_t dlen, u_int32_t array[6], in try_rfc959() argument
106 return try_number(data, dlen, array, 6, ',', term); in try_rfc959()
110 static int get_port(const char *data, int start, size_t dlen, char delim, in get_port() argument
116 for (i = start; i < dlen; i++) { in get_port()
134 static int try_eprt(const char *data, size_t dlen, u_int32_t array[6], in try_eprt() argument
142 if (dlen <= 3) return 0; in try_eprt()
150 length = try_number(data + 3, dlen - 3, array, 4, '.', delim); in try_eprt()
156 return get_port(data, 3 + length + 1, dlen, delim, array+4); in try_eprt()
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Diommu_common.c62 u32 dlen = dma_sg->dma_length; in verify_one_map() local
72 while (dlen > 0) { in verify_one_map()
105 dlen -= diff; in verify_one_map()
106 if (dlen > 0) in verify_one_map()
113 dlen -= sglen; in verify_one_map()
115 if (dlen > 0 && ((daddr & ~IO_PAGE_MASK) == 0)) in verify_one_map()
126 if (dlen < 0) { in verify_one_map()
129 -dlen); in verify_one_map()
/linux-2.4.37.9/drivers/block/paride/
Dpg.c243 int dlen; /* transfer size requested */ member
391 static int pg_command( int unit, char * cmd, int dlen, int tmo ) in pg_command() argument
404 WR(0,4,dlen % 256); in pg_command()
405 WR(0,5,dlen / 256); in pg_command()
422 printk("%s: Command sent, dlen=%d packet= ", PG.name,dlen); in pg_command()
436 PG.dlen = 0; in pg_completion()
446 PG.dlen += (1-p)*d; in pg_completion()
635 if (hdr.dlen > PG_MAX_DATA) return -EINVAL; in pg_write()
649 if (pg_command(unit,hdr.packet,hdr.dlen,jiffies+PG_TMO)) { in pg_write()
679 hdr.dlen = PG.dlen; in pg_read()
[all …]
Dpcd.c439 static int pcd_command( int unit, char * cmd, int dlen, char * fun ) in pcd_command() argument
450 WR(0,4,dlen % 256); in pcd_command()
451 WR(0,5,dlen / 256); in pcd_command()
536 static int pcd_atapi( int unit, char * cmd, int dlen, char * buf, char * fun ) in pcd_atapi() argument
540 r = pcd_command(unit,cmd,dlen,fun); in pcd_atapi()
Dpt.c386 static int pt_command( int unit, char * cmd, int dlen, char * fun ) in pt_command() argument
397 WR(0,4,dlen % 256); in pt_command()
398 WR(0,5,dlen / 256); in pt_command()
457 static int pt_atapi( int unit, char * cmd, int dlen, char * buf, char * fun ) in pt_atapi() argument
461 r = pt_command(unit,cmd,dlen,fun); in pt_atapi()
Dpf.c580 static int pf_command( int unit, char * cmd, int dlen, char * fun ) in pf_command() argument
591 WR(0,4,dlen % 256); in pf_command()
592 WR(0,5,dlen / 256); in pf_command()
645 static int pf_atapi( int unit, char * cmd, int dlen, char * buf, char * fun ) in pf_atapi() argument
649 r = pf_command(unit,cmd,dlen,fun); in pf_atapi()
/linux-2.4.37.9/crypto/
Dcompress.c23 u8 *dst, unsigned int *dlen) in crypto_compress() argument
27 dlen); in crypto_compress()
32 u8 *dst, unsigned int *dlen) in crypto_decompress() argument
36 dlen); in crypto_decompress()
Ddeflate.c126 u8 *dst, unsigned int *dlen) in deflate_compress() argument
147 stream->avail_out = *dlen; in deflate_compress()
155 *dlen = stream->total_out; in deflate_compress()
161 u8 *dst, unsigned int *dlen) in deflate_decompress() argument
183 stream->avail_out = *dlen; in deflate_decompress()
202 *dlen = stream->total_out; in deflate_decompress()
Dtcrypt.c449 int ilen, ret, dlen = COMP_BUF_SIZE; in test_deflate() local
456 ilen, result, &dlen); in test_deflate()
461 hexdump(result, dlen); in test_deflate()
463 memcmp(result, tv[i].output, dlen) ? "fail" : "pass", in test_deflate()
464 ilen, dlen); in test_deflate()
480 int ilen, ret, dlen = COMP_BUF_SIZE; in test_deflate() local
487 ilen, result, &dlen); in test_deflate()
492 hexdump(result, dlen); in test_deflate()
494 memcmp(result, tv[i].output, dlen) ? "fail" : "pass", in test_deflate()
495 ilen, dlen); in test_deflate()
Dcrypto_null.c30 u8 *dst, unsigned int *dlen) in null_compress() argument
34 u8 *dst, unsigned int *dlen) in null_decompress() argument
/linux-2.4.37.9/drivers/bluetooth/
Dhci_h4.c154 register int len, type, dlen; in h4_recv() local
191 dlen = __le16_to_cpu(ah->dlen); in h4_recv()
193 BT_DBG("ACL header: dlen %d", dlen); in h4_recv()
195 h4_check_data_len(h4, dlen); in h4_recv()
201 BT_DBG("SCO header: dlen %d", sh->dlen); in h4_recv()
203 h4_check_data_len(h4, sh->dlen); in h4_recv()
Dbtuart_cs.c259 int dlen; in btuart_receive() local
275 dlen = __le16_to_cpu(ah->dlen); in btuart_receive()
277 info->rx_count = dlen; in btuart_receive()
283 info->rx_count = sh->dlen; in btuart_receive()
Dbt3c_cs.c320 int dlen; in bt3c_receive() local
335 dlen = __le16_to_cpu(ah->dlen); in bt3c_receive()
337 info->rx_count = dlen; in bt3c_receive()
343 info->rx_count = sh->dlen; in bt3c_receive()
Dbluecard_cs.c458 int dlen; in bluecard_receive() local
473 dlen = __le16_to_cpu(ah->dlen); in bluecard_receive()
475 info->rx_count = dlen; in bluecard_receive()
481 info->rx_count = sh->dlen; in bluecard_receive()
/linux-2.4.37.9/include/linux/
Dcrypto.h88 u8 *dst, unsigned int *dlen);
90 u8 *dst, unsigned int *dlen);
173 u8 *dst, unsigned int *dlen);
176 u8 *dst, unsigned int *dlen);
365 u8 *dst, unsigned int *dlen) in crypto_comp_compress() argument
368 return tfm->crt_compress.cot_compress(tfm, src, slen, dst, dlen); in crypto_comp_compress()
373 u8 *dst, unsigned int *dlen) in crypto_comp_decompress() argument
376 return tfm->crt_compress.cot_decompress(tfm, src, slen, dst, dlen); in crypto_comp_decompress()
Dpg.h47 int dlen; /* number of bytes expected to transfer */ member
57 int dlen; /* size of device transfer request */ member
Disdn_ppp.h104 unsigned short dlen; /* rw Bytes stored in data field */ member
191 int dlen; /* Databytes stored in data */ member
/linux-2.4.37.9/net/decnet/
Ddn_nsp_in.c362 unsigned char dlen = *skb->data; in dn_nsp_conn_conf() local
363 if ((dlen <= 16) && (dlen <= skb->len)) { in dn_nsp_conn_conf()
364 scp->conndata_in.opt_optl = dlen; in dn_nsp_conn_conf()
365 memcpy(scp->conndata_in.opt_data, skb->data + 1, dlen); in dn_nsp_conn_conf()
406 unsigned char dlen = *skb->data; in dn_nsp_disc_init() local
407 if ((dlen <= 16) && (dlen <= skb->len)) { in dn_nsp_disc_init()
408 scp->discdata_in.opt_optl = dlen; in dn_nsp_disc_init()
409 memcpy(scp->discdata_in.opt_data, skb->data + 1, dlen); in dn_nsp_disc_init()
/linux-2.4.37.9/drivers/net/wireless/prism54/
Doid_mgt.c426 int dlen; in mgt_set_request() local
437 dlen = isl_oid[n].size; in mgt_set_request()
439 cache += (cache ? extra * dlen : 0); in mgt_set_request()
458 _data, dlen, &response); in mgt_set_request()
470 memcpy(cache, _data, dlen); in mgt_set_request()
488 int dlen; in mgt_set_varlen() local
493 dlen = isl_oid[n].size; in mgt_set_varlen()
500 data, dlen + extra_len, &response); in mgt_set_varlen()
526 int dlen; in mgt_get_request() local
539 dlen = isl_oid[n].size; in mgt_get_request()
[all …]
/linux-2.4.37.9/drivers/net/
Dppp_async.c958 int dlen, fcs, i, code; in async_lcp_peek() local
968 dlen = (data[2] << 8) + data[3]; in async_lcp_peek()
969 if (len < dlen) in async_lcp_peek()
978 for (i = 1; i < dlen; ++i) in async_lcp_peek()
997 dlen -= 4; in async_lcp_peek()
999 while (dlen >= 2 && dlen >= data[1] && data[1] >= 2) { in async_lcp_peek()
1017 dlen -= data[1]; in async_lcp_peek()
Dsb1000.c770 short dlen; in sb1000_rx() local
847 dlen = ((buffer[NewDatagramHeaderSkip + 3] & 0x0f) << 8 | in sb1000_rx()
849 if (dlen > SB1000_MRU) { in sb1000_rx()
852 "than MRU (%d)\n", dev->name, dlen, SB1000_MRU); in sb1000_rx()
857 lp->rx_dlen[ns] = dlen; in sb1000_rx()
859 skbsize = dlen + FrameSize; in sb1000_rx()
889 dlen = lp->rx_dlen[ns]; in sb1000_rx()
891 if (skb->len < dlen + TrailerSize) { in sb1000_rx()
897 skb_trim(skb, dlen); in sb1000_rx()
900 stats->rx_bytes+=dlen; in sb1000_rx()
D3c505.c667 int dlen; in elp_interrupt() local
740 dlen = adapter->irx_pcb.data.rcv_resp.buf_len; in elp_interrupt()
745 printk("%s: interrupt - packet received of length %i (%i)\n", dev->name, len, dlen); in elp_interrupt()
749 printk("%s: adding packet to backlog (len = %d)\n", dev->name, dlen); in elp_interrupt()
750 adapter->rx_backlog.length[adapter->rx_backlog.in] = dlen; in elp_interrupt()
753 receive_packet(dev, dlen); in elp_interrupt()
/linux-2.4.37.9/net/bluetooth/
Dhci_event.c882 void hci_si_event(struct hci_dev *hdev, int type, int dlen, void *data) in hci_si_event() argument
890 size = HCI_EVENT_HDR_SIZE + EVT_STACK_INTERNAL_SIZE + dlen; in hci_si_event()
899 eh->plen = EVT_STACK_INTERNAL_SIZE + dlen; in hci_si_event()
904 memcpy(si->data, data, dlen); in hci_si_event()
/linux-2.4.37.9/include/net/
Ddn_nsp.h145 char dlen; member

12