Lines Matching defs:threshold_ns
328 u64 threshold_ns = (u64) threshold_us * 1000;
334 if (threshold_ns <= 0x3ff * 1) {
336 *value = threshold_ns;
337 } else if (threshold_ns <= 0x3ff * 32) {
339 *value = roundup(threshold_ns, 32) / 32;
340 } else if (threshold_ns <= 0x3ff * 1024) {
342 *value = roundup(threshold_ns, 1024) / 1024;
343 } else if (threshold_ns <= 0x3ff * 32768) {
345 *value = roundup(threshold_ns, 32768) / 32768;
346 } else if (threshold_ns <= 0x3ff * 1048576) {
348 *value = roundup(threshold_ns, 1048576) / 1048576;
349 } else if (threshold_ns <= 0x3ff * (u64) 33554432) {
351 *value = roundup(threshold_ns, 33554432) / 33554432;