Searched refs:linklen (Results 1 – 3 of 3) sorted by relevance
/external/toybox/lib/ |
D | dirtree.c | 32 int len = 0, linklen = 0; in dirtree_add_node() local 41 if (0>(linklen = readlinkat(fd, name, libbuf, 4095))) goto error; in dirtree_add_node() 42 libbuf[linklen++]=0; in dirtree_add_node() 46 dt = xzalloc((len = sizeof(struct dirtree)+len+1)+linklen); in dirtree_add_node() 52 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 | 990 ssize_t linklen = 0; local 1005 linklen = readlink(linkname, buf, sizeof(buf) - 1); 1006 if (linklen == -1) { 1008 linklen = 0; 1013 buf[linklen] = '\0';
|