Lines Matching defs:new
297 * protects chunks, adding or removing during allocation, trim or when a new
364 * Return a pointer to a new struct btrfs_fs_devices on success, or ERR_PTR().
771 * Add new device to list of registered devices
2483 * Generate a new fsid for the sprouted read-write filesystem.
2810 * Now that we have written a new super block to this device, check all
3117 * may result in allocating a new metadata chunk, which would attempt to
3176 * an incompatible profile, which will force us to allocate a new system
3182 * So if we get -ENOSPC, allocate a new system chunk and retry once.
4819 * the new size, and then following the back refs to the chunks.
4871 * Once the device's size has been set to the new size, ensure all
5648 * When adding a new device for sprouting, the seed device is read-only
5657 * 2) Add the device item for the new sprout device - finishing the setup
5658 * of a new block group requires updating the device item in the chunk
5663 * update existing device item in the chunk btree, add a new block group
5664 * item to the extent btree, add a new chunk item to the chunk btree and
5665 * finally add the new device extent items to the devices btree.
6107 * running. Since the copying of the old disk to the new disk takes
6110 * to the new disk as well.
6117 struct btrfs_io_stripe *new = &bioc->stripes[num_stripes + nr_extra_stripes];
6122 new->physical = old->physical;
6123 new->dev = dev_replace->tgtdev;
6592 * Allocate new device struct, set up devid and UUID.
6594 * @fs_info: used only for generating a new devid, can be NULL if
6596 * @devid: a pointer to devid for this device. If NULL a new devid
6598 * @uuid: a pointer to UUID for this device. If NULL a new UUID
6602 * Return: a pointer to a new &struct btrfs_device on success; ERR_PTR()
7509 /* need to delete old one and insert a new one */
7521 /* need to insert a new item */