Home | History | Annotate | Download | only in s390x

Lines Matching defs:len

9    uint64_t len;
27 trtt_regs tr(uint16_t *addr, uint16_t *codepage, uint16_t *dest, uint64_t len,
32 register uint64_t length asm("3") = len;
48 regs.len = length;
57 int run_test(void *srcaddr, void *tableaddr, void *desaddr, uint64_t len,
63 assert(len <= sizeof src);
68 regs = tr(srcaddr, tableaddr, desaddr, len, testbyte);
72 if ((uint64_t)srcaddr + (len - regs.len) != regs.srcaddr)
74 if ((uint64_t)desaddr + (len - regs.len) != regs.desaddr)
76 if (regs.cc == 0 && regs.len != 0)
78 printf("%u bytes translated\n", ((unsigned)(len - regs.len))/2);
80 for (i = 0; i < len/2; i++) {
95 /* Test 1 : len == 0 */
108 /* Test 2 : len > 0, testbyte not matching */
119 /* Test 3 : len > 0 , testbyte matching */