Lines Matching refs:cpu

52 	struct pt_cpu cpu;  in cpu_valid()  local
55 error = pt_cpu_parse(&cpu, "6/44/2"); in cpu_valid()
57 ptu_int_eq(cpu.vendor, pcv_intel); in cpu_valid()
58 ptu_uint_eq(cpu.family, 6); in cpu_valid()
59 ptu_uint_eq(cpu.model, 44); in cpu_valid()
60 ptu_uint_eq(cpu.stepping, 2); in cpu_valid()
62 error = pt_cpu_parse(&cpu, "0xf/0x2c/0xf"); in cpu_valid()
64 ptu_int_eq(cpu.vendor, pcv_intel); in cpu_valid()
65 ptu_uint_eq(cpu.family, 0xf); in cpu_valid()
66 ptu_uint_eq(cpu.model, 0x2c); in cpu_valid()
67 ptu_uint_eq(cpu.stepping, 0xf); in cpu_valid()
69 error = pt_cpu_parse(&cpu, "022/054/017"); in cpu_valid()
71 ptu_int_eq(cpu.vendor, pcv_intel); in cpu_valid()
72 ptu_uint_eq(cpu.family, 022); in cpu_valid()
73 ptu_uint_eq(cpu.model, 054); in cpu_valid()
74 ptu_uint_eq(cpu.stepping, 017); in cpu_valid()
76 error = pt_cpu_parse(&cpu, "6/44"); in cpu_valid()
78 ptu_int_eq(cpu.vendor, pcv_intel); in cpu_valid()
79 ptu_uint_eq(cpu.family, 6); in cpu_valid()
80 ptu_uint_eq(cpu.model, 44); in cpu_valid()
81 ptu_uint_eq(cpu.stepping, 0); in cpu_valid()
88 struct pt_cpu cpu; in cpu_null() local
91 error = pt_cpu_parse(&cpu, NULL); in cpu_null()
105 struct pt_cpu cpu; in cpu_incomplete() local
108 error = pt_cpu_parse(&cpu, ""); in cpu_incomplete()
111 error = pt_cpu_parse(&cpu, "6"); in cpu_incomplete()
114 error = pt_cpu_parse(&cpu, "6/"); in cpu_incomplete()
117 error = pt_cpu_parse(&cpu, "6//2"); in cpu_incomplete()
120 error = pt_cpu_parse(&cpu, "//"); in cpu_incomplete()
128 struct pt_cpu cpu; in cpu_invalid() local
131 error = pt_cpu_parse(&cpu, "e/44/2"); in cpu_invalid()
134 error = pt_cpu_parse(&cpu, "6/e/2"); in cpu_invalid()
137 error = pt_cpu_parse(&cpu, "6/44/e"); in cpu_invalid()
140 error = pt_cpu_parse(&cpu, "65536/44/2"); in cpu_invalid()
143 error = pt_cpu_parse(&cpu, "6/256/2"); in cpu_invalid()
146 error = pt_cpu_parse(&cpu, "6/44/256"); in cpu_invalid()
149 error = pt_cpu_parse(&cpu, "-1/44/2"); in cpu_invalid()
152 error = pt_cpu_parse(&cpu, "6/-1/2"); in cpu_invalid()
155 error = pt_cpu_parse(&cpu, "6/44/-1"); in cpu_invalid()