Searched refs:link (Results 1 - 9 of 9) sorted by relevance

/system/extras/ext4_utils/
H A Dcontents.h24 char *link; member in struct:dentry
38 u32 make_link(const char *filename, const char *link);
H A Dcontents.c87 .. 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 Dmake_ext4fs.c188 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 Dln.c29 ret = link(argv[1], argv[2]);
32 fprintf(stderr, "link failed %s\n", strerror(errno));
/system/vold/
H A DProcess.cpp35 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 DProcess.h31 static int readSymLink(const char *path, char *link, size_t max);
/system/core/fastboot/
H A Dusb_linux.c186 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 Dusb_linux.c233 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 Dutils.c184 /* 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