Lines Matching defs:item
88 * @tc.desc: read fstab from test file, then find item according to path.
99 FstabItem* item = nullptr;
101 item = FindFstabItemForPath(*fstab, path1.c_str());
102 if (item == nullptr) {
106 item = FindFstabItemForPath(*fstab, path2.c_str());
107 if (item != nullptr) {
111 item = FindFstabItemForPath(*fstab, path3.c_str());
112 if (item == nullptr) {
116 item = FindFstabItemForPath(*fstab, path4.c_str());
117 if (item != nullptr) {
126 * @tc.desc: read fstab from test file, then find item that matches with the mount point.
137 FstabItem* item = nullptr;
140 item = FindFstabItemForMountPoint(*fstab, mp2.c_str());
141 if (item == nullptr) {
145 item = FindFstabItemForMountPoint(*fstab, mp3.c_str());
146 if (item != nullptr) {
155 * @tc.desc: read fstab from test file, then find the item and get mount flags.
166 struct FstabItem* item = nullptr;
168 item = FindFstabItemForMountPoint(*fstab, mp.c_str());
169 if (item == nullptr) {
174 unsigned long flags = GetMountFlags(item->mountOptions, fsSpecificOptions, bufferSize, item->mountPoint);