Lines Matching defs:is

60  * For plain (non-mirror) top-level vdevs (i.e. is_vdev is not a mirror),
61 * ic_vdev is the same as is_vdev. However, for mirror top-level vdevs,
62 * ic_vdev is a child of the mirror.
79 * is_split_offset is the offset into the i/o.
80 * This is the sum of the previous splits' is_size's.
90 * is_good_child is the child that we are currently using to
99 * The indirect_vsd_t is associated with each i/o to the indirect vdev.
100 * It is the "Vdev-Specific Data" in the zio_t's io_vsd.
339 * 1. The offset is "less than" the mapping entry; meaning the
340 * offset is less than the source offset of the mapping entry. In
341 * this case, there is no overlap between the offset and the
344 * 2. The offset is "greater than" the mapping entry; meaning the
345 * offset is greater than the mapping entry's source offset plus
346 * the entry's size. In this case, there is no overlap between
349 * NOTE: If the offset is actually equal to the entry's offset
350 * plus size, this is considered to be "greater" than the entry,
355 * 3. The last case to consider is if the offset actually falls
356 * within the mapping entry's range. If this is the case, the
357 * offset is considered to be "equal to" the mapping entry and
360 * NOTE: If the offset is equal to the entry's source offset,
361 * this case applies and 0 will be returned. If the offset is
444 * If the offset is not found in the table and "next_if_missing" is
445 * B_FALSE, then NULL will always be returned. The behavior is intended
449 * If the offset is not found in the table and "next_if_missing" is
451 * such that the entry's source offset is greater than the offset
452 * passed in (i.e. the "next" mapping entry in the table is returned, if
453 * the offset is missing from the table). If there are no entries whose
454 * source offset is greater than the passed in offset, NULL is returned.
497 * is populated with the number of mapping entries that were duplicated.
499 * Finally, since we are doing an allocation, it is up to the caller to
553 * This is a callback for vdev_indirect_remap() which allocates an
570 indirect_split_t *is =
572 if (is == NULL) {
576 bzero(is, offsetof(indirect_split_t, is_child[n]));
578 is->is_children = n;
579 is->is_size = size;
580 is->is_split_offset = split_offset;
581 is->is_target_offset = offset;
582 is->is_vdev = vd;
595 is->is_child[i++].ic_vdev = kid;
598 is->is_child[0].ic_vdev = vd;
601 list_insert_tail(&iv->iv_splits, is);
684 indirect_split_t *is;
686 while ((is = list_head(&iv->iv_splits)) != NULL) {
687 for (int c = 0; c < is->is_children; c++) {
688 indirect_child_t *ic = &is->is_child[c];
691 list_remove(&iv->iv_splits, is);
692 free(is);
738 * This is not a split block; we are pointing to the entire
764 for (indirect_split_t *is = list_head(&iv->iv_splits);
765 is != NULL; is = list_next(&iv->iv_splits, is)) {
768 rc = is->is_vdev->v_read(is->is_vdev, zio.io_bp,
769 ptr + is->is_split_offset, is->is_target_offset,
770 is->is_size);
829 * First one which is the one we are replacing and we can trust
831 * Second one is that one we are replacing with. It is most likely
1073 * Insert vdev into top_vdev children list. List is ordered by v_id.
1083 * the firmware is presenting the disk devices.
1197 * A mirror or raidz is healthy if all its kids are healthy. A
1198 * mirror is degraded if any of its kids is healthy; a raidz
1199 * is degraded if at most nparity kids are offline.
1315 * Top level vdev is missing, create it.
1624 * Next best thing is vdev_phys - it is just after bootenv. It still may
1739 * If there is no envmap, we will just wipe bootenv.
1878 * For raidz, the asize is raw size of all children.
2016 * uberblock is most current.
2080 * Create the pool if this is the first time we've seen it.
2140 * If no other state is set, mark vdev healthy.
3085 * The dataset we are looking up is a snapshot
3086 * the dir_obj is the parent already, we don't want
3324 * dataset if there is none and return its details in *objset
3436 * It is older pool without features. As we have already
3526 /* this is allowed to fail, older pools do not have salt */
3533 printf("ZFS: pool %s is not supported\n", spa->spa_name);
3664 * Second test is purely to silence bogus compiler
3823 * not the link is relative.
3852 * when benvp is filled in, and some errno when not.
3896 * Get bootonce value by key. The bootonce <key, value> pair is removed from the
3897 * bootenv nvlist and the remaining nvlist is committed back to disk. This process