Home
last modified time | relevance | path

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

12

/fs/
Dchar_dev.c36 unsigned int major; member
44 static inline int major_to_index(unsigned major) in major_to_index() argument
46 return major % CHRDEV_MAJOR_HASH_SIZE; in major_to_index()
57 if (cd->major == offset) in chrdev_show()
58 seq_printf(f, "%3d %s\n", cd->major, cd->name); in chrdev_show()
78 if (cd->major == i) in find_dynamic_major()
97 __register_chrdev_region(unsigned int major, unsigned int baseminor, in __register_chrdev_region() argument
104 if (major >= CHRDEV_MAJOR_MAX) { in __register_chrdev_region()
106 name, major, CHRDEV_MAJOR_MAX-1); in __register_chrdev_region()
122 if (major == 0) { in __register_chrdev_region()
[all …]
Ddax.c1253 int error, major = 0; in dax_iomap_pte_fault() local
1343 major = VM_FAULT_MAJOR; in dax_iomap_pte_fault()
1364 ret = VM_FAULT_NEEDDSYNC | major; in dax_iomap_pte_fault()
1407 return ret | major; in dax_iomap_pte_fault()
/fs/f2fs/
Dtrace.c26 last_io.major, last_io.minor, in __print_last_io()
91 int major, minor; in f2fs_trace_ios() local
101 major = MAJOR(inode->i_sb->s_dev); in f2fs_trace_ios()
104 if (last_io.major == major && last_io.minor == minor && in f2fs_trace_ios()
117 last_io.major = major; in f2fs_trace_ios()
Dtrace.h25 int major, minor; member
DKconfig31 - major filesystem information managed by f2fs currently
/fs/ocfs2/
Dstack_user.c140 char major[OCFS2_CONTROL_MESSAGE_VERNUM_LEN]; member
394 long major, minor; in ocfs2_control_do_setversion_msg() local
413 major = simple_strtol(msg->major, &ptr, 16); in ocfs2_control_do_setversion_msg()
425 if ((major == LONG_MIN) || (major == LONG_MAX) || in ocfs2_control_do_setversion_msg()
426 (major > (u8)-1) || (major < 1)) in ocfs2_control_do_setversion_msg()
431 if ((major != max->pv_major) || in ocfs2_control_do_setversion_msg()
435 p->op_proto.pv_major = major; in ocfs2_control_do_setversion_msg()
/fs/unicode/
Dmkutf8data.c94 static int age_valid(unsigned int major, unsigned int minor, in age_valid() argument
97 if (major > UNICODE_MAJ_MAX) in age_valid()
1937 unsigned int major; in age_init() local
1955 &major, &minor, &revision); in age_init()
1960 major, minor, revision); in age_init()
1961 if (!age_valid(major, minor, revision)) in age_init()
1965 ret = sscanf(line, "# Age=V%d_%d", &major, &minor); in age_init()
1969 printf(" Age V%d_%d\n", major, minor); in age_init()
1970 if (!age_valid(major, minor, 0)) in age_init()
1993 &major, &minor, &revision); in age_init()
[all …]
/fs/squashfs/
Dsuper.c42 short major, short minor, short id) in supported_squashfs_filesystem() argument
46 if (major < SQUASHFS_MAJOR) { in supported_squashfs_filesystem()
48 "filesystems are unsupported", major, minor); in supported_squashfs_filesystem()
50 } else if (major > SQUASHFS_MAJOR || minor > SQUASHFS_MINOR) { in supported_squashfs_filesystem()
52 "%d.%d filesystem", major, minor); in supported_squashfs_filesystem()
/fs/nfs/
Dnetns.h15 uint32_t major, minor; member
Dnfs3xdr.c398 unsigned int major, minor; in xdr_decode_specdata3() local
400 major = be32_to_cpup(p++); in xdr_decode_specdata3()
402 *rdev = MKDEV(major, minor); in xdr_decode_specdata3()
403 if (MAJOR(*rdev) != major || MINOR(*rdev) != minor) in xdr_decode_specdata3()
649 p = xdr_decode_hyper(p, &fattr->fsid.major); in decode_fattr3()
/fs/hostfs/
Dhostfs_user.c317 int do_mknod(const char *file, int mode, unsigned int major, unsigned int minor) in do_mknod() argument
321 err = mknod(file, mode, os_makedev(major, minor)); in do_mknod()
Dhostfs.h88 extern int do_mknod(const char *file, int mode, unsigned int major,
/fs/ext4/
Ddir.c316 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos() argument
320 return major >> 1; in hash2pos()
322 return ((__u64)(major >> 1) << 32) | (__u64)minor; in hash2pos()
/fs/proc/
Dconsoles.c38 dev = MKDEV(driver->major, driver->minor_start); in show_console_dev()
Dproc_tty.c72 dev_t from = MKDEV(p->major, p->minor_start); in show_tty_driver()
/fs/sysfs/
DKconfig22 the kernel boot command line via its major and minor numbers. For
/fs/fuse/
Dcuse.c330 if (error || arg->major != FUSE_KERNEL_VERSION || arg->minor < 11) in cuse_process_init_reply()
443 ia->in.major = FUSE_KERNEL_VERSION; in cuse_send_init()
/fs/9p/
Dvfs_inode.c132 int major = -1, minor = -1; in p9mode2unixmode() local
135 sscanf(ext, "%c %i %i", &type, &major, &minor); in p9mode2unixmode()
147 *rdev = MKDEV(major, minor); in p9mode2unixmode()
/fs/nfs/blocklayout/
Drpc_pipefs.c104 dev = MKDEV(reply->major, reply->minor); in bl_resolve_deviceid()
/fs/nfsd/
Dxdr3.h61 __u32 major, minor; member
Dnfs3proc.c329 rdev = MKDEV(argp->major, argp->minor); in nfsd3_proc_mknod()
330 if (MAJOR(rdev) != argp->major || in nfsd3_proc_mknod()
/fs/ecryptfs/
Dkeystore.c420 unsigned char major; in ecryptfs_verify_version() local
423 major = ((version >> 8) & 0xFF); in ecryptfs_verify_version()
425 if (major != ECRYPTFS_VERSION_MAJOR) { in ecryptfs_verify_version()
428 ECRYPTFS_VERSION_MAJOR, major); in ecryptfs_verify_version()
/fs/nilfs2/
Dsysfs.c849 u32 major = le32_to_cpu(sbp[0]->s_rev_level); in nilfs_dev_revision_show() local
852 return snprintf(buf, PAGE_SIZE, "%d.%d\n", major, minor); in nilfs_dev_revision_show()
/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.
/fs/cifs/
Dsmb1ops.c1129 pdev->major = cpu_to_le64(MAJOR(dev)); in cifs_make_node()
1135 pdev->major = cpu_to_le64(MAJOR(dev)); in cifs_make_node()

12