/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/f2fs/ |
D | trace.c | 29 last_io.major, last_io.minor, in __print_last_io() 88 int major, minor; in f2fs_trace_ios() local 98 major = MAJOR(inode->i_sb->s_dev); in f2fs_trace_ios() 101 if (last_io.major == major && last_io.minor == minor && in f2fs_trace_ios() 114 last_io.major = major; in f2fs_trace_ios()
|
D | trace.h | 28 int major, minor; member
|
D | Kconfig | 28 - major filesystem information managed by f2fs currently
|
/fs/ocfs2/ |
D | stack_user.c | 148 char major[OCFS2_CONTROL_MESSAGE_VERNUM_LEN]; member 402 long major, minor; in ocfs2_control_do_setversion_msg() local 421 major = simple_strtol(msg->major, &ptr, 16); in ocfs2_control_do_setversion_msg() 433 if ((major == LONG_MIN) || (major == LONG_MAX) || in ocfs2_control_do_setversion_msg() 434 (major > (u8)-1) || (major < 1)) in ocfs2_control_do_setversion_msg() 439 if ((major != max->pv_major) || in ocfs2_control_do_setversion_msg() 443 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 | 1098 (unsigned long long) server->fsid.major, in nfs_create_server() 1126 (unsigned long long) fattr->fsid.major, in nfs_clone_server() 1161 (unsigned long long) server->fsid.major, in nfs_clone_server() 1384 (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 | 226 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos() argument 230 return major >> 1; in hash2pos() 232 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 | 303 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos() argument 307 return major >> 1; in hash2pos() 309 return ((__u64)(major >> 1) << 32) | (__u64)minor; in hash2pos()
|
/fs/hostfs/ |
D | hostfs.h | 87 extern int do_mknod(const char *file, int mode, unsigned int major,
|
D | hostfs_user.c | 322 int do_mknod(const char *file, int mode, unsigned int major, unsigned int minor) in do_mknod() argument 326 err = mknod(file, mode, os_makedev(major, minor)); in do_mknod()
|
/fs/sysfs/ |
D | Kconfig | 21 the kernel boot command line via its major and minor numbers. For
|
/fs/proc/ |
D | consoles.c | 39 dev = MKDEV(driver->major, driver->minor_start); in show_console_dev()
|
D | proc_tty.c | 71 dev_t from = MKDEV(p->major, p->minor_start); in show_tty_driver()
|
/fs/fuse/ |
D | cuse.c | 328 arg->major != FUSE_KERNEL_VERSION || arg->minor < 11) { in cuse_process_init_reply() 449 arg->major = FUSE_KERNEL_VERSION; in cuse_send_init()
|
/fs/nfs/blocklayout/ |
D | rpc_pipefs.c | 104 dev = MKDEV(reply->major, reply->minor); in bl_resolve_deviceid()
|
/fs/nfsd/ |
D | xdr3.h | 60 __u32 major, minor; member
|
/fs/9p/ |
D | vfs_inode.c | 147 int major = -1, minor = -1; in p9mode2unixmode() local 150 sscanf(ext, "%c %i %i", &type, &major, &minor); in p9mode2unixmode() 162 *rdev = MKDEV(major, minor); in p9mode2unixmode()
|
/fs/cifs/ |
D | dir.c | 725 pdev->major = cpu_to_le64(MAJOR(device_number)); in cifs_mknod() 731 pdev->major = cpu_to_le64(MAJOR(device_number)); in cifs_mknod()
|
/fs/ecryptfs/ |
D | keystore.c | 433 unsigned char major; in ecryptfs_verify_version() local 436 major = ((version >> 8) & 0xFF); in ecryptfs_verify_version() 438 if (major != ECRYPTFS_VERSION_MAJOR) { in ecryptfs_verify_version() 441 ECRYPTFS_VERSION_MAJOR, major); in ecryptfs_verify_version()
|
/fs/nilfs2/ |
D | sysfs.c | 858 u32 major = le32_to_cpu(sbp[0]->s_rev_level); in nilfs_dev_revision_show() local 861 return snprintf(buf, PAGE_SIZE, "%d.%d\n", major, minor); in nilfs_dev_revision_show()
|
/fs/ncpfs/ |
D | Kconfig | 76 insensitive. The only major reason for this option is backward
|