Home
last modified time | relevance | path

Searched refs:MINOR (Results 1 – 25 of 172) sorted by relevance

1234567

/Linux-v5.4/include/linux/
Dkdev_t.h11 #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/
Dext4.h103 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 …]
Djbd2.h31 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 …]
Dblock.h34 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 …]
Dfs_dax.h41 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),
Dkyber.h43 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),
Dfilemap.h40 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,
Dbcache.h35 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,
Dfilelock.h58 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/
Dnfstrace.h112 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 …]
Dnfs4trace.h670 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/
Dtrace.h107 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/
Dxfs_trace.h69 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/
Dtrace_gfs2.h120 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/
Dgcc-version.sh18 MINOR=$(echo __GNUC_MINOR__ | $compiler -E -x c - | tail -n 1)
20 printf "%d%02d%02d\\n" $MAJOR $MINOR $PATCHLEVEL
Dclang-version.sh17 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/
Dplugin_jbd2.c31 #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/
Dproc_tty.c34 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/
Dgio.c34 minor = MINOR(inode->i_rdev); in gio_open()
51 minor = MINOR(inode->i_rdev); in gio_close()
/Linux-v5.4/drivers/staging/vme/devices/
Dvme_user.c178 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/
Dkdev_t.h11 #define MINOR(dev) ((dev) & 0xff) macro
/Linux-v5.4/drivers/char/
Draw.c137 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/
Dtrace.c80 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/
Dsysfs-class-bdi11 MAJOR:MINOR
17 MAJOR:MINOR-fuseblk
/Linux-v5.4/block/
Dgenhd.c530 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 …]

1234567