Home
last modified time | relevance | path

Searched refs:readlink (Results 51 - 75 of 297) sorted by relevance

12345678910>>...12

/third_party/NuttX/fs/vfs/
H A Dfs_readlink.c101 ssize_t readlink(const char *pathname, char *buf, size_t bufsize) in readlink() function
/third_party/mesa3d/.gitlab-ci/fossils/
H A Dfossils.sh3 FOSSILS_SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
4 FOSSILS_YAML="$(readlink -f "$1")"
/third_party/ltp/testcases/kernel/fs/mongo/
H A Dmongo_slinks.c62 // Test readlink in main()
64 // Increase size of buffer to readlink untile whole symlink body will be read. in main()
65 // Check readlink result on every iteration. in main()
69 num = readlink(new_path, buffer, size); in main()
71 perror("checklink: readlink failed"); in main()
75 // Make sure that readlink did not break things in main()
78 ("checklink : readlink corrupts memory\n"); in main()
87 // and call `readlink' again. in main()
/third_party/ltp/testcases/kernel/syscalls/readlink/
H A Dreadlink01.c9 * Testcase to check the basic functionality of the readlink(2),
10 * readlink() will succeed to read the contents of the symbolic link.
29 TEST(readlink(SYMFILE, buffer, sizeof(buffer))); in test_readlink()
31 tst_res(TFAIL | TTERRNO, "readlink() on %s failed", SYMFILE); in test_readlink()
36 tst_res(TFAIL, "readlink() returned value %ld " in test_readlink()
45 tst_res(TPASS, "readlink() functionality on '%s' was correct", in test_readlink()
H A Dreadlink03.c9 * 1) readlink(2) returns -1 and sets errno to EACCES if search/write
12 * 2) readlink(2) returns -1 and sets errno to EINVAL if the buffer size
14 * 3) readlink(2) returns -1 and sets errno to EINVAL if the specified
16 * 4) readlink(2) returns -1 and sets errno to ENAMETOOLONG if the
18 * 5) readlink(2) returns -1 and sets errno to ENOENT if the component of
20 * 6) readlink(2) returns -1 and sets errno to ENOTDIR if a component of
22 * 7) readlink(2) returns -1 and sets errno to ELOOP if too many symbolic
24 * 8) readlink(2) returns -1 and sets errno to EFAULT if buf outside the
69 TEST(readlink(tc->link, tc->buf, tc->buf_size)); in verify_readlink()
71 tst_res(TFAIL, "readlink() sueeeede in verify_readlink()
[all...]
/kernel/liteos_a/fs/vfs/operation/
H A Dvfs_other.c559 readlink(path, linkName, NAME_MAX); in LsFile()
564 readlink(path, linkName, NAME_MAX); in LsFile()
610 readlink(fullpath, linkName, NAME_MAX); in LsDir()
615 readlink(fullpath, linkName, NAME_MAX); in LsDir()
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/
H A Dhelpers.h83 #define E_readlink(...) E_func(readlink, __VA_ARGS__)
/kernel/linux/linux-5.10/tools/perf/
H A DMakefile38 FULL_O := $(shell cd $(PWD); readlink -f $(O) || echo $(O))
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dsdt.c51 if (buf && readlink("/proc/self/exe", buf, PATH_MAX - 1) < 0) { in get_self_path()
/kernel/linux/linux-5.10/tools/perf/tests/shell/
H A Dbuildid.sh39 file=${build_id_dir}/.build-id/${id:0:2}/`readlink ${link}`/elf
/kernel/linux/linux-5.10/fs/nfs/
H A Dsymlink.c34 error = NFS_PROTO(inode)->readlink(inode, page, 0, PAGE_SIZE); in nfs_symlink_filler()
/kernel/linux/linux-6.6/fs/nfs/
H A Dsymlink.c34 error = NFS_PROTO(inode)->readlink(inode, &folio->page, 0, PAGE_SIZE); in nfs_symlink_filler()
/kernel/linux/linux-6.6/tools/perf/
H A DMakefile38 FULL_O := $(shell cd $(PWD); readlink -f $(O) || echo $(O))
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dsdt.c51 if (buf && readlink("/proc/self/exe", buf, PATH_MAX - 1) < 0) { in get_self_path()
/kernel/linux/linux-6.6/tools/testing/selftests/openat2/
H A Dhelpers.h83 #define E_readlink(...) E_func(readlink, __VA_ARGS__)
/kernel/linux/linux-6.6/tools/testing/selftests/proc/
H A Dproc-subset-pid.c114 int rv = readlink("/proc/cpuinfo", &c, 1); in main()
/third_party/mesa3d/.gitlab-ci/
H A Dcrosvm-runner.sh66 SCRIPT_DIR=$(readlink -en "${0%/*}")
/third_party/node/test/parallel/
H A Dtest-fs-assert-encoding-error.js32 fs.readlink(testPath, options, common.mustNotCall());
H A Dtest-fs-symlink.js51 fs.readlink(linkPath, common.mustSucceed((destination) => {
/third_party/node/deps/v8/tools/jsfunfuzz/
H A Dfuzz-harness.sh15 v8_root=$(readlink -f $(dirname $BASH_SOURCE)/../../)
/third_party/ntfs-3g/include/ntfs-3g/
H A Dplugin.h118 int (*readlink)(ntfs_inode *ni, const REPARSE_POINT *reparse, member
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/
H A Dmove-file.js51 let target = await fs.readlink(symSource)
/third_party/mesa3d/src/drm-shim/
H A Ddrm_shim.c78 REAL_FUNCTION_POINTER(readlink); variable
219 GET_FUNCTION_POINTER(readlink); in init_shim()
602 /* Handles libdrm's readlink to figure out what kind of device we have. */
604 readlink(const char *path, char *buf, size_t size) in readlink() function
/third_party/node/lib/internal/fs/cp/
H A Dcp.js43 readlink,
326 let resolvedSrc = await readlink(src);
335 resolvedDest = await readlink(dest);
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/cp/
H A Dpolyfill.js43 readlink,
375 let resolvedSrc = await readlink(src)
384 resolvedDest = await readlink(dest)

Completed in 8 milliseconds

12345678910>>...12