Home
last modified time | relevance | path

Searched refs:i_uid (Results 1 – 25 of 116) sorted by relevance

12345

/fs/affs/
Dinode.c81 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/
Dattr.c50 (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()
Dstack.c66 dest->i_uid = src->i_uid; in fsstack_copy_attr_all()
/fs/autofs4/
Dinode.c82 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/
Dinode.c463 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/
Dinode.c220 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/
Dinode.c17 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()
Dnamei.c94 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/
Dinode.c79 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/
Dfs.c102 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()
Dfile.c184 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/
Dinode.c272 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/
Dinode.c236 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/
Dquota.h49 ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid); in gfs2_quota_lock_check()
Dinode.c371 (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/
Dstree.c1300 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/
Drock.c367 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/
Dcommon.h173 __le32 i_uid; /* Owner Uid */ member
/fs/nfs/
Dinode.c326 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/
Dinode.c80 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/
Dinode.c600 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/
Dinode.c416 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/
Dfile.c111 if ((iattr->ia_valid & ATTR_UID && iattr->ia_uid != inode->i_uid) || in jfs_setattr()
Djfs_inode.c106 jfs_inode->saved_uid = inode->i_uid; in ialloc()
/fs/afs/
Dinode.c71 inode->i_uid = vnode->status.owner; in afs_inode_map_status()
178 inode->i_uid = 0; in afs_iget_autocell()

12345