Searched refs:S_IFMT (Results 1 - 25 of 108) sorted by last modified time

12345

/linux-master/fs/nfsd/
H A Dnfs4xdr.c425 iattr->ia_mode &= (S_IFMT | S_IALLUGO);
517 iattr->ia_mode = mode & (S_IFMT | S_IALLUGO);
2966 switch (args->stat.mode & S_IFMT) {
H A Dvfs.c1990 type = d_inode(rdentry)->i_mode & S_IFMT;
/linux-master/fs/nfs/
H A Dinode.c2230 umode_t newmode = inode->i_mode & S_IFMT;
/linux-master/fs/9p/
H A Dvfs_inode.c273 switch (mode & S_IFMT) {
330 p9_debug(P9_DEBUG_ERROR, "BAD mode 0x%hx S_IFMT 0x%x\n",
331 mode, mode & S_IFMT);
/linux-master/fs/btrfs/
H A Dinode.c3934 switch (inode->i_mode & S_IFMT) {
H A Dioctl.c2623 switch (inode->i_mode & S_IFMT) {
/linux-master/fs/smb/client/
H A Dsmb2ops.c4987 switch (mode & S_IFMT) {
H A Dfscache.c22 u8 type; /* S_IFMT file type */
137 key.type = (inode->i_mode & S_IFMT) >> 12;
H A Dinode.c35 switch (inode->i_mode & S_IFMT) {
261 fattr->cf_mode &= ~S_IFMT;
522 fattr->cf_mode &= ~S_IFMT;
708 fattr->cf_mode &= ~S_IFMT;
/linux-master/fs/bcachefs/
H A Dfs.c1468 switch (inode->v.i_mode & S_IFMT) {
/linux-master/mm/
H A Dshmem.c2534 switch (mode & S_IFMT) {
/linux-master/fs/nilfs2/
H A Ddir.c243 nilfs_type_by_mode[(S_IFMT >> S_SHIFT) + 1] = {
257 de->file_type = nilfs_type_by_mode[(mode & S_IFMT)>>S_SHIFT];
/linux-master/fs/fuse/
H A Dinode.c222 inode->i_mode = (inode->i_mode & S_IFMT) | (attr->mode & 07777);
385 inode->i_mode = attr->mode & S_IFMT;
H A Ddir.c629 BUG_ON((mode & S_IFMT) != S_IFREG);
815 if ((outarg.attr.mode ^ mode) & S_IFMT)
1139 stat->mode = (inode->i_mode & S_IFMT) | (attr->mode & 07777);
/linux-master/fs/tracefs/
H A Devent_inode.c360 if (!(mode & S_IFMT))
/linux-master/init/
H A Dinitramfs.c96 if (((*p)->mode ^ mode) & S_IFMT)
335 (st.mode ^ fmode) & S_IFMT) {
/linux-master/include/linux/
H A Dfs.h2841 return (inode->i_mode ^ mode) & S_IFMT;
/linux-master/fs/xfs/
H A Dxfs_inode.c837 switch (mode & S_IFMT) {
3918 switch (ip->i_vnode.i_mode & S_IFMT) {
H A Dxfs_icache.c129 switch (VFS_I(ip)->i_mode & S_IFMT) {
/linux-master/fs/cramfs/
H A Dinode.c79 switch (cino->mode & S_IFMT) {
102 switch (cramfs_inode->mode & S_IFMT) {
/linux-master/fs/
H A Dnamei.c3161 mode &= (mask_perms & ~S_IFMT);
3162 mode |= (type & S_IFMT);
3243 switch (inode->i_mode & S_IFMT) {
4010 switch (mode & S_IFMT) {
4049 switch (mode & S_IFMT) {
/linux-master/fs/ubifs/
H A Dsuper.c165 switch (inode->i_mode & S_IFMT) {
H A Djournal.c545 switch (mode & S_IFMT) {
H A Ddir.c110 switch (mode & S_IFMT) {
/linux-master/fs/debugfs/
H A Dinode.c424 if (!(mode & S_IFMT))

Completed in 512 milliseconds

12345