Searched refs:link (Results 1 - 9 of 9) sorted by relevance
/system/extras/ext4_utils/ |
H A D | contents.h | 24 char *link; member in struct:dentry 38 u32 make_link(const char *filename, const char *link);
|
H A D | contents.c | 87 .. link is set to dir_inode_num. Stores the location of the inode number 201 u32 make_link(const char *filename, const char *link) argument 205 u32 len = strlen(link); 226 memcpy((char*)inode->i_block, link, len); 229 memcpy(data, link, len);
|
H A D | make_ext4fs.c | 188 dentries[i].link = calloc(info.block_size, 1); 189 readlink(dentries[i].full_path, dentries[i].link, info.block_size - 1); 207 entry_inode = make_link(dentries[i].full_path, dentries[i].link); 225 free(dentries[i].link);
|
/system/core/toolbox/ |
H A D | ln.c | 29 ret = link(argv[1], argv[2]); 32 fprintf(stderr, "link failed %s\n", strerror(errno));
|
/system/vold/ |
H A D | Process.cpp | 35 int Process::readSymLink(const char *path, char *link, size_t max) { argument 45 length = readlink(path, link, max- 1); 48 link[length] = 0; 108 char link[PATH_MAX]; local 110 if (readSymLink(path, link, sizeof(link)) && pathMatchesMountPoint(link, mountPoint)) { 113 strncpy(openFilename, link, max-1); 156 char link[PATH_MAX]; local 159 if (readSymLink(path, link, sizeo [all...] |
H A D | Process.h | 31 static int readSymLink(const char *path, char *link, size_t max);
|
/system/core/fastboot/ |
H A D | usb_linux.c | 186 char link[256]; local 191 link_len = readlink(cdev, link, sizeof(link) - 1); 193 link[link_len] = '\0'; 194 slash = strrchr(link, '/');
|
/system/core/adb/ |
H A D | usb_linux.c | 233 char link[256]; local 278 link_len = readlink(pathbuf, link, sizeof(link) - 1); 280 link[link_len] = '\0'; 281 slash = strrchr(link, '/');
|
/system/core/toolbox/cp/ |
H A D | utils.c | 184 /* if hard linking then simply close the open fds, link and return */ 189 if (link(entp->fts_path, to.p_path)) {
|
Completed in 752 milliseconds