Home
last modified time | relevance | path

Searched refs:mount_id (Results 1 – 11 of 11) sorted by relevance

/external/autotest/client/site_tests/enterprise_SmbProviderDaemon/
Denterprise_SmbProviderDaemon.py86 mount_id = self._check_mount(mount_path)
91 self._check_create_directory(mount_id, test_dir, False)
94 metadata = self._check_get_metadata(mount_id, test_dir)
101 self._check_create_file(mount_id, test_file)
104 file_id = self._check_open_file(mount_id, test_file, False)
105 self._check_close_file(mount_id, file_id)
108 file_id = self._check_open_file(mount_id, test_file, False)
109 self._check_close_file(mount_id, file_id)
112 file_id = self._check_open_file(mount_id, test_file, True)
116 self._check_write_file(mount_id, file_id, 0, data)
[all …]
/external/autotest/client/common_lib/cros/
Dsmbprovider.py119 def unmount(self, mount_id): argument
129 logging.info("Unmounting: %s", mount_id)
134 proto.mount_id = mount_id
138 def create_directory(self, mount_id, directory_path, recursive): argument
157 proto.mount_id = mount_id
167 def read_directory(self, mount_id, directory_path): argument
186 proto.mount_id = mount_id
200 def get_metadata(self, mount_id, entry_path): argument
219 proto.mount_id = mount_id
233 def open_file(self, mount_id, file_path, writeable): argument
[all …]
/external/strace/tests-mx32/
Dfile_handle.c79 kernel_ulong_t mount_id, in do_name_to_handle_at() argument
86 rc = syscall(__NR_name_to_handle_at, dirfd, pathname, handle, mount_id, in do_name_to_handle_at()
101 int *mount_id_ptr = (int *) (uintptr_t) mount_id; in do_name_to_handle_at()
110 if (mount_id) in do_name_to_handle_at()
111 printf(", %#llx", (unsigned long long) mount_id); in do_name_to_handle_at()
255 int mount_id; in main() local
280 assert(syscall(__NR_name_to_handle_at, fdcwd, ".", handle, &mount_id, in main()
285 ", AT_SYMLINK_FOLLOW|0x1) = -1 EINVAL (%m)\n", &mount_id); in main()
287 assert(syscall(__NR_name_to_handle_at, fdcwd, ".", handle, &mount_id, in main()
293 handle->handle_bytes, &mount_id); in main()
[all …]
/external/strace/tests/
Dfile_handle.c79 kernel_ulong_t mount_id, in do_name_to_handle_at() argument
86 rc = syscall(__NR_name_to_handle_at, dirfd, pathname, handle, mount_id, in do_name_to_handle_at()
101 int *mount_id_ptr = (int *) (uintptr_t) mount_id; in do_name_to_handle_at()
110 if (mount_id) in do_name_to_handle_at()
111 printf(", %#llx", (unsigned long long) mount_id); in do_name_to_handle_at()
255 int mount_id; in main() local
280 assert(syscall(__NR_name_to_handle_at, fdcwd, ".", handle, &mount_id, in main()
285 ", AT_SYMLINK_FOLLOW|0x1) = -1 EINVAL (%m)\n", &mount_id); in main()
287 assert(syscall(__NR_name_to_handle_at, fdcwd, ".", handle, &mount_id, in main()
293 handle->handle_bytes, &mount_id); in main()
[all …]
/external/strace/tests-m32/
Dfile_handle.c79 kernel_ulong_t mount_id, in do_name_to_handle_at() argument
86 rc = syscall(__NR_name_to_handle_at, dirfd, pathname, handle, mount_id, in do_name_to_handle_at()
101 int *mount_id_ptr = (int *) (uintptr_t) mount_id; in do_name_to_handle_at()
110 if (mount_id) in do_name_to_handle_at()
111 printf(", %#llx", (unsigned long long) mount_id); in do_name_to_handle_at()
255 int mount_id; in main() local
280 assert(syscall(__NR_name_to_handle_at, fdcwd, ".", handle, &mount_id, in main()
285 ", AT_SYMLINK_FOLLOW|0x1) = -1 EINVAL (%m)\n", &mount_id); in main()
287 assert(syscall(__NR_name_to_handle_at, fdcwd, ".", handle, &mount_id, in main()
293 handle->handle_bytes, &mount_id); in main()
[all …]
/external/llvm-project/compiler-rt/test/msan/Linux/
Dname_to_handle_at.cpp16 int mount_id; in main() local
17 int res = name_to_handle_at(AT_FDCWD, "/dev/null", handle, &mount_id, 0); in main()
19 __msan_check_mem_is_initialized(&mount_id, sizeof(mount_id)); in main()
/external/cros/system_api/dbus/smbprovider/
Ddirectory_entry.proto81 optional int32 mount_id = 1; field
87 optional int32 mount_id = 1; field
96 optional int32 mount_id = 1; field
105 optional int32 mount_id = 1; field
116 optional int32 mount_id = 1; field
124 optional int32 mount_id = 1; field
136 optional int32 mount_id = 1; field
147 optional int32 mount_id = 1; field
156 optional int32 mount_id = 1; field
167 optional int32 mount_id = 1; field
[all …]
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dname_to_handle_at.cpp11 int mount_id; in main() local
16 int res = name_to_handle_at(AT_FDCWD, "/dev/null", handle, &mount_id, 0); in main()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dcgroup_helpers.c248 int dirfd, err, flags, mount_id, fhsize; in get_cgroup_id() local
267 err = name_to_handle_at(dirfd, cgroup_workdir, fhp, &mount_id, flags); in get_cgroup_id()
279 err = name_to_handle_at(dirfd, cgroup_workdir, fhp2, &mount_id, flags); in get_cgroup_id()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify.h140 int mount_id; in fanotify_get_fid() local
148 if (name_to_handle_at(AT_FDCWD, path, handle, &mount_id, 0) == -1) { in fanotify_get_fid()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc7228 struct file_handle *handle, int *mount_id, int flags) {
7231 mount_id, flags);
7240 int res = REAL(name_to_handle_at)(dirfd, pathname, handle, mount_id, flags);
7250 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mount_id, sizeof(*mount_id));