Searched refs:S_ISBLK (Results 1 – 25 of 35) sorted by relevance
12
921 if ( ( S_ISCHR (de->mode) || S_ISBLK (de->mode) ) && de->u.fcb.autogen ) in devfs_put()1286 if ( !S_ISCHR (entry->mode) && !S_ISBLK (entry->mode) ) continue; in _devfs_find_by_dev()1288 if ( S_ISBLK (entry->mode) && (type != DEVFS_SPECIAL_BLK) ) continue; in _devfs_find_by_dev()1562 if ( S_ISBLK (mode) ) ops = (void *) get_blkfops (major); in devfs_register()1580 if ( ( S_ISCHR (mode) || S_ISBLK (mode) ) && 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()[all …]
28 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 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()
207 } else if (S_ISBLK(mode)) { in init_special_inode()
125 if (!S_ISBLK(mode)) in resolve_dev()
676 if (!S_ISBLK(inode->i_mode)) in get_sb_bdev()
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()
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()
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()
163 if (S_ISCHR(type) || S_ISBLK(type)) in encode_fattr()
742 (S_ISBLK(nd.dentry->d_inode->i_mode) && in sys_swapoff()928 if (S_ISBLK(swap_inode->i_mode)) { in sys_swapon()
3062 if (!S_ISBLK(inode->i_mode) && (file->f_flags & O_APPEND)) in precheck_file_write()3070 if (!S_ISBLK(inode->i_mode) && limit != RLIM_INFINITY) { in precheck_file_write()3105 if (!S_ISBLK(inode->i_mode)) { in precheck_file_write()3303 if (end > inode->i_size && !S_ISBLK(inode->i_mode)) { in do_generic_direct_write()
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()
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()1508 else if (S_ISBLK(inode->i_mode)) in udf_update_inode()
812 if(!S_ISBLK(inode->i_mode)) { in add_device()