Home
last modified time | relevance | path

Searched refs:csize (Results 1 – 18 of 18) sorted by relevance

/linux-2.4.37.9/fs/jffs2/
Dread.c72 … buf %p\n", fd->raw->flash_offset & ~3, ri->node_crc, crc, ri->dsize, ri->csize, ri->offset, buf)); in jffs2_read_dnode()
80 if (ri->compr == JFFS2_COMPR_ZERO && !ri->dsize && ri->csize) { in jffs2_read_dnode()
81 ri->dsize = ri->csize; in jffs2_read_dnode()
82 ri->csize = 0; in jffs2_read_dnode()
106 readbuf = kmalloc(ri->csize, GFP_KERNEL); in jffs2_read_dnode()
126 D2(printk(KERN_DEBUG "Read %d bytes to %p\n", ri->csize, readbuf)); in jffs2_read_dnode()
127 …ret = c->mtd->read(c->mtd, (fd->raw->flash_offset &~3) + sizeof(*ri), ri->csize, &readlen, readbuf… in jffs2_read_dnode()
129 if (!ret && readlen != ri->csize) in jffs2_read_dnode()
134 crc = crc32(0, readbuf, ri->csize); in jffs2_read_dnode()
142 …D2(printk(KERN_DEBUG "Decompress %d bytes from %p to %d bytes at %p\n", ri->csize, readbuf, ri->ds… in jffs2_read_dnode()
[all …]
Dscan.c465 if (ri.compr == JFFS2_COMPR_ZERO && !ri.dsize && ri.csize) { in jffs2_scan_inode_node()
466 ri.dsize = ri.csize; in jffs2_scan_inode_node()
467 ri.csize = 0; in jffs2_scan_inode_node()
470 if (ri.csize) { in jffs2_scan_inode_node()
480 ret = c->mtd->read(c->mtd, *ofs+sizeof(ri), ri.csize, &retlen, dbuf); in jffs2_scan_inode_node()
486 if (retlen != ri.csize) { in jffs2_scan_inode_node()
488 retlen, *ofs+ sizeof(ri), ri.csize); in jffs2_scan_inode_node()
492 crc = crc32(0, dbuf, ri.csize); in jffs2_scan_inode_node()
Dnodelist.c232 if (node.i.compr == JFFS2_COMPR_ZERO && !node.i.dsize && node.i.csize) in jffs2_get_inode_nodes()
233 tn->fn->size = node.i.csize; in jffs2_get_inode_nodes()
Dfile.c164 ri->csize = ri->dsize = mdatalen; in jffs2_setattr()
372 ri.csize = 0; in jffs2_prepare_write()
489 ri->csize = cdatalen; in jffs2_commit_write()
Dgc.c350 ri.csize = mdatalen; in jffs2_garbage_collect_metadata()
503 ri.csize = 0; in jffs2_garbage_collect_hole()
676 ri.csize = cdatalen; in jffs2_garbage_collect_dnode()
Ddir.c559 inode->i_size = ri->isize = ri->dsize = ri->csize = strlen(target); in jffs2_symlink()
847 ri->dsize = ri->csize = devlen; in jffs2_mknod()
848 ri->totlen = sizeof(*ri) + ri->csize; in jffs2_mknod()
Dwrite.c252 …_crc 0x%08x, data_crc 0x%08x, totlen 0x%08x\n", flash_ofs, ri->dsize, ri->csize, ri->node_crc, ri-… in jffs2_write_dnode()
/linux-2.4.37.9/fs/isofs/
Dcompress.c68 unsigned long blockptr, blockendptr, cstart, cend, csize; in zisofs_readpage() local
153 csize = cend-cstart; in zisofs_readpage()
155 if (csize > deflateBound(1UL << zisofs_block_shift)) in zisofs_readpage()
163 if ( csize == 0 ) { in zisofs_readpage()
185 int needblocks = (csize + (cstart & bufmask) + bufmask) >> bufshift; in zisofs_readpage()
208 fpage, xpage, csize); in zisofs_readpage()
212 stream.avail_in = min(bufsize-(cstart & bufmask), csize); in zisofs_readpage()
213 csize -= stream.avail_in; in zisofs_readpage()
238 if ( !csize ) { in zisofs_readpage()
248 fpage, xpage, csize); in zisofs_readpage()
[all …]
/linux-2.4.37.9/arch/m68k/atari/
Ddebug.c173 int csize = ((cflag & CSIZE) == CS7) ? 0x20 : 0x00; in atari_init_mfp_port() local
182 mfp.usart_ctr = parity | csize | 0x88; /* 1:16 clk mode, 1 stop bit */ in atari_init_mfp_port()
282 int csize = ((cflag & CSIZE) == CS8) ? 0x10 : 0x00; in atari_init_midi_port() local
299 acia.mid_ctrl = div | csize | parity | in atari_init_midi_port()
/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_core.c504 unsigned short clen, csize; in ip_vs_out_icmp() local
549 csize = ciph->ihl << 2; in ip_vs_out_icmp()
550 if (clen < csize) in ip_vs_out_icmp()
562 if (clen < csize + sizeof(struct udphdr)) in ip_vs_out_icmp()
570 pptr = (__u16 *)&(((char *)ciph)[csize]); in ip_vs_out_icmp()
860 unsigned short clen, csize; in ip_vs_in_icmp() local
894 csize = ciph->ihl << 2; in ip_vs_in_icmp()
895 if (clen < csize) in ip_vs_in_icmp()
907 if (clen < csize + sizeof(struct udphdr)) in ip_vs_in_icmp()
918 pptr = (__u16 *)&(((char *)ciph)[csize]); in ip_vs_in_icmp()
[all …]
/linux-2.4.37.9/fs/hfs/
Dbtree.c158 hfs_u32 tsize, hfs_u32 csize) in hfs_btree_init() argument
191 bt->entry.u.file.clumpablks = (csize / mdb->alloc_blksz) in hfs_btree_init()
/linux-2.4.37.9/include/linux/
Djffs2.h148 __u32 csize; /* (Compressed) data size */ member
Dcdk.h228 unsigned char csize; member
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_buf.c1849 size_t bend, cpoff, csize; in pagebuf_iomove() local
1856 csize = min_t(size_t, in pagebuf_iomove()
1859 ASSERT(((csize + cpoff) <= PAGE_CACHE_SIZE)); in pagebuf_iomove()
1863 memset(page_address(page) + cpoff, 0, csize); in pagebuf_iomove()
1866 memcpy(data, page_address(page) + cpoff, csize); in pagebuf_iomove()
1869 memcpy(page_address(page) + cpoff, data, csize); in pagebuf_iomove()
1872 boff += csize; in pagebuf_iomove()
1873 data += csize; in pagebuf_iomove()
/linux-2.4.37.9/drivers/char/rio/
Driotty.c1358 unsigned char csize;
1365 csize = ((struct termio *)sg)->c_cflag & CSIZE;
1371 csize = sg->c_cflag & CSIZE;
/linux-2.4.37.9/drivers/media/video/
Dbttv-driver.c778 u32 shift, csize; in make_prisctab() local
787 csize=(width*height)>>1; in make_prisctab()
793 csize=(width*height)>>2; in make_prisctab()
799 csize=(width*height)>>2; in make_prisctab()
805 csize=(width*height)>>4; in make_prisctab()
814 cradr=cbadr+csize; in make_prisctab()
826 vadr+=csize<<1; in make_prisctab()
828 cradr=cbadr+csize; in make_prisctab()
/linux-2.4.37.9/drivers/scsi/
Dgdth.h557 ulong32 csize; /* cache size */ member
/linux-2.4.37.9/drivers/char/
Distallion.c3216 pp->csize = 5; in stli_mkasyport()
3219 pp->csize = 6; in stli_mkasyport()
3222 pp->csize = 7; in stli_mkasyport()
3225 pp->csize = 8; in stli_mkasyport()