Home
last modified time | relevance | path

Searched refs:S_ISCHR (Results 1 – 25 of 29) sorted by relevance

12

/linux-2.4.37.9/fs/devfs/
Dbase.c921 if ( ( S_ISCHR (de->mode) || S_ISBLK (de->mode) ) && de->u.fcb.autogen ) in devfs_put()
923 devfs_dealloc_devnum ( S_ISCHR (de->mode) ? DEVFS_SPECIAL_CHR : in devfs_put()
1286 if ( !S_ISCHR (entry->mode) && !S_ISBLK (entry->mode) ) continue; in _devfs_find_by_dev()
1287 if ( S_ISCHR (entry->mode) && (type != DEVFS_SPECIAL_CHR) ) continue; in _devfs_find_by_dev()
1550 char devtype = S_ISCHR (mode) ? DEVFS_SPECIAL_CHR : DEVFS_SPECIAL_BLK; in devfs_register()
1580 if ( ( S_ISCHR (mode) || S_ISBLK (mode) ) && in devfs_register()
1586 name, S_ISCHR (mode) ? "char" : "block"); in devfs_register()
1598 if ( S_ISCHR (mode) || S_ISBLK (mode) ) in devfs_register()
1664 if ( ( S_ISREG (de->mode) || S_ISCHR (de->mode) || S_ISBLK (de->mode) ) && in _devfs_unhook()
1922 if ( S_ISCHR (de->mode) || S_ISBLK (de->mode) || S_ISREG (de->mode) ) in devfs_get_flags()
[all …]
/linux-2.4.37.9/include/linux/
Dstat.h27 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/linux-2.4.37.9/fs/hpfs/
Dinode.c146 if (S_ISBLK(mode) || S_ISCHR(mode)) { in hpfs_read_inode()
153 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) { in hpfs_read_inode()
223 if (S_ISBLK(i->i_mode) || S_ISCHR(i->i_mode)) { in hpfs_write_inode_ea()
/linux-2.4.37.9/fs/sysv/
Dinode.c177 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in sysv_read_inode()
215 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in sysv_update_inode()
/linux-2.4.37.9/fs/proc/
Dinode.c167 else if (S_ISBLK(de->mode)||S_ISCHR(de->mode)||S_ISFIFO(de->mode)) in proc_get_inode()
/linux-2.4.37.9/fs/
Ddevices.c203 if (S_ISCHR(mode)) { in init_special_inode()
Dopen.c21 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
Dnamei.c1135 } else if (S_ISBLK(inode->i_mode) || S_ISCHR(inode->i_mode)) { in open_namei()
1264 if ((S_ISCHR(mode) || S_ISBLK(mode)) && !capable(CAP_MKNOD)) in vfs_mknod()
/linux-2.4.37.9/fs/coda/
Dinode.c72 if(!inode || !S_ISCHR(inode->i_mode) || in get_device_index()
/linux-2.4.37.9/fs/minix/
Dinode.c431 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V1_minix_update_inode()
459 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V2_minix_update_inode()
/linux-2.4.37.9/arch/ia64/sn/io/hwgfs/
Dinterface.c179 if (S_ISCHR(mode)) in hwgfs_register()
/linux-2.4.37.9/fs/jfs/
Dinode.c114 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
/linux-2.4.37.9/fs/ufs/
Dinode.c535 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in ufs_read_inode()
625 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in ufs_update_inode()
/linux-2.4.37.9/fs/nfs/
Dproc.c200 } else if (S_ISCHR(mode) || S_ISBLK(mode)) { in nfs_proc_mknod()
Dinode.c1094 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in __nfs_refresh_inode()
/linux-2.4.37.9/fs/nfsd/
Dnfsxdr.c163 if (S_ISCHR(type) || S_ISBLK(type)) in encode_fattr()
/linux-2.4.37.9/fs/reiserfs/
Dinode.c992 if( S_ISCHR( inode -> i_mode ) || S_ISBLK( inode -> i_mode ) ) in init_inode()
1043 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in inode2sd()
1067 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in inode2sd_v1()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_iops.c193 if (S_ISCHR(mode) || S_ISBLK(mode)) in linvfs_mknod()
/linux-2.4.37.9/fs/hfsplus/
Dinode.c468 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in hfsplus_cat_write_inode()
/linux-2.4.37.9/fs/jffs2/
Dreadinode.c376 if (S_ISBLK(inode->i_mode) || S_ISCHR(inode->i_mode) || in jffs2_read_inode()
Dfile.c105 if (S_ISBLK(inode->i_mode) || S_ISCHR(inode->i_mode)) { in jffs2_setattr()
Dgc.c303 if (S_ISBLK(inode->i_mode) || S_ISCHR(inode->i_mode)) { in jffs2_garbage_collect_metadata()
Ddir.c819 if (S_ISBLK(mode) || S_ISCHR(mode)) { in jffs2_mknod()
/linux-2.4.37.9/fs/udf/
Dinode.c1238 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in udf_fill_inode()
1391 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in udf_update_inode()
1510 else if (S_ISCHR(inode->i_mode)) in udf_update_inode()
/linux-2.4.37.9/fs/ext2/
Dinode.c1150 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in ext2_update_inode()

12