Searched refs:linklen (Results 1 – 5 of 5) sorted by relevance
489 int linklen; local495 linklen = readlink(s, buf, sizeof buf);496 if (linklen < 0)501 if (linklen >= sizeof buf)
1000 size_t prelen, linklen; in def_dyncomp_to_devlink() local1011 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()
2492 ssize_t linklen; in fs_readlink() local2499 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()
7606 int linklen; /* length of link section */ in prepare_xattr() local7641 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()
8585 int linklen; /* length of link section */ in prepare_xattr_hdr() local8620 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()