Home
last modified time | relevance | path

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

123456789

/openbmc/linux/include/linux/
H 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()
/openbmc/linux/include/trace/events/
H A Dext4.h161 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 …]
H 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,
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 …]
H A Dblock.h35 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 …]
H 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),
H 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),
H A Dfilemap.h42 MAJOR(__entry->s_dev), MINOR(__entry->s_dev),
80 MAJOR(__entry->s_dev), MINOR(__entry->s_dev),
111 __entry->file, MAJOR(__entry->s_dev),
H 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,
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/lockdev/lockdev/
H A D0001-lockdev-Define-MAJOR-MINOR-for-non-glibc-case.patch4 Subject: [PATCH] lockdev: Define MAJOR/MINOR for non-glibc case
7 major/minor macros on musl too, so use them to define MINOR/MAJOR here
22 -# define MAJOR(dev) gnu_dev_major (dev)
24 +# define MAJOR(dev) major (dev)
27 # error "put here a define for MAJOR and MINOR"
/openbmc/linux/drivers/base/
H 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()
/openbmc/u-boot/scripts/
H A Dgcc-version.sh25 MAJOR=$(echo __GNUC__ | $compiler -E -xc - | tail -n 1)
29 printf "%02d%02d%02d\\n" $MAJOR $MINOR $PATCHLEVEL
31 printf "%02d%02d\\n" $MAJOR $MINOR
H A Dbinutils-version.sh20 MAJOR=$(echo $version_string | cut -d . -f 1)
23 printf "%02d%02d\\n" $MAJOR $MINOR
H A Ddtc-version.sh17 MAJOR=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 1)
21 printf "%02d%02d%02d\\n" $MAJOR $MINOR $PATCH
/openbmc/linux/fs/nfs/
H A Dnfstrace.h71 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 …]
H A Dnfs4trace.h564 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 …]
/openbmc/linux/fs/xfs/
H A Dxfs_trace.h117 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 …]
/openbmc/linux/fs/proc/
H A Dproc_tty.c32 seq_printf(m, "%3d %d-%d ", MAJOR(from), MINOR(from), in show_tty_range()
35 seq_printf(m, "%3d %7d ", MAJOR(from), MINOR(from)); in show_tty_range()
93 while (MAJOR(from) < MAJOR(to)) { in show_tty_driver()
94 dev_t next = MKDEV(MAJOR(from)+1, 0); in show_tty_driver()
/openbmc/linux/fs/gfs2/
H A 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,
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),
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),
[all …]
/openbmc/linux/fs/xfs/scrub/
H A Dtrace.h136 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 …]
/openbmc/linux/fs/iomap/
H A Dtrace.h41 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),
/openbmc/linux/block/
H A Dearly-lookup.c141 devt = MKDEV(MAJOR(dev->devt), 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()
/openbmc/linux/fs/
H 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()
668 if (request_module("char-major-%d-%d", MAJOR(dev), MINOR(dev)) > 0) in base_probe()
670 request_module("char-major-%d", MAJOR(dev)); in base_probe()
/openbmc/linux/include/sound/sof/
H A Dext_manifest.h28 #define SOF_EXT_MAN_BUILD_VERSION(MAJOR, MINOR, PATH) ((uint32_t)( \ argument
29 ((MAJOR) << 24) | \
H A Dinfo.h40 #define SOF_FW_VER(MAJOR, MINOR, PATCH) ((uint32_t)( \ argument
41 ((MAJOR) << 24) | ((MINOR) << 12) | (PATCH)))
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_task_vma.c17 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS)) macro
55 BPF_SEQ_PRINTF(seq, "%02x:%02x %u", MAJOR(dev), MINOR(dev), in proc_maps()

123456789