Lines Matching refs:S_ISCHR

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()
1947 if ( S_ISCHR (de->mode) || S_ISBLK (de->mode) || S_ISREG (de->mode) ) in devfs_set_flags()
1971 if ( !S_ISCHR (de->mode) && !S_ISBLK (de->mode) ) return -EINVAL; in devfs_get_maj_min()
2041 if ( !S_ISCHR (de->mode) && !S_ISBLK (de->mode) && !S_ISREG (de->mode) ) in devfs_get_ops()
2046 else if ( S_ISCHR (de->mode) || S_ISREG (de->mode) ) in devfs_get_ops()
2072 if ( !S_ISCHR (de->mode) && !S_ISBLK (de->mode) && !S_ISREG (de->mode) ) in devfs_put_ops()
2075 if ( S_ISCHR (de->mode) || S_ISREG (de->mode) ) in devfs_put_ops()
2569 if ( ( !S_ISREG (inode->i_mode) && !S_ISCHR (inode->i_mode) && in devfs_notify_change()
2654 if ( S_ISCHR (de->mode) ) in _devfs_get_vfs_inode()
2804 if ( S_ISCHR (inode->i_mode) ) err = chrdev_open (inode, file); in devfs_open()
2914 if ( !S_ISCHR (de->mode) && !S_ISBLK (de->mode) && !S_ISREG (de->mode) ) in devfs_d_delete()
3208 if ( S_ISBLK (mode) || S_ISCHR (mode) ) in devfs_mknod()
3356 if ( S_ISCHR (de->mode) || S_ISBLK (de->mode) ) in devfsd_read()