Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/ubi/
A Dvmt.c89 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()
299 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_create_volume()
300 vtbl_rec.vol_type = UBI_VID_DYNAMIC; in ubi_create_volume()
302 vtbl_rec.vol_type = UBI_VID_STATIC; in ubi_create_volume()
448 if (vol->vol_type == UBI_STATIC_VOLUME && in ubi_resize_volume()
778 vol_type = UBI_DYNAMIC_VOLUME; in self_check_volume()
780 vol_type = UBI_STATIC_VOLUME; in self_check_volume()
[all …]
A Dvtbl.c170 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; local
182 vol_type = vtbl[i].vol_type;
227 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) {
319 vid_hdr->vol_type = UBI_LAYOUT_VOLUME_TYPE;
553 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ?
586 if (vol->vol_type == UBI_DYNAMIC_VOLUME) {
633 vol->vol_type = UBI_DYNAMIC_VOLUME;
684 if (av->vol_type != vol->vol_type) {
A Dubi-media.h274 __u8 vol_type; member
362 __u8 vol_type; member
489 __u8 vol_type; member
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()
A Dattach.c195 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local
214 if (av->vol_type == UBI_STATIC_VOLUME) in validate_vid_hdr()
219 if (vol_type != av_vol_type) { in validate_vid_hdr()
291 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 …]
A Ddebug.c79 pr_err("\tvol_type %d\n", (int)vid_hdr->vol_type); in ubi_dump_vid_hdr()
106 printf("\tvol_type %d\n", vol->vol_type); in ubi_dump_vol_info()
139 pr_err("\tvol_type %d\n", (int)r->vol_type); in ubi_dump_vtbl_record()
170 pr_err("\tvol_type %d\n", av->vol_type); in ubi_dump_av()
205 pr_err("\tvol_type %d\n", req->vol_type); in ubi_dump_mkvol_req()
A Dmisc.c57 if (vol->vol_type != UBI_STATIC_VOLUME) in ubi_check_volume()
A Deba.c388 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); in ubi_eba_read_leb()
396 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
444 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
698 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_write_leb()
823 vid_hdr->vol_type = UBI_VID_STATIC; in ubi_eba_write_leb_st()
944 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_atomic_leb_change()
1068 if (vid_hdr->vol_type == UBI_VID_STATIC) { in ubi_eba_copy_leb()
1150 if (vid_hdr->vol_type == UBI_VID_DYNAMIC) in ubi_eba_copy_leb()
A Dfastmap.c125 new->vol_type = UBI_VID_DYNAMIC; in new_fm_vhdr()
189 int used_ebs, int data_pad, u8 vol_type, in add_vol() argument
216 av->vol_type = vol_type; in add_vol()
218 if (av->vol_type == UBI_STATIC_VOLUME) in add_vol()
353 if (av->vol_type == UBI_STATIC_VOLUME) in update_vol()
760 fmvhdr->vol_type, in ubi_attach_fastmap()
1277 fvh->vol_type = vol->vol_type; in ubi_write_fastmap()
1282 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap()
1283 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap()
A Dupd.c94 if (vol->vol_type == UBI_STATIC_VOLUME) { in clear_update_marker()
232 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in write_leb()
A Dio.c863 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local
902 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { in validate_vid_hdr()
912 if (vol_type == UBI_VID_STATIC) { in validate_vid_hdr()
A Dubi.h326 int vol_type; member
689 int vol_type; member
/u-boot/drivers/mtd/ubispl/
A Dubispl.c67 ubi_dbg("\tvol_type %d", (int)r->vol_type); in ubi_dump_vtbl_record()
101 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; in vtbl_check() local
111 vol_type = vtbl[i].vol_type; in vtbl_check()
156 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { in vtbl_check()
295 vh->vol_type == UBI_VID_STATIC && in ubi_rescan_fm_vid_hdr()
299 fm_pnum, fm_vol_id, vh->vol_type, in ubi_rescan_fm_vid_hdr()
419 u32 vol_id, u32 vol_type, u32 used) in assign_aeb_to_av() argument
429 if (vol_id >= UBI_SPL_VOL_IDS || vol_type != UBI_STATIC_VOLUME) in assign_aeb_to_av()
588 u32 vol_id, vol_type, used, reserved; in ubi_attach_fastmap() local
603 vol_type = fmvhdr->vol_type; in ubi_attach_fastmap()
[all …]
/u-boot/cmd/
A Dubi.c177 if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 || in verify_mkvol_req()
194 if (req->vol_type != UBI_DYNAMIC_VOLUME && in verify_mkvol_req()
195 req->vol_type != UBI_STATIC_VOLUME) in verify_mkvol_req()
223 req.vol_type = UBI_DYNAMIC_VOLUME; in ubi_create_vol()
225 req.vol_type = UBI_STATIC_VOLUME; in ubi_create_vol()
/u-boot/include/mtd/
A Dubi-user.h323 __s8 vol_type; member
/u-boot/include/linux/mtd/
A Dubi.h107 int vol_type; member
/u-boot/test/
A Dnokia_rx51_test.sh171 vol_type=dynamic
186 vol_type=dynamic
/u-boot/doc/
A DREADME.ubi96 UBI: vol_type 3
111 UBI: vol_type 3
/u-boot/fs/ubifs/
A Dsuper.c694 if (c->vi.vol_type == UBI_STATIC_VOLUME) { in init_constants_early()

Completed in 46 milliseconds