/fs/ |
D | char_dev.c | 33 unsigned int major; member 41 static inline int major_to_index(unsigned major) in major_to_index() argument 43 return major % CHRDEV_MAJOR_HASH_SIZE; in major_to_index() 55 seq_printf(f, "%3d %s\n", cd->major, cd->name); in chrdev_show() 74 __register_chrdev_region(unsigned int major, unsigned int baseminor, in __register_chrdev_region() argument 88 if (major == 0) { in __register_chrdev_region() 102 major = i; in __register_chrdev_region() 105 cd->major = major; in __register_chrdev_region() 110 i = major_to_index(major); in __register_chrdev_region() 113 if ((*cp)->major > major || in __register_chrdev_region() [all …]
|
D | dax.c | 841 int major = 0; in dax_fault() local 891 major = VM_FAULT_MAJOR; in dax_fault() 909 return VM_FAULT_OOM | major; in dax_fault() 912 return VM_FAULT_SIGBUS | major; in dax_fault() 913 return VM_FAULT_NOPAGE | major; in dax_fault() 1378 int error, major = 0; in iomap_dax_fault() local 1444 major = VM_FAULT_MAJOR; in iomap_dax_fault() 1464 return VM_FAULT_OOM | major; in iomap_dax_fault() 1467 return VM_FAULT_SIGBUS | major; in iomap_dax_fault() 1468 return VM_FAULT_NOPAGE | major; in iomap_dax_fault()
|
/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 | 991 (unsigned long long) server->fsid.major, in nfs_create_server() 1019 (unsigned long long) fattr->fsid.major, in nfs_clone_server() 1054 (unsigned long long) server->fsid.major, in nfs_clone_server() 1275 (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/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 | 87 extern int do_mknod(const char *file, int mode, unsigned int major,
|
/fs/ext4/ |
D | dir.c | 311 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos() argument 315 return major >> 1; in hash2pos() 317 return ((__u64)(major >> 1) << 32) | (__u64)minor; in hash2pos()
|
/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 | 319 arg->major != FUSE_KERNEL_VERSION || arg->minor < 11) { in cuse_process_init_reply() 440 arg->major = FUSE_KERNEL_VERSION; in cuse_send_init()
|
/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/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
|
D | nfs3proc.c | 307 rdev = MKDEV(argp->major, argp->minor); in nfsd3_proc_mknod() 308 if (MAJOR(rdev) != argp->major || in nfsd3_proc_mknod()
|
/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/nilfs2/ |
D | sysfs.c | 859 u32 major = le32_to_cpu(sbp[0]->s_rev_level); in nilfs_dev_revision_show() local 862 return snprintf(buf, PAGE_SIZE, "%d.%d\n", major, minor); in nilfs_dev_revision_show()
|
/fs/ecryptfs/ |
D | keystore.c | 434 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/ |
D | Kconfig | 76 insensitive. The only major reason for this option is backward
|