Lines Matching refs:gid
86 #define high2lowgid(gid) ((gid) > 65535) ? (u16)overflowgid : (u16)(gid) argument
88 #define low2highgid(gid) ((gid) == (u16)-1) ? (gid_t)-1 : (gid_t)(gid) argument
90 #define SET_GID16(var, gid) var = high2lowgid(gid) argument
92 #define NEW_TO_OLD_GID(gid) high2lowgid(gid) argument
94 #define SET_OLDSTAT_GID(stat, gid) (stat).st_gid = high2lowgid(gid) argument
96 #define SET_STAT_GID(stat, gid) (stat).st_gid = high2lowgid(gid) argument
118 asmlinkage long sys32_setgid16(u16 gid) in sys32_setgid16() argument
120 return sys_setgid((gid_t)gid); in sys32_setgid16()
160 if (!(retval = put_user(high2lowgid(current->cred->gid), rgid)) && in sys32_getresgid16()
172 asmlinkage long sys32_setfsgid16(u16 gid) in sys32_setfsgid16() argument
174 return sys_setfsgid((gid_t)gid); in sys32_setfsgid16()
266 return high2lowgid(current->cred->gid); in sys32_getgid16()
560 tmp.st_gid = stat->gid; in cp_stat64()