/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
typed_mount_factory.h | 20 sdk_util::ScopedRef<T> mnt(new T()); 21 Error error = mnt->Init(dev, args, ppapi); 25 *out_mount = mnt;
|
kernel_proxy.cc | 88 ScopedMount mnt; local 91 Error error = AcquireMountAndRelPath(path, &mnt, &rel); 98 error = mnt->OpenResource(rel, &node); 101 error = mnt->Open(rel, O_RDONLY, &node); 108 ScopedKernelHandle handle(new KernelHandle(mnt, node)); 119 ScopedMount mnt; local 122 Error error = AcquireMountAndNode(path, oflags, &mnt, &node); 128 ScopedKernelHandle handle(new KernelHandle(mnt, node)); 250 ScopedMount mnt; local 253 Error error = AcquireMountAndRelPath(path, &mnt, &rel) 269 ScopedMount mnt; local 334 ScopedMount mnt; local 515 ScopedMount mnt; local 534 ScopedMount mnt; local 565 ScopedMount mnt; local [all...] |
kernel_handle.h | 28 KernelHandle(const ScopedMount& mnt, const ScopedMountNode& node);
|
kernel_object.cc | 33 Error KernelObject::AttachMountAtPath(const ScopedMount& mnt, 41 mounts_[abs_path] = mnt; 133 ScopedMount mnt; local 136 Error error = AcquireMountAndNode(abs_path, O_RDONLY, &mnt, &node);
|
kernel_handle.cc | 23 KernelHandle::KernelHandle(const ScopedMount& mnt, const ScopedMountNode& node) 24 : mount_(mnt), node_(node), offs_(0) {}
|
kernel_object.h | 38 Error AttachMountAtPath(const ScopedMount& mnt, const std::string& path);
|
mount_node_dir.h | 25 explicit MountNodeDir(Mount* mnt);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io_test/ |
mount_test.cc | 47 MountMemMock* mnt = new MountMemMock(); local 58 EXPECT_EQ(1, mnt->num_nodes()); 61 EXPECT_EQ(ENOENT, mnt->Access(Path("/foo"), R_OK | W_OK)); 62 EXPECT_EQ(ENOENT, mnt->Open(Path("/foo"), O_RDWR, &result_node)); 64 EXPECT_EQ(1, mnt->num_nodes()); 67 EXPECT_EQ(0, mnt->Open(Path("/foo"), O_RDWR | O_CREAT, &file)); 74 EXPECT_EQ(2, mnt->num_nodes()); 76 EXPECT_EQ(0, mnt->Access(Path("/foo"), R_OK | W_OK)); 77 EXPECT_EQ(EACCES, mnt->Access(Path("/foo"), X_OK)); 80 EXPECT_EQ(0, mnt->Access(Path("/"), R_OK | W_OK)) 181 MountMemMock* mnt = new MountMemMock(); local 205 MountDevMock* mnt = new MountDevMock(); local 210 MountDevMock* mnt = new MountDevMock(); local 232 MountDevMock* mnt = new MountDevMock(); local 261 MountDevMock* mnt = new MountDevMock(); local 307 MountDevMock* mnt = new MountDevMock(); local [all...] |
kernel_object_test.cc | 26 MountNodeRefMock(Mount* mnt) : MountNode(mnt) {} 48 KernelHandleRefMock(const ScopedMount& mnt, const ScopedMountNode& node) 49 : KernelHandle(mnt, node) {} 58 mnt.reset(new MountRefMock()); 59 node.reset(new MountNodeRefMock(mnt.get())); 63 // mnt is ref-counted, it doesn't need to be explicitly deleted. 65 mnt.reset(NULL); 70 ScopedMount mnt; member in class:__anon10878::KernelObjectTest 81 EXPECT_EQ(1, mnt->RefCount()) [all...] |
kernel_proxy_test.cc | 45 ScopedMount mnt; local 48 AcquireMountAndRelPath("/", &mnt, &path); 49 return mnt.get(); 453 ScopedRef<MountMock> mnt() { return mnt_; } function in class:__anon10882::KernelProxyError 473 ScopedRef<MountMock> mnt() { return kp_->mnt(); } function in class:__anon10882::KernelProxyErrorTest 482 ScopedRef<MountMock> mock_mnt(mnt()); 504 ScopedRef<MountMock> mock_mnt(mnt());
|
mount_html5fs_test.cc | 316 ScopedRef<MountHtml5FsMock> mnt(new MountHtml5FsMock(map, ppapi_)); 349 ScopedRef<MountHtml5FsMock> mnt(new MountHtml5FsMock(map, ppapi_)); 351 ASSERT_EQ(0, mnt->Access(Path(path), R_OK | W_OK | X_OK)); 385 ScopedRef<MountHtml5FsMock> mnt(new MountHtml5FsMock(map, ppapi_)); 387 ASSERT_EQ(ENOENT, mnt->Access(Path(path), F_OK)); 406 ScopedRef<MountHtml5FsMock> mnt(new MountHtml5FsMock(map, ppapi_)); 409 int32_t result = mnt->Mkdir(Path(path), permissions); 429 ScopedRef<MountHtml5FsMock> mnt(new MountHtml5FsMock(map, ppapi_)); 431 int32_t result = mnt->Remove(Path(path));
|
/external/kernel-headers/original/linux/ |
mount.h | 59 static inline struct vfsmount *mntget(struct vfsmount *mnt) 61 if (mnt) 62 atomic_inc(&mnt->mnt_count); 63 return mnt; 66 extern void mntput_no_expire(struct vfsmount *mnt); 67 extern void mnt_pin(struct vfsmount *mnt); 68 extern void mnt_unpin(struct vfsmount *mnt); 70 static inline void mntput(struct vfsmount *mnt) 72 if (mnt) { 73 mnt->mnt_expiry_mark = 0 [all...] |
/external/genext2fs/ |
test-mount.sh | 12 umount mnt 2>/dev/null || true 13 rm -rf mnt fout lsout 40 mkdir -p mnt 41 mount -t ext2 -o ro,loop ext2.img mnt || fail 42 if (! [ -f mnt/file.$size ]) || \ 43 [ $size != "`ls -al mnt | grep file.$size | 60 mkdir -p mnt 61 mount -t ext2 -o ro,loop ext2.img mnt || fail 62 [ -d mnt/dev ] || fail 69 ls -aln mnt/dev | [all...] |
/external/e2fsprogs/lib/ext2fs/ |
ismounted.c | 46 struct mntent *mnt; local 67 while ((mnt = getmntent (f)) != NULL) { 68 if (mnt->mnt_fsname[0] != '/') 70 if (strcmp(file, mnt->mnt_fsname) == 0) 72 if (stat(mnt->mnt_fsname, &st_buf) == 0) { 86 if (mnt == 0) { 113 if (stat(mnt->mnt_dir, &st_buf) < 0) { 118 mtab_file, mnt->mnt_dir); 127 mtab_file, file, mnt->mnt_dir); 136 if (hasmntopt(mnt, MNTOPT_RO) [all...] |
/external/linux-tools-perf/util/ |
cgroup.c | 61 char mnt[MAX_PATH+1]; local 65 if (cgroupfs_find_mountpoint(mnt, MAX_PATH+1)) 68 snprintf(path, MAX_PATH, "%s/%s", mnt, name);
|
/external/kernel-headers/original/linux/nfsd/ |
export.h | 90 struct vfsmount *mnt, 94 struct vfsmount *mnt,
|
/external/libselinux/src/ |
init.c | 105 void set_selinuxmnt(char *mnt) 107 selinux_mnt = strdup(mnt);
|
android.c | 880 char *mnt = SELINUXMNT; local 882 rc = mount(SELINUXFS, mnt, SELINUXFS, 0, NULL); 890 mnt = OLDSELINUXMNT; 891 rc = mkdir(mnt, 0755); 897 rc = mount(SELINUXFS, mnt, SELINUXFS, 0, NULL); 905 set_selinuxmnt(mnt);
|
/external/libffi/src/ |
closures.c | 264 struct mntent mnt; local 267 if (getmntent_r (last_mntent, &mnt, buf, sizeof (buf))) 270 if (hasmntopt (&mnt, "ro") 271 || hasmntopt (&mnt, "noexec") 272 || access (mnt.mnt_dir, W_OK)) 275 fd = open_temp_exec_file_dir (mnt.mnt_dir);
|
/external/grub/util/ |
mkbimage | 189 mkdir ${image}.mnt 190 mount -t $fs /dev/loop1 ${image}.mnt 191 cp -a ${image}1/* ${image}.mnt/ && sync 192 umount ${image}.mnt 193 rmdir ${image}.mnt
|
/system/extras/tests/ext4/ |
android_emmc_perf_tests.sh | 100 adb shell umount /mnt/sdcard >/dev/null 2>&1 101 adb shell umount /mnt/shell/sdcard0 >/dev/null 2>&1 102 adb shell umount /mnt/shell/emulated >/dev/null 2>&1
|
/device/asus/deb/ |
init.deb.rc | 26 mkdir /mnt/shell/emulated 0700 shell shell 31 export EMULATED_STORAGE_SOURCE /mnt/shell/emulated 36 symlink /storage/emulated/legacy /mnt/sdcard 419 service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated 424 wait /mnt/shell/emulated/0 425 mount none /mnt/shell/emulated/0 /storage/emulated/legacy bind
|
/external/libselinux/include/selinux/ |
selinux.h | 285 void set_selinuxmnt(char *mnt);
|
/device/asus/flo/ |
init.flo.rc | 26 mkdir /mnt/shell/emulated 0700 shell shell 30 export EMULATED_STORAGE_SOURCE /mnt/shell/emulated 35 symlink /storage/emulated/legacy /mnt/sdcard 37 symlink /mnt/shell/emulated/0 /storage/emulated/legacy 428 service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
|
/device/lge/hammerhead/ |
init.hammerhead.rc | 25 mkdir /mnt/shell/emulated 0700 shell shell 33 export EMULATED_STORAGE_SOURCE /mnt/shell/emulated 38 symlink /storage/emulated/legacy /mnt/sdcard 40 symlink /mnt/shell/emulated/0 /storage/emulated/legacy 401 service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
|