Searched defs:xhdr (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c247 struct xattr_hdr *xhdr; local
308 xhdr = (struct xattr_hdr *)get_write_buffer(RECORDSIZE,
310 if (!xhdr) {
315 (void) snprintf(xhdr->h_version, sizeof (xhdr->h_version), "%s",
317 (void) snprintf(xhdr->h_size, sizeof (xhdr->h_size), "%0*d",
318 sizeof (xhdr->h_size) - 1, hsize);
319 (void) snprintf(xhdr->h_component_len, sizeof (xhdr
[all...]
H A Dtlm_restore_writer.c1395 struct xattr_hdr *xhdr; local
1409 xhdr = (struct xattr_hdr *)get_read_buffer(size, &error,
1411 if (xhdr == NULL || error != 0) {
1420 if (strcmp(xhdr->h_version, XATTR_ARCH_VERS) != 0) {
1422 "Unrecognized header format [%s]", xhdr->h_version);
1425 xbuf = (struct xattr_buf *)(((char *)xhdr) + sizeof (struct xattr_hdr));

Completed in 49 milliseconds