Searched refs:mdata (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/fs/jffs2/ |
D | file.c | 90 unsigned char *mdata = NULL; in jffs2_setattr() local 109 mdata = (char *)&dev; in jffs2_setattr() 114 mdata = kmalloc(f->metadata->size, GFP_USER); in jffs2_setattr() 115 if (!mdata) in jffs2_setattr() 117 ret = jffs2_read_dnode(c, f->metadata, mdata, 0, mdatalen); in jffs2_setattr() 119 kfree(mdata); in jffs2_setattr() 128 kfree(mdata); in jffs2_setattr() 136 kfree(mdata); in jffs2_setattr() 174 ri->data_crc = crc32(0, mdata, mdatalen); in jffs2_setattr() 178 new_metadata = jffs2_write_dnode(inode, ri, mdata, mdatalen, phys_ofs, NULL); in jffs2_setattr() [all …]
|
D | gc.c | 299 char *mdata = NULL, mdatalen = 0; in jffs2_garbage_collect_metadata() local 307 mdata = (char *)&dev; in jffs2_garbage_collect_metadata() 312 mdata = kmalloc(fn->size, GFP_KERNEL); in jffs2_garbage_collect_metadata() 313 if (!mdata) { in jffs2_garbage_collect_metadata() 317 ret = jffs2_read_dnode(c, fn, mdata, 0, mdatalen); in jffs2_garbage_collect_metadata() 320 kfree(mdata); in jffs2_garbage_collect_metadata() 354 ri.data_crc = crc32(0, mdata, mdatalen); in jffs2_garbage_collect_metadata() 356 new_fn = jffs2_write_dnode(inode, &ri, mdata, mdatalen, phys_ofs, NULL); in jffs2_garbage_collect_metadata() 368 kfree(mdata); in jffs2_garbage_collect_metadata()
|
/linux-2.4.37.9/drivers/scsi/ |
D | ips.c | 4357 IPS_SCSI_MODE_PAGE_DATA mdata; local 4374 memset(&mdata, 0, sizeof (IPS_SCSI_MODE_PAGE_DATA)); 4376 mdata.hdr.BlockDescLength = 8; 4380 mdata.pdata.pg3.PageCode = 3; 4381 mdata.pdata.pg3.PageLength = sizeof (IPS_SCSI_MODE_PAGE3); 4382 mdata.hdr.DataLength = 4383 3 + mdata.hdr.BlockDescLength + mdata.pdata.pg3.PageLength; 4384 mdata.pdata.pg3.TracksPerZone = 0; 4385 mdata.pdata.pg3.AltSectorsPerZone = 0; 4386 mdata.pdata.pg3.AltTracksPerZone = 0; [all …]
|
/linux-2.4.37.9/fs/smbfs/ |
D | sock.c | 783 int mparam, mdata; in smb_send_trans2() local 818 mdata = server->opt.max_xmit - mparam - 100; in smb_send_trans2() 819 if (mdata < 1024) { in smb_send_trans2() 820 mdata = 1024; in smb_send_trans2() 827 WSET(server->packet, smb_mdrcnt, mdata); in smb_send_trans2()
|