Lines Matching refs:data
70 char *data; in hpfs_map_4sectors() local
79 qbh->data = data = kmalloc(2048, GFP_NOFS); in hpfs_map_4sectors()
80 if (!data) { in hpfs_map_4sectors()
88 memcpy(data, bh->b_data, 512); in hpfs_map_4sectors()
93 memcpy(data + 512, bh->b_data, 512); in hpfs_map_4sectors()
98 memcpy(data + 2 * 512, bh->b_data, 512); in hpfs_map_4sectors()
103 memcpy(data + 3 * 512, bh->b_data, 512); in hpfs_map_4sectors()
105 return data; in hpfs_map_4sectors()
114 kfree(data); in hpfs_map_4sectors()
133 if (!(qbh->data = kmalloc(2048, GFP_NOFS))) { in hpfs_get_4sectors()
141 memcpy(qbh->data, qbh->bh[0]->b_data, 512); in hpfs_get_4sectors()
142 memcpy(qbh->data + 512, qbh->bh[1]->b_data, 512); in hpfs_get_4sectors()
143 memcpy(qbh->data + 2*512, qbh->bh[2]->b_data, 512); in hpfs_get_4sectors()
144 memcpy(qbh->data + 3*512, qbh->bh[3]->b_data, 512); in hpfs_get_4sectors()
145 return qbh->data; in hpfs_get_4sectors()
161 kfree(qbh->data); in hpfs_brelse4()
167 memcpy(qbh->bh[0]->b_data, qbh->data, 512); in hpfs_mark_4buffers_dirty()
168 memcpy(qbh->bh[1]->b_data, qbh->data + 512, 512); in hpfs_mark_4buffers_dirty()
169 memcpy(qbh->bh[2]->b_data, qbh->data + 2 * 512, 512); in hpfs_mark_4buffers_dirty()
170 memcpy(qbh->bh[3]->b_data, qbh->data + 3 * 512, 512); in hpfs_mark_4buffers_dirty()