Searched refs:label_size (Results 1 – 2 of 2) sorted by relevance
236 size_t label_size = sizeof (vdev_label_t) - (2 * VDEV_PAD_SIZE); in zpool_clear_label() local238 if (pwrite64(fd, label, label_size, label_offset(size, l) + in zpool_clear_label()239 (2 * VDEV_PAD_SIZE)) == label_size) { in zpool_clear_label()
280 int label_size; in i_psvc_value() local330 label_size = strlen(label); in i_psvc_value()334 strncpy((char *)attrp, val+label_size, in i_psvc_value()335 i - label_size); in i_psvc_value()337 found = sscanf(val + label_size, "%s", (char *)attrp); in i_psvc_value()