Searched refs:mdatalen (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/fs/jffs2/ |
D | file.c | 91 int mdatalen = 0; in jffs2_setattr() local 110 mdatalen = sizeof(dev); in jffs2_setattr() 111 D1(printk(KERN_DEBUG "jffs2_setattr(): Writing %d bytes of kdev_t\n", mdatalen)); in jffs2_setattr() 113 mdatalen = f->metadata->size; in jffs2_setattr() 117 ret = jffs2_read_dnode(c, f->metadata, mdata, 0, mdatalen); in jffs2_setattr() 122 D1(printk(KERN_DEBUG "jffs2_setattr(): Writing %d bytes of symlink target\n", mdatalen)); in jffs2_setattr() 132 ret = jffs2_reserve_space(c, sizeof(*ri) + mdatalen, &phys_ofs, &alloclen, ALLOC_NORMAL); in jffs2_setattr() 144 ri->totlen = sizeof(*ri) + mdatalen; in jffs2_setattr() 164 ri->csize = ri->dsize = mdatalen; in jffs2_setattr() 173 if (mdatalen) in jffs2_setattr() [all …]
|
D | gc.c | 299 char *mdata = NULL, mdatalen = 0; in jffs2_garbage_collect_metadata() local 308 mdatalen = sizeof(dev); in jffs2_garbage_collect_metadata() 309 D1(printk(KERN_DEBUG "jffs2_garbage_collect_metadata(): Writing %d bytes of kdev_t\n", mdatalen)); in jffs2_garbage_collect_metadata() 311 mdatalen = fn->size; in jffs2_garbage_collect_metadata() 317 ret = jffs2_read_dnode(c, fn, mdata, 0, mdatalen); in jffs2_garbage_collect_metadata() 323 …tk(KERN_DEBUG "jffs2_garbage_collect_metadata(): Writing %d bites of symlink target\n", mdatalen)); in jffs2_garbage_collect_metadata() 327 ret = jffs2_reserve_space_gc(c, sizeof(ri) + mdatalen, &phys_ofs, &alloclen); in jffs2_garbage_collect_metadata() 330 sizeof(ri)+ mdatalen, ret); in jffs2_garbage_collect_metadata() 337 ri.totlen = sizeof(ri) + mdatalen; in jffs2_garbage_collect_metadata() 350 ri.csize = mdatalen; in jffs2_garbage_collect_metadata() [all …]
|