Lines Matching refs:type
53 * If type is UNKNOWN, but privilege level matches, consider it as
56 static bool check_dawrx_constraints(struct pt_regs *regs, int type,
59 if (OP_IS_LOAD(type) && !(info->type & HW_BRK_TYPE_READ))
64 * cause a match. i.e. if type is CACHEOP, the instruction
67 if ((OP_IS_STORE(type) || type == CACHEOP) && !(info->type & HW_BRK_TYPE_WRITE))
70 if (is_kernel_addr(regs->nip) && !(info->type & HW_BRK_TYPE_KERNEL))
73 if (user_mode(regs) && !(info->type & HW_BRK_TYPE_USER))
84 unsigned long ea, int type, int size,
96 info->type |= HW_BRK_TYPE_EXTRANEOUS_IRQ;
108 dawrx_constraints = check_dawrx_constraints(regs, type, info);
110 if (type == UNKNOWN) {
123 info->type |= HW_BRK_TYPE_EXTRANEOUS_IRQ;
131 int *type, int *size, unsigned long *ea)
144 *type = GETTYPE(op.type);
151 *size = GETSIZE(op.type);
152 if (*type == CACHEOP) {
155 } else if (*type == LOAD_VMX || *type == STORE_VMX) {