| /OK3568_Linux_fs/kernel/fs/nfs/blocklayout/ |
| H A D | dev.c | 112 dprintk("Too many volumes: %d\n", b->concat.volumes_count); in nfs4_block_decode_volume() 120 b->concat.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume() 130 dprintk("Too many volumes: %d\n", b->stripe.volumes_count); in nfs4_block_decode_volume() 138 b->stripe.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume() 231 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask); 236 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_simple() argument 238 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_simple() 353 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_scsi() argument 355 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_scsi() 402 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_slice() argument [all …]
|
| /OK3568_Linux_fs/external/recovery/mtdutils/ |
| H A D | mounts.c | 28 MountedVolume *volumes; member 34 NULL, // volumes 61 if (g_mounts_state.volumes == NULL) { in scan_mounted_volumes() 63 MountedVolume *volumes = malloc(numv * sizeof(*volumes)); in scan_mounted_volumes() local 64 if (volumes == NULL) { in scan_mounted_volumes() 68 g_mounts_state.volumes = volumes; in scan_mounted_volumes() 70 memset(volumes, 0, numv * sizeof(*volumes)); in scan_mounted_volumes() 76 free_volume_internals(&g_mounts_state.volumes[i], 1); in scan_mounted_volumes() 128 &g_mounts_state.volumes[g_mounts_state.volume_count++]; in scan_mounted_volumes() 160 if (g_mounts_state.volumes != NULL) { in find_mounted_volume_by_device() [all …]
|
| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/mtdutils/ |
| H A D | mounts.c | 34 MountedVolume *volumes; member 40 NULL, // volumes 67 if (g_mounts_state.volumes == NULL) { in scan_mounted_volumes() 69 MountedVolume *volumes = malloc(numv * sizeof(*volumes)); in scan_mounted_volumes() local 70 if (volumes == NULL) { in scan_mounted_volumes() 74 g_mounts_state.volumes = volumes; in scan_mounted_volumes() 76 memset(volumes, 0, numv * sizeof(*volumes)); in scan_mounted_volumes() 82 free_volume_internals(&g_mounts_state.volumes[i], 1); in scan_mounted_volumes() 134 &g_mounts_state.volumes[g_mounts_state.volume_count++]; in scan_mounted_volumes() 166 if (g_mounts_state.volumes != NULL) { in find_mounted_volume_by_device() [all …]
|
| /OK3568_Linux_fs/u-boot/common/spl/ |
| H A D | spl_ubi.c | 20 struct ubispl_load volumes[2]; in spl_ubi_load_image() local 50 volumes[0].vol_id = CONFIG_SPL_UBI_LOAD_KERNEL_ID; in spl_ubi_load_image() 51 volumes[0].load_addr = (void *)CONFIG_SYS_LOAD_ADDR; in spl_ubi_load_image() 52 volumes[1].vol_id = CONFIG_SPL_UBI_LOAD_ARGS_ID; in spl_ubi_load_image() 53 volumes[1].load_addr = (void *)CONFIG_SYS_SPL_ARGS_ADDR; in spl_ubi_load_image() 55 ret = ubispl_load_volumes(&info, volumes, 2); in spl_ubi_load_image() 57 header = (struct image_header *)volumes[0].load_addr; in spl_ubi_load_image() 67 volumes[0].vol_id = CONFIG_SPL_UBI_LOAD_MONITOR_ID; in spl_ubi_load_image() 68 volumes[0].load_addr = (void *)header; in spl_ubi_load_image() 70 ret = ubispl_load_volumes(&info, volumes, 1); in spl_ubi_load_image()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ubi/ |
| H A D | ubi-media.h | 49 * open time. Should only be set on volumes that 74 * table of the UBI image. In this case, one of the volumes (e.g., the one 88 * Compatibility constants used by internal volumes. 227 * There are 2 sorts of volumes in UBI: user volumes and internal volumes. 228 * Internal volumes are not seen from outside and are used for various internal 230 * layout volume. Internal volumes are the main mechanism of UBI extensions. 232 * volumes have their own reserved range of IDs. 234 * The @compat field is only used for internal volumes and contains the "degree 235 * of their compatibility". It is always zero for user volumes. This field 245 * eraseblock if this is a static volume. In case of dynamic volumes, it does [all …]
|
| H A D | Kconfig | 7 logical volumes on top of MTD devices, hides some complexities of 85 devices on top of UBI volumes: for each UBI volumes an MTD device is 92 bool "Read-only block devices on top of UBI volumes" 97 devices will be layered on top of UBI volumes, which means that the 100 volumes in read-only mode (e.g., ext4), but it is probably most
|
| H A D | vmt.c | 52 * out that the volume was removed from the @ubi->volumes array. 62 if (!ubi->volumes[vol->vol_id]) { in vol_attribute_show() 166 if (!ubi->volumes[i]) { in ubi_create_volume() 185 if (ubi->volumes[vol_id]) { in ubi_create_volume() 192 if (ubi->volumes[i] && in ubi_create_volume() 193 ubi->volumes[i]->name_len == req->name_len && in ubi_create_volume() 194 !strcmp(ubi->volumes[i]->name, req->name)) { in ubi_create_volume() 260 ubi->volumes[vol_id] = vol; in ubi_create_volume() 309 ubi->volumes[vol_id] = NULL; in ubi_create_volume() 341 ubi_assert(vol == ubi->volumes[vol_id]); in ubi_remove_volume() [all …]
|
| H A D | vtbl.c | 30 * information about how much data static volumes contain. 60 * ubi_update_layout_vol - helper for updatting layout volumes on flash 68 layout_vol = ubi->volumes[vol_id2idx(ubi, UBI_LAYOUT_VOLUME_ID)]; in ubi_update_layout_vol() 113 * ubi_vtbl_rename_volumes - rename UBI volumes in the volume table. 117 * This function re-names multiple volumes specified in @req in the volume 258 ubi_err(ubi, "volumes %d and %d have the same name \"%s\"", in vtbl_check() 511 * init_volumes - initialize volume information for existing volumes. 516 * This function allocates volume description objects for existing volumes. 565 ubi_assert(!ubi->volumes[i]); in init_volumes() 566 ubi->volumes[i] = vol; in init_volumes() [all …]
|
| H A D | build.c | 176 * ubi_notify_all - send a notification to all volumes. 181 * This function walks all volumes of UBI device @ubi and sends the @ntype 197 * change @ubi->volumes, we do not have to lock in ubi_notify_all() 200 if (!ubi->volumes[i]) in ubi_notify_all() 203 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all() 217 * ubi_enumerate_volumes - send "add" notification for all existing volumes. 220 * This function walks all UBI devices and volumes and sends the 409 * kill_volumes - destroy all user volumes. 417 if (ubi->volumes[i]) in kill_volumes() 418 ubi_free_volume(ubi, ubi->volumes[i]); in kill_volumes() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/ubi/ |
| H A D | ubi-media.h | 73 * table of the UBI image. In this case, one of the volumes (e.g., the one 86 * Compatibility constants used by internal volumes. 225 * There are 2 sorts of volumes in UBI: user volumes and internal volumes. 226 * Internal volumes are not seen from outside and are used for various internal 228 * layout volume. Internal volumes are the main mechanism of UBI extensions. 230 * volumes have their own reserved range of IDs. 232 * The @compat field is only used for internal volumes and contains the "degree 233 * of their compatibility". It is always zero for user volumes. This field 243 * eraseblock if this is a static volume. In case of dynamic volumes, it does 249 * The @data_size field is used only for static volumes because UBI has to know [all …]
|
| H A D | vmt.c | 60 * out that the volume was removed from the @ubi->volumes array. 74 if (!ubi->volumes[vol->vol_id]) { in vol_attribute_show() 171 if (!ubi->volumes[i]) { in ubi_create_volume() 190 if (ubi->volumes[vol_id]) { in ubi_create_volume() 197 if (ubi->volumes[i] && in ubi_create_volume() 198 ubi->volumes[i]->name_len == req->name_len && in ubi_create_volume() 199 !strcmp(ubi->volumes[i]->name, req->name)) { in ubi_create_volume() 306 ubi->volumes[vol_id] = vol; in ubi_create_volume() 363 ubi_assert(vol == ubi->volumes[vol_id]); in ubi_remove_volume() 377 ubi->volumes[vol_id] = NULL; in ubi_remove_volume() [all …]
|
| H A D | vtbl.c | 31 * information about how much data static volumes contain. 67 * ubi_update_layout_vol - helper for updatting layout volumes on flash 75 layout_vol = ubi->volumes[vol_id2idx(ubi, UBI_LAYOUT_VOLUME_ID)]; in ubi_update_layout_vol() 120 * ubi_vtbl_rename_volumes - rename UBI volumes in the volume table. 124 * This function re-names multiple volumes specified in @req in the volume 269 ubi_err(ubi, "volumes %d and %d have the same name \"%s\"", 519 * init_volumes - initialize volume information for existing volumes. 524 * This function allocates volume description objects for existing volumes. 570 ubi_assert(!ubi->volumes[i]); 571 ubi->volumes[i] = vol; [all …]
|
| H A D | build.c | 205 * ubi_notify_all - send a notification to all volumes. 210 * This function walks all volumes of UBI device @ubi and sends the @ntype 229 * change @ubi->volumes, we do not have to lock in ubi_notify_all() 232 if (!ubi->volumes[i]) in ubi_notify_all() 235 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all() 251 * ubi_enumerate_volumes - send "add" notification for all existing volumes. 254 * This function walks all UBI devices and volumes and sends the 481 * kill_volumes - destroy all user volumes. 489 if (ubi->volumes[i]) in kill_volumes() 490 ubi_free_volume(ubi, ubi->volumes[i]); in kill_volumes() [all …]
|
| /OK3568_Linux_fs/u-boot/include/mtd/ |
| H A D | ubi-user.h | 33 * UBI volumes are created via the %UBI_IOCMKVOL ioctl command of UBI character 51 * UBI volumes re-name 54 * To re-name several volumes atomically at one go, the %UBI_IOCRNVOL command 126 * Block devices on UBI volumes 158 /* Re-name volumes */ 200 /* Maximum amount of UBI volumes that can be re-named at one go */ 219 * eraseblocks on dynamic volumes 287 * This structure is used by user-space programs when creating new volumes. The 288 * @used_bytes field is only necessary when creating static volumes. 322 * Re-sizing is possible for both dynamic and static volumes. But while dynamic [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/mtd/ |
| H A D | ubi-user.h | 46 * UBI volumes are created via the %UBI_IOCMKVOL ioctl command of UBI character 64 * UBI volumes re-name 67 * To re-name several volumes atomically at one go, the %UBI_IOCRNVOL command 139 * Block devices on UBI volumes 171 /* Re-name volumes */ 213 /* Maximum amount of UBI volumes that can be re-named at one go */ 232 * eraseblocks on dynamic volumes 292 * open time. Only valid for static volumes and 314 * This structure is used by user-space programs when creating new volumes. The 315 * @used_bytes field is only necessary when creating static volumes. [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/mtd/ |
| H A D | ubi-user.h | 46 * UBI volumes are created via the %UBI_IOCMKVOL ioctl command of UBI character 64 * UBI volumes re-name 67 * To re-name several volumes atomically at one go, the %UBI_IOCRNVOL command 139 * Block devices on UBI volumes 171 /* Re-name volumes */ 213 /* Maximum amount of UBI volumes that can be re-named at one go */ 232 * eraseblocks on dynamic volumes 292 * open time. Only valid for static volumes and 314 * This structure is used by user-space programs when creating new volumes. The 315 * @used_bytes field is only necessary when creating static volumes. [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/mtd/ |
| H A D | ubi-user.h | 46 * UBI volumes are created via the %UBI_IOCMKVOL ioctl command of UBI character 64 * UBI volumes re-name 67 * To re-name several volumes atomically at one go, the %UBI_IOCRNVOL command 139 * Block devices on UBI volumes 171 /* Re-name volumes */ 218 /* Maximum amount of UBI volumes that can be re-named at one go */ 237 * eraseblocks on dynamic volumes 297 * open time. Only valid for static volumes and 319 * This structure is used by user-space programs when creating new volumes. The 320 * @used_bytes field is only necessary when creating static volumes. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/stable/ |
| H A D | sysfs-class-ubi | 31 device may have many UBI volumes) 71 volumes may have smaller logical eraseblock size because of their 86 Maximum number of volumes which this UBI device may have. 132 Count of volumes on this UBI device. 140 etc directories describe UBI volumes on UBI device X (volumes 168 only for static volumes, and for dynamic volume it equivalent 199 Volume type. Contains ASCII "dynamic\n" for dynamic volumes and 200 "static\n" for static volumes.
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.ubi | 64 UBI: max. allowed volumes: 128 66 UBI: number of internal volumes: 1 67 UBI: number of user volumes: 1 131 UBI: max. allowed volumes: 128 133 UBI: number of internal volumes: 1 134 UBI: number of user volumes: 1
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | ubispl.h | 29 * Defines the maximum number of volumes in which UBISPL is 32 * want to load from the SPL anyway. So the volumes which can be 82 * ubispl_load_volumes - Scan flash and load volumes 84 * @lovls: Pointer to array of volumes to load
|
| /OK3568_Linux_fs/kernel/include/linux/mtd/ |
| H A D | ubi.h | 50 * @corrupted: non-zero if the volume is corrupted (static volumes only) 59 * The @corrupted flag is only relevant to static volumes and is always zero 80 * volumes and contain the number of bytes stored in this static volume and how 81 * many eraseblock this data occupies. In case of dynamic volumes, the 157 * Volumes of this UBI device may have smaller logical eraseblock size if their 221 /* UBI descriptor given to users when they open UBI volumes */
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | ubi.c | 59 if (!ubi->volumes[i]) in display_volume_info() 61 ubi_dump_vol_info(ubi->volumes[i]); in display_volume_info() 78 ubi_msg("max. allowed volumes: %d", ubi->vtbl_slots); in display_ubi_info() 80 ubi_msg("number of internal volumes: %d", UBI_INT_VOL_COUNT); in display_ubi_info() 81 ubi_msg("number of user volumes: %d", in display_ubi_info() 110 if (!ubi->volumes[i]) in ubi_check() 113 if (!ubi_check_volumename(ubi->volumes[i], name)) in ubi_check() 201 vol = ubi->volumes[i]; in ubi_find_volume() 240 ubi->volumes[vol->vol_id]->eba_tbl = NULL; in ubi_remove_vol() 241 ubi->volumes[vol->vol_id] = NULL; in ubi_remove_vol()
|
| /OK3568_Linux_fs/u-boot/include/linux/mtd/ |
| H A D | ubi.h | 53 * @corrupted: non-zero if the volume is corrupted (static volumes only) 62 * The @corrupted flag is only relevant to static volumes and is always zero 83 * volumes and contain the number of bytes stored in this static volume and how 84 * many eraseblock this data occupies. In case of dynamic volumes, the 162 * Volumes of this UBI device may have smaller logical eraseblock size if their 228 /* UBI descriptor given to users when they open UBI volumes */
|
| /OK3568_Linux_fs/kernel/fs/afs/ |
| H A D | vl_alias.c | 116 * Compare the fileserver lists of two volumes. The server lists are sorted in 154 * Compare root.cell volumes. 195 if (!RB_EMPTY_ROOT(&p->volumes)) in afs_query_for_alias_one() 196 pvol = afs_get_volume(rb_entry(p->volumes.rb_node, in afs_query_for_alias_one() 232 * Query the new cell for volumes we know exist in cells we're already using. 246 if (RB_EMPTY_ROOT(&p->volumes)) in afs_query_for_alias()
|
| /OK3568_Linux_fs/kernel/include/sound/ |
| H A D | ak4xxx-adda.h | 49 unsigned char volumes[AK4XXX_IMAGE_SIZE]; /* saved volume values */ member 81 (ak)->volumes[(chip) * 16 + (reg)] 83 ((ak)->volumes[(chip) * 16 + (reg)] = (val))
|