Home
last modified time | relevance | path

Searched refs:pathname (Results 201 - 225 of 556) sorted by relevance

12345678910>>...23

/kernel/linux/linux-5.10/fs/nfs/
H A Dnfs4namespace.c34 static ssize_t nfs4_pathname_len(const struct nfs4_pathname *pathname) in nfs4_pathname_len() argument
39 for (i = 0; i < pathname->ncomponents; i++) { in nfs4_pathname_len()
40 const struct nfs4_string *component = &pathname->components[i]; in nfs4_pathname_len()
55 * Convert the NFSv4 pathname components into a standard posix path.
57 static char *nfs4_pathname_string(const struct nfs4_pathname *pathname, in nfs4_pathname_string() argument
64 len = nfs4_pathname_len(pathname); in nfs4_pathname_string()
73 for (i = 0; i < pathname->ncomponents; i++) { in nfs4_pathname_string()
74 const struct nfs4_string *component = &pathname->components[i]; in nfs4_pathname_string()
/kernel/linux/linux-6.6/fs/nfs/
H A Dnfs4namespace.c34 static ssize_t nfs4_pathname_len(const struct nfs4_pathname *pathname) in nfs4_pathname_len() argument
39 for (i = 0; i < pathname->ncomponents; i++) { in nfs4_pathname_len()
40 const struct nfs4_string *component = &pathname->components[i]; in nfs4_pathname_len()
55 * Convert the NFSv4 pathname components into a standard posix path.
57 static char *nfs4_pathname_string(const struct nfs4_pathname *pathname, in nfs4_pathname_string() argument
64 len = nfs4_pathname_len(pathname); in nfs4_pathname_string()
73 for (i = 0; i < pathname->ncomponents; i++) { in nfs4_pathname_string()
74 const struct nfs4_string *component = &pathname->components[i]; in nfs4_pathname_string()
/kernel/linux/linux-6.6/lib/
H A Dstring_helpers.c695 * Returns allocated NULL-terminated string containing pathname,
701 char *temp, *pathname; in kstrdup_quotable_file() local
711 pathname = file_path(file, temp, PATH_MAX + 11); in kstrdup_quotable_file()
712 if (IS_ERR(pathname)) in kstrdup_quotable_file()
713 pathname = kstrdup("<too_long>", gfp); in kstrdup_quotable_file()
715 pathname = kstrdup_quotable(pathname, gfp); in kstrdup_quotable_file()
718 return pathname; in kstrdup_quotable_file()
/kernel/linux/linux-5.10/drivers/block/rnbd/
H A Drnbd-log.h16 fn("<%s@%s> " fmt, (dev)->pathname, \
20 fn("<%s@%s>: " fmt, (dev)->pathname, \
H A Drnbd-clt.c62 kfree(dev->pathname); in rnbd_clt_put_dev()
570 strlcpy(msg.dev_name, dev->pathname, sizeof(msg.dev_name)); in send_msg_open()
1368 const char *pathname) in init_dev()
1390 pathname, sess->sessname, ret); in init_dev()
1394 dev->pathname = kstrdup(pathname, GFP_KERNEL); in init_dev()
1395 if (!dev->pathname) { in init_dev()
1422 static bool __exists_dev(const char *pathname) in __exists_dev() argument
1431 if (strlen(dev->pathname) == strlen(pathname) in __exists_dev()
1366 init_dev(struct rnbd_clt_session *sess, enum rnbd_access_mode access_mode, const char *pathname) init_dev() argument
1445 exists_devpath(const char *pathname) exists_devpath() argument
1456 insert_dev_if_not_exists_devpath(const char *pathname, struct rnbd_clt_session *sess, struct rnbd_clt_dev *dev) insert_dev_if_not_exists_devpath() argument
1483 rnbd_clt_map_device(const char *sessname, struct rtrs_addr *paths, size_t path_cnt, u16 port_nr, const char *pathname, enum rnbd_access_mode access_mode) rnbd_clt_map_device() argument
[all...]
/kernel/linux/linux-6.6/drivers/block/rnbd/
H A Drnbd-log.h16 fn("<%s@%s> " fmt, (dev)->pathname, \
20 fn("<%s@%s>: " fmt, (dev)->pathname, \
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_uprobe_autoattach.c92 int BPF_UPROBE(handle_uprobe_byname2, const char *pathname, const char *mode) in BPF_UPROBE() argument
99 uprobe_byname2_parm1 = (u64)(long)pathname; in BPF_UPROBE()
/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-filepath.h58 // FilePath - a class for file and directory pathname manipulation which
59 // handles platform-specific conventions (like the pathname separator).
74 explicit FilePath(const std::string& pathname) : pathname_(pathname) { in FilePath() argument
105 // Returns a pathname for a file that does not currently exist. The pathname
108 // already exists. The number will be incremented until a pathname is found
163 // Returns true if pathname describes a directory in the file-system
172 // Returns true if pathname describes a root directory. (Windows has one
176 // Returns true if pathname describe
[all...]
/third_party/NuttX/fs/vfs/include/
H A Ddriver.h213 * Return the vnode of the block driver specified by 'pathname'
216 * pathname - the full path to the block driver to be opened
224 * EINVAL - pathname or pvnode is NULL
226 * ENOTBLK - The vnode associated with the pathname is not a block driver
238 int open_blockdriver(const char *pathname, int mountflags,
250 * Return the inode of the block driver specified by 'pathname'
253 * pathname - The full path to the block driver to be located
262 * ENOTBLK - The inode associated with the pathname is not a block driver
268 int find_blockdriver(const char *pathname, int mountflags,
/third_party/ltp/include/old/
H A Dold_safe_file_ops.h60 #define SAFE_TOUCH(cleanup_fn, pathname, mode, times) \
62 (pathname), (mode), (times))
/third_party/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-filepath.h51 // FilePath - a class for file and directory pathname manipulation which
52 // handles platform-specific conventions (like the pathname separator).
67 explicit FilePath(const std::string& pathname) : pathname_(pathname) { in FilePath() argument
101 // Returns a pathname for a file that does not currently exist. The pathname
104 // already exists. The number will be incremented until a pathname is found
159 // Returns true if pathname describes a directory in the file-system
168 // Returns true if pathname describes a root directory. (Windows has one
172 // Returns true if pathname describe
[all...]
/third_party/node/deps/googletest/include/gtest/internal/
H A Dgtest-filepath.h58 // FilePath - a class for file and directory pathname manipulation which
59 // handles platform-specific conventions (like the pathname separator).
74 explicit FilePath(const std::string& pathname) : pathname_(pathname) { in FilePath() argument
105 // Returns a pathname for a file that does not currently exist. The pathname
108 // already exists. The number will be incremented until a pathname is found
163 // Returns true if pathname describes a directory in the file-system
172 // Returns true if pathname describes a root directory. (Windows has one
176 // Returns true if pathname describe
[all...]
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dtoolutil.h57 * This function returns a pointer to the original pathname
60 * if the pathname is indeed abbreviated.
63 * the input pathname pointer.
69 getLongPathname(const char *pathname);
72 * Find the basename at the end of a pathname, i.e., the part
74 * to this part of the pathname.
75 * If the pathname only contains a basename and no file separator,
76 * then the pathname pointer itself is returned.
82 * Find the directory name of a pathname, that is, everything
89 * @param path the full pathname t
[all...]
/third_party/icu/icu4c/source/tools/toolutil/
H A Dtoolutil.h57 * This function returns a pointer to the original pathname
60 * if the pathname is indeed abbreviated.
63 * the input pathname pointer.
69 getLongPathname(const char *pathname);
72 * Find the basename at the end of a pathname, i.e., the part
74 * to this part of the pathname.
75 * If the pathname only contains a basename and no file separator,
76 * then the pathname pointer itself is returned.
82 * Find the directory name of a pathname, that is, everything
89 * @param path the full pathname t
[all...]
/third_party/ltp/testcases/kernel/syscalls/execveat/
H A Dexecveat01.c8 * 1) When pathname is relative, it is relative to the directory where
11 * 2) When pathname is relative and dirfd is the special value AT_FDCWD,
12 * the pathname is the relative to the current working directory of
14 * 3) When pathname is absolute, dirfd can be ignored.
15 * 4) When pathname is an empty string and the flag AT_EMPTY_PATH is
40 char *pathname; member
57 TEST(execveat(*tc->fd, tc->pathname, argv, environ, tc->flag)); in verify_execveat()
/third_party/ltp/testcases/kernel/syscalls/mkdirat/
H A Dmkdirat02.c27 char *pathname; member
57 TEST(mkdirat(*test->dirfd, test->pathname, 0777)); in mkdirat_verify()
/third_party/ltp/testcases/kernel/syscalls/openat2/
H A Dopenat202.c16 const char *pathname; member
48 TEST(openat2(AT_FDCWD, tc->pathname, how, sizeof(*how))); in run()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Dtoolutil.h64 * This function returns a pointer to the original pathname
67 * if the pathname is indeed abbreviated.
70 * the input pathname pointer.
76 getLongPathname(const char *pathname);
79 * Find the basename at the end of a pathname, i.e., the part
81 * to this part of the pathname.
82 * If the pathname only contains a basename and no file separator,
83 * then the pathname pointer itself is returned.
89 * Find the directory name of a pathname, that is, everything
96 * @param path the full pathname t
[all...]
/third_party/skia/third_party/externals/freetype/docs/markdown/javascripts/
H A Dextra.js25 if (this.pathname == window.location.pathname &&
/third_party/pcre2/pcre2/src/
H A Dpcre2grep.c3232 pathname the path to investigate
3245 grep_or_recurse(char *pathname, BOOL dir_recurse, BOOL only_one_at_top) in grep_or_recurse() argument
3272 if (strcmp(pathname, "-") == 0) in grep_or_recurse()
3284 lastcomp = strrchr(pathname, FILESEP); in grep_or_recurse()
3285 lastcomp = (lastcomp == NULL)? pathname : lastcomp + 1; in grep_or_recurse()
3295 zos_test_file = fopen(pathname,"rb"); in grep_or_recurse()
3300 pathname, strerror(errno)); in grep_or_recurse()
3310 return travelonpdsdir (pathname, only_one_at_top); in grep_or_recurse()
3330 if (isdirectory(pathname)) in grep_or_recurse()
3340 directory_type *dir = opendirectory(pathname); in grep_or_recurse()
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dbuild-id.c134 int filename__sprintf_build_id(const char *pathname, char *sbuild_id) in filename__sprintf_build_id() argument
139 ret = filename__read_build_id(pathname, &bid); in filename__sprintf_build_id()
235 char *pathname; in build_id_cache__valid_id() local
239 pathname = build_id_cache__origname(sbuild_id); in build_id_cache__valid_id()
240 if (!pathname) in build_id_cache__valid_id()
243 if (!strcmp(pathname, DSO__NAME_KALLSYMS)) in build_id_cache__valid_id()
245 else if (pathname[0] == '/') in build_id_cache__valid_id()
246 ret = filename__sprintf_build_id(pathname, real_sbuild_id); in build_id_cache__valid_id()
251 free(pathname); in build_id_cache__valid_id()
578 int build_id_cache__list_build_ids(const char *pathname, struc argument
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dbuild-id.c137 int filename__sprintf_build_id(const char *pathname, char *sbuild_id) in filename__sprintf_build_id() argument
142 ret = filename__read_build_id(pathname, &bid); in filename__sprintf_build_id()
238 char *pathname; in build_id_cache__valid_id() local
242 pathname = build_id_cache__origname(sbuild_id); in build_id_cache__valid_id()
243 if (!pathname) in build_id_cache__valid_id()
246 if (!strcmp(pathname, DSO__NAME_KALLSYMS)) in build_id_cache__valid_id()
248 else if (pathname[0] == '/') in build_id_cache__valid_id()
249 ret = filename__sprintf_build_id(pathname, real_sbuild_id); in build_id_cache__valid_id()
254 free(pathname); in build_id_cache__valid_id()
578 int build_id_cache__list_build_ids(const char *pathname, struc argument
[all...]
/kernel/linux/linux-5.10/tools/power/cpupower/utils/
H A Dcpupower.c178 char pathname[32]; in main() local
213 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); in main()
215 stat(pathname, &statbuf) != 0) { in main()
/kernel/linux/linux-6.6/tools/power/cpupower/utils/
H A Dcpupower.c181 char pathname[32]; in main() local
218 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); in main()
220 stat(pathname, &statbuf) != 0) { in main()
/third_party/node/deps/undici/src/lib/handler/
H A DRedirectHandler.js102 const { origin, pathname, search } = util.parseURL(new URL(this.location, this.opts.origin && new URL(this.opts.path, this.opts.origin)))
103 const path = search ? `${pathname}${search}` : pathname

Completed in 18 milliseconds

12345678910>>...23