/fs/ |
D | char_dev.c | 54 unsigned int major; member 62 static inline int major_to_index(unsigned major) in major_to_index() argument 64 return major % CHRDEV_MAJOR_HASH_SIZE; in major_to_index() 76 seq_printf(f, "%3d %s\n", cd->major, cd->name); in chrdev_show() 95 __register_chrdev_region(unsigned int major, unsigned int baseminor, in __register_chrdev_region() argument 109 if (major == 0) { in __register_chrdev_region() 119 major = i; in __register_chrdev_region() 120 ret = major; in __register_chrdev_region() 123 cd->major = major; in __register_chrdev_region() 128 i = major_to_index(major); in __register_chrdev_region() [all …]
|
/fs/ocfs2/ |
D | stack_user.c | 134 char major[OCFS2_CONTROL_MESSAGE_VERNUM_LEN]; member 399 long major, minor; in ocfs2_control_do_setversion_msg() local 418 major = simple_strtol(msg->major, &ptr, 16); in ocfs2_control_do_setversion_msg() 430 if ((major == LONG_MIN) || (major == LONG_MAX) || in ocfs2_control_do_setversion_msg() 431 (major > (u8)-1) || (major < 1)) in ocfs2_control_do_setversion_msg() 436 if ((major != max->pv_major) || in ocfs2_control_do_setversion_msg() 440 p->op_proto.pv_major = major; in ocfs2_control_do_setversion_msg()
|
/fs/squashfs/ |
D | super.c | 53 major, short minor, short id) in supported_squashfs_filesystem() 57 if (major < SQUASHFS_MAJOR) { in supported_squashfs_filesystem() 59 "filesystems are unsupported\n", major, minor); in supported_squashfs_filesystem() 61 } else if (major > SQUASHFS_MAJOR || minor > SQUASHFS_MINOR) { in supported_squashfs_filesystem() 63 "%d.%d filesystem\n", major, minor); in supported_squashfs_filesystem()
|
/fs/nfs/ |
D | netns.h | 14 uint32_t major, minor; member
|
D | client.c | 1088 (unsigned long long) server->fsid.major, in nfs_create_server() 1116 (unsigned long long) fattr->fsid.major, in nfs_clone_server() 1151 (unsigned long long) server->fsid.major, in nfs_clone_server() 1392 (unsigned long long) server->fsid.major, in nfs_volume_list_show()
|
D | nfs3xdr.c | 423 unsigned int major, minor; in xdr_decode_specdata3() local 425 major = be32_to_cpup(p++); in xdr_decode_specdata3() 427 *rdev = MKDEV(major, minor); in xdr_decode_specdata3() 428 if (MAJOR(*rdev) != major || MINOR(*rdev) != minor) in xdr_decode_specdata3() 671 p = xdr_decode_hyper(p, &fattr->fsid.major); in decode_fattr3()
|
/fs/ext3/ |
D | dir.c | 247 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos() argument 251 return major >> 1; in hash2pos() 253 return ((__u64)(major >> 1) << 32) | (__u64)minor; in hash2pos()
|
D | Kconfig | 41 "data=ordered" mode can also result in major performance
|
/fs/ext4/ |
D | dir.c | 297 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos() argument 301 return major >> 1; in hash2pos() 303 return ((__u64)(major >> 1) << 32) | (__u64)minor; in hash2pos()
|
/fs/nfs/blocklayout/ |
D | blocklayoutdm.c | 64 bl_umount_request.major = MAJOR(dev); in dev_remove()
|
D | blocklayoutdev.c | 159 bd = blkdev_get_by_dev(MKDEV(reply->major, reply->minor), in nfs4_blk_decode_device()
|
/fs/hostfs/ |
D | hostfs.h | 87 extern int do_mknod(const char *file, int mode, unsigned int major,
|
D | hostfs_user.c | 321 int do_mknod(const char *file, int mode, unsigned int major, unsigned int minor) in do_mknod() argument 325 err = mknod(file, mode, os_makedev(major, minor)); in do_mknod()
|
/fs/sysfs/ |
D | Kconfig | 20 the kernel boot command line via its major and minor numbers. For
|
/fs/proc/ |
D | consoles.c | 40 dev = MKDEV(driver->major, driver->minor_start); in show_console_dev()
|
D | proc_tty.c | 70 dev_t from = MKDEV(p->major, p->minor_start); in show_tty_driver()
|
/fs/fuse/ |
D | cuse.c | 323 arg->major != FUSE_KERNEL_VERSION || arg->minor < 11) { in cuse_process_init_reply() 444 arg->major = FUSE_KERNEL_VERSION; in cuse_send_init()
|
/fs/f2fs/ |
D | Kconfig | 26 - major file system information managed by f2fs currently
|
/fs/cifs/ |
D | dir.c | 650 pdev->major = in cifs_mknod() 659 pdev->major = in cifs_mknod()
|
/fs/nfsd/ |
D | xdr3.h | 60 __u32 major, minor; member
|
D | nfs3proc.c | 316 rdev = MKDEV(argp->major, argp->minor); in nfsd3_proc_mknod() 317 if (MAJOR(rdev) != argp->major || in nfsd3_proc_mknod()
|
/fs/9p/ |
D | vfs_inode.c | 147 int major = -1, minor = -1; in p9mode2unixmode() local 150 sscanf(ext, "%c %u %u", &type, &major, &minor); in p9mode2unixmode() 162 *rdev = MKDEV(major, minor); in p9mode2unixmode()
|
/fs/ecryptfs/ |
D | keystore.c | 434 unsigned char major; in ecryptfs_verify_version() local 437 major = ((version >> 8) & 0xFF); in ecryptfs_verify_version() 439 if (major != ECRYPTFS_VERSION_MAJOR) { in ecryptfs_verify_version() 442 ECRYPTFS_VERSION_MAJOR, major); in ecryptfs_verify_version()
|
/fs/ncpfs/ |
D | Kconfig | 76 insensitive. The only major reason for this option is backward
|
/fs/befs/ |
D | ChangeLog | 153 practically means is that 8k blocksize volumes won't work without a major 232 indivdualy). And it knows about doing readahead, which is a major plus.
|