/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
H A D | syscalls.c | 66 struct path path; in do_spu_create() local 70 dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in do_spu_create() 73 ret = spufs_create(&path, dentry, flags, mode, neighbor); in do_spu_create() 74 done_path_create(&path, dentry); in do_spu_create()
|
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/ |
H A D | helpers.h | 28 * Arguments for how openat2(2) should open the target path. If @resolve is 96 int raw_openat2(int dfd, const char *path, void *how, size_t size); 97 int sys_openat2(int dfd, const char *path, struct open_how *how); 98 int sys_openat(int dfd, const char *path, struct open_how *how); 102 int touchat(int dfd, const char *path); 104 bool fdequal(int fd, int dfd, const char *path);
|
/kernel/linux/linux-5.10/tools/testing/selftests/timens/ |
H A D | procfs.c | 41 char path[] = "/proc/self/ns/time_for_children"; in init_namespaces() local 44 parent_ns = open(path, O_RDONLY); in init_namespaces() 46 return pr_perror("Unable to open %s", path); in init_namespaces() 54 child_ns = open(path, O_RDONLY); in init_namespaces() 56 return pr_perror("Unable to open %s", path); in init_namespaces()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/ |
H A D | syscalls.c | 66 struct path path; in do_spu_create() local 70 dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in do_spu_create() 73 ret = spufs_create(&path, dentry, flags, mode, neighbor); in do_spu_create() 74 done_path_create(&path, dentry); in do_spu_create()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | proc_ns.h | 12 struct path; 77 extern int ns_get_path(struct path *path, struct task_struct *task, 80 extern int ns_get_path_cb(struct path *path, ns_get_path_helper_t ns_get_cb,
|
H A D | lsm_audit.h | 22 #include <linux/path.h> 46 struct path path; member 80 struct path path; member
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | iter.c | 15 const char *objfile, *path; in do_pin() local 25 path = GET_ARG(); in do_pin() 74 err = mount_bpffs_for_pin(path); in do_pin() 78 err = bpf_link__pin(link, path); in do_pin() 80 p_err("pin_iter failed for program %s to path %s", in do_pin() 81 bpf_program__name(prog), path); in do_pin()
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/tools/ |
H A D | convert_py_to_csv.py | 5 from os import path namespace 35 csv_fname = path.join(CSV_DIR, name + '.csv') 55 os.makedirs(path.join(CSV_DIR,d)) 60 create_csv(path.join('route_values',family), dst_src_map, iter_src_values) 63 create_csv(path.join('device_routes',device), dst_src_map, iter_src)
|
/kernel/linux/linux-6.6/fs/9p/ |
H A D | cache.c | 55 __le64 path; in v9fs_cache_inode_get_cookie() local 63 path = cpu_to_le64(v9inode->qid.path); in v9fs_cache_inode_get_cookie() 68 &path, sizeof(path), in v9fs_cache_inode_get_cookie()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | proc_ns.h | 12 struct path; 76 extern int ns_get_path(struct path *path, struct task_struct *task, 79 extern int ns_get_path_cb(struct path *path, ns_get_path_helper_t ns_get_cb,
|
H A D | lsm_audit.h | 22 #include <linux/path.h> 46 struct path path; member 81 struct path path; member
|
/kernel/linux/linux-6.6/drivers/comedi/drivers/ni_routing/tools/ |
H A D | convert_py_to_csv.py | 4 from os import path namespace 34 csv_fname = path.join(CSV_DIR, name + '.csv') 54 os.makedirs(path.join(CSV_DIR,d)) 59 create_csv(path.join('route_values',family), dst_src_map, iter_src_values) 62 create_csv(path.join('device_routes',device), dst_src_map, iter_src)
|
/kernel/linux/linux-6.6/tools/testing/selftests/openat2/ |
H A D | helpers.h | 28 * Arguments for how openat2(2) should open the target path. If @resolve is 96 int raw_openat2(int dfd, const char *path, void *how, size_t size); 97 int sys_openat2(int dfd, const char *path, struct open_how *how); 98 int sys_openat(int dfd, const char *path, struct open_how *how); 102 int touchat(int dfd, const char *path); 104 bool fdequal(int fd, int dfd, const char *path);
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | iter.c | 18 const char *objfile, *path; in do_pin() local 28 path = GET_ARG(); in do_pin() 79 err = mount_bpffs_for_pin(path, false); in do_pin() 83 err = bpf_link__pin(link, path); in do_pin() 85 p_err("pin_iter failed for program %s to path %s", in do_pin() 86 bpf_program__name(prog), path); in do_pin()
|
/kernel/linux/linux-6.6/tools/cgroup/ |
H A D | memcg_shrinker.py | 15 path = os.path.join(root, cgroup) 16 ino = os.stat(path).st_ino 17 cgroups[ino] = path 19 # (memcg ino, path) 28 count_path = os.path.join(root, shrinker, "count")
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_ipc_container_008.cpp | 53 std::string path = "/proc/sys/user/max_ipc_container"; in ItIpcContainer008() local 58 int ret = ReadFile(path.c_str(), buf); in ItIpcContainer008() 72 ret = WriteFile(path.c_str(), buf); in ItIpcContainer008() 94 ret = WriteFile(path.c_str(), buf); in ItIpcContainer008() 98 ret = ReadFile(path.c_str(), buf); in ItIpcContainer008()
|
H A D | It_ipc_container_007.cpp | 50 std::string path = "/proc/sys/user/max_ipc_container"; in ItIpcContainer007() local 54 int ret = ReadFile(path.c_str(), buf); in ItIpcContainer007() 68 ret = WriteFile(path.c_str(), buf); in ItIpcContainer007() 89 ret = WriteFile(path.c_str(), buf); in ItIpcContainer007() 93 ret = ReadFile(path.c_str(), buf); in ItIpcContainer007()
|
H A D | It_mnt_container_010.cpp | 53 std::string path = "/proc/sys/user/max_mnt_container"; in ItMntContainer010() local 58 int ret = ReadFile(path.c_str(), buf); in ItMntContainer010() 72 ret = WriteFile(path.c_str(), buf); in ItMntContainer010() 94 ret = WriteFile(path.c_str(), buf); in ItMntContainer010() 98 ret = ReadFile(path.c_str(), buf); in ItMntContainer010()
|
H A D | It_mnt_container_009.cpp | 50 std::string path = "/proc/sys/user/max_mnt_container"; in ItMntContainer009() local 54 int ret = ReadFile(path.c_str(), buf); in ItMntContainer009() 68 ret = WriteFile(path.c_str(), buf); in ItMntContainer009() 89 ret = WriteFile(path.c_str(), buf); in ItMntContainer009() 93 ret = ReadFile(path.c_str(), buf); in ItMntContainer009()
|
H A D | It_net_container_012.cpp | 53 std::string path = "/proc/sys/user/max_net_container"; in ItNetContainer012() local 58 int ret = ReadFile(path.c_str(), buf); in ItNetContainer012() 72 ret = WriteFile(path.c_str(), buf); in ItNetContainer012() 94 ret = WriteFile(path.c_str(), buf); in ItNetContainer012() 98 ret = ReadFile(path.c_str(), buf); in ItNetContainer012()
|
H A D | It_net_container_011.cpp | 50 std::string path = "/proc/sys/user/max_net_container"; in ItNetContainer011() local 54 int ret = ReadFile(path.c_str(), buf); in ItNetContainer011() 68 ret = WriteFile(path.c_str(), buf); in ItNetContainer011() 89 ret = WriteFile(path.c_str(), buf); in ItNetContainer011() 93 ret = ReadFile(path.c_str(), buf); in ItNetContainer011()
|
H A D | It_pid_container_033.cpp | 53 std::string path = "/proc/sys/user/max_pid_container"; in ItPidContainer033() local 60 int ret = ReadFile(path.c_str(), buf); in ItPidContainer033() 74 ret = WriteFile(path.c_str(), buf); in ItPidContainer033() 96 ret = WriteFile(path.c_str(), buf); in ItPidContainer033() 100 ret = ReadFile(path.c_str(), buf); in ItPidContainer033()
|
H A D | It_pid_container_032.cpp | 50 std::string path = "/proc/sys/user/max_pid_container"; in ItPidContainer032() local 56 int ret = ReadFile(path.c_str(), buf); in ItPidContainer032() 70 ret = WriteFile(path.c_str(), buf); in ItPidContainer032() 91 ret = WriteFile(path.c_str(), buf); in ItPidContainer032() 95 ret = ReadFile(path.c_str(), buf); in ItPidContainer032()
|
H A D | It_time_container_006.cpp | 59 std::string path = "/proc/sys/user/max_time_container"; in ItTimeContainer006() local 64 int ret = ReadFile(path.c_str(), buf); in ItTimeContainer006() 78 ret = WriteFile(path.c_str(), buf); in ItTimeContainer006() 100 ret = WriteFile(path.c_str(), buf); in ItTimeContainer006() 104 ret = ReadFile(path.c_str(), buf); in ItTimeContainer006()
|
H A D | It_user_container_007.cpp | 53 std::string path = "/proc/sys/user/max_user_container"; in ItUserContainer007() local 58 int ret = ReadFile(path.c_str(), buf); in ItUserContainer007() 72 ret = WriteFile(path.c_str(), buf); in ItUserContainer007() 94 ret = WriteFile(path.c_str(), buf); in ItUserContainer007() 98 ret = ReadFile(path.c_str(), buf); in ItUserContainer007()
|