Lines Matching defs:lun
47 // avoid u disk being recognized as a valid gpt lun device
63 LOG(INFO) << "lun " << lunIndex << " removable result is : " << removableResult;
72 std::string UfsPtable::GetDeviceLunNodePath(const uint32_t lun)
74 char lunIndexName = 'a' + lun;
98 LOG(INFO) << "device lun num is " << deviceLunNum_;
103 const uint32_t lun, const uint32_t blockSize)
116 uint64_t lunDeviceSize = GetDeviceLunCapacity(lun);
122 const uint32_t lun, const uint32_t blockSize)
124 if (gptImage == nullptr || len < ptableData_.writeDeviceLunSize || lun >= MAX_LUN_NUMBERS || blockSize == 0) {
128 if (!ParseGptHeaderByUfsLun(gptImage, len, lun, blockSize)) {
134 if ((*it).lun == lun) {
163 newPtnInfo.writePath = GetDeviceLunNodePath(lun);
171 newPtnInfo.lun = lun;
258 LOG(INFO) << "lun number of ptable:" << deviceLunNum_;
436 LOG(ERROR) << "lun size invalid, lun size = " << lunSize;
523 if (static_cast<uint32_t>(t.lun) == i + startLu && !ChangeGpt(curGptBuf, gptSize, gptInfo, t)) {