Home
last modified time | relevance | path

Searched refs:MINOR (Results 1 – 25 of 119) sorted by relevance

12345

/linux-3.4.99/include/linux/
Dkdev_t.h8 #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) macro
12 sprintf((buffer), "%u:%u\n", MAJOR(dev), MINOR(dev))
16 sprintf(buffer, "%u:%u", MAJOR(dev), MINOR(dev)); \
23 return MAJOR(dev) < 256 && MINOR(dev) < 256; in old_valid_dev()
28 return (MAJOR(dev) << 8) | MINOR(dev); in old_encode_dev()
44 unsigned minor = MINOR(dev); in new_encode_dev()
72 return MAJOR(dev) < (1<<14) && MINOR(dev) < (1<<18); in sysv_valid_dev()
77 return MINOR(dev) | (MAJOR(dev) << 18); in sysv_encode_dev()
97 #define MINOR(dev) ((dev) & 0xff) macro
/linux-3.4.99/include/trace/events/
Dext3.h33 MAJOR(__entry->dev), MINOR(__entry->dev),
57 MAJOR(__entry->dev), MINOR(__entry->dev),
81 MAJOR(__entry->dev), MINOR(__entry->dev),
104 MAJOR(__entry->dev), MINOR(__entry->dev),
126 MAJOR(__entry->dev), MINOR(__entry->dev),
148 MAJOR(__entry->dev), MINOR(__entry->dev),
175 MAJOR(__entry->dev), MINOR(__entry->dev),
204 MAJOR(__entry->dev), MINOR(__entry->dev),
253 MAJOR(__entry->dev), MINOR(__entry->dev),
313 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
Dext4.h45 MAJOR(__entry->dev), MINOR(__entry->dev),
68 MAJOR(__entry->dev), MINOR(__entry->dev),
92 MAJOR(__entry->dev), MINOR(__entry->dev),
115 MAJOR(__entry->dev), MINOR(__entry->dev),
137 MAJOR(__entry->dev), MINOR(__entry->dev),
159 MAJOR(__entry->dev), MINOR(__entry->dev),
181 MAJOR(__entry->dev), MINOR(__entry->dev),
210 MAJOR(__entry->dev), MINOR(__entry->dev),
254 MAJOR(__entry->dev), MINOR(__entry->dev),
325 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
Djbd.h27 MAJOR(__entry->dev), MINOR(__entry->dev),
50 MAJOR(__entry->dev), MINOR(__entry->dev),
101 MAJOR(__entry->dev), MINOR(__entry->dev),
125 MAJOR(__entry->dev), MINOR(__entry->dev),
147 MAJOR(__entry->dev), MINOR(__entry->dev),
175 MAJOR(__entry->dev), MINOR(__entry->dev),
196 MAJOR(__entry->dev), MINOR(__entry->dev),
Djbd2.h30 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->result)
52 MAJOR(__entry->dev), MINOR(__entry->dev),
111 MAJOR(__entry->dev), MINOR(__entry->dev),
131 MAJOR(__entry->dev), MINOR(__entry->dev),
169 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid,
205 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid,
234 MAJOR(__entry->dev), MINOR(__entry->dev),
256 MINOR(__entry->dev), __entry->write_op)
Dblock.h41 MAJOR(__entry->dev), MINOR(__entry->dev),
119 MAJOR(__entry->dev), MINOR(__entry->dev),
156 MAJOR(__entry->dev), MINOR(__entry->dev),
229 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs,
266 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs,
294 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs,
367 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs,
501 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs,
543 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs,
546 MAJOR(__entry->old_dev), MINOR(__entry->old_dev),
[all …]
/linux-3.4.99/scripts/
Dgcc-version.sh26 MINOR=$(echo __GNUC_MINOR__ | $compiler -E -x c - | tail -n 1)
29 printf "%02d%02d%02d\\n" $MAJOR $MINOR $PATCHLEVEL
31 printf "%02d%02d\\n" $MAJOR $MINOR
/linux-3.4.99/fs/gfs2/
Dtrace_gfs2.h106 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype,
139 MAJOR(__entry->dev), MINOR(__entry->dev),
173 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype,
205 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype,
235 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype,
283 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype,
329 MAJOR(__entry->dev), MINOR(__entry->dev),
356 MAJOR(__entry->dev), MINOR(__entry->dev),
379 MINOR(__entry->dev), __entry->blocks)
404 MINOR(__entry->dev), __entry->start ? "start" : "end",
[all …]
/linux-3.4.99/fs/xfs/
Dxfs_trace.h71 MAJOR(__entry->dev), MINOR(__entry->dev),
116 MAJOR(__entry->dev), MINOR(__entry->dev),
169 MAJOR(__entry->dev), MINOR(__entry->dev),
213 MAJOR(__entry->dev), MINOR(__entry->dev),
257 MAJOR(__entry->dev), MINOR(__entry->dev),
303 MAJOR(__entry->dev), MINOR(__entry->dev),
374 MAJOR(__entry->dev), MINOR(__entry->dev),
419 MAJOR(__entry->dev), MINOR(__entry->dev),
464 MAJOR(__entry->dev), MINOR(__entry->dev),
525 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
/linux-3.4.99/fs/proc/
Dproc_tty.c32 seq_printf(m, "%3d %d-%d ", MAJOR(from), MINOR(from), in show_tty_range()
33 MINOR(from) + num - 1); in show_tty_range()
35 seq_printf(m, "%3d %7d ", MAJOR(from), MINOR(from)); in show_tty_range()
Dconsoles.c58 seq_printf(m, " %4d:%d", MAJOR(dev), MINOR(dev)); in show_console_dev()
Dnommu.c62 MAJOR(dev), MINOR(dev), ino, &len); in nommu_region_show()
/linux-3.4.99/arch/sh/boards/mach-landisk/
Dgio.c38 minor = MINOR(inode->i_rdev); in gio_open()
55 minor = MINOR(inode->i_rdev); in gio_close()
/linux-3.4.99/fs/nfs/blocklayout/
Dblocklayoutdm.c65 bl_umount_request.minor = MINOR(dev); in dev_remove()
109 MINOR(bdev->bm_mdev->bd_dev)); in bl_free_block_dev()
/linux-3.4.99/drivers/staging/vme/devices/
Dvme_user.c169 unsigned int minor = MINOR(inode->i_rdev); in vme_user_open()
194 unsigned int minor = MINOR(inode->i_rdev); in vme_user_release()
320 unsigned int minor = MINOR(file->f_dentry->d_inode->i_rdev); in vme_user_read()
367 unsigned int minor = MINOR(file->f_dentry->d_inode->i_rdev); in vme_user_write()
413 unsigned int minor = MINOR(file->f_dentry->d_inode->i_rdev); in vme_user_llseek()
467 unsigned int minor = MINOR(inode->i_rdev); in vme_user_ioctl()
/linux-3.4.99/Documentation/ABI/testing/
Dsysfs-class-bdi11 MAJOR:MINOR
17 MAJOR:MINOR-fuseblk
/linux-3.4.99/fs/nfsd/
Dnfsfh.h37 MINOR(dev)); in mk_fsid()
45 fsidv[1] = htonl(MINOR(dev)); in mk_fsid()
/linux-3.4.99/fs/
Dchar_dev.c206 cd = __register_chrdev_region(MAJOR(n), MINOR(n), in register_chrdev_region()
216 kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n)); in register_chrdev_region()
316 kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n)); in unregister_chrdev_region()
552 if (request_module("char-major-%d-%d", MAJOR(dev), MINOR(dev)) > 0) in base_probe()
/linux-3.4.99/drivers/char/
Draw.c137 if (MAJOR(dev) != major || MINOR(dev) != minor) in bind_set()
232 rq.block_minor = MINOR(dev); in raw_ctl_ioctl()
274 rq.block_minor = MINOR(dev); in raw_ctl_compat_ioctl()
/linux-3.4.99/block/
Dgenhd.c457 idr_remove(&ext_devt_idr, blk_mangle_minor(MINOR(devt))); in blk_free_devt()
464 if (MAJOR(devt) <= 0xff && MINOR(devt) <= 0xff) { in bdevt_str()
466 snprintf(tbuf, BDEVT_SIZE, "%02x%02x", MAJOR(devt), MINOR(devt)); in bdevt_str()
469 snprintf(buf, BDEVT_SIZE, "%03x:%05x", MAJOR(devt), MINOR(devt)); in bdevt_str()
604 disk->first_minor = MINOR(devt); in add_disk()
691 part = idr_find(&ext_devt_idr, blk_mangle_minor(MINOR(devt))); in get_gendisk()
865 MAJOR(part_devt(part)), MINOR(part_devt(part)), in show_partition()
896 if (request_module("block-major-%d-%d", MAJOR(devt), MINOR(devt)) > 0) in base_probe()
1164 MAJOR(part_devt(hd)), MINOR(part_devt(hd)), in diskstats_show()
1231 MINOR(dev->devt) + partno); in blk_lookup_devt()
/linux-3.4.99/Documentation/device-mapper/
Ddm-uevent.txt79 MINOR=3
95 MINOR=3
/linux-3.4.99/init/
Ddo_mounts_md.c211 dinfo.minor = MINOR(dev); in md_setup_drive()
221 dinfo.minor = MINOR(dev); in md_setup_drive()
Ddo_mounts.c198 if (maj != MAJOR(res) || min != MINOR(res)) in name_to_dev_t()
340 MAJOR(ROOT_DEV), MINOR(ROOT_DEV)); in do_mount_root()
/linux-3.4.99/fs/quota/
Dnetlink.c71 ret = nla_put_u32(skb, QUOTA_NL_A_DEV_MINOR, MINOR(dev)); in quota_send_warning()
/linux-3.4.99/kernel/power/
Dhibernate.c760 MAJOR(swsusp_resume_device), MINOR(swsusp_resume_device)); in software_resume()
927 MINOR(swsusp_resume_device)); in resume_show()
941 if (maj != MAJOR(res) || min != MINOR(res)) in resume_store()

12345