1*b32efcfdSryo /*- 2*b32efcfdSryo * Copyright (c) 2021 The NetBSD Foundation, Inc. 3*b32efcfdSryo * All rights reserved. 4*b32efcfdSryo * 5*b32efcfdSryo * This code is derived from software contributed to The NetBSD Foundation 6*b32efcfdSryo * by Ryo Shimizu. 7*b32efcfdSryo * 8*b32efcfdSryo * Redistribution and use in source and binary forms, with or without 9*b32efcfdSryo * modification, are permitted provided that the following conditions 10*b32efcfdSryo * are met: 11*b32efcfdSryo * 1. Redistributions of source code must retain the above copyright 12*b32efcfdSryo * notice, this list of conditions and the following disclaimer. 13*b32efcfdSryo * 2. Redistributions in binary form must reproduce the above copyright 14*b32efcfdSryo * notice, this list of conditions and the following disclaimer in the 15*b32efcfdSryo * documentation and/or other materials provided with the distribution. 16*b32efcfdSryo * 17*b32efcfdSryo * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 18*b32efcfdSryo * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 19*b32efcfdSryo * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 20*b32efcfdSryo * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 21*b32efcfdSryo * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22*b32efcfdSryo * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23*b32efcfdSryo * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24*b32efcfdSryo * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25*b32efcfdSryo * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26*b32efcfdSryo * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27*b32efcfdSryo * POSSIBILITY OF SUCH DAMAGE. 28*b32efcfdSryo */ 29*b32efcfdSryo 30*b32efcfdSryo #ifndef _AMD64_LINUX32_FCNTL_H_ 31*b32efcfdSryo #define _AMD64_LINUX32_FCNTL_H_ 32*b32efcfdSryo 33*b32efcfdSryo #include <compat/linux/common/linux_fcntl.h> 34*b32efcfdSryo 35*b32efcfdSryo #define LINUX32_F_GETLK LINUX_F_GETLK 36*b32efcfdSryo #define LINUX32_F_SETLK LINUX_F_SETLK 37*b32efcfdSryo #define LINUX32_F_SETLKW LINUX_F_SETLKW 38*b32efcfdSryo #define LINUX32_F_GETLK64 LINUX_F_GETLK64 39*b32efcfdSryo #define LINUX32_F_SETLK64 LINUX_F_SETLK64 40*b32efcfdSryo #define LINUX32_F_SETLKW64 LINUX_F_SETLKW64 41*b32efcfdSryo 42*b32efcfdSryo #endif /* _AMD64_LINUX32_FCNTL_H_ */ 43