/fs/nfsd/ |
D | auth.h | 12 #define nfsd_lgid(rq, gid) ((u32)(gid)) argument 14 #define nfsd_rgid(rq, gid) ((u32)(gid)) argument
|
/fs/gfs2/ |
D | quota.h | 18 extern int gfs2_quota_hold(struct gfs2_inode *ip, u32 uid, u32 gid); 21 extern int gfs2_quota_lock(struct gfs2_inode *ip, u32 uid, u32 gid); 24 extern int gfs2_quota_check(struct gfs2_inode *ip, u32 uid, u32 gid); 26 u32 uid, u32 gid);
|
D | inode.c | 699 unsigned int *uid, unsigned int *gid) in munge_mode_uid_gid() argument 714 *gid = dip->i_inode.i_gid; in munge_mode_uid_gid() 716 *gid = current_fsgid(); in munge_mode_uid_gid() 760 unsigned int uid, unsigned int gid, in init_dinode() argument 778 di->di_gid = cpu_to_be32(gid); in init_dinode() 822 unsigned int uid, gid; in make_dinode() local 825 munge_mode_uid_gid(dip, &mode, &uid, &gid); in make_dinode() 829 error = gfs2_quota_lock(dip, uid, gid); in make_dinode() 833 error = gfs2_quota_check(dip, uid, gid); in make_dinode() 841 init_dinode(dip, gl, inum, mode, uid, gid, generation, dev, bhp); in make_dinode() [all …]
|
D | quota.c | 455 int gfs2_quota_hold(struct gfs2_inode *ip, u32 uid, u32 gid) in gfs2_quota_hold() argument 489 if (gid != NO_QUOTA_CHANGE && gid != ip->i_inode.i_gid) { in gfs2_quota_hold() 490 error = qdsb_get(sdp, QUOTA_GROUP, gid, CREATE, qd); in gfs2_quota_hold() 849 int gfs2_quota_lock(struct gfs2_inode *ip, u32 uid, u32 gid) in gfs2_quota_lock() argument 856 gfs2_quota_hold(ip, uid, gid); in gfs2_quota_lock() 965 int gfs2_quota_check(struct gfs2_inode *ip, u32 uid, u32 gid) in gfs2_quota_check() argument 984 (qd->qd_id == gid && !test_bit(QDF_USER, &qd->qd_flags)))) in gfs2_quota_check() 1010 u32 uid, u32 gid) in gfs2_quota_change() argument 1025 (qd->qd_id == gid && !test_bit(QDF_USER, &qd->qd_flags))) { in gfs2_quota_change()
|
/fs/affs/ |
D | super.c | 158 parse_options(char *options, uid_t *uid, gid_t *gid, int *mode, int *reserved, s32 *root, in parse_options() argument 167 *gid = current_gid(); in parse_options() 225 *gid = option; in parse_options() 274 gid_t gid; in affs_fill_super() local 295 if (!parse_options(data,&uid,&gid,&i,&reserved,&root_block, in affs_fill_super() 306 sbi->s_gid = gid; in affs_fill_super() 492 gid_t gid; in affs_remount() local 504 if (!parse_options(data, &uid, &gid, &mode, &reserved, &root_block, in affs_remount() 516 sbi->s_gid = gid; in affs_remount()
|
D | inode.c | 86 id = be16_to_cpu(tail->gid); in affs_iget() 175 gid_t gid; in affs_write_inode() local 196 gid = inode->i_gid; in affs_write_inode() 201 gid = inode->i_gid ^ ~0; in affs_write_inode() 206 tail->gid = cpu_to_be16(gid); in affs_write_inode()
|
/fs/hpfs/ |
D | super.c | 244 static int parse_opts(char *opts, uid_t *uid, gid_t *gid, umode_t *umask, in parse_opts() argument 274 *gid = option; in parse_opts() 384 gid_t gid; in hpfs_remount_fs() local 393 uid = sbi->sb_uid; gid = sbi->sb_gid; in hpfs_remount_fs() 399 if (!(o = parse_opts(data, &uid, &gid, &umask, &lowercase, &conv, in hpfs_remount_fs() 415 sbi->sb_uid = uid; sbi->sb_gid = gid; in hpfs_remount_fs() 456 gid_t gid; in hpfs_fill_super() local 479 gid = current_gid(); in hpfs_fill_super() 489 if (!(o = parse_opts(options, &uid, &gid, &umask, &lowercase, &conv, in hpfs_fill_super() 536 sbi->sb_gid = gid; in hpfs_fill_super()
|
/fs/hugetlbfs/ |
D | inode.c | 504 gid_t gid, int mode, dev_t dev) in hugetlbfs_get_inode() argument 513 inode->i_gid = gid; in hugetlbfs_get_inode() 551 gid_t gid; in hugetlbfs_mknod() local 554 gid = dir->i_gid; in hugetlbfs_mknod() 558 gid = current_fsgid(); in hugetlbfs_mknod() 560 inode = hugetlbfs_get_inode(dir->i_sb, current_fsuid(), gid, mode, dev); in hugetlbfs_mknod() 588 gid_t gid; in hugetlbfs_symlink() local 591 gid = dir->i_gid; in hugetlbfs_symlink() 593 gid = current_fsgid(); in hugetlbfs_symlink() 596 gid, S_IFLNK|S_IRWXUGO, 0); in hugetlbfs_symlink() [all …]
|
/fs/hfsplus/ |
D | options.c | 53 opts->gid = current_gid(); in hfsplus_fill_defaults() 115 sbi->gid = (gid_t)tmp; in hfsplus_parse_options() 179 seq_printf(seq, ",umask=%o,uid=%u,gid=%u", sbi->umask, sbi->uid, sbi->gid); in hfsplus_show_options()
|
/fs/ncpfs/ |
D | inode.c | 225 inode->i_gid = server->m.gid; in ncp_set_attr() 317 if (server->m.gid != 0) in ncp_show_options() 318 seq_printf(seq, ",gid=%u", server->m.gid); in ncp_show_options() 371 data->gid = 0; in ncp_parse_options() 386 data->gid = optint; in ncp_parse_options() 470 data.gid = md->gid; in ncp_fill_super() 490 data.gid = md->gid; in ncp_fill_super() 869 (attr->ia_gid != server->m.gid))) in ncp_notify_change()
|
/fs/autofs4/ |
D | waitq.c | 159 packet->gid = wq->gid; in autofs4_notify_daemon() 395 wq->gid = current_gid(); in autofs4_wait() 486 ino->gid = wq->gid; in autofs4_wait()
|
D | inode.c | 57 ino->gid = 0; in autofs4_init_ino() 231 static int parse_options(char *options, int *pipefd, uid_t *uid, gid_t *gid, in parse_options() argument 239 *gid = current_gid(); in parse_options() 269 *gid = option; in parse_options()
|
D | autofs_i.h | 85 gid_t gid; member 108 gid_t gid; member
|
/fs/nfs_common/ |
D | nfsacl.c | 41 gid_t gid; member 60 *p++ = htonl(nfsacl_desc->gid); in xdr_nfsace_encode() 88 .gid = inode->i_gid, in nfsacl_encode()
|
/fs/jfs/ |
D | super.c | 328 char *gid = args[0].from; in parse_options() local 329 sbi->gid = simple_strtoul(gid, &gid, 0); in parse_options() 430 sbi->uid = sbi->gid = sbi->umask = -1; in jfs_fill_super() 601 if (sbi->gid != -1) in jfs_show_options() 602 seq_printf(seq, ",gid=%d", sbi->gid); in jfs_show_options()
|
/fs/devpts/ |
D | inode.c | 48 gid_t gid; member 100 opts->gid = 0; in parse_mount_options() 127 opts->gid = option; in parse_mount_options() 248 seq_printf(seq, ",gid=%u", opts->gid); in devpts_show_options() 590 inode->i_gid = opts->setgid ? opts->gid : current_fsgid(); in devpts_pty_new()
|
/fs/autofs/ |
D | inode.c | 72 static int parse_options(char *options, int *pipefd, uid_t *uid, gid_t *gid, in parse_options() argument 80 *gid = current_gid(); in parse_options() 110 *gid = option; in parse_options()
|
/fs/cifs/ |
D | README | 133 Note that uid, gid and file permissions will display default values if you do 268 the uid, gid and mode so this parameter should not be 269 specified unless the server and clients uid and gid 273 and gid can be retrieved from the server (and uid 274 and gid would not have to be specifed on the mount. 276 extensions, the default uid (and gid) returned on lookup 277 of existing files will be the uid (gid) of the person 280 (gid) mount option is specified. For the uid (gid) of newly 283 (gid) is cached as long as the inode remains in 288 servers which do not report a uid/gid owner [all …]
|
D | dir.c | 360 args.gid = (__u64) inode->i_gid; in cifs_create() 362 args.gid = (__u64) current_fsgid(); in cifs_create() 365 args.gid = NO_CHANGE_64; in cifs_create() 488 args.gid = (__u64) current_fsgid(); in cifs_mknod() 491 args.gid = NO_CHANGE_64; in cifs_mknod()
|
/fs/jffs2/ |
D | fs.c | 98 ri->gid = cpu_to_je16((ivalid & ATTR_GID)?iattr->ia_gid:inode->i_gid); in jffs2_do_setattr() 146 inode->i_gid = je16_to_cpu(ri->gid); in jffs2_do_setattr() 272 inode->i_gid = je16_to_cpu(latest_node.gid); in jffs2_iget() 448 ri->gid = cpu_to_je16(dir_i->i_gid); in jffs2_new_inode() 452 ri->gid = cpu_to_je16(current_fsgid()); in jffs2_new_inode() 472 inode->i_gid = je16_to_cpu(ri->gid); in jffs2_new_inode()
|
/fs/9p/ |
D | vfs_super.c | 117 gid_t gid = current_fsgid(); in v9fs_get_sb() local 154 inode->i_gid = gid; in v9fs_get_sb()
|
/fs/yaffs2/ |
D | yaffs_guts.h | 842 __u32 mode, __u32 uid, __u32 gid); 853 __u32 mode, __u32 uid, __u32 gid); 868 __u32 mode, __u32 uid, __u32 gid, 874 __u32 mode, __u32 uid, __u32 gid, __u32 rdev);
|
/fs/smbfs/ |
D | inode.c | 385 mnt->gid = value; in parse_options() 435 seq_printf(s, ",gid=%d", mnt->gid); in smb_show_options() 574 SET_GID(mnt->gid, oldmnt->gid); in smb_fill_super() 692 if ((attr->ia_valid & ATTR_GID) && (attr->ia_uid != server->mnt->gid)) in smb_notify_change()
|
/fs/ |
D | stat.c | 28 stat->gid = inode->i_gid; in generic_fillattr() 142 SET_GID(tmp.st_gid, stat->gid); in cp_old_stat() 216 SET_GID(tmp.st_gid, stat->gid); in cp_new_stat() 357 tmp.st_gid = stat->gid; in cp_new_stat64()
|
D | compat.c | 144 typeof(ubuf->st_gid) gid = 0; in cp_compat_stat() local 148 SET_GID(gid, stat->gid); in cp_compat_stat() 165 err |= __put_user(gid, &ubuf->st_gid); in cp_compat_stat() 604 __compat_gid_t gid; member 618 compat_ulong_t gid; member 633 n->gid = c_n->gid; in do_ncp_super_data_conv() 644 n->gid = c_n->gid; in do_ncp_super_data_conv() 663 __compat_gid_t gid; member 677 s->gid = c_s->gid; in do_smb_super_data_conv()
|