Searched refs:readlen (Results 1 – 6 of 6) sorted by relevance
/linux-2.4.37.9/fs/jffs2/ |
D | read.c | 48 size_t readlen; in jffs2_read_dnode() local 58 ret = c->mtd->read(c->mtd, fd->raw->flash_offset & ~3, sizeof(*ri), &readlen, (char *)ri); in jffs2_read_dnode() 64 if (readlen != sizeof(*ri)) { in jffs2_read_dnode() 67 fd->raw->flash_offset & ~3, sizeof(*ri), readlen); 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()
|
D | erase.c | 297 __u32 readlen = min((__u32)PAGE_SIZE, jeb->offset + c->sector_size - ofs); in jffs2_mark_erased_blocks() local 300 ret = c->mtd->read(c->mtd, ofs, readlen, &retlen, ebuf); in jffs2_mark_erased_blocks() 305 if (retlen != readlen) { in jffs2_mark_erased_blocks() 306 …WARNING "Short read from newly-erased block at 0x%08x. Wanted %d, got %d\n", ofs, readlen, retlen); in jffs2_mark_erased_blocks() 309 for (i=0; i<readlen; i += sizeof(unsigned long)) { in jffs2_mark_erased_blocks() 329 ofs += readlen; in jffs2_mark_erased_blocks()
|
D | file.c | 278 __u32 readlen; in jffs2_do_readpage_nolock() local 282 readlen = min(frag->size - fragofs, end - offset); in jffs2_do_readpage_nolock() 284 fragofs+frag->ofs+readlen, frag->node->raw->flash_offset & ~3)); in jffs2_do_readpage_nolock() 285 ret = jffs2_read_dnode(c, frag->node, pg_buf, fragofs + frag->ofs - frag->node->ofs, readlen); in jffs2_do_readpage_nolock() 289 memset(pg_buf, 0, readlen); in jffs2_do_readpage_nolock() 296 pg_buf += readlen; in jffs2_do_readpage_nolock() 297 offset += readlen; in jffs2_do_readpage_nolock()
|
D | gc.c | 458 size_t readlen; in jffs2_garbage_collect_hole() local 462 ret = c->mtd->read(c->mtd, fn->raw->flash_offset & ~3, sizeof(ri), &readlen, (char *)&ri); in jffs2_garbage_collect_hole() 463 if (readlen != sizeof(ri) || ret) { in jffs2_garbage_collect_hole() 464 …bage_collect_hole. Ret %d, retlen %d. Data will be lost by writing new hold node\n", ret, readlen); in jffs2_garbage_collect_hole()
|
/linux-2.4.37.9/fs/romfs/ |
D | inode.c | 397 unsigned long offset, avail, readlen; in romfs_readpage() local 411 readlen = min_t(unsigned long, avail, PAGE_SIZE); in romfs_readpage() 412 if (romfs_copyfrom(inode, buf, inode->u.romfs_i.i_dataoffset+offset, readlen) == readlen) { in romfs_readpage() 413 if (readlen < PAGE_SIZE) { in romfs_readpage() 414 memset(buf + readlen,0,PAGE_SIZE-readlen); in romfs_readpage()
|
/linux-2.4.37.9/drivers/net/wireless/ |
D | airo.c | 3533 int readlen; member 3679 if (pos >= priv->readlen) 3681 if (len > priv->readlen - pos) 3682 len = priv->readlen - pos; 3779 data->readlen = strlen( data->rbuffer ); 3833 data->readlen = j; 4151 data->readlen = strlen( data->rbuffer ); 4379 data->readlen = strlen( data->rbuffer ); 4423 data->readlen = strlen( data->rbuffer ); 4471 data->readlen = strlen( data->rbuffer ); [all …]
|