Home
last modified time | relevance | path

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

123456789

/linux/include/linux/
A 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()
/linux/include/trace/events/
A Dext4.h134 MAJOR(__entry->dev), MINOR(__entry->dev),
164 MAJOR(__entry->dev), MINOR(__entry->dev),
187 MAJOR(__entry->dev), MINOR(__entry->dev),
211 MAJOR(__entry->dev), MINOR(__entry->dev),
234 MAJOR(__entry->dev), MINOR(__entry->dev),
256 MAJOR(__entry->dev), MINOR(__entry->dev),
276 MAJOR(__entry->dev), MINOR(__entry->dev),
298 MAJOR(__entry->dev), MINOR(__entry->dev),
320 MAJOR(__entry->dev), MINOR(__entry->dev),
349 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
A 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,
351 MAJOR(__entry->dev), MINOR(__entry->dev),
372 TP_printk("dev %d,%d write_op %x", MAJOR(__entry->dev),
393 MAJOR(__entry->dev), MINOR(__entry->dev),
417 MAJOR(__entry->dev), MINOR(__entry->dev),
457 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
A 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),
256 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs,
284 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs,
441 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs,
481 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs,
484 MAJOR(__entry->old_dev), MINOR(__entry->old_dev),
525 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs,
[all …]
A 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),
A Dkyber.h43 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),
A 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),
A 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,
A 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/drivers/base/
A Dmap.c36 unsigned int n = MAJOR(dev + range - 1) - MAJOR(dev) + 1; in kobj_map()
37 unsigned int index = MAJOR(dev); in kobj_map()
70 unsigned int n = MAJOR(dev + range - 1) - MAJOR(dev) + 1; in kobj_unmap()
71 unsigned int index = MAJOR(dev); in kobj_unmap()
103 for (p = domain->probes[MAJOR(dev) % 255]; p; p = p->next) { in kobj_lookup()
/linux/fs/nfs/
A Dnfstrace.h75 MAJOR(__entry->dev), MINOR(__entry->dev),
120 MAJOR(__entry->dev), MINOR(__entry->dev),
212 MAJOR(__entry->dev), MINOR(__entry->dev),
257 MAJOR(__entry->dev), MINOR(__entry->dev),
304 MAJOR(__entry->dev), MINOR(__entry->dev),
350 MAJOR(__entry->dev), MINOR(__entry->dev),
401 MAJOR(__entry->dev), MINOR(__entry->dev),
442 MAJOR(__entry->dev), MINOR(__entry->dev),
475 MAJOR(__entry->dev), MINOR(__entry->dev),
512 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
A Dnfs4trace.h562 MAJOR(__entry->dev), MINOR(__entry->dev),
565 MAJOR(__entry->dev), MINOR(__entry->dev),
617 MAJOR(__entry->dev), MINOR(__entry->dev),
665 MAJOR(__entry->dev), MINOR(__entry->dev),
722 MAJOR(__entry->dev), MINOR(__entry->dev),
798 MAJOR(__entry->dev), MINOR(__entry->dev),
880 MAJOR(__entry->dev), MINOR(__entry->dev),
913 MAJOR(__entry->dev), MINOR(__entry->dev),
960 MAJOR(__entry->dev), MINOR(__entry->dev),
1003 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
/linux/fs/xfs/
A Dxfs_trace.h113 MAJOR(__entry->dev), MINOR(__entry->dev),
157 MAJOR(__entry->dev), MINOR(__entry->dev),
178 MAJOR(__entry->dev), MINOR(__entry->dev),
207 MAJOR(__entry->dev), MINOR(__entry->dev),
231 MAJOR(__entry->dev), MINOR(__entry->dev),
268 MAJOR(__entry->dev), MINOR(__entry->dev),
285 MAJOR(__entry->dev), MINOR(__entry->dev),
334 MAJOR(__entry->dev), MINOR(__entry->dev),
385 MAJOR(__entry->dev), MINOR(__entry->dev),
919 MAJOR(__entry->dev),
[all …]
/linux/fs/xfs/scrub/
A Dtrace.h121 MAJOR(__entry->dev), MINOR(__entry->dev),
163 MAJOR(__entry->dev), MINOR(__entry->dev),
194 MAJOR(__entry->dev), MINOR(__entry->dev),
221 MAJOR(__entry->dev), MINOR(__entry->dev),
254 MAJOR(__entry->dev), MINOR(__entry->dev),
291 MAJOR(__entry->dev), MINOR(__entry->dev),
322 MAJOR(__entry->dev), MINOR(__entry->dev),
356 MAJOR(__entry->dev), MINOR(__entry->dev),
399 MAJOR(__entry->dev), MINOR(__entry->dev),
438 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
/linux/fs/gfs2/
A Dtrace_gfs2.h119 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->gltype,
152 MAJOR(__entry->dev), MINOR(__entry->dev),
342 MAJOR(__entry->dev), MINOR(__entry->dev),
371 MAJOR(__entry->dev), MINOR(__entry->dev),
396 TP_printk("%u,%u log reserve %d %d", MAJOR(__entry->dev),
421 TP_printk("%u,%u ail flush %s %s %ld", MAJOR(__entry->dev),
466 MAJOR(__entry->dev), MINOR(__entry->dev),
499 MAJOR(__entry->dev), MINOR(__entry->dev),
535 MAJOR(__entry->dev), MINOR(__entry->dev),
577 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
/linux/fs/proc/
A 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()
/linux/fs/iomap/
A Dtrace.h41 MAJOR(__entry->dev), MINOR(__entry->dev),
71 MAJOR(__entry->dev), MINOR(__entry->dev),
135 MAJOR(__entry->dev), MINOR(__entry->dev),
137 MAJOR(__entry->bdev), MINOR(__entry->bdev),
175 MAJOR(__entry->dev), MINOR(__entry->dev),
/linux/fs/
A 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()
/linux/tools/lib/traceevent/plugins/
A 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()
/linux/include/sound/sof/
A Dext_manifest.h28 #define SOF_EXT_MAN_BUILD_VERSION(MAJOR, MINOR, PATH) ((uint32_t)( \ argument
29 ((MAJOR) << 24) | \
/linux/tools/testing/selftests/bpf/progs/
A Dbpf_iter_task_vma.c17 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS)) macro
50 BPF_SEQ_PRINTF(seq, "%02x:%02x %u", MAJOR(dev), MINOR(dev), in proc_maps()
/linux/arch/powerpc/platforms/book3s/
A Dvas-api.c439 MAJOR(coproc_device.devt), MINOR(coproc_device.devt)); in vas_register_coproc_api()
454 devno = MKDEV(MAJOR(coproc_device.devt), 0); in vas_register_coproc_api()
469 pr_devel("%s: Added dev [%d,%d]\n", __func__, MAJOR(devno), in vas_register_coproc_api()
488 devno = MKDEV(MAJOR(coproc_device.devt), 0); in vas_unregister_coproc_api()
/linux/block/
A Dgenhd.c344 if (MAJOR(devt) <= 0xff && MINOR(devt) <= 0xff) { in bdevt_str()
346 snprintf(tbuf, BDEVT_SIZE, "%02x%02x", MAJOR(devt), MINOR(devt)); in bdevt_str()
349 snprintf(buf, BDEVT_SIZE, "%03x:%05x", MAJOR(devt), MINOR(devt)); in bdevt_str()
684 unsigned int major = MAJOR(devt); in blk_request_module()
697 if (request_module("block-major-%d-%d", MAJOR(devt), MINOR(devt)) > 0) in blk_request_module()
699 request_module("block-major-%d", MAJOR(devt)); in blk_request_module()
829 MAJOR(part->bd_dev), MINOR(part->bd_dev), in show_partition()
1194 MAJOR(hd->bd_dev), MINOR(hd->bd_dev), hd, in diskstats_show()
1274 devt = MKDEV(MAJOR(dev->devt), in blk_lookup_devt()
/linux/drivers/char/tpm/
A Dtpm-chip.c369 chip->dev.devt = MKDEV(MAJOR(tpm_devt), chip->dev_num); in tpm_chip_alloc()
372 MKDEV(MAJOR(tpm_devt), chip->dev_num + TPM_NUM_DEVICES); in tpm_chip_alloc()
442 dev_name(&chip->dev), MAJOR(chip->dev.devt), in tpm_add_char_device()
452 dev_name(&chip->devs), MAJOR(chip->devs.devt), in tpm_add_char_device()
/linux/drivers/char/pcmcia/
A Dscr24x_cs.c268 ret = cdev_add(&dev->c_dev, MKDEV(MAJOR(scr24x_devt), dev->devno), 1); in scr24x_probe()
278 device_create(scr24x_class, NULL, MKDEV(MAJOR(scr24x_devt), dev->devno), in scr24x_probe()
295 device_destroy(scr24x_class, MKDEV(MAJOR(scr24x_devt), dev->devno)); in scr24x_remove()

Completed in 44 milliseconds

123456789