Home
last modified time | relevance | path

Searched refs:len2 (Results 1 – 19 of 19) sorted by relevance

/linux-2.4.37.9/fs/hfs/
Dstring.c102 const unsigned char *s2, unsigned int len2) in hfs_strcmp() argument
106 len = (len1 > len2) ? len2 : len1; in hfs_strcmp()
114 return len1 - len2; in hfs_strcmp()
121 const unsigned char *s2, unsigned int len2) in hfs_streq() argument
123 if (len1 != len2) { in hfs_streq()
/linux-2.4.37.9/drivers/s390/char/
Dtuball.c332 int len2; /* Contig space avail in ob */ in tub3270_movedata() local
335 len2 = ob->bc_rd - ob->bc_wr; in tub3270_movedata()
337 len2 = ob->bc_len - ob->bc_wr; in tub3270_movedata()
338 if (len2 > len1) in tub3270_movedata()
339 len2 = len1; in tub3270_movedata()
342 len2 -= copy_from_user(ob->bc_buf + ob->bc_wr, in tub3270_movedata()
344 len2); in tub3270_movedata()
345 if (len2 == 0) { in tub3270_movedata()
353 len2); in tub3270_movedata()
355 ib->bc_rd += len2; in tub3270_movedata()
[all …]
/linux-2.4.37.9/drivers/scsi/
Doktagon_esp.c273 long wait,len2,pos; in dma_commit() local
286 len2 = oktag_to_io(paddress, address+pos, len); in dma_commit()
287 if(!len2) in dma_commit()
297 pos += len2; in dma_commit()
298 len -= len2*sizeof(long); in dma_commit()
303 len2 = oktag_from_io(address+pos, paddress, len); in dma_commit()
304 if(!len2) in dma_commit()
314 pos += len2; in dma_commit()
315 len -= len2*sizeof(long); in dma_commit()
323 len2 = (esp_read(current_esp->eregs->esp_tclow) & 0xff) | in dma_commit()
[all …]
/linux-2.4.37.9/drivers/isdn/hisax/
Dhisax_debug.h47 int i,len1,len2; in dump_packet() local
53 len2 = DUMP_TLR_SIZE; in dump_packet()
56 len2 = 0; in dump_packet()
61 if (len2) { in dump_packet()
/linux-2.4.37.9/arch/ia64/lib/
Dclear_user.S30 #define len2 r21 macro
163 mov len2=len // for parallelization of error handling
168 (p6) adds len3=-8,len2
172 (p7) adds len2=-4,len3
176 (p6) adds len3=-2,len2
198 (p6) mov len=len2
Dcopy_user.S59 #define len2 r19 macro
81 adds len2=-1,len // br.ctop is repeat/until
102 mov ar.lc=len2 // initialize lc for small count
/linux-2.4.37.9/fs/hfsplus/
Dunicode.c33 u16 len1, len2, c1, c2; in hfsplus_unistrcmp() local
37 len2 = be16_to_cpu(s2->length); in hfsplus_unistrcmp()
49 while (len2 && !c2) { in hfsplus_unistrcmp()
52 len2--; in hfsplus_unistrcmp()
/linux-2.4.37.9/net/khttpd/
Drfc.c174 int len,len2; in SendHTTPHeader() local
204 len2=15+16+18+iov[2].iov_len+iov[4].iov_len+4; in SendHTTPHeader()
211 len = sock_sendmsg(Request->sock,&msg,len2); in SendHTTPHeader()
223 int len,len2; in SendHTTPHeader() local
258 len2=45+2*29+16+17+18+slen+4+iov[3].iov_len; in SendHTTPHeader()
263 len = sock_sendmsg(Request->sock,&msg,len2); in SendHTTPHeader()
/linux-2.4.37.9/drivers/char/
Dmoxa.c3028 int i, j, len1, len2; in moxaloadc218() local
3045 len2 = (len1 > 2048) ? 2048 : len1; in moxaloadc218()
3046 len1 -= len2; in moxaloadc218()
3047 for (i = 0; i < len2 << 1; i++) in moxaloadc218()
3051 writew(len2, baseAddr + C218DLoad_len); in moxaloadc218()
3104 int i, j, wlen, len2, retry; in moxaloadc320() local
3117 len2 = 2048; in moxaloadc320()
3119 len2 = wlen; in moxaloadc320()
3120 wlen -= len2; in moxaloadc320()
3121 len2 <<= 1; in moxaloadc320()
[all …]
/linux-2.4.37.9/drivers/usb/
Ddevio.c599 int len2; in proc_bulk() local
630 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); in proc_bulk()
632 if (!i && len2) { in proc_bulk()
633 if (copy_to_user(bulk.data, tbuf, len2)) { in proc_bulk()
649 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); in proc_bulk()
658 return len2; in proc_bulk()
/linux-2.4.37.9/drivers/isdn/hysdn/
Dhycapi.c530 __u16 len2, CapiCmd; in hycapi_rx_capipkt() local
553 len2 = len + (30 - MsgLen); in hycapi_rx_capipkt()
554 if (!(skb = alloc_skb(len2, GFP_ATOMIC))) { in hycapi_rx_capipkt()
/linux-2.4.37.9/drivers/net/wan/
Dcycx_x25.c1001 void *d1, int len1, void *d2, int len2) in x25_exec() argument
1011 c.len = len1 + len2; in x25_exec()
1023 if (len2 > 254) { in x25_exec()
1028 len2 - 249); in x25_exec()
1030 cycx_poke(&card->hw, addr + len1, d2, len2); in x25_exec()
Dsdla.c748 short dlci, len, len2, split; in sdla_receive() local
839 len2 = len - split; in sdla_receive()
841 sdla_read(dev, addr, skb_put(skb, len2), len2); in sdla_receive()
/linux-2.4.37.9/drivers/isdn/
Disdn_bsdcomp.c587 unsigned short *len2 = lens_ptr (db, ent); in bsd_compress() local
588 *len1 = *len2 + 1; in bsd_compress()
/linux-2.4.37.9/drivers/net/
Dbsd_comp.c740 unsigned short *len2 = lens_ptr (db, ent); in bsd_compress() local
741 *len1 = *len2 + 1; in bsd_compress()
/linux-2.4.37.9/fs/intermezzo/
Djournal.c873 const char *string2, int len2, in presto_write_record() argument
896 if ( string2 && len2 ) { in presto_write_record()
897 rc = presto_fwrite(f, string2, len2, off); in presto_write_record()
898 if ( rc != len2 ) { in presto_write_record()
933 const char *string2, int len2, in presto_log() argument
975 string1, len1, string2, len2, string3, len3); in presto_log()
/linux-2.4.37.9/fs/ntfs/
Dinode.c285 int len2 = len; in parse_attributes() local
309 while (len2 > 8) { in parse_attributes()
311 if (l > len2) in parse_attributes()
314 len2 -= l; in parse_attributes()
369 len2 -= l; in parse_attributes()
/linux-2.4.37.9/drivers/telephony/
Dixj.c3296 char mdmflen, len1, len2, len3; in ixj_write_cid() local
3317 len2 = strlen(sdmf2); in ixj_write_cid()
3319 mdmflen = len1 + len2 + len3 + 6; in ixj_write_cid()
3339 ixj_write_cid_byte(j, len2); in ixj_write_cid()
3340 checksum = checksum + len2; in ixj_write_cid()
3377 char mdmflen, len1, len2, len3; in ixj_write_cidcw() local
3479 len2 = strlen(sdmf2); in ixj_write_cidcw()
3481 mdmflen = len1 + len2 + len3 + 6; in ixj_write_cidcw()
3498 ixj_write_cid_byte(j, len2); in ixj_write_cidcw()
3499 checksum = checksum + len2; in ixj_write_cidcw()
/linux-2.4.37.9/include/linux/
Dintermezzo_fs.h558 const char *string2, int len2,