Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/ubi/
H A Dvmt.c87 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in vol_attribute_show()
185 (int)req->vol_type, req->name); in ubi_create_volume()
226 vol->vol_type = req->vol_type; in ubi_create_volume()
248 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in ubi_create_volume()
294 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_create_volume()
295 vtbl_rec.vol_type = UBI_VID_DYNAMIC; in ubi_create_volume()
297 vtbl_rec.vol_type = UBI_VID_STATIC; in ubi_create_volume()
439 if (vol->vol_type == UBI_STATIC_VOLUME && in ubi_resize_volume()
513 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in ubi_resize_volume()
649 int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; in self_check_volume() local
[all …]
H A Dvtbl.c166 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; local
178 vol_type = vtbl[i].vol_type;
223 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) {
315 vid_hdr->vol_type = UBI_LAYOUT_VOLUME_TYPE;
549 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ?
579 if (vol->vol_type == UBI_DYNAMIC_VOLUME) {
626 vol->vol_type = UBI_DYNAMIC_VOLUME;
677 if (av->vol_type != vol->vol_type) {
H A Dkapi.c81 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info()
386 if (vol->vol_type == UBI_STATIC_VOLUME) { in leb_read_sanity_check()
445 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read()
485 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read_sg()
532 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_write()
577 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_change()
614 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_erase()
674 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_unmap()
710 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_map()
H A Dubi-media.h268 __u8 vol_type; member
356 __u8 vol_type; member
483 __u8 vol_type; member
H A Dattach.c191 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local
210 if (av->vol_type == UBI_STATIC_VOLUME) in validate_vid_hdr()
215 if (vol_type != av_vol_type) { in validate_vid_hdr()
287 av->vol_type = vid_hdr->vol_type == UBI_VID_DYNAMIC ? UBI_DYNAMIC_VOLUME in add_volume()
1526 av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 || in self_check_ai()
1544 if (av->vol_type != UBI_DYNAMIC_VOLUME && in self_check_ai()
1545 av->vol_type != UBI_STATIC_VOLUME) { in self_check_ai()
1585 if (av->vol_type == UBI_STATIC_VOLUME) { in self_check_ai()
1630 int vol_type; in self_check_ai() local
1645 vol_type = vidh->vol_type == UBI_VID_DYNAMIC ? in self_check_ai()
[all …]
H A Ddebug.c77 pr_err("\tvol_type %d\n", (int)vid_hdr->vol_type); in ubi_dump_vid_hdr()
104 printf("\tvol_type %d\n", vol->vol_type); in ubi_dump_vol_info()
136 pr_err("\tvol_type %d\n", (int)r->vol_type); in ubi_dump_vtbl_record()
167 pr_err("\tvol_type %d\n", av->vol_type); in ubi_dump_av()
202 pr_err("\tvol_type %d\n", req->vol_type); in ubi_dump_mkvol_req()
H A Deba.c385 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); in ubi_eba_read_leb()
393 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
441 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb()
695 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_write_leb()
820 vid_hdr->vol_type = UBI_VID_STATIC; in ubi_eba_write_leb_st()
941 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_atomic_leb_change()
1065 if (vid_hdr->vol_type == UBI_VID_STATIC) { in ubi_eba_copy_leb()
1147 if (vid_hdr->vol_type == UBI_VID_DYNAMIC) in ubi_eba_copy_leb()
H A Dfastmap.c120 new->vol_type = UBI_VID_DYNAMIC; in new_fm_vhdr()
184 int used_ebs, int data_pad, u8 vol_type, in add_vol() argument
211 av->vol_type = vol_type; in add_vol()
213 if (av->vol_type == UBI_STATIC_VOLUME) in add_vol()
348 if (av->vol_type == UBI_STATIC_VOLUME) in update_vol()
755 fmvhdr->vol_type, in ubi_attach_fastmap()
1272 fvh->vol_type = vol->vol_type; in ubi_write_fastmap()
1277 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap()
1278 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap()
H A Dmisc.c55 if (vol->vol_type != UBI_STATIC_VOLUME) in ubi_check_volume()
H A Dupd.c92 if (vol->vol_type == UBI_STATIC_VOLUME) { in clear_update_marker()
230 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.h323 int vol_type; member
685 int vol_type; member
/openbmc/openpower-pnor-code-mgmt/
H A Dgenerate-ubi102 vol_type=$3
115 echo vol_type="$vol_type"
/openbmc/u-boot/drivers/mtd/ubispl/
H A Dubispl.c111 vh->vol_type == UBI_VID_STATIC && in ubi_rescan_fm_vid_hdr()
115 fm_pnum, fm_vol_id, vh->vol_type, in ubi_rescan_fm_vid_hdr()
214 if (vol_id >= UBI_SPL_VOL_IDS || vh->vol_type != UBI_VID_STATIC) in ubi_scan_vid_hdr()
226 u32 vol_id, u32 vol_type, u32 used) in assign_aeb_to_av() argument
235 if (vol_id >= UBI_SPL_VOL_IDS || vol_type != UBI_STATIC_VOLUME) in assign_aeb_to_av()
394 u32 vol_id, vol_type, used, reserved; in ubi_attach_fastmap() local
409 vol_type = fmvhdr->vol_type; in ubi_attach_fastmap()
445 vol_type, used); in ubi_attach_fastmap()
/openbmc/u-boot/cmd/
H A Dubi.c109 if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 || in verify_mkvol_req()
126 if (req->vol_type != UBI_DYNAMIC_VOLUME && in verify_mkvol_req()
127 req->vol_type != UBI_STATIC_VOLUME) in verify_mkvol_req()
154 req.vol_type = UBI_DYNAMIC_VOLUME; in ubi_create_vol()
156 req.vol_type = UBI_STATIC_VOLUME; in ubi_create_vol()
/openbmc/u-boot/include/mtd/
H A Dubi-user.h309 __s8 vol_type; member
/openbmc/u-boot/include/linux/mtd/
H A Dubi.h107 int vol_type; member
/openbmc/u-boot/doc/
H A DREADME.ubi96 UBI: vol_type 3
111 UBI: vol_type 3
/openbmc/openbmc/meta-phosphor/classes/
H A Dimage_types_phosphor.bbclass194 vol_type=$3
202 echo vol_type=$vol_type >> $config_file
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dimage_types.bbclass185 vol_type=${UBI_VOLTYPE}
/openbmc/u-boot/fs/ubifs/
H A Dsuper.c690 if (c->vi.vol_type == UBI_STATIC_VOLUME) { in init_constants_early()