/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()
|
D | device_cgroup.h | 70 return devcgroup_check_permission(type, MAJOR(dev), MINOR(dev), in devcgroup_inode_mknod()
|
D | fs.h | 899 return MAJOR(inode->i_rdev); in imajor()
|
/include/trace/events/ |
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 | 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 | 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 | 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 | 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 | namei.h | 36 MAJOR(__entry->dev), MINOR(__entry->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, 444 __entry->sectors, MAJOR(__entry->dev), 462 TP_printk("allocated %d,%d sector=%llu", MAJOR(__entry->dev), 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),
|
D | random.h | 160 TP_printk("dev %d,%d input_pool_bits %d", MAJOR(__entry->dev),
|
D | erofs.h | 13 #define show_dev(dev) MAJOR(dev), MINOR(dev)
|
D | writeback.h | 379 MAJOR(__entry->sb_dev), MINOR(__entry->sb_dev), 863 MAJOR(__entry->dev), MINOR(__entry->dev),
|
D | f2fs.h | 10 #define show_dev(dev) MAJOR(dev), MINOR(dev)
|
/include/uapi/linux/ |
D | kdev_t.h | 10 #define MAJOR(dev) ((dev)>>8) macro
|