Home
last modified time | relevance | path

Searched refs:gid (Results 1 – 25 of 26) sorted by relevance

12

/arch/s390/kernel/
Dcompat_linux.c83 #define high2lowgid(gid) ((gid) > 65535) ? (u16)overflowgid : (u16)(gid) argument
85 #define low2highgid(gid) ((gid) == (u16)-1) ? (gid_t)-1 : (gid_t)(gid) argument
87 #define SET_GID16(var, gid) var = high2lowgid(gid) argument
89 #define NEW_TO_OLD_GID(gid) high2lowgid(gid) argument
91 #define SET_OLDSTAT_GID(stat, gid) (stat).st_gid = high2lowgid(gid) argument
93 #define SET_STAT_GID(stat, gid) (stat).st_gid = high2lowgid(gid) argument
115 asmlinkage long sys32_setgid16(u16 gid) in sys32_setgid16() argument
117 return sys_setgid((gid_t)gid); in sys32_setgid16()
157 if (!(retval = put_user(high2lowgid(current->cred->gid), rgid)) && in sys32_getresgid16()
169 asmlinkage long sys32_setfsgid16(u16 gid) in sys32_setfsgid16() argument
[all …]
Dcompat_linux.h171 long sys32_setgid16(u16 gid);
179 long sys32_setfsgid16(u16 gid);
Ddebug.c693 uid_t uid, gid_t gid) in debug_register_mode() argument
699 if ((uid != 0) || (gid != 0)) in debug_register_mode()
/arch/x86/tools/
Dgen-insn-attr-x86.awk21 gid = -1 # group id
149 gid = group[$2]
150 tname = "inat_group_table_" gid
165 if (gid != -1) {
170 gtable[gid,0] = tname
175 gtable[gid,1] = tname "_1"
180 gtable[gid,2] = tname "_2"
185 gtable[gid,3] = tname "_3"
/arch/xtensa/include/asm/
Dipcbuf.h28 __kernel_gid32_t gid; member
/arch/powerpc/include/asm/
Dipcbuf.h24 __kernel_gid_t gid; member
Dcompat.h160 __compat_gid_t gid; member
/arch/s390/include/asm/
Dipcbuf.h18 __kernel_gid32_t gid; member
Dcompat.h190 __compat_gid32_t gid; member
Ddebug.h128 gid_t gid);
/arch/sparc/include/asm/
Dipcbuf.h19 __kernel_gid_t gid; member
Dcompat.h190 __compat_gid32_t gid; member
/arch/parisc/include/asm/
Dipcbuf.h15 gid_t gid; member
/arch/s390/hypfs/
Dinode.c36 gid_t gid; /* gid used for files and dirs */ member
108 ret->i_gid = hypfs_info->gid; in hypfs_make_inode()
251 hypfs_info->gid = option; in hypfs_parse_options()
267 seq_printf(s, ",gid=%u", hypfs_info->gid); in hypfs_show_options()
283 sbi->gid = current_gid(); in hypfs_fill_super()
/arch/alpha/kernel/
Dasm-offsets.c30 DEFINE(CRED_GID, offsetof(struct cred, gid)); in foo()
/arch/mips/kernel/
Dkspd.c176 static int sp_setfsuidgid(uid_t uid, gid_t gid) in sp_setfsuidgid() argument
185 new->fsgid = gid; in sp_setfsuidgid()
Dvpe.c114 unsigned int uid, gid; member
1102 v->gid = filp->f_cred->fsgid; in vpe_open()
1314 return v->gid; in vpe_getgid()
/arch/x86/ia32/
Dsys_ia32.c73 typeof(ubuf->st_gid) gid = 0; in cp_stat64() local
75 SET_GID(gid, stat->gid); in cp_stat64()
83 __put_user(gid, &ubuf->st_gid) || in cp_stat64()
/arch/mips/include/asm/
Dcompat.h160 __compat_gid32_t gid; member
/arch/x86/include/asm/
Dcompat.h133 __compat_gid32_t gid; member
/arch/parisc/hpux/
Dfs.c163 tmp.st_gid = stat->gid; in cp_hpux_stat()
/arch/tile/include/asm/
Dcompat.h120 __compat_gid32_t gid; member
/arch/powerpc/kvm/
De500_tlb.c188 unsigned int as, unsigned int gid, in kvmppc_e500_get_sid() argument
195 BUG_ON(gid >= NUM_TIDS); in kvmppc_e500_get_sid()
198 sid = local_sid_lookup(&idt->id[as][gid][pr]); in kvmppc_e500_get_sid()
202 sid = local_sid_setup_one(&idt->id[as][gid][pr]); in kvmppc_e500_get_sid()
/arch/arm/kernel/
Dsys_oabi-compat.c128 tmp.st_gid = stat->gid; in cp_oldabi_stat64()
/arch/sparc/kernel/
Dsys_sparc32.c143 err |= put_user(stat->gid, &statbuf->st_gid); in cp_compat_stat64()

12