Searched refs:vol_type (Results 1 – 15 of 15) sorted by relevance
/drivers/mtd/ubi/ |
D | vmt.c | 93 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() 303 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_create_volume() 304 vtbl_rec.vol_type = UBI_VID_DYNAMIC; in ubi_create_volume() 306 vtbl_rec.vol_type = UBI_VID_STATIC; in ubi_create_volume() 447 if (vol->vol_type == UBI_STATIC_VOLUME && in ubi_resize_volume() 532 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in ubi_resize_volume() 666 int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; in self_check_volume() local [all …]
|
D | vtbl.c | 173 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()
|
D | kapi.c | 87 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()
|
D | attach.c | 230 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local 249 if (av->vol_type == UBI_STATIC_VOLUME) in validate_vid_hdr() 254 if (vol_type != av_vol_type) { in validate_vid_hdr() 326 av->vol_type = vid_hdr->vol_type == UBI_VID_DYNAMIC ? UBI_DYNAMIC_VOLUME in add_volume() 1601 av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 || in self_check_ai() 1619 if (av->vol_type != UBI_DYNAMIC_VOLUME && in self_check_ai() 1620 av->vol_type != UBI_STATIC_VOLUME) { in self_check_ai() 1660 if (av->vol_type == UBI_STATIC_VOLUME) { in self_check_ai() 1705 int vol_type; in self_check_ai() local 1720 vol_type = vidh->vol_type == UBI_VID_DYNAMIC ? in self_check_ai() [all …]
|
D | ubi-media.h | 281 __u8 vol_type; member 369 __u8 vol_type; member 492 __u8 vol_type; member
|
D | debug.c | 87 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()
|
D | eba.c | 475 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); in ubi_eba_read_leb() 483 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb() 548 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb() 685 ubi_assert(vid_hdr->vol_type == UBI_VID_DYNAMIC); in recover_peb() 816 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_write_leb() 941 vid_hdr->vol_type = UBI_VID_STATIC; in ubi_eba_write_leb_st() 1062 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_atomic_leb_change() 1188 if (vid_hdr->vol_type == UBI_VID_STATIC) { in ubi_eba_copy_leb() 1270 if (vid_hdr->vol_type == UBI_VID_DYNAMIC) in ubi_eba_copy_leb()
|
D | fastmap.c | 119 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() 348 if (av->vol_type == UBI_STATIC_VOLUME) in update_vol() 750 fmvhdr->vol_type, in ubi_attach_fastmap() 1290 fvh->vol_type = vol->vol_type; in ubi_write_fastmap() 1295 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap() 1296 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap()
|
D | cdev.c | 277 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()
|
D | io.c | 880 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()
|
D | upd.c | 99 if (vol->vol_type == UBI_STATIC_VOLUME) { in clear_update_marker() 237 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in write_leb()
|
D | misc.c | 67 if (vol->vol_type != UBI_STATIC_VOLUME) in ubi_check_volume()
|
D | gluebi.c | 335 if (vi->vol_type == UBI_DYNAMIC_VOLUME) in gluebi_create() 428 if (vi->vol_type == UBI_STATIC_VOLUME) in gluebi_updated()
|
D | ubi.h | 327 int vol_type; member 685 int vol_type; member
|
D | block.c | 576 if (nt->vi.vol_type == UBI_STATIC_VOLUME) in ubiblock_notify()
|