Searched refs:pos_start (Results 1 – 2 of 2) sorted by relevance
/openbmc/telemetry/src/utils/ |
H A D | dbus_path_utils.cpp | 15 size_t pos_start = 0; in pathAppend() local 17 while ((pos_end = appended.find('/', pos_start)) != std::string::npos) in pathAppend() 19 if (pos_start == pos_end) in pathAppend() 25 path /= std::string_view(appended.begin() + pos_start, in pathAppend() 27 pos_start = pos_end + 1; in pathAppend() 47 size_t pos_start = 0; in verifyIdPrefixes() local 50 while ((pos_end = id.find('/', pos_start)) != std::string::npos) in verifyIdPrefixes() 52 if (pos_start == pos_end) in verifyIdPrefixes() 62 if (pos_end - pos_start > constants::maxPrefixLength) in verifyIdPrefixes() 67 pos_start = pos_end + 1; in verifyIdPrefixes() [all …]
|
/openbmc/linux/fs/proc/ |
H A D | vmcore.c | 509 unsigned long pos_start, pos_end, pos; in remap_oldmem_pfn_checked() local 513 pos_start = pfn; in remap_oldmem_pfn_checked() 516 for (pos = pos_start; pos < pos_end; ++pos) { in remap_oldmem_pfn_checked() 523 if (pos > pos_start) { in remap_oldmem_pfn_checked() 525 map_size = (pos - pos_start) << PAGE_SHIFT; in remap_oldmem_pfn_checked() 527 pos_start, map_size, in remap_oldmem_pfn_checked() 538 pos_start = pos + 1; in remap_oldmem_pfn_checked() 541 if (pos > pos_start) { in remap_oldmem_pfn_checked() 543 map_size = (pos - pos_start) << PAGE_SHIFT; in remap_oldmem_pfn_checked() 544 if (remap_oldmem_pfn_range(vma, from + len, pos_start, in remap_oldmem_pfn_checked()
|