Home
last modified time | relevance | path

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

123456

/linux/include/linux/
H A 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()
H A Ddevice_cgroup.h55 return devcgroup_check_permission(type, MAJOR(dev), MINOR(dev), in devcgroup_inode_mknod()
/linux/include/trace/events/
H A Dext4.h160 MAJOR(__entry->dev), MINOR(__entry->dev),
190 MAJOR(__entry->dev), MINOR(__entry->dev),
213 MAJOR(__entry->dev), MINOR(__entry->dev),
237 MAJOR(__entry->dev), MINOR(__entry->dev),
260 MAJOR(__entry->dev), MINOR(__entry->dev),
282 MAJOR(__entry->dev), MINOR(__entry->dev),
302 MAJOR(__entry->dev), MINOR(__entry->dev),
324 MAJOR(__entry->dev), MINOR(__entry->dev),
346 MAJOR(__entry->dev), MINOR(__entry->dev),
372 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 Dfilemap.h42 MAJOR(__entry->s_dev), MINOR(__entry->s_dev),
90 MINOR(__entry->s_dev), __entry->i_ino,
138 MINOR(__entry->s_dev), __entry->i_ino,
164 MAJOR(__entry->s_dev), MINOR(__entry->s_dev),
196 MINOR(__entry->s_dev), __entry->i_ino, __entry->old,
H A 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),
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 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,
446 MINOR(__entry->dev), __entry->offset)
464 MINOR(__entry->dev), __entry->offset)
486 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->free,
H 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/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),
419 MAJOR(__entry->dev), MINOR(__entry->dev),
468 MAJOR(__entry->dev), MINOR(__entry->dev),
523 MAJOR(__entry->dev), MINOR(__entry->dev),
564 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
H A Dnfs4trace.h594 MAJOR(__entry->dev), MINOR(__entry->dev),
597 MAJOR(__entry->dev), MINOR(__entry->dev),
649 MAJOR(__entry->dev), MINOR(__entry->dev),
697 MAJOR(__entry->dev), MINOR(__entry->dev),
754 MAJOR(__entry->dev), MINOR(__entry->dev),
830 MAJOR(__entry->dev), MINOR(__entry->dev),
912 MAJOR(__entry->dev), MINOR(__entry->dev),
945 MAJOR(__entry->dev), MINOR(__entry->dev),
992 MAJOR(__entry->dev), MINOR(__entry->dev),
1035 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
/linux/fs/xfs/
H A Dxfs_trace.h138 MAJOR(__entry->dev), MINOR(__entry->dev),
183 MAJOR(__entry->dev), MINOR(__entry->dev),
207 MAJOR(__entry->dev), MINOR(__entry->dev),
245 MAJOR(__entry->dev), MINOR(__entry->dev),
276 MAJOR(__entry->dev), MINOR(__entry->dev),
300 MAJOR(__entry->dev), MINOR(__entry->dev),
338 MAJOR(__entry->dev), MINOR(__entry->dev),
355 MAJOR(__entry->dev), MINOR(__entry->dev),
404 MAJOR(__entry->dev), MINOR(__entry->dev),
455 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
/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),
397 MINOR(__entry->dev), __entry->blocks, __entry->blks_free)
422 MINOR(__entry->dev), __entry->start ? "start" : "end",
[all …]
/linux/fs/proc/
H A Dproc_tty.c32 seq_printf(m, "%3d %d-%d ", MAJOR(from), MINOR(from), in show_tty_range()
33 MINOR(from) + num - 1); in show_tty_range()
35 seq_printf(m, "%3d %7d ", MAJOR(from), MINOR(from)); in show_tty_range()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_task_vmas.c18 #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) macro
55 BPF_SEQ_PRINTF(seq, "%02x:%02x %u", MAJOR(dev), MINOR(dev), in proc_maps()
/linux/fs/bcachefs/
H A Dtrace.h48 TP_printk("%d,%d\n%s", MAJOR(__entry->dev), MINOR(__entry->dev), __get_str(str))
70 MAJOR(__entry->dev), MINOR(__entry->dev),
91 MAJOR(__entry->dev), MINOR(__entry->dev),
114 MAJOR(__entry->dev), MINOR(__entry->dev),
141 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->trans_fn,
159 TP_printk("%d,%d", MAJOR(__entry->dev), MINOR(__entry->dev))
176 TP_printk("%d,%d %s", MAJOR(__entry->dev), MINOR(__entry->dev), __entry->trans_fn)
198 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs,
220 MAJOR(__entry->dev), MINOR(__entry->dev),
247 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
/linux/include/sound/sof/
H A Dinfo.h40 #define SOF_FW_VER(MAJOR, MINOR, PATCH) ((uint32_t)( \ argument
41 ((MAJOR) << 24) | ((MINOR) << 12) | (PATCH)))
/linux/fs/ext2/
H A Dtrace.h35 MAJOR(__entry->dev), MINOR(__entry->dev),
79 MAJOR(__entry->dev), MINOR(__entry->dev),
/linux/arch/powerpc/platforms/book3s/
H A Dvas-api.c581 MAJOR(coproc_device.devt), MINOR(coproc_device.devt)); in vas_register_coproc_api()
604 devno, NULL, name, MINOR(devno)); in vas_register_coproc_api()
607 pr_err("Unable to create coproc-%d %d\n", MINOR(devno), rc); in vas_register_coproc_api()
611 pr_devel("Added dev [%d,%d]\n", MAJOR(devno), MINOR(devno)); in vas_register_coproc_api()
/linux/include/uapi/linux/
H A Dkdev_t.h11 #define MINOR(dev) ((dev) & 0xff) macro
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-uevent.rst91 MINOR=3
108 MINOR=3
/linux/Documentation/ABI/testing/
H A Dusb-uevent21 MINOR=128
/linux/sound/usb/
H A Dmedia.c77 MINOR(pcm_dev->devt)); in snd_media_stream_init()
181 MINOR(ctl_dev->devt)); in snd_media_mixer_init()
/linux/drivers/md/
H A Ddm-audit.c74 int dev_minor = MINOR(bio->bi_bdev->bd_dev); in dm_audit_log_bio()
/linux/fs/quota/
H A Dnetlink.c77 ret = nla_put_u32(skb, QUOTA_NL_A_DEV_MINOR, MINOR(dev)); in quota_send_warning()

123456