Lines Matching defs:cr4
480 asm volatile("mov %0,%%cr4": "+r" (val) : : "memory");
499 unsigned long newval, cr4 = this_cpu_read(cpu_tlbstate.cr4);
503 newval = (cr4 & ~clear) | set;
504 if (newval != cr4) {
505 this_cpu_write(cpu_tlbstate.cr4, newval);
514 return this_cpu_read(cpu_tlbstate.cr4);
520 unsigned long cr4 = __read_cr4();
523 cr4 |= X86_CR4_PCIDE;
525 cr4 = (cr4 & ~cr4_pinned_mask) | cr4_pinned_bits;
527 __write_cr4(cr4);
529 /* Initialize cr4 shadow for this CPU. */
530 this_cpu_write(cpu_tlbstate.cr4, cr4);
540 cr4_pinned_bits = this_cpu_read(cpu_tlbstate.cr4) & cr4_pinned_mask;