/openbmc/linux/fs/erofs/ |
H A D | xattr.c | 84 it.kaddr = erofs_bread(&it.buf, erofs_blknr(sb, it.pos), EROFS_KMAP); in erofs_init_inode_xattrs() 105 it.kaddr = erofs_bread(&it.buf, erofs_blknr(sb, it.pos), in erofs_init_inode_xattrs() 188 it->kaddr = erofs_bread(&it->buf, erofs_blknr(sb, it->pos), in erofs_xattr_copy_to_buffer() 212 (it->kaddr + erofs_blkoff(it->sb, it->pos)); in erofs_listxattr_foreach() 251 it->buffer[it->buffer_ofs++] = '\0'; in erofs_listxattr_foreach() 294 it->kaddr = erofs_bread(&it->buf, erofs_blknr(sb, it->pos), in erofs_getxattr_foreach() 339 it->kaddr = erofs_bread(&it->buf, erofs_blknr(it->sb, it->pos), in erofs_xattr_iter_inline() 345 erofs_blkoff(it->sb, it->pos)); in erofs_xattr_iter_inline() 378 it->kaddr = erofs_bread(&it->buf, erofs_blknr(sb, it->pos), in erofs_xattr_iter_shared() 425 erofs_init_metabuf(&it.buf, it.sb); in erofs_getxattr() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | iters.c | 34 struct bpf_iter_num it; in iter_err_unsafe_c_loop() local 43 bpf_iter_num_destroy(&it); in iter_err_unsafe_c_loop() 54 struct bpf_iter_num it; in iter_err_unsafe_asm_loop() local 80 : [it]"r"(&it), in iter_err_unsafe_asm_loop() 96 struct bpf_iter_num it; in iter_while_loop() local 132 struct bpf_iter_num it; in iter_for_loop() local 138 for (v = bpf_iter_num_next(&it); v; v = bpf_iter_num_next(&it)) { in iter_for_loop() 180 struct bpf_iter_num it; in iter_pragma_unroll_loop() local 200 struct bpf_iter_num it; in iter_manual_unroll_loop() local 223 struct bpf_iter_num it; in iter_multiple_sequential_loops() local [all …]
|
H A D | iters_num.c | 142 struct bpf_iter_num it; in num_invalid_range() local 145 bpf_iter_num_destroy(&it); in num_invalid_range() 156 struct bpf_iter_num it; in num_max_range() local 159 bpf_iter_num_destroy(&it); in num_max_range() 170 struct bpf_iter_num it; in num_e2big_range() local 173 bpf_iter_num_destroy(&it); in num_e2big_range() 184 struct bpf_iter_num it; in num_succ_elem_cnt() local 191 bpf_iter_num_destroy(&it); in num_succ_elem_cnt() 204 struct bpf_iter_num it; in num_overfetched_elem_cnt() local 213 bpf_iter_num_destroy(&it); in num_overfetched_elem_cnt() [all …]
|
/openbmc/phosphor-networkd/src/ |
H A D | network_manager.cpp | 292 if (auto it = intfInfo.find(info.ifidx); it != intfInfo.end()) in addAddress() local 310 if (auto it = interfacesByIdx.find(info.ifidx); it != interfacesByIdx.end()) in removeAddress() local 313 if (auto it = intfInfo.find(info.ifidx); it != intfInfo.end()) in removeAddress() local 326 if (auto it = intfInfo.find(info.ifidx); it != intfInfo.end()) in addNeighbor() local 348 if (auto it = intfInfo.find(info.ifidx); it != intfInfo.end()) in removeNeighbor() local 361 if (auto it = intfInfo.find(ifidx); it != intfInfo.end()) in addDefGw() local 376 if (auto it = interfacesByIdx.find(ifidx); it != interfacesByIdx.end()) in addDefGw() local 404 if (auto it = intfInfo.find(ifidx); it != intfInfo.end()) in removeDefGw() local 425 if (auto it = interfacesByIdx.find(ifidx); it != interfacesByIdx.end()) in removeDefGw() local 502 if (auto it = interfacesByIdx.find(ifidx); it != interfacesByIdx.end()) in handleAdminState() local [all …]
|
/openbmc/entity-manager/src/ |
H A D | topology.cpp | 102 for (auto it = upstreamPorts.begin(); it != upstreamPorts.end();) in remove() local 104 auto pathIt = std::find(it->second.begin(), it->second.end(), in remove() 108 it->second.erase(pathIt); in remove() 111 if (it->second.empty()) in remove() 113 it = upstreamPorts.erase(it); in remove() 117 ++it; in remove() 121 for (auto it = downstreamPorts.begin(); it != downstreamPorts.end();) in remove() local 123 auto pathIt = std::find(it->second.begin(), it->second.end(), in remove() 130 if (it->second.empty()) in remove() 132 it = downstreamPorts.erase(it); in remove() [all …]
|
/openbmc/linux/fs/smb/client/ |
H A D | dfs_cache.h | 46 int dfs_cache_get_tgt_referral(const char *path, const struct dfs_cache_tgt_iterator *it, 56 struct dfs_cache_tgt_iterator *it) in dfs_cache_get_next_tgt() argument 59 !it || list_is_last(&it->it_list, &tl->tl_list)) in dfs_cache_get_next_tgt() 61 return list_next_entry(it, it_list); in dfs_cache_get_next_tgt() 76 struct dfs_cache_tgt_iterator *it, *nit; in dfs_cache_free_tgts() local 80 list_for_each_entry_safe(it, nit, &tl->tl_list, it_list) { in dfs_cache_free_tgts() 81 list_del(&it->it_list); in dfs_cache_free_tgts() 82 kfree(it->it_name); in dfs_cache_free_tgts() 83 kfree(it); in dfs_cache_free_tgts() 89 dfs_cache_get_tgt_name(const struct dfs_cache_tgt_iterator *it) in dfs_cache_get_tgt_name() argument [all …]
|
/openbmc/linux/rust/macros/ |
H A D | helpers.rs | 5 pub(crate) fn try_ident(it: &mut token_stream::IntoIter) -> Option<String> { in try_ident() 6 if let Some(TokenTree::Ident(ident)) = it.next() { in try_ident() 14 if let Some(TokenTree::Literal(literal)) = it.next() { in try_literal() 22 try_literal(it).and_then(|string| { in try_string() 37 pub(crate) fn expect_ident(it: &mut token_stream::IntoIter) -> String { in expect_ident() 38 try_ident(it).expect("Expected Ident") in expect_ident() 41 pub(crate) fn expect_punct(it: &mut token_stream::IntoIter) -> char { in expect_punct() 50 try_string(it).expect("Expected string") in expect_string() 54 let string = try_string(it).expect("Expected string"); in expect_string_ascii() 67 pub(crate) fn expect_end(it: &mut token_stream::IntoIter) { in expect_end() [all …]
|
H A D | module.rs | 8 let group = expect_group(it); in expect_string_array() 11 let mut it = group.stream().into_iter(); in expect_string_array() localVariable 13 while let Some(val) = try_string(&mut it) { in expect_string_array() 16 match it.next() { in expect_string_array() 103 fn parse(it: &mut token_stream::IntoIter) -> Self { in parse() 112 let key = match it.next() { in parse() 125 assert_eq!(expect_punct(it), ':'); in parse() 140 assert_eq!(expect_punct(it), ','); in parse() 145 expect_end(it); in parse() 172 let mut it = ts.into_iter(); in module() localVariable [all …]
|
H A D | concat_idents.rs | 7 fn expect_ident(it: &mut token_stream::IntoIter) -> Ident { in expect_ident() 8 if let Some(TokenTree::Ident(ident)) = it.next() { in expect_ident() 16 let mut it = ts.into_iter(); in concat_idents() localVariable 17 let a = expect_ident(&mut it); in concat_idents() 18 assert_eq!(expect_punct(&mut it), ','); in concat_idents() 19 let b = expect_ident(&mut it); in concat_idents() 20 assert!(it.next().is_none(), "only two idents can be concatenated"); in concat_idents()
|
/openbmc/linux/Documentation/translations/it_IT/process/ |
H A D | programming-language.rst | 4 :Translator: Federico Vaga <federico.vaga@vaga.pv.it> 11 Il kernel è scritto nel linguaggio di programmazione C [it-c-language]_. 12 Più precisamente, il kernel viene compilato con ``gcc`` [it-gcc]_ usando 13 l'opzione ``-std=gnu11`` [it-gcc-c-dialect-options]_: il dialetto GNU 15 Linux supporta anche ``clang`` [it-clang]_, leggete la documentazione 28 linguaggio stesso (come l'aggiunta di nuove parole chiave) [it-n2049]_. 47 codice verrà compilato usando ``rustc`` [it-rustc]_ con l'opzione 59 .. [it-gcc] https://gcc.gnu.org 60 .. [it-clang] https://clang.llvm.org 65 .. [it-rust-language] https://www.rust-lang.org [all …]
|
/openbmc/qemu/migration/ |
H A D | page_cache.c | 133 CacheItem *it; in cache_is_cached() local 135 it = cache_get_by_addr(cache, addr); in cache_is_cached() 137 if (it->it_addr == addr) { in cache_is_cached() 139 it->it_age = current_age; in cache_is_cached() 149 CacheItem *it; in cache_insert() local 152 it = cache_get_by_addr(cache, addr); in cache_insert() 154 if (it->it_data && it->it_addr != addr && in cache_insert() 160 if (!it->it_data) { in cache_insert() 162 if (!it->it_data) { in cache_insert() 171 it->it_age = current_age; in cache_insert() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | vmm.c | 122 it->flush = min(it->flush, it->max - it->lvl); in nvkm_vmm_flush_mark() 131 it->vmm->func->flush(it->vmm, it->flush); in nvkm_vmm_flush() 478 it->desc[it->lvl].func->pde(it->vmm, pgd, pdei); in nvkm_vmm_ref_hwpt() 518 for (it.lvl = 0; desc[it.lvl].bits; it.lvl++) { in nvkm_vmm_iter() 522 it.max = --it.lvl; in nvkm_vmm_iter() 523 it.pt[it.max] = vmm->pd; in nvkm_vmm_iter() 528 it.lvl = it.max; in nvkm_vmm_iter() 575 it.pte[it.lvl] += ptes; in nvkm_vmm_iter() 579 it.pte[it.lvl++] = 0; in nvkm_vmm_iter() 580 it.pte[it.lvl]++; in nvkm_vmm_iter() [all …]
|
/openbmc/phosphor-fan-presence/control/ |
H A D | actions.hpp | 162 if (it != std::end(val_to_speed)) in set_floor_from_average_sensor_value() 164 speed = (*it).second; in set_floor_from_average_sensor_value() 222 it != val_to_speed.rend(); ++it) in set_ceiling_from_average_sensor_value() 229 speed = it->second; in set_ceiling_from_average_sensor_value() 237 speed = it->second; in set_ceiling_from_average_sensor_value() 240 if (avgValue < it->first && it->first <= prevValue) in set_ceiling_from_average_sensor_value() 247 speed = it->second; in set_ceiling_from_average_sensor_value() 254 it != val_to_speed.end(); ++it) in set_ceiling_from_average_sensor_value() 272 if (avgValue > it->first && it->first >= prevValue) in set_ceiling_from_average_sensor_value() 531 if (it != std::end(valueToSpeed)) in set_floor_from_median_sensor_value() [all …]
|
/openbmc/ibm-logging/ |
H A D | callout.cpp | 99 auto it = properties.find("BuildDate"); in Callout() local 100 if (it != properties.end()) in Callout() 105 it = properties.find("Manufacturer"); in Callout() 106 if (it != properties.end()) in Callout() 111 it = properties.find("Model"); in Callout() 112 if (it != properties.end()) in Callout() 114 model(std::get<std::string>(it->second)); in Callout() 117 it = properties.find("PartNumber"); in Callout() 118 if (it != properties.end()) in Callout() 123 it = properties.find("SerialNumber"); in Callout() [all …]
|
/openbmc/openpower-hw-diags/attn/ |
H A D | attn_logging.cpp | 118 it = i_additional.find("Subsystem"); in createPelCustom() 119 if (it != i_additional.end()) in createPelCustom() 121 subsystem = std::stoi(it->second); in createPelCustom() 136 if (it != i_additional.end() && "true" == it->second) in createPelCustom() 169 if (it != i_additional.end()) in createPelCustom() 171 srcString = it->second; in createPelCustom() 228 if (it != i_additional.end()) in createPelCustom() 230 srcString = it->second; in createPelCustom() 271 it = i_additional.find("hidden"); in createPelCustom() 272 if (it != i_additional.end() && "true" == it->second) in createPelCustom() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | id_map.hpp | 84 auto it = deviceMap.find(id); in getDevice() local 85 if (it == deviceMap.end()) in getDevice() 90 return *(it->second); in getDevice() 103 auto it = railMap.find(id); in getRail() local 104 if (it == railMap.end()) in getRail() 109 return *(it->second); in getRail() 122 auto it = ruleMap.find(id); in getRule() local 123 if (it == ruleMap.end()) in getRule() 128 return *(it->second); in getRule()
|
/openbmc/linux/include/linux/ceph/ |
H A D | messenger.h | 140 BUG_ON(!(it)->iter.bi_size); \ 143 bio_advance_iter((it)->bio, &(it)->iter, __cur_n); \ 144 if (!(it)->iter.bi_size && (it)->bio->bi_next) { \ 146 (it)->bio = (it)->bio->bi_next; \ 147 (it)->iter = (it)->bio->bi_iter; \ 157 __ceph_bio_iter_advance_step(it, n, 0) 167 __cur_iter = (it)->iter; \ 183 bvec_iter_advance((it)->bvecs, &(it)->iter, (n)); \ 190 __ceph_bvec_iter_advance_step(it, n, 0) 200 __cur_iter = (it)->iter; \ [all …]
|
/openbmc/phosphor-fan-presence/presence/ |
H A D | fallback.cpp | 39 auto it = std::find_if(std::next(activeSensor), sensors.end(), in stateChanged() local 42 if (it != sensors.end()) in stateChanged() 47 present = it->get().start(); in stateChanged() 49 while (activeSensor != it) in stateChanged() 59 activeSensor = it; in stateChanged() 100 auto it = sensors.begin(); in monitor() local 101 while (it != activeSensor) in monitor() 103 it->get().fail(); in monitor() 104 ++it; in monitor()
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | query_param.hpp | 74 return &it->second; in find() 82 return &it->second; in emplace() 289 if (it.ec != std::errc()) in getExpandType() 387 messages::queryParameterValueFormatError(res, it.value, it.key); in parseParameters() 396 messages::queryParameterValueFormatError(res, it.value, it.key); in parseParameters() 405 messages::queryParameterValueFormatError(res, it.value, it.key); in parseParameters() 421 messages::queryParameterValueFormatError(res, it.value, it.key); in parseParameters() 427 res, it.value, it.key, in parseParameters() 436 messages::queryParameterValueFormatError(res, it.value, it.key); in parseParameters() 448 messages::queryParameterValueFormatError(res, it.value, it.key); in parseParameters() [all …]
|
/openbmc/linux/drivers/of/ |
H A D | base.c | 1115 memset(it, 0, sizeof(*it)); in of_phandle_iterator_init() 1148 if (!it->cur || it->phandle_end >= it->list_end) in of_phandle_iterator_next() 1151 it->cur = it->phandle_end; in of_phandle_iterator_next() 1154 it->phandle = be32_to_cpup(it->cur++); in of_phandle_iterator_next() 1167 it->parent, it->phandle); in of_phandle_iterator_next() 1196 if (it->cur + count > it->list_end) { in of_phandle_iterator_next() 1199 it->parent, it->cells_name, in of_phandle_iterator_next() 1200 count, it->list_end - it->cur); in of_phandle_iterator_next() 1203 it->parent, of_node_full_name(it->node), in of_phandle_iterator_next() 1204 count, it->list_end - it->cur); in of_phandle_iterator_next() [all …]
|
/openbmc/phosphor-led-manager/manager/ |
H A D | manager.cpp | 67 for (auto& it : ledsDeAssert) in setGroupState() local 71 auto found = currentState.find(it); in setGroupState() 213 for (const auto& it : reqLedsDeAssert) in driveLedsHandler() local 215 std::string objPath = std::string(phyLedPath) + it.name; in driveLedsHandler() 217 "NAME", it.name, "ACTION", it.action); in driveLedsHandler() 219 it.period)) in driveLedsHandler() 221 failedLedsDeAssert.insert(it); in driveLedsHandler() 228 for (const auto& it : reqLedsAssert) in driveLedsHandler() local 232 "NAME", it.name, "ACTION", it.action); in driveLedsHandler() 233 if (drivePhysicalLED(objPath, it.action, it.dutyOn, it.period)) in driveLedsHandler() [all …]
|
/openbmc/telemetry/src/metrics/ |
H A D | collection_function.cpp | 60 for (auto it = readings.begin(); it != std::prev(readings.end()); ++it) in calculate() local 62 if (std::isfinite(it->second)) in calculate() 64 const auto kt = std::next(it); in calculate() 65 const auto duration = kt->first - it->first; in calculate() 66 valueSum += it->second * duration.count(); in calculate() 100 for (auto it = readings.begin(); it != std::prev(readings.end()); ++it) in calculate() local 102 if (std::isfinite(it->second)) in calculate() 104 const auto kt = std::next(it); in calculate() 106 calculateMultiplier(kt->first - it->first); in calculate() 107 valueSum += it->second * multiplier.count(); in calculate()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/oprofile/oprofile/ |
H A D | 0006-replace-sym_iterator-0-with-sym_iterator.patch | 26 @@ -73,7 +73,7 @@ void dump_symbol(string const & prefix, sym_iterator it, bool want_nl = true) 34 for (sym_iterator it = b; it != e; ++it) 66 void build_module(string const & n, sym_iterator it, 101 for (sym_iterator it = begin; it != end; ++it) 102 @@ -606,7 +606,7 @@ void binary_info::close_binary(sym_iterator it) 113 // NOTE: it is possible for the binary's symbols to follow its 117 set_end(it); 123 for (sym_iterator it = symbols_begin ; it != symbols_end; ++it) { 124 - string binary = get_image_name((*it)->app_name, 125 + string binary = get_image_name((*it)->app_name, [all …]
|
/openbmc/phosphor-debug-collector/ |
H A D | dump_types.mako.cpp | 56 auto it = dumpTypeToStringMap.find(dumpType); in dumpTypeToString() local 57 if (it != dumpTypeToStringMap.end()) in dumpTypeToString() 59 return it->second; in dumpTypeToString() 66 auto it = std::ranges::find_if(dumpTypeToStringMap, in stringToDumpType() local 71 if (it != dumpTypeToStringMap.end()) in stringToDumpType() 73 return it->first; in stringToDumpType() 92 auto it = std::find_if(dumpTypeTable.begin(), dumpTypeTable.end(), in validateDumpType() local 97 if (it != dumpTypeTable.end()) in validateDumpType() 99 dumpType = it->second.first; in validateDumpType() 112 const auto it = errorMap.find(errorType); in isErrorTypeValid() local [all …]
|
/openbmc/webui-vue/tests/unit/Global/ |
H A D | StatusIcon.spec.js | 13 it('should exist', () => { 16 it('should render icon-info element', () => { 19 it('should render icon-success element', async () => { 23 it('should render icon-warning element', async () => { 27 it('should render icon-danger element', async () => { 31 it('should render icon-secondary element', async () => { 35 it('should render correctly', () => {
|