/Linux-v6.6/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-v6.6/include/trace/events/ |
D | ext4.h | 161 MAJOR(__entry->dev), MINOR(__entry->dev), 191 MAJOR(__entry->dev), MINOR(__entry->dev), 214 MAJOR(__entry->dev), MINOR(__entry->dev), 238 MAJOR(__entry->dev), MINOR(__entry->dev), 261 MAJOR(__entry->dev), MINOR(__entry->dev), 283 MAJOR(__entry->dev), MINOR(__entry->dev), 303 MAJOR(__entry->dev), MINOR(__entry->dev), 325 MAJOR(__entry->dev), MINOR(__entry->dev), 347 MAJOR(__entry->dev), MINOR(__entry->dev), 373 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 | 35 MAJOR(__entry->dev), MINOR(__entry->dev), 99 MAJOR(__entry->dev), MINOR(__entry->dev), 131 MAJOR(__entry->dev), MINOR(__entry->dev), 200 MAJOR(__entry->dev), MINOR(__entry->dev), 307 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 335 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 492 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 532 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, 535 MAJOR(__entry->old_dev), MINOR(__entry->old_dev), 576 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, 67 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->domain, 87 TP_printk("%d,%d %s", MAJOR(__entry->dev), MINOR(__entry->dev),
|
D | filemap.h | 42 MAJOR(__entry->s_dev), MINOR(__entry->s_dev), 80 MAJOR(__entry->s_dev), MINOR(__entry->s_dev), 112 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, 446 MINOR(__entry->dev), __entry->offset) 464 MINOR(__entry->dev), __entry->offset) 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),
|
/Linux-v6.6/fs/nfs/ |
D | nfstrace.h | 71 MAJOR(__entry->dev), MINOR(__entry->dev), 116 MAJOR(__entry->dev), MINOR(__entry->dev), 209 MAJOR(__entry->dev), MINOR(__entry->dev), 254 MAJOR(__entry->dev), MINOR(__entry->dev), 306 MAJOR(__entry->dev), MINOR(__entry->dev), 368 MAJOR(__entry->dev), MINOR(__entry->dev), 417 MAJOR(__entry->dev), MINOR(__entry->dev), 463 MAJOR(__entry->dev), MINOR(__entry->dev), 517 MAJOR(__entry->dev), MINOR(__entry->dev), 558 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
D | nfs4trace.h | 564 MAJOR(__entry->dev), MINOR(__entry->dev), 567 MAJOR(__entry->dev), MINOR(__entry->dev), 619 MAJOR(__entry->dev), MINOR(__entry->dev), 667 MAJOR(__entry->dev), MINOR(__entry->dev), 724 MAJOR(__entry->dev), MINOR(__entry->dev), 800 MAJOR(__entry->dev), MINOR(__entry->dev), 882 MAJOR(__entry->dev), MINOR(__entry->dev), 915 MAJOR(__entry->dev), MINOR(__entry->dev), 962 MAJOR(__entry->dev), MINOR(__entry->dev), 1005 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
/Linux-v6.6/fs/xfs/ |
D | xfs_trace.h | 117 MAJOR(__entry->dev), MINOR(__entry->dev), 161 MAJOR(__entry->dev), MINOR(__entry->dev), 183 MAJOR(__entry->dev), MINOR(__entry->dev), 216 MAJOR(__entry->dev), MINOR(__entry->dev), 240 MAJOR(__entry->dev), MINOR(__entry->dev), 278 MAJOR(__entry->dev), MINOR(__entry->dev), 295 MAJOR(__entry->dev), MINOR(__entry->dev), 344 MAJOR(__entry->dev), MINOR(__entry->dev), 395 MAJOR(__entry->dev), MINOR(__entry->dev), 446 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
/Linux-v6.6/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, 219 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype, 248 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype, 296 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype, 342 MAJOR(__entry->dev), MINOR(__entry->dev), 371 MAJOR(__entry->dev), MINOR(__entry->dev), 397 MINOR(__entry->dev), __entry->blocks, __entry->blks_free) 422 MINOR(__entry->dev), __entry->start ? "start" : "end", [all …]
|
/Linux-v6.6/fs/xfs/scrub/ |
D | trace.h | 136 MAJOR(__entry->dev), MINOR(__entry->dev), 171 MAJOR(__entry->dev), MINOR(__entry->dev), 205 MAJOR(__entry->dev), MINOR(__entry->dev), 236 MAJOR(__entry->dev), MINOR(__entry->dev), 263 MAJOR(__entry->dev), MINOR(__entry->dev), 296 MAJOR(__entry->dev), MINOR(__entry->dev), 333 MAJOR(__entry->dev), MINOR(__entry->dev), 364 MAJOR(__entry->dev), MINOR(__entry->dev), 398 MAJOR(__entry->dev), MINOR(__entry->dev), 441 MAJOR(__entry->dev), MINOR(__entry->dev), [all …]
|
/Linux-v6.6/fs/iomap/ |
D | trace.h | 41 MAJOR(__entry->dev), MINOR(__entry->dev), 71 MAJOR(__entry->dev), MINOR(__entry->dev), 141 MAJOR(__entry->dev), MINOR(__entry->dev), 143 MAJOR(__entry->bdev), MINOR(__entry->bdev), 182 MAJOR(__entry->dev), MINOR(__entry->dev), 219 MAJOR(__entry->dev), MINOR(__entry->dev), 254 MAJOR(__entry->dev), MINOR(__entry->dev),
|
/Linux-v6.6/block/ |
D | early-lookup.c | 142 MINOR(dev->devt) + partno); in blk_lookup_devt() 205 if (maj != MAJOR(*devt) || min != MINOR(*devt)) in devt_from_devnum() 257 if (MAJOR(devt) <= 0xff && MINOR(devt) <= 0xff) { in bdevt_str() 259 snprintf(tbuf, BDEVT_SIZE, "%02x%02x", MAJOR(devt), MINOR(devt)); in bdevt_str() 262 snprintf(buf, BDEVT_SIZE, "%03x:%05x", MAJOR(devt), MINOR(devt)); in bdevt_str()
|
/Linux-v6.6/include/sound/sof/ |
D | ext_manifest.h | 28 #define SOF_EXT_MAN_BUILD_VERSION(MAJOR, MINOR, PATH) ((uint32_t)( \ argument 30 ((MINOR) << 12) | \
|
D | info.h | 40 #define SOF_FW_VER(MAJOR, MINOR, PATCH) ((uint32_t)( \ argument 41 ((MAJOR) << 24) | ((MINOR) << 12) | (PATCH)))
|
/Linux-v6.6/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()
|
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_task_vma.c | 18 #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) macro 55 BPF_SEQ_PRINTF(seq, "%02x:%02x %u", MAJOR(dev), MINOR(dev), in proc_maps()
|
/Linux-v6.6/fs/ext2/ |
D | trace.h | 35 MAJOR(__entry->dev), MINOR(__entry->dev), 79 MAJOR(__entry->dev), MINOR(__entry->dev),
|
/Linux-v6.6/arch/powerpc/platforms/book3s/ |
D | vas-api.c | 582 MAJOR(coproc_device.devt), MINOR(coproc_device.devt)); in vas_register_coproc_api() 605 devno, NULL, name, MINOR(devno)); in vas_register_coproc_api() 608 pr_err("Unable to create coproc-%d %d\n", MINOR(devno), rc); in vas_register_coproc_api() 613 MINOR(devno)); in vas_register_coproc_api()
|
/Linux-v6.6/include/uapi/linux/ |
D | kdev_t.h | 11 #define MINOR(dev) ((dev) & 0xff) macro
|
/Linux-v6.6/fs/nfsd/ |
D | nfsfh.h | 149 MINOR(dev)); in mk_fsid() 157 fsidv[1] = (__force __u32)htonl(MINOR(dev)); in mk_fsid()
|
/Linux-v6.6/fs/ |
D | char_dev.c | 210 cd = __register_chrdev_region(MAJOR(n), MINOR(n), in register_chrdev_region() 220 kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n)); in register_chrdev_region() 320 kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n)); in unregister_chrdev_region() 668 if (request_module("char-major-%d-%d", MAJOR(dev), MINOR(dev)) > 0) in base_probe()
|