Searched refs:linklen (Results 1 – 3 of 3) sorted by relevance
/external/toybox/lib/ |
D | dirtree.c | 31 int len = 0, linklen = 0; in dirtree_add_node() local 40 if (0>(linklen = readlinkat(fd, name, libbuf, 4095))) goto error; in dirtree_add_node() 41 libbuf[linklen++]=0; in dirtree_add_node() 45 dt = xzalloc((len = sizeof(struct dirtree)+len+1)+linklen); in dirtree_add_node() 51 if (linklen) dt->symlink = memcpy(len+(char *)dt, libbuf, linklen); in dirtree_add_node()
|
/external/fio/ |
D | diskutil.c | 229 ssize_t linklen; in find_add_disk_slaves() local 246 linklen = readlink(temppath, slavepath, PATH_MAX - 1); in find_add_disk_slaves() 247 if (linklen < 0) { in find_add_disk_slaves() 252 slavepath[linklen] = '\0'; in find_add_disk_slaves()
|
/external/jemalloc/src/ |
D | jemalloc.c | 906 ssize_t linklen = 0; local 921 linklen = readlink(linkname, buf, sizeof(buf) - 1); 922 if (linklen == -1) { 924 linklen = 0; 929 buf[linklen] = '\0';
|