Home
last modified time | relevance | path

Searched refs:vol_type (Results 1 – 21 of 21) sorted by relevance

/drivers/mtd/ubi/
Dvmt.c80 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in vol_attribute_show()
187 (int)req->vol_type, req->name); in ubi_create_volume()
228 vol->vol_type = req->vol_type; in ubi_create_volume()
249 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in ubi_create_volume()
288 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_create_volume()
289 vtbl_rec.vol_type = UBI_VID_DYNAMIC; in ubi_create_volume()
291 vtbl_rec.vol_type = UBI_VID_STATIC; in ubi_create_volume()
426 if (vol->vol_type == UBI_STATIC_VOLUME && in ubi_resize_volume()
504 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in ubi_resize_volume()
638 int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; in self_check_volume() local
[all …]
Dvtbl.c160 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; in vtbl_check() local
172 vol_type = vtbl[i].vol_type; in vtbl_check()
217 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { in vtbl_check()
308 vid_hdr->vol_type = UBI_LAYOUT_VOLUME_TYPE; in create_vtbl()
542 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ? in init_volumes()
585 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in init_volumes()
632 vol->vol_type = UBI_DYNAMIC_VOLUME; in init_volumes()
687 if (av->vol_type != vol->vol_type) { in check_av()
Dkapi.c74 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info()
380 if (vol->vol_type == UBI_STATIC_VOLUME) { in leb_read_sanity_check()
439 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read()
479 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read_sg()
525 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_write()
570 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_change()
607 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_erase()
667 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_unmap()
703 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_map()
Dubi-media.h271 __u8 vol_type; member
359 __u8 vol_type; member
482 __u8 vol_type; member
Dattach.c334 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local
353 if (av->vol_type == UBI_STATIC_VOLUME) in validate_vid_hdr()
358 if (vol_type != av_vol_type) { in validate_vid_hdr()
412 av->vol_type = vid_hdr->vol_type == UBI_VID_DYNAMIC ? UBI_DYNAMIC_VOLUME in add_volume()
1687 av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 || in self_check_ai()
1705 if (av->vol_type != UBI_DYNAMIC_VOLUME && in self_check_ai()
1706 av->vol_type != UBI_STATIC_VOLUME) { in self_check_ai()
1746 if (av->vol_type == UBI_STATIC_VOLUME) { in self_check_ai()
1791 int vol_type; in self_check_ai() local
1806 vol_type = vidh->vol_type == UBI_VID_DYNAMIC ? in self_check_ai()
[all …]
Deba.c624 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); in ubi_eba_read_leb()
632 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
699 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
835 ubi_assert(vid_hdr->vol_type == UBI_VID_DYNAMIC); in try_recover_peb()
1056 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_write_leb()
1145 vid_hdr->vol_type = UBI_VID_STATIC; in ubi_eba_write_leb_st()
1229 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_atomic_leb_change()
1317 if (vid_hdr->vol_type == UBI_VID_STATIC) { in ubi_eba_copy_leb()
1399 if (vid_hdr->vol_type == UBI_VID_DYNAMIC) in ubi_eba_copy_leb()
Dcdev.c264 if (vol->vol_type == UBI_STATIC_VOLUME) in vol_cdev_direct_write()
441 vol->vol_type == UBI_STATIC_VOLUME) { in vol_cdev_ioctl()
474 vol->vol_type == UBI_STATIC_VOLUME) { in vol_cdev_ioctl()
598 if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 || in verify_mkvol_req()
612 if (req->vol_type != UBI_DYNAMIC_VOLUME && in verify_mkvol_req()
613 req->vol_type != UBI_STATIC_VOLUME) in verify_mkvol_req()
620 req->vol_type != UBI_STATIC_VOLUME) in verify_mkvol_req()
Ddebug.c75 pr_err("\tvol_type %d\n", (int)vid_hdr->vol_type); in ubi_dump_vid_hdr()
102 pr_err("\tvol_type %d\n", vol->vol_type); in ubi_dump_vol_info()
134 pr_err("\tvol_type %d\n", (int)r->vol_type); in ubi_dump_vtbl_record()
165 pr_err("\tvol_type %d\n", av->vol_type); in ubi_dump_av()
200 pr_err("\tvol_type %d\n", req->vol_type); in ubi_dump_mkvol_req()
Dfastmap.c114 vh->vol_type = UBI_VID_DYNAMIC; in new_fm_vbuf()
176 int used_ebs, int data_pad, u8 vol_type, in add_vol() argument
188 av->vol_type = vol_type; in add_vol()
189 if (av->vol_type == UBI_STATIC_VOLUME) in add_vol()
316 if (av->vol_type == UBI_STATIC_VOLUME) in update_vol()
697 fmvhdr->vol_type, in ubi_attach_fastmap()
1296 fvh->vol_type = vol->vol_type; in ubi_write_fastmap()
1301 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap()
1302 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap()
Dio.c835 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local
874 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { in validate_vid_hdr()
889 if (vol_type == UBI_VID_STATIC) { in validate_vid_hdr()
Dupd.c86 if (vol->vol_type == UBI_STATIC_VOLUME) { in clear_update_marker()
224 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in write_leb()
Dgluebi.c314 if (vi->vol_type == UBI_DYNAMIC_VOLUME) in gluebi_create()
407 if (vi->vol_type == UBI_STATIC_VOLUME) in gluebi_updated()
Dmisc.c54 if (vol->vol_type != UBI_STATIC_VOLUME) in ubi_check_volume()
Dubi.h350 int vol_type; member
712 int vol_type; member
Dblock.c592 if (nt->vi.vol_type == UBI_STATIC_VOLUME) in ubiblock_notify()
/drivers/staging/exfat/
Dexfat_super.c418 if (p_fs->vol_type == EXFAT) { in ffsMountVol()
433 if (p_fs->vol_type == EXFAT) { in ffsMountVol()
465 if (p_fs->vol_type == EXFAT) { in ffsUmountVol()
507 info->FatType = p_fs->vol_type; in ffsGetVolInfo()
600 if (p_fs->vol_type == EXFAT) { in ffsLookupFile()
624 fid->flags = (p_fs->vol_type == EXFAT) ? 0x03 : 0x01; in ffsLookupFile()
631 if (p_fs->vol_type == EXFAT) in ffsLookupFile()
1005 if (p_fs->vol_type == EXFAT) { in ffsWriteFile()
1021 if (p_fs->vol_type != EXFAT) in ffsWriteFile()
1034 if (p_fs->vol_type != EXFAT) in ffsWriteFile()
[all …]
Dexfat_cache.c205 if (p_fs->vol_type == FAT12) { in __FAT_read()
242 } else if (p_fs->vol_type == FAT16) { in __FAT_read()
263 } else if (p_fs->vol_type == FAT32) { in __FAT_read()
284 } else if (p_fs->vol_type == EXFAT) { in __FAT_read()
333 if (p_fs->vol_type == FAT12) { in __FAT_write()
385 else if (p_fs->vol_type == FAT16) { in __FAT_write()
399 } else if (p_fs->vol_type == FAT32) { in __FAT_write()
Dexfat_core.c102 if (p_fs->vol_type == EXFAT) { in fs_set_vol_flags()
2030 if (p_fs->vol_type == EXFAT) in search_deleted_or_unused_entry()
2073 if (p_fs->vol_type == EXFAT) { in find_empty_entry()
2113 if (p_fs->vol_type == EXFAT) { in find_empty_entry()
2534 if (p_fs->vol_type == EXFAT) in is_dir_empty()
2576 if (p_fs->vol_type != EXFAT) { in get_num_entries_and_dos_name()
3053 p_fs->vol_type = FAT12; in fat16_mount()
3055 p_fs->vol_type = FAT16; in fat16_mount()
3108 p_fs->vol_type = FAT32; in fat32_mount()
3183 p_fs->vol_type = EXFAT; in exfat_mount()
[all …]
Dexfat.h344 u8 vol_type[8]; member
374 u8 vol_type[8]; member
584 u32 vol_type; /* volume FAT type */ member
/drivers/s390/block/
Ddasd_eckd.h565 __u8 vol_type:1; /* 0 - CKD/FBA, 1 - FB */ member
Ddasd_eckd.c3526 ras_data->flags.vol_type = 0; /* CKD volume */ in dasd_eckd_dso_ras()