Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/ubi/
Dvmt.c93 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in vol_attribute_show()
200 (int)req->vol_type, req->name); in ubi_create_volume()
241 vol->vol_type = req->vol_type; in ubi_create_volume()
262 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in ubi_create_volume()
301 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_create_volume()
302 vtbl_rec.vol_type = UBI_VID_DYNAMIC; in ubi_create_volume()
304 vtbl_rec.vol_type = UBI_VID_STATIC; in ubi_create_volume()
439 if (vol->vol_type == UBI_STATIC_VOLUME && in ubi_resize_volume()
517 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in ubi_resize_volume()
651 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()
321 vid_hdr->vol_type = UBI_LAYOUT_VOLUME_TYPE; in create_vtbl()
555 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ? in init_volumes()
598 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in init_volumes()
645 vol->vol_type = UBI_DYNAMIC_VOLUME; in init_volumes()
700 if (av->vol_type != vol->vol_type) { in check_av()
Dkapi.c87 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info()
393 if (vol->vol_type == UBI_STATIC_VOLUME) { in leb_read_sanity_check()
452 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read()
492 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read_sg()
538 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_write()
583 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_change()
620 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_erase()
680 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_unmap()
716 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.c347 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local
366 if (av->vol_type == UBI_STATIC_VOLUME) in validate_vid_hdr()
371 if (vol_type != av_vol_type) { in validate_vid_hdr()
425 av->vol_type = vid_hdr->vol_type == UBI_VID_DYNAMIC ? UBI_DYNAMIC_VOLUME in add_volume()
1699 av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 || in self_check_ai()
1717 if (av->vol_type != UBI_DYNAMIC_VOLUME && in self_check_ai()
1718 av->vol_type != UBI_STATIC_VOLUME) { in self_check_ai()
1758 if (av->vol_type == UBI_STATIC_VOLUME) { in self_check_ai()
1803 int vol_type; in self_check_ai() local
1818 vol_type = vidh->vol_type == UBI_VID_DYNAMIC ? in self_check_ai()
[all …]
Ddebug.c88 pr_err("\tvol_type %d\n", (int)vid_hdr->vol_type); in ubi_dump_vid_hdr()
115 pr_err("\tvol_type %d\n", vol->vol_type); in ubi_dump_vol_info()
147 pr_err("\tvol_type %d\n", (int)r->vol_type); in ubi_dump_vtbl_record()
178 pr_err("\tvol_type %d\n", av->vol_type); in ubi_dump_av()
213 pr_err("\tvol_type %d\n", req->vol_type); in ubi_dump_mkvol_req()
Dcdev.c277 if (vol->vol_type == UBI_STATIC_VOLUME) in vol_cdev_direct_write()
454 vol->vol_type == UBI_STATIC_VOLUME) { in vol_cdev_ioctl()
487 vol->vol_type == UBI_STATIC_VOLUME) { in vol_cdev_ioctl()
611 if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 || in verify_mkvol_req()
625 if (req->vol_type != UBI_DYNAMIC_VOLUME && in verify_mkvol_req()
626 req->vol_type != UBI_STATIC_VOLUME) in verify_mkvol_req()
633 req->vol_type != UBI_STATIC_VOLUME) in verify_mkvol_req()
Deba.c637 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); in ubi_eba_read_leb()
645 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
712 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
848 ubi_assert(vid_hdr->vol_type == UBI_VID_DYNAMIC); in try_recover_peb()
1069 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_write_leb()
1158 vid_hdr->vol_type = UBI_VID_STATIC; in ubi_eba_write_leb_st()
1242 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_atomic_leb_change()
1330 if (vid_hdr->vol_type == UBI_VID_STATIC) { in ubi_eba_copy_leb()
1412 if (vid_hdr->vol_type == UBI_VID_DYNAMIC) in ubi_eba_copy_leb()
Dfastmap.c123 vh->vol_type = UBI_VID_DYNAMIC; in new_fm_vbuf()
185 int used_ebs, int data_pad, u8 vol_type, in add_vol() argument
197 av->vol_type = vol_type; in add_vol()
198 if (av->vol_type == UBI_STATIC_VOLUME) in add_vol()
325 if (av->vol_type == UBI_STATIC_VOLUME) in update_vol()
706 fmvhdr->vol_type, in ubi_attach_fastmap()
1305 fvh->vol_type = vol->vol_type; in ubi_write_fastmap()
1310 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap()
1311 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap()
Dio.c848 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local
887 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { in validate_vid_hdr()
902 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.c327 if (vi->vol_type == UBI_DYNAMIC_VOLUME) in gluebi_create()
420 if (vi->vol_type == UBI_STATIC_VOLUME) in gluebi_updated()
Dmisc.c67 if (vol->vol_type != UBI_STATIC_VOLUME) in ubi_check_volume()
Dubi.h363 int vol_type; member
725 int vol_type; member
Dblock.c573 if (nt->vi.vol_type == UBI_STATIC_VOLUME) in ubiblock_notify()
/Linux-v4.19/include/uapi/mtd/
Dubi-user.h337 __s8 vol_type; member
/Linux-v4.19/include/linux/mtd/
Dubi.h118 int vol_type; member
/Linux-v4.19/fs/ubifs/
Dsuper.c512 if (c->vi.vol_type == UBI_STATIC_VOLUME) { in init_constants_early()