Searched refs:n_req (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | dtl.c | 263 long int rc, n_read, n_req, read_size; in dtl_file_read() local 273 n_req = len / sizeof(struct dtl_entry); in dtl_file_read() 286 if (last_idx + n_req > cur_idx) in dtl_file_read() 287 n_req = cur_idx - last_idx; in dtl_file_read() 289 if (n_req > 0) in dtl_file_read() 290 dtl->last_idx = last_idx + n_req; in dtl_file_read() 294 if (n_req <= 0) in dtl_file_read() 300 if (i + n_req > dtl->buf_entries) { in dtl_file_read() 309 n_req -= read_size; in dtl_file_read() 315 rc = copy_to_user(buf, &dtl->buf[i], n_req * sizeof(struct dtl_entry)); in dtl_file_read() [all …]
|
| /linux/arch/powerpc/perf/ |
| H A D | vpa-dtl.c | 197 long n_req; in vpa_dtl_dump_sample_data() local 212 n_req = cur_idx - last_idx; in vpa_dtl_dump_sample_data() 215 if (n_req <= 0) in vpa_dtl_dump_sample_data() 218 dtl->last_idx = last_idx + n_req; in vpa_dtl_dump_sample_data() 243 if (i + n_req > N_DISPATCH_LOG) { in vpa_dtl_dump_sample_data() 246 n_req -= read_size; in vpa_dtl_dump_sample_data() 265 vpa_dtl_capture_aux(&n_req, aux_buf, dtl, i); in vpa_dtl_dump_sample_data() 267 size = ((n_req + n_read) * sizeof(struct dtl_entry)); in vpa_dtl_dump_sample_data() 274 aux_buf->head_size += ((n_req + n_read) * sizeof(struct dtl_entry)); in vpa_dtl_dump_sample_data() 276 perf_aux_output_end(&vpa_ctx->handle, (n_req + n_read) * sizeof(struct dtl_entry)); in vpa_dtl_dump_sample_data()
|
| /linux/drivers/scsi/csiostor/ |
| H A D | csio_mb.h | 104 uint32_t n_req; /* number of mbox req */ member
|
| H A D | csio_mb.c | 1290 CSIO_INC_STATS(mbm, n_req); in csio_mb_issue()
|
| /linux/tools/perf/ |
| H A D | builtin-kmem.c | 991 static double fragmentation(unsigned long n_req, unsigned long n_alloc) in fragmentation() argument 996 return 100.0 - (100.0 * n_req / n_alloc); in fragmentation()
|