Home
last modified time | relevance | path

Searched refs:label_size (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c236 size_t label_size = sizeof (vdev_label_t) - (2 * VDEV_PAD_SIZE); in zpool_clear_label() local
238 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()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvcobj.c280 int label_size; in i_psvc_value() local
330 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()