| /Linux-v5.4/include/linux/ |
| D | kdev_t.h | 11 #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) macro 15 sprintf((buffer), "%u:%u\n", MAJOR(dev), MINOR(dev)) 19 sprintf(buffer, "%u:%u", MAJOR(dev), MINOR(dev)); \ 26 return MAJOR(dev) < 256 && MINOR(dev) < 256; in old_valid_dev() 31 return (MAJOR(dev) << 8) | MINOR(dev); in old_encode_dev() 42 unsigned minor = MINOR(dev); in new_encode_dev() 65 return MAJOR(dev) < (1<<14) && MINOR(dev) < (1<<18); in sysv_valid_dev() 70 return MINOR(dev) | (MAJOR(dev) << 18); in sysv_encode_dev()
|
| /Linux-v5.4/include/trace/events/ |
| D | ext4.h | 103 MAJOR(__entry->dev), MINOR(__entry->dev), 133 MAJOR(__entry->dev), MINOR(__entry->dev), 156 MAJOR(__entry->dev), MINOR(__entry->dev), 180 MAJOR(__entry->dev), MINOR(__entry->dev), 203 MAJOR(__entry->dev), MINOR(__entry->dev), 225 MAJOR(__entry->dev), MINOR(__entry->dev), 245 MAJOR(__entry->dev), MINOR(__entry->dev), 267 MAJOR(__entry->dev), MINOR(__entry->dev), 289 MAJOR(__entry->dev), MINOR(__entry->dev), 318 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
| D | jbd2.h | 31 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->result) 53 MAJOR(__entry->dev), MINOR(__entry->dev), 112 MAJOR(__entry->dev), MINOR(__entry->dev), 132 MAJOR(__entry->dev), MINOR(__entry->dev), 160 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid, 191 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid, 228 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid, 271 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid, 308 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid, 337 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
| D | block.h | 34 MAJOR(__entry->dev), MINOR(__entry->dev), 98 MAJOR(__entry->dev), MINOR(__entry->dev), 142 MAJOR(__entry->dev), MINOR(__entry->dev), 176 MAJOR(__entry->dev), MINOR(__entry->dev), 248 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 285 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 313 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 380 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 409 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 543 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, [all …]
|
| D | fs_dax.h | 41 MINOR(__entry->dev), 87 MINOR(__entry->dev), 132 MINOR(__entry->dev), 176 MINOR(__entry->dev), 218 MINOR(__entry->dev), 244 MINOR(__entry->dev), 276 MINOR(__entry->dev),
|
| D | kyber.h | 43 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->domain, 68 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->domain, 88 TP_printk("%d,%d %s", MAJOR(__entry->dev), MINOR(__entry->dev),
|
| D | filemap.h | 40 MAJOR(__entry->s_dev), MINOR(__entry->s_dev), 78 MAJOR(__entry->s_dev), MINOR(__entry->s_dev), 110 MINOR(__entry->s_dev), __entry->i_ino, __entry->old,
|
| D | bcache.h | 35 MAJOR(__entry->dev), MINOR(__entry->dev), 109 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 146 MAJOR(__entry->dev), MINOR(__entry->dev), 245 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 445 MINOR(__entry->dev), __entry->offset) 463 MINOR(__entry->dev), __entry->offset) 485 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->free,
|
| D | filelock.h | 58 MAJOR(__entry->s_dev), MINOR(__entry->s_dev), 96 __entry->fl, MAJOR(__entry->s_dev), MINOR(__entry->s_dev), 149 __entry->fl, MAJOR(__entry->s_dev), MINOR(__entry->s_dev), 199 MAJOR(__entry->s_dev), MINOR(__entry->s_dev),
|
| /Linux-v5.4/fs/nfs/ |
| D | nfstrace.h | 112 MAJOR(__entry->dev), MINOR(__entry->dev), 157 MAJOR(__entry->dev), MINOR(__entry->dev), 264 MAJOR(__entry->dev), MINOR(__entry->dev), 310 MAJOR(__entry->dev), MINOR(__entry->dev), 405 MAJOR(__entry->dev), MINOR(__entry->dev), 446 MAJOR(__entry->dev), MINOR(__entry->dev), 479 MAJOR(__entry->dev), MINOR(__entry->dev), 516 MAJOR(__entry->dev), MINOR(__entry->dev), 544 MAJOR(__entry->dev), MINOR(__entry->dev), 584 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
| D | nfs4trace.h | 670 MAJOR(__entry->dev), MINOR(__entry->dev), 673 MAJOR(__entry->dev), MINOR(__entry->dev), 725 MAJOR(__entry->dev), MINOR(__entry->dev), 773 MAJOR(__entry->dev), MINOR(__entry->dev), 848 MAJOR(__entry->dev), MINOR(__entry->dev), 924 MAJOR(__entry->dev), MINOR(__entry->dev), 957 MAJOR(__entry->dev), MINOR(__entry->dev), 1004 MAJOR(__entry->dev), MINOR(__entry->dev), 1047 MAJOR(__entry->dev), MINOR(__entry->dev), 1094 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
| /Linux-v5.4/fs/xfs/scrub/ |
| D | trace.h | 107 MAJOR(__entry->dev), MINOR(__entry->dev), 149 MAJOR(__entry->dev), MINOR(__entry->dev), 180 MAJOR(__entry->dev), MINOR(__entry->dev), 215 MAJOR(__entry->dev), MINOR(__entry->dev), 248 MAJOR(__entry->dev), MINOR(__entry->dev), 285 MAJOR(__entry->dev), MINOR(__entry->dev), 316 MAJOR(__entry->dev), MINOR(__entry->dev), 350 MAJOR(__entry->dev), MINOR(__entry->dev), 393 MAJOR(__entry->dev), MINOR(__entry->dev), 432 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
| /Linux-v5.4/fs/xfs/ |
| D | xfs_trace.h | 69 MAJOR(__entry->dev), MINOR(__entry->dev), 116 MAJOR(__entry->dev), MINOR(__entry->dev), 149 MAJOR(__entry->dev), MINOR(__entry->dev), 198 MAJOR(__entry->dev), MINOR(__entry->dev), 249 MAJOR(__entry->dev), MINOR(__entry->dev), 301 MAJOR(__entry->dev), MINOR(__entry->dev), 369 MAJOR(__entry->dev), MINOR(__entry->dev), 414 MAJOR(__entry->dev), MINOR(__entry->dev), 457 MAJOR(__entry->dev), MINOR(__entry->dev), 515 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
| /Linux-v5.4/fs/gfs2/ |
| D | trace_gfs2.h | 120 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype, 153 MAJOR(__entry->dev), MINOR(__entry->dev), 189 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype, 222 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype, 252 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype, 300 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype, 346 MAJOR(__entry->dev), MINOR(__entry->dev), 375 MAJOR(__entry->dev), MINOR(__entry->dev), 399 MINOR(__entry->dev), __entry->blocks) 424 MINOR(__entry->dev), __entry->start ? "start" : "end", [all …]
|
| /Linux-v5.4/scripts/ |
| D | gcc-version.sh | 18 MINOR=$(echo __GNUC_MINOR__ | $compiler -E -x c - | tail -n 1) 20 printf "%d%02d%02d\\n" $MAJOR $MINOR $PATCHLEVEL
|
| D | clang-version.sh | 17 MINOR=$(echo __clang_minor__ | $compiler -E -x c - | tail -n 1) 19 printf "%d%02d%02d\\n" $MAJOR $MINOR $PATCHLEVEL
|
| /Linux-v5.4/tools/lib/traceevent/plugins/ |
| D | plugin_jbd2.c | 31 #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) macro 38 trace_seq_printf(s, "%d:%d", MAJOR(dev), MINOR(dev)); in process_jbd2_dev_to_name()
|
| /Linux-v5.4/fs/proc/ |
| D | proc_tty.c | 34 seq_printf(m, "%3d %d-%d ", MAJOR(from), MINOR(from), in show_tty_range() 35 MINOR(from) + num - 1); in show_tty_range() 37 seq_printf(m, "%3d %7d ", MAJOR(from), MINOR(from)); in show_tty_range()
|
| /Linux-v5.4/arch/sh/boards/mach-landisk/ |
| D | gio.c | 34 minor = MINOR(inode->i_rdev); in gio_open() 51 minor = MINOR(inode->i_rdev); in gio_close()
|
| /Linux-v5.4/drivers/staging/vme/devices/ |
| D | vme_user.c | 178 unsigned int minor = MINOR(file_inode(file)->i_rdev); in vme_user_read() 221 unsigned int minor = MINOR(file_inode(file)->i_rdev); in vme_user_write() 263 unsigned int minor = MINOR(file_inode(file)->i_rdev); in vme_user_llseek() 297 unsigned int minor = MINOR(inode->i_rdev); in vme_user_ioctl() 415 unsigned int minor = MINOR(inode->i_rdev); in vme_user_unlocked_ioctl() 484 unsigned int minor = MINOR(file_inode(file)->i_rdev); in vme_user_mmap()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | kdev_t.h | 11 #define MINOR(dev) ((dev) & 0xff) macro
|
| /Linux-v5.4/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-v5.4/fs/f2fs/ |
| D | trace.c | 80 MAJOR(inode->i_sb->s_dev), MINOR(inode->i_sb->s_dev), in f2fs_trace_pid() 102 minor = MINOR(inode->i_sb->s_dev); in f2fs_trace_ios()
|
| /Linux-v5.4/Documentation/ABI/testing/ |
| D | sysfs-class-bdi | 11 MAJOR:MINOR 17 MAJOR:MINOR-fuseblk
|
| /Linux-v5.4/block/ |
| D | genhd.c | 530 idr_remove(&ext_devt_idr, blk_mangle_minor(MINOR(devt))); in blk_free_devt() 542 idr_replace(&ext_devt_idr, NULL, blk_mangle_minor(MINOR(devt))); in blk_invalidate_devt() 549 if (MAJOR(devt) <= 0xff && MINOR(devt) <= 0xff) { in bdevt_str() 551 snprintf(tbuf, BDEVT_SIZE, "%02x%02x", MAJOR(devt), MINOR(devt)); in bdevt_str() 554 snprintf(buf, BDEVT_SIZE, "%03x:%05x", MAJOR(devt), MINOR(devt)); in bdevt_str() 723 disk->first_minor = MINOR(devt); in __device_add_disk() 885 part = idr_find(&ext_devt_idr, blk_mangle_minor(MINOR(devt))); in get_gendisk() 1069 MAJOR(part_devt(part)), MINOR(part_devt(part)), in show_partition() 1088 if (request_module("block-major-%d-%d", MAJOR(devt), MINOR(devt)) > 0) in base_probe() 1389 MAJOR(part_devt(hd)), MINOR(part_devt(hd)), in diskstats_show() [all …]
|