/fs/affs/ |
D | inode.c | 81 inode->i_uid = sbi->s_uid; in affs_iget() 83 inode->i_uid = 0; in affs_iget() 85 inode->i_uid = id; in affs_iget() 97 inode->i_uid = sbi->s_uid; in affs_iget() 196 uid = inode->i_uid; in affs_write_inode() 199 if (inode->i_uid == 0 || inode->i_uid == 0xFFFF) in affs_write_inode() 200 uid = inode->i_uid ^ ~0; in affs_write_inode() 304 inode->i_uid = current_fsuid(); in affs_new_inode()
|
/fs/ |
D | attr.c | 50 (current_fsuid() != inode->i_uid || in inode_change_ok() 51 attr->ia_uid != inode->i_uid) && !capable(CAP_CHOWN)) in inode_change_ok() 56 (current_fsuid() != inode->i_uid || in inode_change_ok() 144 inode->i_uid = attr->ia_uid; in setattr_copy()
|
D | stack.c | 66 dest->i_uid = src->i_uid; in fsstack_copy_attr_all()
|
/fs/autofs4/ |
D | inode.c | 82 if (root_inode->i_uid != 0) in autofs4_show_options() 83 seq_printf(m, ",uid=%u", root_inode->i_uid); in autofs4_show_options() 256 if (parse_options(data, &pipefd, &root_inode->i_uid, &root_inode->i_gid, in autofs4_fill_super() 333 inode->i_uid = sb->s_root->d_inode->i_uid; in autofs4_get_inode()
|
/fs/minix/ |
D | inode.c | 463 inode->i_uid = (uid_t)raw_inode->i_uid; in V1_minix_iget() 496 inode->i_uid = (uid_t)raw_inode->i_uid; in V2_minix_iget() 548 raw_inode->i_uid = fs_high2lowuid(inode->i_uid); in V1_minix_update_inode() 575 raw_inode->i_uid = fs_high2lowuid(inode->i_uid); in V2_minix_update_inode()
|
/fs/sysv/ |
D | inode.c | 220 inode->i_uid = (uid_t)fs16_to_cpu(sbi, raw_inode->i_uid); in sysv_iget() 274 raw_inode->i_uid = cpu_to_fs16(sbi, fs_high2lowuid(inode->i_uid)); in __sysv_write_inode()
|
/fs/hpfs/ |
D | inode.c | 17 i->i_uid = hpfs_sb(sb)->sb_uid; in hpfs_init_inode() 63 i->i_uid = le16_to_cpu(*(__le16*)ea); in hpfs_read_inode() 152 if ((i->i_uid != hpfs_sb(i->i_sb)->sb_uid) || hpfs_inode->i_ea_uid) { in hpfs_write_inode_ea() 153 ea = cpu_to_le32(i->i_uid); in hpfs_write_inode_ea()
|
D | namei.c | 94 if (result->i_uid != current_fsuid() || in hpfs_mkdir() 97 result->i_uid = current_fsuid(); in hpfs_mkdir() 182 if (result->i_uid != current_fsuid() || in hpfs_create() 185 result->i_uid = current_fsuid(); in hpfs_create() 243 result->i_uid = current_fsuid(); in hpfs_mknod() 318 result->i_uid = current_fsuid(); in hpfs_symlink()
|
/fs/bfs/ |
D | inode.c | 79 inode->i_uid = le32_to_cpu(di->i_uid); in bfs_iget() 142 di->i_uid = cpu_to_le32(inode->i_uid); in bfs_write_inode()
|
/fs/jffs2/ |
D | fs.c | 102 ri->uid = cpu_to_je16((ivalid & ATTR_UID)?iattr->ia_uid:inode->i_uid); in jffs2_do_setattr() 150 inode->i_uid = je16_to_cpu(ri->uid); in jffs2_do_setattr() 279 inode->i_uid = je16_to_cpu(latest_node.uid); in jffs2_iget() 383 iattr.ia_uid = inode->i_uid; in jffs2_dirty_inode() 471 inode->i_uid = je16_to_cpu(ri->uid); in jffs2_new_inode()
|
D | file.c | 184 ri.uid = cpu_to_je16(inode->i_uid); in jffs2_write_begin() 289 ri->uid = cpu_to_je16(inode->i_uid); in jffs2_write_end()
|
/fs/ocfs2/ |
D | inode.c | 272 inode->i_uid = le32_to_cpu(fe->i_uid); in ocfs2_populate_inode() 1263 fe->i_uid = cpu_to_le32(inode->i_uid); in ocfs2_mark_inode_dirty() 1294 inode->i_uid = le32_to_cpu(fe->i_uid); in ocfs2_refresh_inode()
|
/fs/hfsplus/ |
D | inode.c | 236 inode->i_uid = be32_to_cpu(perms->owner); in hfsplus_get_perms() 237 if (!inode->i_uid && !mode) in hfsplus_get_perms() 238 inode->i_uid = sbi->uid; in hfsplus_get_perms() 393 inode->i_uid = current_fsuid(); in hfsplus_new_inode()
|
/fs/gfs2/ |
D | quota.h | 49 ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid); in gfs2_quota_lock_check()
|
D | inode.c | 371 (dip->i_inode.i_mode & S_ISUID) && dip->i_inode.i_uid) { in munge_mode_uid_gid() 374 else if (dip->i_inode.i_uid != current_fsuid()) in munge_mode_uid_gid() 376 *uid = dip->i_inode.i_uid; in munge_mode_uid_gid() 571 error = gfs2_quota_check(dip, dip->i_inode.i_uid, dip->i_inode.i_gid); in link_dinode() 958 dip->i_inode.i_uid != current_fsuid() && in gfs2_unlink_ok() 959 ip->i_inode.i_uid != current_fsuid() && !capable(CAP_FOWNER)) in gfs2_unlink_ok() 1583 ouid = inode->i_uid; in setattr_chown()
|
/fs/reiserfs/ |
D | stree.c | 1300 quota_cut_bytes, inode->i_uid, head2type(&s_ih)); in reiserfs_delete_item() 1383 quota_cut_bytes, inode->i_uid, in reiserfs_delete_solid_item() 1734 quota_cut_bytes, inode->i_uid, '?'); in reiserfs_cut_from_item() 1967 pasted_size, inode->i_uid, in reiserfs_paste_into_item() 2027 pasted_size, inode->i_uid, in reiserfs_paste_into_item() 2064 quota_bytes, inode->i_uid, head2type(ih)); in reiserfs_insert_item() 2119 quota_bytes, inode->i_uid, head2type(ih)); in reiserfs_insert_item()
|
/fs/isofs/ |
D | rock.c | 367 inode->i_uid = isonum_733(rr->u.PX.uid); in parse_rock_ridge_inode_internal() 500 inode->i_uid = reloc->i_uid; in parse_rock_ridge_inode_internal()
|
/fs/exofs/ |
D | common.h | 173 __le32 i_uid; /* Owner Uid */ member
|
/fs/nfs/ |
D | inode.c | 326 inode->i_uid = -2; in nfs_fhget() 364 inode->i_uid = fattr->uid; in nfs_fhget() 497 inode->i_uid = attr->ia_uid; in nfs_setattr_update_inode() 975 if ((fattr->valid & NFS_ATTR_FATTR_OWNER) && inode->i_uid != fattr->uid) in nfs_check_inode_attributes() 1405 if (inode->i_uid != fattr->uid) { in nfs_update_inode() 1407 inode->i_uid = fattr->uid; in nfs_update_inode()
|
/fs/ceph/ |
D | inode.c | 80 inode->i_uid = parent->i_uid; in ceph_get_snapdir() 615 inode->i_uid = le32_to_cpu(info->uid); in fill_inode() 618 inode->i_uid, inode->i_gid); in fill_inode() 1568 inode->i_uid, attr->ia_uid); in ceph_setattr() 1570 inode->i_uid = attr->ia_uid; in ceph_setattr() 1573 attr->ia_uid != inode->i_uid) { in ceph_setattr()
|
/fs/ufs/ |
D | inode.c | 600 inode->i_uid = ufs_get_inode_uid(sb, ufs_inode); in ufs1_read_inode() 648 inode->i_uid = fs32_to_cpu(sb, ufs2_inode->ui_uid); in ufs2_read_inode() 748 ufs_set_inode_uid(sb, ufs_inode, inode->i_uid); in ufs1_update_inode() 792 ufs_inode->ui_uid = cpu_to_fs32(sb, inode->i_uid); in ufs2_update_inode()
|
/fs/nilfs2/ |
D | inode.c | 416 inode->i_uid = (uid_t)le32_to_cpu(raw_inode->i_uid); in nilfs_read_inode_common() 605 raw_inode->i_uid = cpu_to_le32(inode->i_uid); in nilfs_write_inode_common()
|
/fs/jfs/ |
D | file.c | 111 if ((iattr->ia_valid & ATTR_UID && iattr->ia_uid != inode->i_uid) || in jfs_setattr()
|
D | jfs_inode.c | 106 jfs_inode->saved_uid = inode->i_uid; in ialloc()
|
/fs/afs/ |
D | inode.c | 71 inode->i_uid = vnode->status.owner; in afs_inode_map_status() 178 inode->i_uid = 0; in afs_iget_autocell()
|