/fs/ |
D | char_dev.c | 36 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 …]
|
D | dax.c | 1253 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/ |
D | trace.c | 26 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()
|
D | trace.h | 25 int major, minor; member
|
D | Kconfig | 31 - major filesystem information managed by f2fs currently
|
/fs/ocfs2/ |
D | stack_user.c | 140 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/ |
D | mkutf8data.c | 94 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/ |
D | super.c | 42 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/ |
D | netns.h | 15 uint32_t major, minor; member
|
D | nfs3xdr.c | 398 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/ |
D | hostfs_user.c | 317 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()
|
D | hostfs.h | 88 extern int do_mknod(const char *file, int mode, unsigned int major,
|
/fs/ext4/ |
D | dir.c | 316 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/ |
D | consoles.c | 38 dev = MKDEV(driver->major, driver->minor_start); in show_console_dev()
|
D | proc_tty.c | 72 dev_t from = MKDEV(p->major, p->minor_start); in show_tty_driver()
|
/fs/sysfs/ |
D | Kconfig | 22 the kernel boot command line via its major and minor numbers. For
|
/fs/fuse/ |
D | cuse.c | 330 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/ |
D | vfs_inode.c | 132 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/ |
D | rpc_pipefs.c | 104 dev = MKDEV(reply->major, reply->minor); in bl_resolve_deviceid()
|
/fs/nfsd/ |
D | xdr3.h | 61 __u32 major, minor; member
|
D | nfs3proc.c | 329 rdev = MKDEV(argp->major, argp->minor); in nfsd3_proc_mknod() 330 if (MAJOR(rdev) != argp->major || in nfsd3_proc_mknod()
|
/fs/ecryptfs/ |
D | keystore.c | 420 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/ |
D | sysfs.c | 849 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/ |
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.
|
/fs/cifs/ |
D | smb1ops.c | 1129 pdev->major = cpu_to_le64(MAJOR(dev)); in cifs_make_node() 1135 pdev->major = cpu_to_le64(MAJOR(dev)); in cifs_make_node()
|