/linux-3.4.99/include/linux/ |
D | kdev_t.h | 8 #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/ |
D | ext3.h | 33 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 …]
|
D | ext4.h | 45 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 …]
|
D | jbd.h | 27 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),
|
D | jbd2.h | 30 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)
|
D | block.h | 41 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/ |
D | gcc-version.sh | 26 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/ |
D | trace_gfs2.h | 106 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/ |
D | xfs_trace.h | 71 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/ |
D | proc_tty.c | 32 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()
|
D | consoles.c | 58 seq_printf(m, " %4d:%d", MAJOR(dev), MINOR(dev)); in show_console_dev()
|
D | nommu.c | 62 MAJOR(dev), MINOR(dev), ino, &len); in nommu_region_show()
|
/linux-3.4.99/arch/sh/boards/mach-landisk/ |
D | gio.c | 38 minor = MINOR(inode->i_rdev); in gio_open() 55 minor = MINOR(inode->i_rdev); in gio_close()
|
/linux-3.4.99/fs/nfs/blocklayout/ |
D | blocklayoutdm.c | 65 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/ |
D | vme_user.c | 169 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/ |
D | sysfs-class-bdi | 11 MAJOR:MINOR 17 MAJOR:MINOR-fuseblk
|
/linux-3.4.99/fs/nfsd/ |
D | nfsfh.h | 37 MINOR(dev)); in mk_fsid() 45 fsidv[1] = htonl(MINOR(dev)); in mk_fsid()
|
/linux-3.4.99/fs/ |
D | char_dev.c | 206 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/ |
D | raw.c | 137 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/ |
D | genhd.c | 457 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/ |
D | dm-uevent.txt | 79 MINOR=3 95 MINOR=3
|
/linux-3.4.99/init/ |
D | do_mounts_md.c | 211 dinfo.minor = MINOR(dev); in md_setup_drive() 221 dinfo.minor = MINOR(dev); in md_setup_drive()
|
D | do_mounts.c | 198 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/ |
D | netlink.c | 71 ret = nla_put_u32(skb, QUOTA_NL_A_DEV_MINOR, MINOR(dev)); in quota_send_warning()
|
/linux-3.4.99/kernel/power/ |
D | hibernate.c | 760 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()
|