/linux/fs/nfs/blocklayout/ |
H A D | dev.c | 170 dprintk("Too many volumes: %d\n", b->concat.volumes_count); in nfs4_block_decode_volume() 178 b->concat.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume() 188 dprintk("Too many volumes: %d\n", b->stripe.volumes_count); in nfs4_block_decode_volume() 196 b->stripe.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume() 289 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask); 294 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_simple() argument 296 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_simple() 385 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_scsi() argument 387 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_scsi() 439 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_slice() argument [all …]
|
/linux/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 122 This option enabled an additional driver exposing UBI volumes as NVMEM
|
H A D | vmt.c | 52 * out that the volume was removed from the @ubi->volumes array. 62 if (!ubi->volumes[vol->vol_id] || ubi->volumes[vol->vol_id]->is_dead) { in vol_attribute_show() 133 fw_vols = device_get_named_child_node(vol->dev.parent->parent, "volumes"); in find_volume_fwnode() 193 if (!ubi->volumes[i]) { in ubi_create_volume() 212 if (ubi->volumes[vol_id]) { in ubi_create_volume() 219 if (ubi->volumes[i] && !ubi->volumes[i]->is_dead && in ubi_create_volume() 220 ubi->volumes[i]->name_len == req->name_len && in ubi_create_volume() 221 !strcmp(ubi->volumes[i]->name, req->name)) { in ubi_create_volume() 288 ubi->volumes[vol_id] = vol; in ubi_create_volume() 337 ubi->volumes[vol_id] = NULL; in ubi_create_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 | 181 * ubi_notify_all - send a notification to all volumes. 186 * This function walks all volumes of UBI device @ubi and sends the @ntype 202 * change @ubi->volumes, we do not have to lock in ubi_notify_all() 205 if (!ubi->volumes[i]) in ubi_notify_all() 208 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all() 222 * ubi_enumerate_volumes - send "add" notification for all existing volumes. 225 * This function walks all UBI devices and volumes and sends the 417 * kill_volumes - destroy all user volumes. 425 if (ubi->volumes[i]) in kill_volumes() 426 ubi_free_volume(ubi, ubi->volumes[i]); in kill_volumes() [all …]
|
H A D | ubi.h | 313 * @corrupted: %1 if the volume is corrupted (static volumes only) 323 * Since UBI protects only static volumes, this field is not relevant to 324 * dynamic volumes - it is user's responsibility to assure their data 443 * @vol_count: number of volumes in this UBI device 444 * @volumes: volumes of this UBI device 445 * @volumes_lock: protects @volumes, @rsvd_pebs, @avail_pebs, beb_rsvd_pebs, 562 struct ubi_volume *volumes[UBI_MAX_VOLUMES+UBI_INT_VOL_COUNT]; member 698 * static volumes) 701 * size in case of dynamic volumes) 727 * @volumes: root of the volume RB-tree [all …]
|
H A D | kapi.c | 154 vol = ubi->volumes[vol_id]; in ubi_open_volume() 257 /* Walk all volumes of this UBI device */ in ubi_open_volume_nm() 259 struct ubi_volume *vol = ubi->volumes[i]; in ubi_open_volume_nm() 426 * stores the data at @buf. When reading from static volumes, @check specifies 430 * read speed. The @check argument is ignored for dynamic volumes. 436 * o for both static and dynamic volumes if MTD driver has detected a data 438 * o for static volumes in case of data CRC mismatch. 827 * already existing volumes 851 * We are going to walk all UBI devices and all volumes, and in ubi_register_volume_notifier() 852 * notify the user about existing volumes by the %UBI_VOLUME_ADDED in ubi_register_volume_notifier()
|
H A D | cdev.c | 13 * manipulate whole volumes: create, remove, and re-size them. Volume character 245 * This function allows to directly write to dynamic UBI volumes, without 670 * rename_volumes - rename UBI volumes. 672 * @req: volumes re-name request 675 * request, opens the volume and calls corresponding volumes management 763 /* Find out the volumes which have to be removed */ in rename_volumes() 940 /* Re-name volumes command */ in ubi_cdev_ioctl() 945 dbg_gen("re-name volumes"); in ubi_cdev_ioctl()
|
H A D | upd.c | 71 * data size and clears the "corrupted" flag (static volumes only). Returns 198 * volumes only) 212 * We do not do this for static volumes because they are read-only. But this 281 * When updating volumes, we accumulate whole logical eraseblock of in ubi_more_update_data()
|
H A D | block.c | 13 * Read-only block devices on top of UBI volumes 25 * to allow early creation of block devices on top of UBI volumes. Runtime 26 * block creation/removal for UBI volumes is provided through two UBI ioctls: 159 MODULE_PARM_DESC(block, "Attach block devices to UBI volumes. Parameter format: block=<path|dev,num… 161 "UBI volumes may be specified by their number, name, or path to the device node.\n"
|
/linux/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 305 * open time. Only valid for static volumes and 327 * This structure is used by user-space programs when creating new volumes. The 328 * @used_bytes field is only necessary when creating static volumes. [all …]
|
/linux/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.
|
/linux/Documentation/devicetree/bindings/mtd/partitions/ |
H A D | linux,ubi.yaml | 11 flash devices which manages multiple logical volumes on a single 25 volumes: 27 description: UBI Volumes 58 volumes {
|
/linux/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 158 * Volumes of this UBI device may have smaller logical eraseblock size if their 224 /* UBI descriptor given to users when they open UBI volumes */
|
/linux/fs/afs/ |
H A D | vl_alias.c | 67 * Compare the fileserver lists of two volumes. The server lists are sorted in 105 * Compare root.cell volumes. 146 if (!RB_EMPTY_ROOT(&p->volumes)) in afs_query_for_alias_one() 147 pvol = afs_get_volume(rb_entry(p->volumes.rb_node, in afs_query_for_alias_one() 183 * Query the new cell for volumes we know exist in cells we're already using. 197 if (RB_EMPTY_ROOT(&p->volumes)) in afs_query_for_alias()
|
H A D | callback.c | 62 list_for_each_entry(se, &server->volumes, slink) { in afs_init_callback_state() 126 p = rcu_dereference_raw(cell->volumes.rb_node); in afs_lookup_volume_rcu() 230 /* TODO: Find all matching volumes if we couldn't match the server and in afs_break_some_callbacks()
|
H A D | volume.c | 28 pp = &cell->volumes.rb_node; in afs_insert_volume_into_cell() 43 rb_replace_node_rcu(&p->cell_node, &volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell() 48 rb_insert_color(&volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell() 67 rb_erase(&volume->cell_node, &cell->volumes); in afs_remove_volume_from_cell()
|
/linux/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))
|
/linux/fs/freevxfs/ |
H A D | Kconfig | 21 There is a userspace utility for HP-UX logical volumes which makes 22 creating HP-UX logical volumes easy from HP-UX disk block device file
|
/linux/fs/cachefiles/ |
H A D | cache.c | 316 * Withdraw fscache volumes. 327 list_for_each(cur, &cache->volumes) { in cachefiles_withdraw_fscache_volumes() 348 * Withdraw cachefiles volumes. 359 if (!list_empty(&cache->volumes)) { in cachefiles_withdraw_volumes() 360 volume = list_first_entry(&cache->volumes, in cachefiles_withdraw_volumes()
|
/linux/fs/ntfs3/ |
H A D | Kconfig | 23 for 16T+ volumes. Windows will not be able to mount such volumes.
|
/linux/fs/nfsd/ |
H A D | blocklayout.c | 150 dev = kzalloc(struct_size(dev, volumes, 1), GFP_KERNEL); in nfsd4_block_get_device_info_simple() 156 b = &dev->volumes[0]; in nfsd4_block_get_device_info_simple() 257 dev = kzalloc(struct_size(dev, volumes, 1), GFP_KERNEL); in nfsd4_block_get_device_info_scsi() 263 b = &dev->volumes[0]; in nfsd4_block_get_device_info_scsi()
|
/linux/Documentation/admin-guide/ |
H A D | ldm.rst | 21 If you wish to use Spanned, Striped, Mirrored or RAID 5 Volumes, you must use 26 assemble any multi-partition volumes, e.g. Stripes, RAID5. 96 any of the volumes on the disk.
|
/linux/Documentation/filesystems/ |
H A D | afs.rst | 98 specify connection to only volumes of those types. 157 servers, volumes, and active servers known within that cell:: 165 [root@andromeda ~]# cat /proc/fs/afs/cambridge.redhat.com/volumes
|