dtl_entry
#define N_DISPATCH_LOG (DISPATCH_LOG_BYTES / sizeof(struct dtl_entry))
struct dtl_entry;
struct dtl_entry *dtl_ptr;
struct dtl_entry *dispatch_log;
struct dtl_entry *dispatch_log_end;
struct dtl_entry *dtl_curr; /* pointer corresponding to dtl_ridx */
if (addr && (len < sizeof(struct dtl_entry) ||
len -= len % sizeof(struct dtl_entry);
if (len < sizeof(struct dtl_entry))
len -= len % sizeof(struct dtl_entry);
struct dtl_entry *dt;
struct dtl_entry *aux_copy_buf = (struct dtl_entry *)buf->base;
memcpy(aux_copy_buf + buf->head, &dtl->buf[index], *n_entries * sizeof(struct dtl_entry));
size = (n_read * sizeof(struct dtl_entry));
aux_buf->head_size += (n_read * sizeof(struct dtl_entry));
perf_aux_output_end(&vpa_ctx->handle, n_read * sizeof(struct dtl_entry));
size = ((n_req + n_read) * sizeof(struct dtl_entry));
aux_buf->head_size += ((n_req + n_read) * sizeof(struct dtl_entry));
perf_aux_output_end(&vpa_ctx->handle, (n_req + n_read) * sizeof(struct dtl_entry));
struct dtl_entry *buf = NULL;
buf->threshold = ((buf->size - 32) / sizeof(struct dtl_entry));
struct dtl_entry *buf;
struct dtl_entry *buf = NULL;
struct dtl_entry *buf;
if ((len % sizeof(struct dtl_entry)) != 0)
n_req = len / sizeof(struct dtl_entry);
read_size * sizeof(struct dtl_entry));
buf += read_size * sizeof(struct dtl_entry);
rc = copy_to_user(buf, &dtl->buf[i], n_req * sizeof(struct dtl_entry));
return n_read * sizeof(struct dtl_entry);
struct dtl_entry *dtl = local_paca->dtl_curr;
struct dtl_entry *dtl_end = local_paca->dispatch_log_end;
static void (*dtl_consumer)(struct dtl_entry *entry, u64 index);
struct dtl_entry *write_ptr;
struct dtl_entry *buf;
struct dtl_entry *buf_end;
static void consume_dtle(struct dtl_entry *dtle, u64 index)
struct dtl_entry *wp = dtlr->write_ptr;
struct dtl_entry *dtl;
struct dtl_entry dtle;
struct dtl_entry *dtl = local_paca->dispatch_log + (i % N_DISPATCH_LOG);
struct dtl_entry *dtl_end = local_paca->dispatch_log_end;
struct dtl_entry *dtl;