Lines Matching refs:addr
325 u64 addr;
425 static inline int share(unsigned long addr, u16 cmd)
430 .paddr = addr
441 BUG_ON(addr & ~PAGE_MASK);
452 * @addr: Real or absolute address of the page to be shared
454 static inline int uv_set_shared(unsigned long addr)
456 return share(addr, UVC_CMD_SET_SHARED_ACCESS);
462 * @addr: Real or absolute address of the page to be unshared
464 static inline int uv_remove_shared(unsigned long addr)
466 return share(addr, UVC_CMD_REMOVE_SHARED_ACCESS);
471 static inline int uv_set_shared(unsigned long addr) { return 0; }
472 static inline int uv_remove_shared(unsigned long addr) { return 0; }