/kernel/linux/linux-5.10/include/linux/ |
D | kdev_t.h | 10 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS)) 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() 41 unsigned major = MAJOR(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()
|
/kernel/linux/linux-5.10/drivers/base/ |
D | map.c | 36 unsigned n = MAJOR(dev + range - 1) - MAJOR(dev) + 1; in kobj_map() 37 unsigned index = MAJOR(dev); in kobj_map() 70 unsigned n = MAJOR(dev + range - 1) - MAJOR(dev) + 1; in kobj_unmap() 71 unsigned index = MAJOR(dev); in kobj_unmap() 98 unsigned n = MAJOR(dev + range - 1) - MAJOR(dev) + 1; in kobj_delete() 99 unsigned index = MAJOR(dev); in kobj_delete() 131 for (p = domain->probes[MAJOR(dev) % 255]; p; p = p->next) { in kobj_lookup()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | ext4.h | 147 MAJOR(__entry->dev), MINOR(__entry->dev), 177 MAJOR(__entry->dev), MINOR(__entry->dev), 200 MAJOR(__entry->dev), MINOR(__entry->dev), 224 MAJOR(__entry->dev), MINOR(__entry->dev), 247 MAJOR(__entry->dev), MINOR(__entry->dev), 269 MAJOR(__entry->dev), MINOR(__entry->dev), 289 MAJOR(__entry->dev), MINOR(__entry->dev), 311 MAJOR(__entry->dev), MINOR(__entry->dev), 333 MAJOR(__entry->dev), MINOR(__entry->dev), 362 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, 205 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid, 242 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid, 285 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid, 322 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid, 351 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
D | block.h | 34 MAJOR(__entry->dev), MINOR(__entry->dev), 97 MAJOR(__entry->dev), MINOR(__entry->dev), 141 MAJOR(__entry->dev), MINOR(__entry->dev), 175 MAJOR(__entry->dev), MINOR(__entry->dev), 259 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 295 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 323 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 390 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 419 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 553 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, [all …]
|
D | fs_dax.h | 40 MAJOR(__entry->dev), 86 MAJOR(__entry->dev), 131 MAJOR(__entry->dev), 175 MAJOR(__entry->dev), 217 MAJOR(__entry->dev), 243 MAJOR(__entry->dev), 275 MAJOR(__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), 109 __entry->file, MAJOR(__entry->s_dev),
|
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 __entry->sectors, MAJOR(__entry->dev), 463 TP_printk("allocated %d,%d sector=%llu", MAJOR(__entry->dev), 486 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),
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/fs/proc/ |
D | proc_tty.c | 34 seq_printf(m, "%3d %d-%d ", MAJOR(from), MINOR(from), in show_tty_range() 37 seq_printf(m, "%3d %7d ", MAJOR(from), MINOR(from)); in show_tty_range() 95 while (MAJOR(from) < MAJOR(to)) { in show_tty_driver() 96 dev_t next = MKDEV(MAJOR(from)+1, 0); in show_tty_driver()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | nfstrace.h | 113 MAJOR(__entry->dev), MINOR(__entry->dev), 158 MAJOR(__entry->dev), MINOR(__entry->dev), 249 MAJOR(__entry->dev), MINOR(__entry->dev), 319 MAJOR(__entry->dev), MINOR(__entry->dev), 365 MAJOR(__entry->dev), MINOR(__entry->dev), 460 MAJOR(__entry->dev), MINOR(__entry->dev), 501 MAJOR(__entry->dev), MINOR(__entry->dev), 534 MAJOR(__entry->dev), MINOR(__entry->dev), 571 MAJOR(__entry->dev), MINOR(__entry->dev), 599 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
D | nfs4trace.h | 809 MAJOR(__entry->dev), MINOR(__entry->dev), 812 MAJOR(__entry->dev), MINOR(__entry->dev), 864 MAJOR(__entry->dev), MINOR(__entry->dev), 912 MAJOR(__entry->dev), MINOR(__entry->dev), 987 MAJOR(__entry->dev), MINOR(__entry->dev), 1063 MAJOR(__entry->dev), MINOR(__entry->dev), 1145 MAJOR(__entry->dev), MINOR(__entry->dev), 1178 MAJOR(__entry->dev), MINOR(__entry->dev), 1225 MAJOR(__entry->dev), MINOR(__entry->dev), 1268 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_trace.h | 76 MAJOR(__entry->dev), MINOR(__entry->dev), 123 MAJOR(__entry->dev), MINOR(__entry->dev), 156 MAJOR(__entry->dev), MINOR(__entry->dev), 205 MAJOR(__entry->dev), MINOR(__entry->dev), 256 MAJOR(__entry->dev), MINOR(__entry->dev), 308 MAJOR(__entry->dev), MINOR(__entry->dev), 376 MAJOR(__entry->dev), MINOR(__entry->dev), 421 MAJOR(__entry->dev), MINOR(__entry->dev), 464 MAJOR(__entry->dev), MINOR(__entry->dev), 522 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
/kernel/linux/linux-5.10/fs/gfs2/ |
D | trace_gfs2.h | 119 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype, 152 MAJOR(__entry->dev), MINOR(__entry->dev), 188 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype, 221 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype, 251 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype, 299 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype, 345 MAJOR(__entry->dev), MINOR(__entry->dev), 374 MAJOR(__entry->dev), MINOR(__entry->dev), 399 TP_printk("%u,%u log reserve %d %d", MAJOR(__entry->dev), 424 TP_printk("%u,%u ail flush %s %s %ld", MAJOR(__entry->dev), [all …]
|
/kernel/linux/linux-5.10/scripts/ |
D | gcc-version.sh | 17 MAJOR=$(echo __GNUC__ | $compiler -E -x c - | tail -n 1) 20 printf "%d%02d%02d\\n" $MAJOR $MINOR $PATCHLEVEL
|
D | clang-version.sh | 16 MAJOR=$(echo __clang_major__ | $compiler -E -x c - | tail -n 1) 19 printf "%d%02d%02d\\n" $MAJOR $MINOR $PATCHLEVEL
|
/kernel/linux/linux-5.10/fs/iomap/ |
D | trace.h | 32 MAJOR(__entry->dev), MINOR(__entry->dev), 63 MAJOR(__entry->dev), MINOR(__entry->dev), 127 MAJOR(__entry->dev), MINOR(__entry->dev), 129 MAJOR(__entry->bdev), MINOR(__entry->bdev), 171 MAJOR(__entry->dev), MINOR(__entry->dev),
|
/kernel/linux/linux-5.10/fs/ |
D | char_dev.c | 207 next = MKDEV(MAJOR(n)+1, 0); in register_chrdev_region() 210 cd = __register_chrdev_region(MAJOR(n), MINOR(n), in register_chrdev_region() 219 next = MKDEV(MAJOR(n)+1, 0); in register_chrdev_region() 220 kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n)); in register_chrdev_region() 317 next = MKDEV(MAJOR(n)+1, 0); in unregister_chrdev_region() 320 kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n)); in unregister_chrdev_region() 661 if (request_module("char-major-%d-%d", MAJOR(dev), MINOR(dev)) > 0) in base_probe() 663 request_module("char-major-%d", MAJOR(dev)); in base_probe()
|
/kernel/linux/linux-5.10/tools/lib/traceevent/plugins/ |
D | plugin_jbd2.c | 15 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS)) macro 23 trace_seq_printf(s, "%d:%d", MAJOR(dev), MINOR(dev)); in process_jbd2_dev_to_name()
|
/kernel/linux/linux-5.10/include/sound/sof/ |
D | ext_manifest.h | 28 #define SOF_EXT_MAN_BUILD_VERSION(MAJOR, MINOR, PATH) ((uint32_t)( \ argument 29 ((MAJOR) << 24) | \
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | vas-api.c | 223 MAJOR(coproc_device.devt), MINOR(coproc_device.devt)); in vas_register_coproc_api() 237 devno = MKDEV(MAJOR(coproc_device.devt), 0); in vas_register_coproc_api() 252 pr_devel("%s: Added dev [%d,%d]\n", __func__, MAJOR(devno), in vas_register_coproc_api() 272 devno = MKDEV(MAJOR(coproc_device.devt), 0); in vas_unregister_coproc_api()
|
/kernel/linux/linux-5.10/drivers/char/ |
D | raw.c | 146 if (MAJOR(dev) != major || MINOR(dev) != minor) in bind_set() 165 if (MAJOR(dev) == 0 && dev != 0) in bind_set() 223 rq.block_major = MAJOR(dev); in raw_ctl_ioctl() 265 rq.block_major = MAJOR(dev); in raw_ctl_compat_ioctl()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | kdev_t.h | 21 #define MAJOR(dev) ((dev) >> 8) macro
|