Home
last modified time | relevance | path

Searched refs:minor (Results 1 – 25 of 43) sorted by relevance

12

/fs/ocfs2/
Dstack_user.c136 char minor[OCFS2_CONTROL_MESSAGE_VERNUM_LEN]; member
399 long major, minor; in ocfs2_control_do_setversion_msg() local
421 minor = simple_strtol(msg->minor, &ptr, 16); in ocfs2_control_do_setversion_msg()
433 if ((minor == LONG_MIN) || (minor == LONG_MAX) || in ocfs2_control_do_setversion_msg()
434 (minor > (u8)-1) || (minor < 0)) in ocfs2_control_do_setversion_msg()
437 (minor > max->pv_minor)) in ocfs2_control_do_setversion_msg()
441 p->op_proto.pv_minor = minor; in ocfs2_control_do_setversion_msg()
632 .minor = MISC_DYNAMIC_MINOR,
/fs/nfsd/
Dnfsctl.c538 unsigned minor; in __write_versions() local
567 minor = simple_strtoul(minorp+1, NULL, 0); in __write_versions()
568 if (minor == 0) in __write_versions()
570 if (nfsd_minorversion(minor, sign == '-' ? in __write_versions()
611 for (minor = 1; minor <= NFSD_SUPPORTED_MINOR_VERSION; in __write_versions()
612 minor++) { in __write_versions()
615 nfsd_minorversion(minor, NFSD_TEST)) ? in __write_versions()
617 minor); in __write_versions()
Dxdr3.h60 __u32 major, minor; member
/fs/fuse/
Dcuse.c323 arg->major != FUSE_KERNEL_VERSION || arg->minor < 11) { in cuse_process_init_reply()
327 fc->minor = arg->minor; in cuse_process_init_reply()
445 arg->minor = FUSE_KERNEL_MINOR_VERSION; in cuse_send_init()
589 .minor = MISC_DYNAMIC_MINOR,
Dinode.c430 fc->minor < 4 ? FUSE_COMPAT_STATFS_SIZE : sizeof(outarg); in fuse_statfs()
813 if (arg->minor < 13) in process_init_limits()
845 if (arg->minor >= 6) { in process_init_reply()
851 if (arg->minor >= 17) { in process_init_reply()
860 if (arg->minor >= 9) { in process_init_reply()
885 fc->minor = arg->minor; in process_init_reply()
886 fc->max_write = arg->minor < 5 ? 4096 : arg->max_write; in process_init_reply()
899 arg->minor = FUSE_KERNEL_MINOR_VERSION; in fuse_send_init()
Ddir.c149 if (fc->minor < 9) in fuse_lookup_init()
492 req->in.args[0].size = fc->minor < 12 ? sizeof(struct fuse_open_in) : in fuse_create_open()
498 if (fc->minor < 9) in fuse_create_open()
615 if (fc->minor < 9) in create_new_entry()
684 req->in.args[0].size = fc->minor < 12 ? FUSE_COMPAT_MKNOD_IN_SIZE : in fuse_mknod()
955 if (fc->minor < 9) in fuse_do_getattr()
1504 if (fc->minor < 18) in fuse_dir_ioctl()
1515 if (fc->minor < 18) in fuse_dir_compat_ioctl()
1669 if (fc->minor < 9) in fuse_do_setattr()
Dfuse_i.h554 unsigned minor; member
/fs/squashfs/
Dsuper.c53 major, short minor, short id) in supported_squashfs_filesystem() argument
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/dlm/
Duser.c100 kb->i.lspace.minor = kb32->i.lspace.minor; in compat_input()
344 ls->ls_device.minor = MISC_DYNAMIC_MINOR; in dlm_device_register()
411 error = ls->ls_device.minor; in device_create_lockspace()
425 ls = dlm_find_lockspace_device(params->minor); in device_remove_lockspace()
977 .minor = MISC_DYNAMIC_MINOR,
990 .minor = MISC_DYNAMIC_MINOR,
Dlockspace.h21 struct dlm_ls *dlm_find_lockspace_device(int minor);
Dlockspace.c339 struct dlm_ls *dlm_find_lockspace_device(int minor) in dlm_find_lockspace_device() argument
345 if (ls->ls_device.minor == minor) { in dlm_find_lockspace_device()
/fs/nfs/
Dnetns.h14 uint32_t major, minor; member
Dclient.c1089 (unsigned long long) server->fsid.minor); in nfs_create_server()
1117 (unsigned long long) fattr->fsid.minor); in nfs_clone_server()
1152 (unsigned long long) server->fsid.minor); in nfs_clone_server()
1393 (unsigned long long) server->fsid.minor); in nfs_volume_list_show()
Dnfs3xdr.c423 unsigned int major, minor; in xdr_decode_specdata3() local
426 minor = 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()
672 fattr->fsid.minor = 0; in decode_fattr3()
/fs/cifs/
DTODO29 g) quota support (needs minor kernel change since quota calls
55 will autorefresh (partially complete by Asser). Needs minor kernel
62 (requires minor protocol extension) to enable better support for SELINUX
DAUTHORS50 mention to the Stanford Checker (SWAT) which pointed out many minor
Ddir.c652 pdev->minor = in cifs_mknod()
661 pdev->minor = in cifs_mknod()
/fs/cachefiles/
Dmain.c38 .minor = MISC_DYNAMIC_MINOR,
/fs/nfs/blocklayout/
Dblocklayoutdm.c65 bl_umount_request.minor = MINOR(dev); in dev_remove()
/fs/hostfs/
Dhostfs.h88 unsigned int minor);
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/ext3/
Ddir.c247 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos() argument
253 return ((__u64)(major >> 1) << 32) | (__u64)minor; in hash2pos()
/fs/ext4/
Ddir.c297 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos() argument
303 return ((__u64)(major >> 1) << 32) | (__u64)minor; in hash2pos()
/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()

12