Home
last modified time | relevance | path

Searched refs:mnt_path (Results 1 – 2 of 2) sorted by relevance

/third_party/f2fs-tools/fsck/
Dsload.c73 char *mnt_path = NULL; in set_selinux_xattr() local
78 if (asprintf(&mnt_path, "%s%s", c.mount_point, path) <= 0) { in set_selinux_xattr()
85 if (selabel_lookup(sehnd, &secontext, mnt_path, mode) < 0) { in set_selinux_xattr()
86 ERR_MSG("cannot lookup security context for %s\n", mnt_path); in set_selinux_xattr()
87 free(mnt_path); in set_selinux_xattr()
93 mnt_path, ino, secontext); in set_selinux_xattr()
97 free(mnt_path); in set_selinux_xattr()
108 char *mnt_path = NULL; in set_perms_and_caps() local
118 if (asprintf(&mnt_path, "%s%s", mount_path, de->path) <= 0) { in set_perms_and_caps()
126 fs_config_func(mnt_path, de->file_type == F2FS_FT_DIR, in set_perms_and_caps()
[all …]
/third_party/ltp/lib/
Dtst_cgroup.c57 char mnt_path[PATH_MAX]; member
321 root->mnt_path); in tst_cgroup_print_config()
411 "Check '%s' and '%s'", root->mnt_path, mnt_dir); in cgroup_root_scan()
423 strcpy(root->mnt_path, mnt_dir); in cgroup_root_scan()
425 root->mnt_dir.dir_name = root->mnt_path; in cgroup_root_scan()
467 char mnt_path[PATH_MAX]; in cgroup_mount_v2() local
469 sprintf(mnt_path, "%s%s", cgroup_mount_ltp_prefix, cgroup_v2_ltp_mount); in cgroup_mount_v2()
471 if (!mkdir(mnt_path, 0777)) { in cgroup_mount_v2()
482 mnt_path); in cgroup_mount_v2()
486 tst_brk(TBROK | TERRNO, "mkdir(%s, 0777)", mnt_path); in cgroup_mount_v2()
[all …]