Home
last modified time | relevance | path

Searched refs:btm (Results 1 – 7 of 7) sorted by relevance

/openbmc/google-misc/subprojects/metrics-ipmi-blobs/
H A Dmetric.cpp371 BootTimesMonotonic btm; in getUptimeMetric() local
372 if (!getBootTimesMonotonic(btm)) in getUptimeMetric()
377 if (btm.firmwareTime == 0 && btm.powerOnSecCounterTime != 0) in getUptimeMetric()
380 static_cast<double>(btm.powerOnSecCounterTime) - uptime; in getUptimeMetric()
385 static_cast<double>(btm.firmwareTime - btm.loaderTime) / 1e6; in getUptimeMetric()
387 ret.loader_boot_time_sec = static_cast<double>(btm.loaderTime) / 1e6; in getUptimeMetric()
388 if (btm.initrdTime != 0) in getUptimeMetric()
390 ret.kernel_boot_time_sec = static_cast<double>(btm.initrdTime) / 1e6; in getUptimeMetric()
392 static_cast<double>(btm.userspaceTime - btm.initrdTime) / 1e6; in getUptimeMetric()
394 static_cast<double>(btm.finishTime - btm.userspaceTime) / 1e6; in getUptimeMetric()
[all …]
H A Dutil.cpp280 bool getBootTimesMonotonic(BootTimesMonotonic& btm) in getBootTimesMonotonic() argument
303 auto btmPtr = reinterpret_cast<char*>(&btm); in getBootTimesMonotonic()
339 btm.powerOnSecCounterTime = static_cast<uint64_t>(memResult); in getBootTimesMonotonic()
H A Dutil.hpp53 bool getBootTimesMonotonic(BootTimesMonotonic& btm);
/openbmc/linux/kernel/trace/
H A Dbpf_trace.c59 struct bpf_trace_module *btm; in bpf_get_raw_tracepoint_module() local
63 list_for_each_entry(btm, &bpf_trace_modules, list) { in bpf_get_raw_tracepoint_module()
64 for (i = 0; i < btm->module->num_bpf_raw_events; ++i) { in bpf_get_raw_tracepoint_module()
65 btp = &btm->module->bpf_raw_events[i]; in bpf_get_raw_tracepoint_module()
67 if (try_module_get(btm->module)) in bpf_get_raw_tracepoint_module()
2470 struct bpf_trace_module *btm, *tmp; in bpf_event_notify() local
2482 btm = kzalloc(sizeof(*btm), GFP_KERNEL); in bpf_event_notify()
2483 if (btm) { in bpf_event_notify()
2484 btm->module = module; in bpf_event_notify()
2485 list_add(&btm->list, &bpf_trace_modules); in bpf_event_notify()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.h38 ice_alloc_hw_res(struct ice_hw *hw, u16 type, u16 num, bool btm, u16 *res);
H A Dice_flex_pipe.c1304 ice_alloc_tcam_ent(struct ice_hw *hw, enum ice_block blk, bool btm, in ice_alloc_tcam_ent() argument
1312 return ice_alloc_hw_res(hw, res_type, 1, btm, tcam_idx); in ice_alloc_tcam_ent()
H A Dice_common.c2053 * @btm: allocate from bottom in ice_alloc_hw_res()
2057 ice_alloc_hw_res(struct ice_hw *hw, u16 type, u16 num, bool btm, u16 *res) in ice_alloc_hw_res()
2072 if (btm)
2039 ice_alloc_hw_res(struct ice_hw * hw,u16 type,u16 num,bool btm,u16 * res) ice_alloc_hw_res() argument