Home | History | Annotate | Download | only in s390x

Lines Matching defs:len

9    uint64_t len;
27 trot_regs tr(uint8_t *addr, uint16_t *codepage, uint16_t *dest, uint64_t len,
32 register uint64_t length asm("3") = len;
48 regs.len = length;
56 int run_test(void *srcaddr, void *tableaddr, void *desaddr, uint64_t len,
62 assert(len <= sizeof src);
67 regs = tr(srcaddr, tableaddr, desaddr, len, testbyte);
71 if ((uint64_t)srcaddr + (len - regs.len) != regs.srcaddr)
73 if ((uint64_t)desaddr + 2*(len - regs.len) != regs.desaddr)
75 if (regs.cc == 0 && regs.len != 0)
77 printf("%u bytes translated\n", (unsigned)(len - regs.len));
79 for (i = 0; i < len; i++) {
94 /* Test 1 : len == 0 */
107 /* Test 2 : len > 0, testbyte not matching */
118 /* Test 3 : len > 0 , testbyte matching */