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

/linux-master/drivers/mtd/ubi/
H A Dvmt.c75 if (vol->vol_type == UBI_DYNAMIC_VOLUME)
206 (int)req->vol_type, req->name);
247 vol->vol_type = req->vol_type;
269 if (vol->vol_type == UBI_DYNAMIC_VOLUME) {
308 if (vol->vol_type == UBI_DYNAMIC_VOLUME)
309 vtbl_rec.vol_type = UBI_VID_DYNAMIC;
311 vtbl_rec.vol_type = UBI_VID_STATIC;
459 if (vol->vol_type == UBI_STATIC_VOLUME &&
541 if (vol->vol_type
682 int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; local
[all...]
H A Dubi-media.h164 * @vol_type: volume type (%UBI_VID_DYNAMIC or %UBI_VID_STATIC)
271 __u8 vol_type; member in struct:ubi_vid_hdr
323 * @vol_type: volume type (%UBI_DYNAMIC_VOLUME or %UBI_STATIC_VOLUME)
359 __u8 vol_type; member in struct:ubi_vtbl_record
474 * @vol_type: type of the fastmapped volume
482 __u8 vol_type; member in struct:ubi_fm_volhdr
H A Dvtbl.c160 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; local
172 vol_type = vtbl[i].vol_type;
217 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) {
308 vid_hdr->vol_type = UBI_LAYOUT_VOLUME_TYPE;
542 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ?
585 if (vol->vol_type == UBI_DYNAMIC_VOLUME) {
632 vol->vol_type
[all...]
H A Dkapi.c74 vi->vol_type = vol->vol_type;
401 if (vol->vol_type == UBI_STATIC_VOLUME) {
460 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) {
500 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) {
546 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
591 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
628 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
688 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
724 if (desc->mode == UBI_READONLY || vol->vol_type
[all...]
H A Dattach.c334 int vol_type = vid_hdr->vol_type; local
353 if (av->vol_type == UBI_STATIC_VOLUME)
358 if (vol_type != av_vol_type) {
359 ubi_err(ubi, "inconsistent vol_type");
412 av->vol_type = vid_hdr->vol_type == UBI_VID_DYNAMIC ? UBI_DYNAMIC_VOLUME
1687 av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 ||
1705 if (av->vol_type != UBI_DYNAMIC_VOLUME &&
1706 av->vol_type !
1791 int vol_type; local
[all...]
H A Dmisc.c54 if (vol->vol_type != UBI_STATIC_VOLUME)
H A Ddebug.c105 pr_err("\tvol_type %d\n", (int)vid_hdr->vol_type);
132 pr_err("\tvol_type %d\n", vol->vol_type);
165 pr_err("\tvol_type %d\n", (int)r->vol_type);
196 pr_err("\tvol_type %d\n", av->vol_type);
231 pr_err("\tvol_type %d\n", req->vol_type);
H A Dcdev.c264 if (vol->vol_type == UBI_STATIC_VOLUME)
441 vol->vol_type == UBI_STATIC_VOLUME) {
474 vol->vol_type == UBI_STATIC_VOLUME) {
598 if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 ||
612 if (req->vol_type != UBI_DYNAMIC_VOLUME &&
613 req->vol_type != UBI_STATIC_VOLUME)
620 req->vol_type != UBI_STATIC_VOLUME)
H A Deba.c620 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME);
628 if (vol->vol_type == UBI_DYNAMIC_VOLUME)
695 if (vol->vol_type == UBI_DYNAMIC_VOLUME)
831 ubi_assert(vid_hdr->vol_type == UBI_VID_DYNAMIC);
1061 vid_hdr->vol_type = UBI_VID_DYNAMIC;
1150 vid_hdr->vol_type = UBI_VID_STATIC;
1234 vid_hdr->vol_type = UBI_VID_DYNAMIC;
1322 if (vid_hdr->vol_type == UBI_VID_STATIC) {
1404 if (vid_hdr->vol_type == UBI_VID_DYNAMIC)
H A Dfastmap.c114 vh->vol_type = UBI_VID_DYNAMIC;
169 * @vol_type: volume type
176 int used_ebs, int data_pad, u8 vol_type,
188 av->vol_type = vol_type;
189 if (av->vol_type == UBI_STATIC_VOLUME)
316 if (av->vol_type == UBI_STATIC_VOLUME)
707 fmvhdr->vol_type,
1305 fvh->vol_type = vol->vol_type;
175 add_vol(struct ubi_attach_info *ai, int vol_id, int used_ebs, int data_pad, u8 vol_type, int last_eb_bytes) argument
[all...]
H A Dupd.c86 if (vol->vol_type == UBI_STATIC_VOLUME) {
224 if (vol->vol_type == UBI_DYNAMIC_VOLUME) {
H A Dgluebi.c314 if (vi->vol_type == UBI_DYNAMIC_VOLUME)
407 if (vi->vol_type == UBI_STATIC_VOLUME)
H A Dio.c886 int vol_type = vid_hdr->vol_type; local
925 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) {
926 ubi_err(ubi, "bad vol_type");
940 if (vol_type == UBI_VID_STATIC) {
H A Dubi.h287 * @vol_type: volume type (%UBI_DYNAMIC_VOLUME or %UBI_STATIC_VOLUME)
343 int vol_type; member in struct:ubi_volume
694 * @vol_type: volume type
714 int vol_type; member in struct:ubi_ainf_volume
H A Dblock.c333 if (vi->vol_type == UBI_DYNAMIC_VOLUME)
623 if (nt->vi.vol_type == UBI_STATIC_VOLUME)
/linux-master/include/uapi/mtd/
H A Dubi-user.h321 * @vol_type: volume type (%UBI_DYNAMIC_VOLUME or %UBI_STATIC_VOLUME)
350 __s8 vol_type; member in struct:ubi_mkvol_req
/linux-master/include/linux/mtd/
H A Dubi.h49 * @vol_type: volume type (%UBI_DYNAMIC_VOLUME or %UBI_STATIC_VOLUME)
105 int vol_type; member in struct:ubi_volume_info
/linux-master/sound/pci/hda/
H A Dpatch_cs8409.c511 static void cs42l42_mute(struct sub_codec *cs42l42, int vol_type, argument
515 if (vol_type == CS42L42_VOL_DAC) {
520 } else if (vol_type == CS42L42_VOL_ADC) {
525 if (vol_type == CS42L42_VOL_DAC) {
534 } else if (vol_type == CS42L42_VOL_ADC) {
/linux-master/drivers/s390/block/
H A Ddasd_eckd.h574 __u8 vol_type:1; /* 0 - CKD/FBA, 1 - FB */ member in struct:dasd_dso_ras_data::__anon413
H A Ddasd_eckd.c3797 ras_data->flags.vol_type = 0; /* CKD volume */
/linux-master/fs/ubifs/
H A Dsuper.c521 if (c->vi.vol_type == UBI_STATIC_VOLUME) {

Completed in 281 milliseconds