Home
last modified time | relevance | path

Searched refs:MAJOR (Results 1 – 25 of 215) sorted by relevance

123456789

/kernel/linux/linux-5.10/include/linux/
Dkdev_t.h10 #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/
Dmap.c36 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/
Dext4.h147 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 …]
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,
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 …]
Dblock.h34 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 …]
Dfs_dax.h40 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),
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),
109 __entry->file, MAJOR(__entry->s_dev),
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 __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,
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),
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/fs/proc/
Dproc_tty.c34 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/
Dnfstrace.h113 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 …]
Dnfs4trace.h809 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/
Dxfs_trace.h76 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/
Dtrace_gfs2.h119 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/
Dgcc-version.sh17 MAJOR=$(echo __GNUC__ | $compiler -E -x c - | tail -n 1)
20 printf "%d%02d%02d\\n" $MAJOR $MINOR $PATCHLEVEL
Dclang-version.sh16 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/
Dtrace.h32 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/
Dchar_dev.c207 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/
Dplugin_jbd2.c15 #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/
Dext_manifest.h28 #define SOF_EXT_MAN_BUILD_VERSION(MAJOR, MINOR, PATH) ((uint32_t)( \ argument
29 ((MAJOR) << 24) | \
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dvas-api.c223 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/
Draw.c146 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/
Dkdev_t.h21 #define MAJOR(dev) ((dev) >> 8) macro

123456789