/kernel/linux/linux-5.10/tools/testing/scatterlist/ |
H A D | main.c | 53 const unsigned int sgmax = SCATTERLIST_MAX_SEGMENT; in main() local 57 { 0, 1, pfn(0), PAGE_SIZE, sgmax + 1, 1 }, in main() 58 { 0, 1, pfn(0), PAGE_SIZE, sgmax, 1 }, in main() 59 { 0, 1, pfn(0), 1, sgmax, 1 }, in main() 60 { 0, 2, pfn(0, 1), 2 * PAGE_SIZE, sgmax, 1 }, in main() 61 { 0, 2, pfn(1, 0), 2 * PAGE_SIZE, sgmax, 2 }, in main() 62 { 0, 3, pfn(0, 1, 2), 3 * PAGE_SIZE, sgmax, 1 }, in main() 63 { 0, 3, pfn(0, 2, 1), 3 * PAGE_SIZE, sgmax, 3 }, in main() 64 { 0, 3, pfn(0, 1, 3), 3 * PAGE_SIZE, sgmax, 2 }, in main() 65 { 0, 3, pfn(1, 2, 4), 3 * PAGE_SIZE, sgmax, in main() [all...] |
/kernel/linux/linux-6.6/tools/testing/scatterlist/ |
H A D | main.c | 54 const unsigned int sgmax = UINT_MAX; in main() local 58 { 0, 1, pfn(0), NULL, PAGE_SIZE, sgmax, 1 }, in main() 59 { 0, 1, pfn(0), NULL, 1, sgmax, 1 }, in main() 60 { 0, 2, pfn(0, 1), NULL, 2 * PAGE_SIZE, sgmax, 1 }, in main() 61 { 0, 2, pfn(1, 0), NULL, 2 * PAGE_SIZE, sgmax, 2 }, in main() 62 { 0, 3, pfn(0, 1, 2), NULL, 3 * PAGE_SIZE, sgmax, 1 }, in main() 63 { 0, 3, pfn(0, 1, 2), NULL, 3 * PAGE_SIZE, sgmax, 1 }, in main() 64 { 0, 3, pfn(0, 1, 2), pfn(3, 4, 5), 3 * PAGE_SIZE, sgmax, 1 }, in main() 65 { 0, 3, pfn(0, 1, 2), pfn(4, 5, 6), 3 * PAGE_SIZE, sgmax, 2 }, in main() 66 { 0, 3, pfn(0, 2, 1), NULL, 3 * PAGE_SIZE, sgmax, in main() [all...] |
/kernel/linux/linux-5.10/drivers/crypto/nx/ |
H A D | nx.c | 70 * @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) in nx_build_sg_list() 100 * have been described (or @sgmax elements have been written), the in nx_build_sg_list() 126 if ((sg - sg_head) == sgmax) { in nx_build_sg_list() 78 nx_build_sg_list(struct nx_sg *sg_head, u8 *start_addr, unsigned int *len, u32 sgmax) nx_build_sg_list() argument
|
/kernel/linux/linux-6.6/drivers/crypto/nx/ |
H A D | nx.c | 70 * @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) in nx_build_sg_list() 100 * have been described (or @sgmax elements have been written), the in nx_build_sg_list() 126 if ((sg - sg_head) == sgmax) { in nx_build_sg_list() 78 nx_build_sg_list(struct nx_sg *sg_head, u8 *start_addr, unsigned int *len, u32 sgmax) nx_build_sg_list() argument
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | initio.h | 356 u16 sgmax; /*A */ member
|
H A D | initio.c | 1029 scb->sgmax = scb->sglen; in initio_exec_scb() 1568 for (i = scb->sgidx; i < scb->sgmax; sgp++, i++) { in initio_state_5() 1576 scb->sglen = (u8) (scb->sgmax - i); in initio_state_5()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | initio.h | 356 u16 sgmax; /*A */ member
|
H A D | initio.c | 1027 scb->sgmax = scb->sglen; in initio_exec_scb() 1566 for (i = scb->sgidx; i < scb->sgmax; sgp++, i++) { in initio_state_5() 1574 scb->sglen = (u8) (scb->sgmax - i); in initio_state_5()
|