Searched refs:tindex (Results 1 – 5 of 5) sorted by relevance
105 st->index = st->tindex = 0; in wf_cpu_pid_run()110 st->tindex = (st->tindex + 1) % 2; in wf_cpu_pid_run()111 st->temps[st->tindex] = new_temp; in wf_cpu_pid_run()125 deriv = st->temps[st->tindex] - in wf_cpu_pid_run()126 st->temps[(st->tindex + 2 - 1) % 2]; in wf_cpu_pid_run()
75 int tindex; /* index of current temp */ member
443 int tindex = (unsigned long)table->extra1; in nf_log_proc_dostring() local459 nf_log_unbind_pf(net, tindex); in nf_log_proc_dostring()463 logger = __find_logger(tindex, buf); in nf_log_proc_dostring()468 rcu_assign_pointer(net->nf.nf_loggers[tindex], logger); in nf_log_proc_dostring()475 logger = nft_log_dereference(net->nf.nf_loggers[tindex]); in nf_log_proc_dostring()
894 char * get_container_type(unsigned tindex) in get_container_type() argument896 if (tindex >= ARRAY_SIZE(container_types)) in get_container_type()897 tindex = ARRAY_SIZE(container_types) - 1; in get_container_type()898 return container_types[tindex]; in get_container_type()910 static void setinqstr(struct aac_dev *dev, void *data, int tindex) in setinqstr() argument958 if (tindex < ARRAY_SIZE(container_types)){ in setinqstr()965 if (((findit - str->pid) + strlen(container_types[tindex])) in setinqstr()967 inqstrcpy (container_types[tindex], findit + 1); in setinqstr()
3485 u32 tmp, val_integerd_b, tindex; in rtw8822c_psd_log2base() local3497 tindex = tmp / 5; in rtw8822c_psd_log2base()3499 if (tindex >= ARRAY_SIZE(table_fraction)) in rtw8822c_psd_log2base()3500 tindex = ARRAY_SIZE(table_fraction) - 1; in rtw8822c_psd_log2base()3502 val_fractiond_b = table_fraction[tindex]; in rtw8822c_psd_log2base()