Home
last modified time | relevance | path

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

12

/fs/ocfs2/
Dstack_user.c137 char minor[OCFS2_CONTROL_MESSAGE_VERNUM_LEN]; member
400 long major, minor; in ocfs2_control_do_setversion_msg() local
422 minor = simple_strtol(msg->minor, &ptr, 16); in ocfs2_control_do_setversion_msg()
434 if ((minor == LONG_MIN) || (minor == LONG_MAX) || in ocfs2_control_do_setversion_msg()
435 (minor > (u8)-1) || (minor < 0)) in ocfs2_control_do_setversion_msg()
438 (minor > max->pv_minor)) in ocfs2_control_do_setversion_msg()
442 p->op_proto.pv_minor = minor; in ocfs2_control_do_setversion_msg()
634 .minor = MISC_DYNAMIC_MINOR,
/fs/squashfs/
Dsuper.c48 static int supported_squashfs_filesystem(short major, short minor, short comp) in supported_squashfs_filesystem() argument
52 "filesystems are unsupported\n", major, minor); in supported_squashfs_filesystem()
54 } else if (major > SQUASHFS_MAJOR || minor > SQUASHFS_MINOR) { in supported_squashfs_filesystem()
56 "%d.%d filesystem\n", major, minor); in supported_squashfs_filesystem()
/fs/dlm/
Duser.c98 kb->i.lspace.minor = kb32->i.lspace.minor; in compat_input()
364 ls->ls_device.minor = MISC_DYNAMIC_MINOR; in dlm_device_register()
430 error = ls->ls_device.minor; in device_create_lockspace()
444 ls = dlm_find_lockspace_device(params->minor); in device_remove_lockspace()
956 .minor = MISC_DYNAMIC_MINOR,
968 .minor = MISC_DYNAMIC_MINOR,
Dlockspace.h21 struct dlm_ls *dlm_find_lockspace_device(int minor);
Dlockspace.c307 struct dlm_ls *dlm_find_lockspace_device(int minor) in dlm_find_lockspace_device() argument
313 if (ls->ls_device.minor == minor) { in dlm_find_lockspace_device()
Dplock.c415 .minor = MISC_DYNAMIC_MINOR,
/fs/fuse/
Dinode.c336 fc->minor < 4 ? FUSE_COMPAT_STATFS_SIZE : sizeof(outarg); in fuse_statfs()
738 if (arg->minor >= 6) { in process_init_reply()
746 if (arg->minor >= 9) { in process_init_reply()
759 fc->minor = arg->minor; in process_init_reply()
760 fc->max_write = arg->minor < 5 ? 4096 : arg->max_write; in process_init_reply()
773 arg->minor = FUSE_KERNEL_MINOR_VERSION; in fuse_send_init()
Ddir.c126 if (fc->minor < 9) in fuse_lookup_init()
428 if (fc->minor < 9) in fuse_create_open()
500 if (fc->minor < 9) in create_new_entry()
811 if (fc->minor < 9) in fuse_do_getattr()
1273 if (fc->minor < 9) in fuse_do_setattr()
Dfuse_i.h440 unsigned minor; member
/fs/hostfs/
Dhostfs_user.c81 *min = minor(buf.st_rdev); in file_type()
360 int do_mknod(const char *file, int mode, unsigned int major, unsigned int minor) in do_mknod() argument
364 err = mknod(file, mode, makedev(major, minor)); in do_mknod()
Dhostfs.h82 unsigned int minor);
/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.c549 pdev->minor = in cifs_mknod()
560 pdev->minor = in cifs_mknod()
/fs/sysfs/
DKconfig20 the kernel boot command line via its major and minor numbers. For
/fs/nfs/
Dclient.c1038 (unsigned long long) server->fsid.minor); in nfs_create_server()
1229 (unsigned long long) server->fsid.minor); in nfs4_create_server()
1317 (unsigned long long) server->fsid.minor); in nfs4_create_referral_server()
1350 (unsigned long long) fattr->fsid.minor); in nfs_clone_server()
1381 (unsigned long long) server->fsid.minor); in nfs_clone_server()
1586 (unsigned long long) server->fsid.minor); in nfs_volume_list_show()
Dnfs3xdr.c150 unsigned int type, major, minor; in xdr_decode_fattr() local
167 minor = ntohl(*p++); in xdr_decode_fattr()
168 fattr->rdev = MKDEV(major, minor); in xdr_decode_fattr()
169 if (MAJOR(fattr->rdev) != major || MINOR(fattr->rdev) != minor) in xdr_decode_fattr()
173 fattr->fsid.minor = 0; in xdr_decode_fattr()
Dnfs4xdr.c2250 fsid->minor = 0; in decode_attr_fsid()
2256 READ64(fsid->minor); in decode_attr_fsid()
2261 (unsigned long long)fsid->minor); in decode_attr_fsid()
2668 uint32_t major = 0, minor = 0; in decode_attr_rdev() local
2679 READ32(minor); in decode_attr_rdev()
2680 tmp = MKDEV(major, minor); in decode_attr_rdev()
2681 if (MAJOR(tmp) == major && MINOR(tmp) == minor) in decode_attr_rdev()
2685 dprintk("%s: rdev=(0x%x:0x%x)\n", __func__, major, minor); in decode_attr_rdev()
/fs/smbfs/
Dproto.h30 …mb_proc_setattr_unix(struct dentry *d, struct iattr *attr, unsigned int major, unsigned int minor);
Dproc.c2129 __u64 minor = LVAL(p, 68); in smb_decode_unix_basic() local
2131 fattr->f_rdev = MKDEV(major & 0xffffffff, minor & 0xffffffff); in smb_decode_unix_basic()
2133 MINOR(fattr->f_rdev) != (minor & 0xffffffff)) in smb_decode_unix_basic()
3075 unsigned int major, unsigned int minor) in smb_proc_setattr_unix() argument
3117 LSET(data, 68, minor); in smb_proc_setattr_unix()
3397 int major, minor; in smb_proc_query_cifsunix() local
3423 minor = WVAL(req->rq_data, 2); in smb_proc_query_cifsunix()
3426 major, minor); in smb_proc_query_cifsunix()
/fs/9p/
Dvfs_inode.c850 int minor = -1; in v9fs_stat2inode() local
853 sscanf(ext, "%c %u %u", &type, &major, &minor); in v9fs_stat2inode()
866 inode->i_rdev = MKDEV(major, minor); in v9fs_stat2inode()
/fs/nfsd/
Dnfs3proc.c331 rdev = MKDEV(argp->major, argp->minor); in nfsd3_proc_mknod()
333 MINOR(rdev) != argp->minor) in nfsd3_proc_mknod()
/fs/ecryptfs/
Dkeystore.c1484 unsigned char minor; in ecryptfs_verify_version() local
1487 minor = (version & 0xFF); in ecryptfs_verify_version()
1495 if (minor != ECRYPTFS_VERSION_MINOR) { in ecryptfs_verify_version()
1498 ECRYPTFS_VERSION_MINOR, minor); in ecryptfs_verify_version()
Dmiscdev.c498 .minor = MISC_DYNAMIC_MINOR,
/fs/ext3/
Ddir.c248 #define hash2pos(major, minor) (major >> 1) argument

12