Home
last modified time | relevance | path

Searched refs:major (Results 1 – 25 of 34) 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/ocfs2/
Dstack_user.c134 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/
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.c1088 (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()
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.c247 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()
DKconfig41 "data=ordered" mode can also result in major performance
/fs/ext4/
Ddir.c297 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/
Dblocklayoutdm.c64 bl_umount_request.major = MAJOR(dev); in dev_remove()
Dblocklayoutdev.c159 bd = blkdev_get_by_dev(MKDEV(reply->major, reply->minor), in nfs4_blk_decode_device()
/fs/hostfs/
Dhostfs.h87 extern int do_mknod(const char *file, int mode, unsigned int major,
Dhostfs_user.c321 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/
DKconfig20 the kernel boot command line via its major and minor numbers. For
/fs/proc/
Dconsoles.c40 dev = MKDEV(driver->major, driver->minor_start); in show_console_dev()
Dproc_tty.c70 dev_t from = MKDEV(p->major, p->minor_start); in show_tty_driver()
/fs/fuse/
Dcuse.c323 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/
DKconfig26 - major file system information managed by f2fs currently
/fs/cifs/
Ddir.c650 pdev->major = in cifs_mknod()
659 pdev->major = in cifs_mknod()
/fs/nfsd/
Dxdr3.h60 __u32 major, minor; member
Dnfs3proc.c316 rdev = MKDEV(argp->major, argp->minor); in nfsd3_proc_mknod()
317 if (MAJOR(rdev) != argp->major || in nfsd3_proc_mknod()
/fs/9p/
Dvfs_inode.c147 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/
Dkeystore.c434 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/
DKconfig76 insensitive. The only major reason for this option is backward
/fs/befs/
DChangeLog153 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.

12