Searched refs:S_ISCHR (Results 1 – 25 of 29) sorted by relevance
12
921 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 …]
27 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
146 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()
177 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()
167 else if (S_ISBLK(de->mode)||S_ISCHR(de->mode)||S_ISFIFO(de->mode)) in proc_get_inode()
203 if (S_ISCHR(mode)) { in init_special_inode()
21 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
1135 } 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()
72 if(!inode || !S_ISCHR(inode->i_mode) || in get_device_index()
431 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()
179 if (S_ISCHR(mode)) in hwgfs_register()
114 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
535 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()
200 } else if (S_ISCHR(mode) || S_ISBLK(mode)) { in nfs_proc_mknod()
1094 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in __nfs_refresh_inode()
163 if (S_ISCHR(type) || S_ISBLK(type)) in encode_fattr()
992 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()
193 if (S_ISCHR(mode) || S_ISBLK(mode)) in linvfs_mknod()
468 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in hfsplus_cat_write_inode()
376 if (S_ISBLK(inode->i_mode) || S_ISCHR(inode->i_mode) || in jffs2_read_inode()
105 if (S_ISBLK(inode->i_mode) || S_ISCHR(inode->i_mode)) { in jffs2_setattr()
303 if (S_ISBLK(inode->i_mode) || S_ISCHR(inode->i_mode)) { in jffs2_garbage_collect_metadata()
819 if (S_ISBLK(mode) || S_ISCHR(mode)) { in jffs2_mknod()
1238 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()
1150 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in ext2_update_inode()