Searched refs:linklen (Results 1 - 7 of 7) sorted by relevance
/freebsd-12-stable/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 488 int linklen; local 494 linklen = readlink(s, buf, sizeof buf); 495 if (linklen < 0) 500 if (linklen >= sizeof buf)
|
/freebsd-12-stable/sys/kern/ |
H A D | vfs_lookup.c | 316 int error, linklen, startdir_used; local 548 linklen = MAXPATHLEN - auio.uio_resid; 549 if (linklen == 0) { 555 if (linklen + ndp->ni_pathlen > MAXPATHLEN) { 562 bcopy(ndp->ni_next, cp + linklen, ndp->ni_pathlen); 566 cnp->cn_pnbuf[linklen] = '\0'; 567 ndp->ni_pathlen += linklen;
|
/freebsd-12-stable/contrib/netbsd-tests/fs/puffs/h_dtfs/ |
H A D | dtfs_vnops.c | 414 const struct puffs_cred *cred, char *linkname, size_t *linklen) 420 strlcpy(linkname, df->df_linktarget, *linklen); 421 *linklen = strlen(linkname); 413 dtfs_node_readlink(struct puffs_usermount *pu, void *opc, const struct puffs_cred *cred, char *linkname, size_t *linklen) argument
|
/freebsd-12-stable/contrib/jemalloc/src/ |
H A D | jemalloc.c | 902 ssize_t linklen = 0; local 917 linklen = readlink(linkname, buf, sizeof(buf) - 1); 918 if (linklen == -1) { 920 linklen = 0; 925 buf[linklen] = '\0';
|
/freebsd-12-stable/contrib/libarchive/libarchive/test/ |
H A D | main.c | 1601 ssize_t linklen; 1616 linklen = readlink(pathname, buff, sizeof(buff)); 1617 if (linklen < 0) { 1622 buff[linklen] = '\0';
|
/freebsd-12-stable/contrib/libarchive/test_utils/ |
H A D | test_main.c | 1863 ssize_t linklen; 1879 linklen = readlink(pathname, buff, sizeof(buff) - 1); 1880 if (linklen < 0) { 1885 buff[linklen] = '\0';
|
/freebsd-12-stable/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 503 int lockleaf = (cnp->cn_flags & LOCKLEAF) != 0, linklen; local 632 linklen = MAXPATHLEN - auio.uio_resid; 633 if (linklen == 0) { 637 if (linklen + ndp->ni_pathlen >= MAXPATHLEN) { 646 NFSBCOPY(ndp->ni_next, cp + linklen, ndp->ni_pathlen); 650 cnp->cn_pnbuf[linklen] = '\0'; 651 ndp->ni_pathlen += linklen;
|
Completed in 125 milliseconds