Home
last modified time | relevance | path

Searched refs:n_req (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/arch/powerpc/platforms/pseries/
Ddtl.c263 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-6.6.21/drivers/scsi/csiostor/
Dcsio_mb.h104 uint32_t n_req; /* number of mbox req */ member
Dcsio_mb.c1290 CSIO_INC_STATS(mbm, n_req); in csio_mb_issue()
/linux-6.6.21/tools/perf/
Dbuiltin-kmem.c998 static double fragmentation(unsigned long n_req, unsigned long n_alloc) in fragmentation() argument
1003 return 100.0 - (100.0 * n_req / n_alloc); in fragmentation()