Home
last modified time | relevance | path

Searched refs:major (Results 1 – 25 of 37) sorted by relevance

12

/fs/
Dchar_dev.c54 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/
Dtrace.c29 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()
Dtrace.h28 int major, minor; member
DKconfig28 - major filesystem information managed by f2fs currently
/fs/ocfs2/
Dstack_user.c148 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/
Dsuper.c53 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/
Dnetns.h14 uint32_t major, minor; member
Dclient.c1098 (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()
Dnfs3xdr.c423 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/
Ddir.c226 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()
DKconfig41 "data=ordered" mode can also result in major performance
/fs/ext4/
Ddir.c303 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/
Dhostfs.h87 extern int do_mknod(const char *file, int mode, unsigned int major,
Dhostfs_user.c322 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/
DKconfig21 the kernel boot command line via its major and minor numbers. For
/fs/proc/
Dconsoles.c39 dev = MKDEV(driver->major, driver->minor_start); in show_console_dev()
Dproc_tty.c71 dev_t from = MKDEV(p->major, p->minor_start); in show_tty_driver()
/fs/fuse/
Dcuse.c328 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/
Drpc_pipefs.c104 dev = MKDEV(reply->major, reply->minor); in bl_resolve_deviceid()
/fs/nfsd/
Dxdr3.h60 __u32 major, minor; member
/fs/9p/
Dvfs_inode.c147 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/
Ddir.c725 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/
Dkeystore.c433 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/
Dsysfs.c858 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/
DKconfig76 insensitive. The only major reason for this option is backward

12