Searched refs:can_addr (Results 1 – 2 of 2) sorted by relevance
855 unsigned long can_addr, addr = (unsigned long)lock; in assign_lock_key() local868 if (__is_kernel_percpu_address(addr, &can_addr)) in assign_lock_key()869 lock->key = (void *)can_addr; in assign_lock_key()870 else if (__is_module_percpu_address(addr, &can_addr)) in assign_lock_key()871 lock->key = (void *)can_addr; in assign_lock_key()
685 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument702 if (can_addr) { in __is_module_percpu_address()703 *can_addr = (unsigned long) (va - start); in __is_module_percpu_address()704 *can_addr += (unsigned long) in __is_module_percpu_address()763 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument