Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mtd/ubi/
Dvmt.c93 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in vol_attribute_show()
190 (int)req->vol_type, req->name); in ubi_create_volume()
231 vol->vol_type = req->vol_type; in ubi_create_volume()
253 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in ubi_create_volume()
297 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_create_volume()
298 vtbl_rec.vol_type = UBI_VID_DYNAMIC; in ubi_create_volume()
300 vtbl_rec.vol_type = UBI_VID_STATIC; in ubi_create_volume()
442 if (vol->vol_type == UBI_STATIC_VOLUME && in ubi_resize_volume()
516 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in ubi_resize_volume()
650 int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; in self_check_volume() local
[all …]
Dvtbl.c173 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; in vtbl_check() local
185 vol_type = vtbl[i].vol_type; in vtbl_check()
230 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { in vtbl_check()
318 vid_hdr->vol_type = UBI_LAYOUT_VOLUME_TYPE; in create_vtbl()
552 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ? in init_volumes()
582 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in init_volumes()
629 vol->vol_type = UBI_DYNAMIC_VOLUME; in init_volumes()
681 if (av->vol_type != vol->vol_type) { in check_av()
Dkapi.c87 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info()
390 if (vol->vol_type == UBI_STATIC_VOLUME) { in leb_read_sanity_check()
449 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read()
489 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read_sg()
535 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_write()
580 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_change()
617 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_erase()
677 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_unmap()
713 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_map()
Dubi-media.h281 __u8 vol_type; member
369 __u8 vol_type; member
492 __u8 vol_type; member
Dattach.c196 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local
215 if (av->vol_type == UBI_STATIC_VOLUME) in validate_vid_hdr()
220 if (vol_type != av_vol_type) { in validate_vid_hdr()
292 av->vol_type = vid_hdr->vol_type == UBI_VID_DYNAMIC ? UBI_DYNAMIC_VOLUME in add_volume()
1530 av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 || in self_check_ai()
1548 if (av->vol_type != UBI_DYNAMIC_VOLUME && in self_check_ai()
1549 av->vol_type != UBI_STATIC_VOLUME) { in self_check_ai()
1589 if (av->vol_type == UBI_STATIC_VOLUME) { in self_check_ai()
1634 int vol_type; in self_check_ai() local
1649 vol_type = vidh->vol_type == UBI_VID_DYNAMIC ? in self_check_ai()
[all …]
Ddebug.c87 pr_err("\tvol_type %d\n", (int)vid_hdr->vol_type); in ubi_dump_vid_hdr()
114 pr_err("\tvol_type %d\n", vol->vol_type); in ubi_dump_vol_info()
146 pr_err("\tvol_type %d\n", (int)r->vol_type); in ubi_dump_vtbl_record()
177 pr_err("\tvol_type %d\n", av->vol_type); in ubi_dump_av()
212 pr_err("\tvol_type %d\n", req->vol_type); in ubi_dump_mkvol_req()
Deba.c393 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); in ubi_eba_read_leb()
401 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
466 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
718 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_write_leb()
843 vid_hdr->vol_type = UBI_VID_STATIC; in ubi_eba_write_leb_st()
964 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_atomic_leb_change()
1088 if (vid_hdr->vol_type == UBI_VID_STATIC) { in ubi_eba_copy_leb()
1170 if (vid_hdr->vol_type == UBI_VID_DYNAMIC) in ubi_eba_copy_leb()
Dfastmap.c119 new->vol_type = UBI_VID_DYNAMIC; in new_fm_vhdr()
183 int used_ebs, int data_pad, u8 vol_type, in add_vol() argument
210 av->vol_type = vol_type; in add_vol()
212 if (av->vol_type == UBI_STATIC_VOLUME) in add_vol()
347 if (av->vol_type == UBI_STATIC_VOLUME) in update_vol()
748 fmvhdr->vol_type, in ubi_attach_fastmap()
1258 fvh->vol_type = vol->vol_type; in ubi_write_fastmap()
1263 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap()
1264 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap()
Dcdev.c277 if (vol->vol_type == UBI_STATIC_VOLUME) in vol_cdev_direct_write()
450 vol->vol_type == UBI_STATIC_VOLUME) { in vol_cdev_ioctl()
483 vol->vol_type == UBI_STATIC_VOLUME) { in vol_cdev_ioctl()
607 if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 || in verify_mkvol_req()
621 if (req->vol_type != UBI_DYNAMIC_VOLUME && in verify_mkvol_req()
622 req->vol_type != UBI_STATIC_VOLUME) in verify_mkvol_req()
Dmisc.c67 if (vol->vol_type != UBI_STATIC_VOLUME) in ubi_check_volume()
Dio.c880 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local
919 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { in validate_vid_hdr()
934 if (vol_type == UBI_VID_STATIC) { in validate_vid_hdr()
Dupd.c99 if (vol->vol_type == UBI_STATIC_VOLUME) { in clear_update_marker()
237 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in write_leb()
Dgluebi.c335 if (vi->vol_type == UBI_DYNAMIC_VOLUME) in gluebi_create()
428 if (vi->vol_type == UBI_STATIC_VOLUME) in gluebi_updated()
Dubi.h327 int vol_type; member
685 int vol_type; member
Dblock.c568 if (nt->vi.vol_type == UBI_STATIC_VOLUME) in ubiblock_notify()
/linux-4.4.14/include/uapi/mtd/
Dubi-user.h322 __s8 vol_type; member
/linux-4.4.14/include/linux/mtd/
Dubi.h118 int vol_type; member
/linux-4.4.14/fs/ubifs/
Dsuper.c508 if (c->vi.vol_type == UBI_STATIC_VOLUME) { in init_constants_early()