Home
last modified time | relevance | path

Searched refs:mdata (Results 1 – 5 of 5) sorted by relevance

/fs/udf/
Dpartition.c310 struct udf_meta_data *mdata; in udf_get_pblock_meta25() local
317 mdata = &map->s_type_specific.s_metadata; in udf_get_pblock_meta25()
318 inode = mdata->s_metadata_fe ? : mdata->s_mirror_fe; in udf_get_pblock_meta25()
323 if (retblk == 0xFFFFFFFF && mdata->s_metadata_fe) { in udf_get_pblock_meta25()
325 if (!(mdata->s_flags & MF_MIRROR_FE_LOADED)) { in udf_get_pblock_meta25()
326 mdata->s_mirror_fe = udf_find_metadata_inode_efe(sb, in udf_get_pblock_meta25()
327 mdata->s_mirror_file_loc, map->s_partition_num); in udf_get_pblock_meta25()
328 mdata->s_flags |= MF_MIRROR_FE_LOADED; in udf_get_pblock_meta25()
331 inode = mdata->s_mirror_fe; in udf_get_pblock_meta25()
Dsuper.c297 struct udf_meta_data *mdata; in udf_free_partition() local
311 mdata = &map->s_type_specific.s_metadata; in udf_free_partition()
312 iput(mdata->s_metadata_fe); in udf_free_partition()
313 mdata->s_metadata_fe = NULL; in udf_free_partition()
315 iput(mdata->s_mirror_fe); in udf_free_partition()
316 mdata->s_mirror_fe = NULL; in udf_free_partition()
318 iput(mdata->s_bitmap_fe); in udf_free_partition()
319 mdata->s_bitmap_fe = NULL; in udf_free_partition()
986 struct udf_meta_data *mdata; in udf_load_metadata_files() local
991 mdata = &map->s_type_specific.s_metadata; in udf_load_metadata_files()
[all …]
/fs/jffs2/
Dfs.c37 unsigned char *mdata = NULL; in jffs2_do_setattr() local
54 mdata = (char *)&dev; in jffs2_do_setattr()
60 mdata = kmalloc(f->metadata->size, GFP_USER); in jffs2_do_setattr()
61 if (!mdata) { in jffs2_do_setattr()
65 ret = jffs2_read_dnode(c, f, f->metadata, mdata, 0, mdatalen); in jffs2_do_setattr()
68 kfree(mdata); in jffs2_do_setattr()
79 kfree(mdata); in jffs2_do_setattr()
88 kfree(mdata); in jffs2_do_setattr()
133 ri->data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_do_setattr()
137 new_metadata = jffs2_write_dnode(c, f, ri, mdata, mdatalen, alloc_type); in jffs2_do_setattr()
[all …]
Dgc.c745 char *mdata = NULL; in jffs2_garbage_collect_metadata() local
754 mdata = (char *)&dev; in jffs2_garbage_collect_metadata()
759 mdata = kmalloc(fn->size, GFP_KERNEL); in jffs2_garbage_collect_metadata()
760 if (!mdata) { in jffs2_garbage_collect_metadata()
764 ret = jffs2_read_dnode(c, f, fn, mdata, 0, mdatalen); in jffs2_garbage_collect_metadata()
768 kfree(mdata); in jffs2_garbage_collect_metadata()
812 ri.data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_garbage_collect_metadata()
814 new_fn = jffs2_write_dnode(c, f, &ri, mdata, mdatalen, ALLOC_GC); in jffs2_garbage_collect_metadata()
826 kfree(mdata); in jffs2_garbage_collect_metadata()
/fs/cifs/
Dconnect.c3559 char *full_path = NULL, *ref_path = NULL, *mdata = NULL; in expand_dfs_referral() local
3574 mdata = cifs_compose_mount_options(cifs_sb->mountdata, in expand_dfs_referral()
3580 if (IS_ERR(mdata)) { in expand_dfs_referral()
3581 rc = PTR_ERR(mdata); in expand_dfs_referral()
3582 mdata = NULL; in expand_dfs_referral()
3585 rc = cifs_setup_volume_info(volume_info, mdata, in expand_dfs_referral()
3590 cifs_sb->mountdata = mdata; in expand_dfs_referral()