Home
last modified time | relevance | path

Searched refs:last_idx (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/platforms/pseries/
Ddtl.c25 u64 last_idx; member
202 dtl->last_idx = 0; in dtl_enable()
255 u64 cur_idx, last_idx, i; in dtl_file_read() local
271 last_idx = dtl->last_idx; in dtl_file_read()
273 if (last_idx + dtl->buf_entries <= cur_idx) in dtl_file_read()
274 last_idx = cur_idx - dtl->buf_entries + 1; in dtl_file_read()
276 if (last_idx + n_req > cur_idx) in dtl_file_read()
277 n_req = cur_idx - last_idx; in dtl_file_read()
280 dtl->last_idx = last_idx + n_req; in dtl_file_read()
287 i = last_idx % dtl->buf_entries; in dtl_file_read()
/arch/powerpc/platforms/ps3/
Dos-area.c398 struct db_index *last_idx; member
426 i->last_idx = i->idx + db->count_64; in db_for_each_64()
434 if (i->idx >= i->last_idx) { in db_for_each_64()