Home
last modified time | relevance | path

Searched refs:S_ISBLK (Results 1 – 25 of 35) 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()
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 …]
/linux-2.4.37.9/include/linux/
Dstat.h28 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) 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.c207 } else if (S_ISBLK(mode)) { in init_special_inode()
Dquota.c125 if (!S_ISBLK(mode)) in resolve_dev()
Dsuper.c676 if (!S_ISBLK(inode->i_mode)) in get_sb_bdev()
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/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/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()
/linux-2.4.37.9/fs/nfsd/
Dnfsxdr.c163 if (S_ISCHR(type) || S_ISBLK(type)) in encode_fattr()
/linux-2.4.37.9/mm/
Dswapfile.c742 (S_ISBLK(nd.dentry->d_inode->i_mode) && in sys_swapoff()
928 if (S_ISBLK(swap_inode->i_mode)) { in sys_swapon()
Dfilemap.c3062 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()
/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()
/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()
1508 else if (S_ISBLK(inode->i_mode)) in udf_update_inode()
/linux-2.4.37.9/drivers/mtd/devices/
Dblkmtd.c812 if(!S_ISBLK(inode->i_mode)) { in add_device()

12