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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/mtd/
H A Dubi-user.h109 * @vol_type: volume type (%UBI_DYNAMIC_VOLUME or %UBI_STATIC_VOLUME)
138 int8_t vol_type; member in struct:ubi_mkvol_req
H A Dubi-header.h155 * @vol_type: volume type (%UBI_VID_DYNAMIC or %UBI_VID_STATIC)
267 uint8_t vol_type; member in struct:ubi_vid_hdr
317 * @vol_type: volume type (%UBI_DYNAMIC_VOLUME or %UBI_STATIC_VOLUME)
352 uint8_t vol_type; member in struct:ubi_vtbl_record
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/ubi/
H A Dvmt.c42 static struct device_attribute vol_type = variable in typeref:struct:device_attribute
83 else if (attr == &vol_type) {
85 tp = vol->vol_type == UBI_DYNAMIC_VOLUME ? "dynamic" : "static";
132 err = device_create_file(&vol->dev, &vol_type);
168 device_remove_file(&vol->dev, &vol_type);
218 (int)req->vol_type, req->name);
256 vol->vol_type = req->vol_type;
281 if (vol->vol_type == UBI_DYNAMIC_VOLUME) {
327 if (vol->vol_type
649 int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; local
[all...]
H A Ddebug.c57 dbg_msg("vol_type %d", (int)vid_hdr->vol_type);
83 dbg_msg("vol_type %d", vol->vol_type);
115 dbg_msg("vol_type %d", (int)r->vol_type);
146 dbg_msg("vol_type %d", sv->vol_type);
182 dbg_msg("vol_type %d", req->vol_type);
[all...]
H A Dvtbl.c136 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; local
148 vol_type = vtbl[i].vol_type;
192 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) {
193 dbg_err("bad vol_type");
290 vid_hdr->vol_type = UBI_VID_DYNAMIC;
513 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ?
531 if (vol->vol_type
[all...]
H A Dkapi.c75 vi->vol_type = vol->vol_type;
322 if (vol->vol_type == UBI_STATIC_VOLUME && lnum == vol->used_ebs - 1 &&
332 if (err && err == -EBADMSG && vol->vol_type == UBI_STATIC_VOLUME) {
380 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
430 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
471 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
532 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
H A Dmisc.c67 if (vol->vol_type != UBI_STATIC_VOLUME)
H A Dscan.h60 * @vol_type: volume type
79 int vol_type; member in struct:ubi_scan_volume
H A Dscan.c123 int vol_type = vid_hdr->vol_type; local
142 if (sv->vol_type == UBI_STATIC_VOLUME)
147 if (vol_type != sv_vol_type) {
148 dbg_err("inconsistent vol_type");
220 sv->vol_type = vid_hdr->vol_type == UBI_VID_DYNAMIC ? UBI_DYNAMIC_VOLUME
1093 sv->leb_count < 0 || sv->vol_type < 0 || sv->used_ebs < 0 ||
1111 if (sv->vol_type != UBI_DYNAMIC_VOLUME &&
1112 sv->vol_type !
1197 int vol_type; local
[all...]
H A Deba.c387 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME);
395 if (vol->vol_type == UBI_DYNAMIC_VOLUME)
433 if (vol->vol_type == UBI_DYNAMIC_VOLUME)
628 vid_hdr->vol_type = UBI_VID_DYNAMIC;
750 vid_hdr->vol_type = UBI_VID_STATIC;
856 vid_hdr->vol_type = UBI_VID_STATIC;
965 if (vid_hdr->vol_type == UBI_VID_STATIC) {
1033 if (vid_hdr->vol_type == UBI_VID_DYNAMIC)
H A Dupd.c98 if (vol->vol_type == UBI_STATIC_VOLUME) {
200 if (vol->vol_type == UBI_DYNAMIC_VOLUME) {
H A Dcdev.c299 if (vol->vol_type == UBI_STATIC_VOLUME)
490 if (vol->vol_type != UBI_DYNAMIC_VOLUME) {
525 if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 ||
539 if (req->vol_type != UBI_DYNAMIC_VOLUME &&
540 req->vol_type != UBI_STATIC_VOLUME)
H A Dio.c758 int vol_type = vid_hdr->vol_type; local
797 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) {
798 dbg_err("bad vol_type");
807 if (vol_type == UBI_VID_STATIC) {
H A Dubi.h114 * @vol_type: volume type (%UBI_DYNAMIC_VOLUME or %UBI_STATIC_VOLUME)
159 int vol_type; member in struct:ubi_volume
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/mtd/
H A Dubi.h66 * @vol_type: volume type (%UBI_DYNAMIC_VOLUME or %UBI_STATIC_VOLUME)
122 int vol_type; member in struct:ubi_volume_info

Completed in 78 milliseconds