Searched refs:tindex (Results 1 – 6 of 6) sorted by relevance
106 st->index = st->tindex = 0; in wf_cpu_pid_run()111 st->tindex = (st->tindex + 1) % 2; in wf_cpu_pid_run()112 st->temps[st->tindex] = new_temp; in wf_cpu_pid_run()126 deriv = st->temps[st->tindex] - in wf_cpu_pid_run()127 st->temps[(st->tindex + 2 - 1) % 2]; in wf_cpu_pid_run()
73 int tindex; /* index of current temp */ member
375 int tindex = -1; in adm1275_probe() local495 tindex = 8; in adm1275_probe()565 tindex = 3; in adm1275_probe()666 if (tindex >= 0) { in adm1275_probe()667 info->m[PSC_TEMPERATURE] = coefficients[tindex].m; in adm1275_probe()668 info->b[PSC_TEMPERATURE] = coefficients[tindex].b; in adm1275_probe()669 info->R[PSC_TEMPERATURE] = coefficients[tindex].R; in adm1275_probe()
187 int tindex, cindex; in perf_read_values_add_value() local189 tindex = perf_read_values__findnew_thread(values, pid, tid); in perf_read_values_add_value()190 if (tindex < 0) in perf_read_values_add_value()191 return tindex; in perf_read_values_add_value()196 values->value[tindex][cindex] += value; in perf_read_values_add_value()
421 int tindex = (unsigned long)table->extra1; in nf_log_proc_dostring() local437 nf_log_unbind_pf(net, tindex); in nf_log_proc_dostring()441 logger = __find_logger(tindex, buf); in nf_log_proc_dostring()446 rcu_assign_pointer(net->nf.nf_loggers[tindex], logger); in nf_log_proc_dostring()453 logger = nft_log_dereference(net->nf.nf_loggers[tindex]); in nf_log_proc_dostring()
890 char * get_container_type(unsigned tindex) in get_container_type() argument892 if (tindex >= ARRAY_SIZE(container_types)) in get_container_type()893 tindex = ARRAY_SIZE(container_types) - 1; in get_container_type()894 return container_types[tindex]; in get_container_type()906 static void setinqstr(struct aac_dev *dev, void *data, int tindex) in setinqstr() argument954 if (tindex < ARRAY_SIZE(container_types)){ in setinqstr()961 if (((findit - str->pid) + strlen(container_types[tindex])) in setinqstr()963 inqstrcpy (container_types[tindex], findit + 1); in setinqstr()