Searched refs:S_IFMT (Results 51 - 75 of 108) sorted by relevance

12345

/linux-master/fs/debugfs/
H A Dinode.c424 if (!(mode & S_IFMT))
/linux-master/fs/tracefs/
H A Devent_inode.c360 if (!(mode & S_IFMT))
/linux-master/fs/jfs/
H A Dnamei.c630 filetype = ip->i_mode & S_IFMT;
698 type = ip->i_mode & S_IFMT;
/linux-master/fs/xfs/
H A Dxfs_bmap_util.c1511 if ((VFS_I(ip)->i_mode & S_IFMT) != (VFS_I(tip)->i_mode & S_IFMT)) {
H A Dxfs_inode.c837 switch (mode & S_IFMT) {
3918 switch (ip->i_vnode.i_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/fuse/
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);
H A Dinode.c222 inode->i_mode = (inode->i_mode & S_IFMT) | (attr->mode & 07777);
385 inode->i_mode = attr->mode & S_IFMT;
/linux-master/fs/gfs2/
H A Dinode.c514 switch(ip->i_inode.i_mode & S_IFMT) {
712 switch(mode & S_IFMT) {
/linux-master/security/tomoyo/
H A Dcondition.c1023 value = stat->mode & S_IFMT;
/linux-master/fs/orangefs/
H A Dinode.c984 switch (inode->i_mode & S_IFMT) {
/linux-master/fs/proc/
H A Dgeneric.c545 if ((mode & S_IFMT) == 0)
/linux-master/fs/nfs/
H A Dnfs2xdr.c295 fattr->mode = (fattr->mode & ~S_IFMT) | S_IFIFO;
H A Dproc.c284 sattr->ia_mode = (mode & ~S_IFMT) | S_IFCHR;
H A Dnfs3proc.c739 switch (sattr->ia_mode & S_IFMT) {
/linux-master/fs/jffs2/
H A Dfs.c293 switch (inode->i_mode & S_IFMT) {
H A Dreadinode.c1236 switch(jemode_to_cpu(latest_node->mode) & S_IFMT) {
/linux-master/fs/overlayfs/
H A Dinode.c914 switch (mode & S_IFMT) {
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c823 if ((sb.st_mode & S_IFMT) != S_IFREG) {
/linux-master/kernel/bpf/
H A Dinode.c108 switch (mode & S_IFMT) {
/linux-master/fs/nfsd/
H A Dnfs3xdr.c346 *p++ = cpu_to_be32(nfs3_ftypes[(stat->mode & S_IFMT) >> 12]);
/linux-master/security/landlock/
H A Dfs.c793 switch (mode & S_IFMT) {
/linux-master/fs/smb/client/
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/tools/perf/
H A Dbuiltin-daemon.c273 if ((st.st_mode & S_IFMT) != S_IFDIR) {
/linux-master/fs/ocfs2/
H A Dinode.c339 switch (inode->i_mode & S_IFMT) {

Completed in 253 milliseconds

12345