Searched refs:sgmax (Results 1 - 4 of 4) sorted by relevance

/linux-master/tools/testing/scatterlist/
H A Dmain.c54 const unsigned int sgmax = UINT_MAX; local
58 { 0, 1, pfn(0), NULL, PAGE_SIZE, sgmax, 1 },
59 { 0, 1, pfn(0), NULL, 1, sgmax, 1 },
60 { 0, 2, pfn(0, 1), NULL, 2 * PAGE_SIZE, sgmax, 1 },
61 { 0, 2, pfn(1, 0), NULL, 2 * PAGE_SIZE, sgmax, 2 },
62 { 0, 3, pfn(0, 1, 2), NULL, 3 * PAGE_SIZE, sgmax, 1 },
63 { 0, 3, pfn(0, 1, 2), NULL, 3 * PAGE_SIZE, sgmax, 1 },
64 { 0, 3, pfn(0, 1, 2), pfn(3, 4, 5), 3 * PAGE_SIZE, sgmax, 1 },
65 { 0, 3, pfn(0, 1, 2), pfn(4, 5, 6), 3 * PAGE_SIZE, sgmax, 2 },
66 { 0, 3, pfn(0, 2, 1), NULL, 3 * PAGE_SIZE, sgmax,
[all...]
/linux-master/drivers/scsi/
H A Dinitio.h356 u16 sgmax; /*A */ member in struct:scsi_ctrl_blk
H A Dinitio.c1026 scb->sgmax = scb->sglen;
1565 for (i = scb->sgidx; i < scb->sgmax; sgp++, i++) {
1573 scb->sglen = (u8) (scb->sgmax - i);
/linux-master/drivers/crypto/nx/
H A Dnx.c70 * @sgmax: the largest number of scatter list elements we're allowed to create
74 * until sgmax elements have been written. Scatter list elements will be
81 u32 sgmax)
100 * have been described (or @sgmax elements have been written), the
126 if ((sg - sg_head) == sgmax) {
78 nx_build_sg_list(struct nx_sg *sg_head, u8 *start_addr, unsigned int *len, u32 sgmax) argument

Completed in 210 milliseconds