Home
last modified time | relevance | path

Searched refs:dirpath (Results 1 – 10 of 10) sorted by relevance

/kernel/liteos_a/testsuites/unittest/process/plimits/
Dprocess_plimits_test.cpp747 char dirpath[TEST_BUFFER_SIZE]; in CreatePlimitGroup() local
754 if (sprintf_s(dirpath, TEST_BUFFER_SIZE, "/proc/plimits/%s", groupName) < 0) { in CreatePlimitGroup()
757 if (sprintf_s(procspath, TEST_BUFFER_SIZE, "%s/plimits.procs", dirpath) < 0) { in CreatePlimitGroup()
760 if (sprintf_s(periodpath, TEST_BUFFER_SIZE, "%s/sched.period", dirpath) < 0) { in CreatePlimitGroup()
763 if (sprintf_s(quotapath, TEST_BUFFER_SIZE, "%s/sched.quota", dirpath) < 0) { in CreatePlimitGroup()
767 ret = access(dirpath, 0); in CreatePlimitGroup()
770 ret = mkdir(dirpath, mode); in CreatePlimitGroup()
799 char dirpath[TEST_BUFFER_SIZE]; in CreatePlimitGroupWithoutLimit() local
802 if (sprintf_s(dirpath, TEST_BUFFER_SIZE, "/proc/plimits/%s", groupName) < 0) { in CreatePlimitGroupWithoutLimit()
805 if (sprintf_s(procspath, TEST_BUFFER_SIZE, "%s/plimits.procs", dirpath) < 0) { in CreatePlimitGroupWithoutLimit()
[all …]
/kernel/linux/linux-5.10/fs/nfs/
Dmount_clnt.c153 .rpc_argp = info->dirpath, in nfs_mount()
172 info->dirpath); in nfs_mount()
174 if (strlen(info->dirpath) > MNTPATHLEN) in nfs_mount()
255 .rpc_argp = info->dirpath, in nfs_umount()
260 if (strlen(info->dirpath) > MNTPATHLEN) in nfs_umount()
271 (info->hostname ? info->hostname : "server"), info->dirpath); in nfs_umount()
309 const void *dirpath) in mnt_xdr_enc_dirpath() argument
311 encode_mntdirpath(xdr, dirpath); in mnt_xdr_enc_dirpath()
Dinternal.h189 char *dirpath; member
Dsuper.c810 .dirpath = ctx->nfs_server.export_path, in nfs_request_mount()
/kernel/linux/linux-5.10/tools/testing/selftests/exec/
Dbinfmt_script60 dirpath = root + middle
61 binary = dirpath + target
63 os.makedirs(dirpath, mode=0o755, exist_ok=True)
/kernel/linux/linux-5.10/scripts/clang-tools/
Dgen_compile_commands.py85 for dirpath, _, filenames in os.walk(directory):
88 yield os.path.join(dirpath, filename)
/kernel/linux/linux-5.10/tools/perf/util/
Dutil.h42 int perf_tip(char **strp, const char *dirpath);
Dutil.c382 int perf_tip(char **strp, const char *dirpath) in perf_tip() argument
387 .dirname = dirpath, in perf_tip()
/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_dentryfile.c1839 struct path dirpath; in hmdfs_do_load() local
1853 err = kern_path(fullname, LOOKUP_DIRECTORY, &dirpath); in hmdfs_do_load()
1859 file = dentry_open(&dirpath, O_RDONLY, current_cred()); in hmdfs_do_load()
1862 path_put(&dirpath); in hmdfs_do_load()
1878 path_put(&dirpath); in hmdfs_do_load()
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/
Dtdc.py48 for dirpath, dirnames, filenames in os.walk(plugindir):