Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/mtd/ubi/
H A Dvmt.c88 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in vol_attribute_show()
186 (int)req->vol_type, req->name); in ubi_create_volume()
227 vol->vol_type = req->vol_type; in ubi_create_volume()
249 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in ubi_create_volume()
295 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_create_volume()
296 vtbl_rec.vol_type = UBI_VID_DYNAMIC; in ubi_create_volume()
298 vtbl_rec.vol_type = UBI_VID_STATIC; in ubi_create_volume()
440 if (vol->vol_type == UBI_STATIC_VOLUME && in ubi_resize_volume()
514 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 …]
H A Dvtbl.c167 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; local
179 vol_type = vtbl[i].vol_type;
224 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) {
316 vid_hdr->vol_type = UBI_LAYOUT_VOLUME_TYPE;
550 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ?
580 if (vol->vol_type == UBI_DYNAMIC_VOLUME) {
627 vol->vol_type = UBI_DYNAMIC_VOLUME;
678 if (av->vol_type != vol->vol_type) {
H A Dkapi.c82 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info()
387 if (vol->vol_type == UBI_STATIC_VOLUME) { in leb_read_sanity_check()
446 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read()
486 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read_sg()
533 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_write()
578 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_change()
615 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_erase()
675 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_unmap()
711 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_map()
H A Dubi-media.h269 __u8 vol_type; member
357 __u8 vol_type; member
484 __u8 vol_type; member
H A Dattach.c192 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local
211 if (av->vol_type == UBI_STATIC_VOLUME) in validate_vid_hdr()
216 if (vol_type != av_vol_type) { in validate_vid_hdr()
288 av->vol_type = vid_hdr->vol_type == UBI_VID_DYNAMIC ? UBI_DYNAMIC_VOLUME in add_volume()
1527 av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 || in self_check_ai()
1545 if (av->vol_type != UBI_DYNAMIC_VOLUME && in self_check_ai()
1546 av->vol_type != UBI_STATIC_VOLUME) { in self_check_ai()
1586 if (av->vol_type == UBI_STATIC_VOLUME) { in self_check_ai()
1631 int vol_type; in self_check_ai() local
1646 vol_type = vidh->vol_type == UBI_VID_DYNAMIC ? in self_check_ai()
[all …]
H A Ddebug.c78 pr_err("\tvol_type %d\n", (int)vid_hdr->vol_type); in ubi_dump_vid_hdr()
105 printf("\tvol_type %d\n", vol->vol_type); in ubi_dump_vol_info()
137 pr_err("\tvol_type %d\n", (int)r->vol_type); in ubi_dump_vtbl_record()
168 pr_err("\tvol_type %d\n", av->vol_type); in ubi_dump_av()
203 pr_err("\tvol_type %d\n", req->vol_type); in ubi_dump_mkvol_req()
H A Dmisc.c56 if (vol->vol_type != UBI_STATIC_VOLUME) in ubi_check_volume()
H A Deba.c386 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); in ubi_eba_read_leb()
394 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
442 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
696 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_write_leb()
821 vid_hdr->vol_type = UBI_VID_STATIC; in ubi_eba_write_leb_st()
942 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_atomic_leb_change()
1066 if (vid_hdr->vol_type == UBI_VID_STATIC) { in ubi_eba_copy_leb()
1148 if (vid_hdr->vol_type == UBI_VID_DYNAMIC) in ubi_eba_copy_leb()
H A Dfastmap.c121 new->vol_type = UBI_VID_DYNAMIC; in new_fm_vhdr()
185 int used_ebs, int data_pad, u8 vol_type, in add_vol() argument
212 av->vol_type = vol_type; in add_vol()
214 if (av->vol_type == UBI_STATIC_VOLUME) in add_vol()
349 if (av->vol_type == UBI_STATIC_VOLUME) in update_vol()
756 fmvhdr->vol_type, in ubi_attach_fastmap()
1273 fvh->vol_type = vol->vol_type; in ubi_write_fastmap()
1278 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap()
1279 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap()
H A Dupd.c93 if (vol->vol_type == UBI_STATIC_VOLUME) { in clear_update_marker()
231 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in write_leb()
H A Dio.c873 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local
912 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { in validate_vid_hdr()
922 if (vol_type == UBI_VID_STATIC) { in validate_vid_hdr()
H A Dubi.h324 int vol_type; member
686 int vol_type; member
/rk3399_rockchip-uboot/drivers/mtd/ubispl/
H A Dubispl.c112 vh->vol_type == UBI_VID_STATIC && in ubi_rescan_fm_vid_hdr()
116 fm_pnum, fm_vol_id, vh->vol_type, in ubi_rescan_fm_vid_hdr()
215 if (vol_id >= UBI_SPL_VOL_IDS || vh->vol_type != UBI_VID_STATIC) in ubi_scan_vid_hdr()
227 u32 vol_id, u32 vol_type, u32 used) in assign_aeb_to_av() argument
236 if (vol_id >= UBI_SPL_VOL_IDS || vol_type != UBI_STATIC_VOLUME) in assign_aeb_to_av()
395 u32 vol_id, vol_type, used, reserved; in ubi_attach_fastmap() local
410 vol_type = fmvhdr->vol_type; in ubi_attach_fastmap()
446 vol_type, used); in ubi_attach_fastmap()
/rk3399_rockchip-uboot/cmd/
H A Dubi.c126 if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 || in verify_mkvol_req()
143 if (req->vol_type != UBI_DYNAMIC_VOLUME && in verify_mkvol_req()
144 req->vol_type != UBI_STATIC_VOLUME) in verify_mkvol_req()
171 req.vol_type = UBI_DYNAMIC_VOLUME; in ubi_create_vol()
173 req.vol_type = UBI_STATIC_VOLUME; in ubi_create_vol()
/rk3399_rockchip-uboot/include/mtd/
H A Dubi-user.h310 __s8 vol_type; member
/rk3399_rockchip-uboot/include/linux/mtd/
H A Dubi.h108 int vol_type; member
/rk3399_rockchip-uboot/doc/
H A DREADME.ubi96 UBI: vol_type 3
111 UBI: vol_type 3
/rk3399_rockchip-uboot/fs/ubifs/
H A Dsuper.c691 if (c->vi.vol_type == UBI_STATIC_VOLUME) { in init_constants_early()