Home
last modified time | relevance | path

Searched refs:cur_idx (Results 1 – 6 of 6) sorted by relevance

/arch/powerpc/platforms/pseries/
Ddtl.c267 u64 cur_idx, last_idx, i; in dtl_file_read() local
282 cur_idx = dtl_current_index(dtl); in dtl_file_read()
285 if (last_idx + dtl->buf_entries <= cur_idx) in dtl_file_read()
286 last_idx = cur_idx - dtl->buf_entries + 1; in dtl_file_read()
288 if (last_idx + n_req > cur_idx) in dtl_file_read()
289 n_req = cur_idx - last_idx; in dtl_file_read()
/arch/arm64/mm/
Dcontext.c150 static u32 cur_idx = 1; in new_context() local
179 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context()
193 cur_idx = asid; in new_context()
/arch/arm/mm/
Dcontext.c194 static u32 cur_idx = 1; in new_context() local
226 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context()
235 cur_idx = asid; in new_context()
/arch/x86/events/intel/
Dpt.c745 buf->cur_idx++; in pt_buffer_advance()
747 if (buf->cur_idx == buf->cur->last) { in pt_buffer_advance()
753 buf->cur_idx = 0; in pt_buffer_advance()
772 for (topa_idx = 0; topa_idx < buf->cur_idx; topa_idx++) in pt_update_head()
793 return phys_to_virt(buf->cur->table[buf->cur_idx].base << TOPA_SHIFT); in pt_buffer_region()
802 return sizes(buf->cur->table[buf->cur_idx].size); in pt_buffer_region_size()
832 buf->output_off == sizes(TOPA_ENTRY(buf->cur, buf->cur_idx)->size)) { in pt_handle_status()
877 buf->cur_idx = (offset & 0xffffff80) >> 7; in pt_read_offset()
927 sizes(TOPA_ENTRY(buf->cur, buf->cur_idx)->size)) { in pt_buffer_reset_markers()
1031 buf->cur_idx = ((unsigned long)buf->topa_index[pg] - in pt_buffer_reset_offsets()
[all …]
Dpt.h143 unsigned int cur_idx; member
/arch/ia64/kernel/
Dmca_drv.c73 int cur_idx; /* Current index of section pointer list pool */ member
221 {slidx_list_t *hl = &slidx_pool.buffer[slidx_pool.cur_idx]; \
224 slidx_pool.cur_idx = (slidx_pool.cur_idx + 1)%slidx_pool.max_idx; }