Home
last modified time | relevance | path

Searched refs:linklen (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c489 int linklen; local
495 linklen = readlink(s, buf, sizeof buf);
496 if (linklen < 0)
501 if (linklen >= sizeof buf)
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_cvt.c1000 size_t prelen, linklen; in def_dyncomp_to_devlink() local
1011 linklen = strlen(dyntp->dyncomp) + 1; in def_dyncomp_to_devlink()
1019 } else if (*dyntp->dyncomp != '/' && linklen > 1 && in def_dyncomp_to_devlink()
1022 linklen += prelen; /* The "/dev/" needs to be prepended */ in def_dyncomp_to_devlink()
1028 if ((dyntp->devlink = calloc(1, linklen)) == NULL) { in def_dyncomp_to_devlink()
/illumos-gate/usr/src/lib/lib9p/common/backend/
H A Dfs.c2492 ssize_t linklen; in fs_readlink() local
2499 linklen = readlinkat(file->ff_dirfd, file->ff_name, buf, sizeof(buf)); in fs_readlink()
2500 if (linklen < 0) in fs_readlink()
2502 else if ((size_t)linklen >= sizeof(buf)) in fs_readlink()
2505 (size_t)linklen)) == NULL) in fs_readlink()
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c7606 int linklen; /* length of link section */ in prepare_xattr() local
7641 linklen = linkstringlen + sizeof (struct xattr_buf); in prepare_xattr()
7642 len += linklen; in prepare_xattr()
7644 linklen = 0; in prepare_xattr()
7672 sizeof (hptr->h_link_component_len) - 1, linklen); in prepare_xattr()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c8585 int linklen; /* length of link section */ in prepare_xattr_hdr() local
8620 linklen = linkstringlen + sizeof (struct xattr_buf); in prepare_xattr_hdr()
8621 len += linklen; in prepare_xattr_hdr()
8623 linklen = 0; in prepare_xattr_hdr()
8647 sizeof (hptr->h_link_component_len) - 1, linklen); in prepare_xattr_hdr()