Home
last modified time | relevance | path

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

1234

/linux-4.19.296/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()
Ddevice_cgroup.h70 return devcgroup_check_permission(type, MAJOR(dev), MINOR(dev), in devcgroup_inode_mknod()
/linux-4.19.296/include/trace/events/
Dext4.h102 MAJOR(__entry->dev), MINOR(__entry->dev),
132 MAJOR(__entry->dev), MINOR(__entry->dev),
155 MAJOR(__entry->dev), MINOR(__entry->dev),
179 MAJOR(__entry->dev), MINOR(__entry->dev),
202 MAJOR(__entry->dev), MINOR(__entry->dev),
224 MAJOR(__entry->dev), MINOR(__entry->dev),
244 MAJOR(__entry->dev), MINOR(__entry->dev),
266 MAJOR(__entry->dev), MINOR(__entry->dev),
288 MAJOR(__entry->dev), MINOR(__entry->dev),
317 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),
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,
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),
Dbcache.h35 MAJOR(__entry->dev), MINOR(__entry->dev),
109 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs,
146 MAJOR(__entry->dev), MINOR(__entry->dev),
424 MINOR(__entry->dev), __entry->offset)
442 MINOR(__entry->dev), __entry->offset)
464 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->free,
/linux-4.19.296/fs/nfs/
Dnfstrace.h70 MAJOR(__entry->dev), MINOR(__entry->dev),
115 MAJOR(__entry->dev), MINOR(__entry->dev),
196 MAJOR(__entry->dev), MINOR(__entry->dev),
242 MAJOR(__entry->dev), MINOR(__entry->dev),
309 MAJOR(__entry->dev), MINOR(__entry->dev),
350 MAJOR(__entry->dev), MINOR(__entry->dev),
383 MAJOR(__entry->dev), MINOR(__entry->dev),
420 MAJOR(__entry->dev), MINOR(__entry->dev),
448 MAJOR(__entry->dev), MINOR(__entry->dev),
488 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
Dnfs4trace.h451 MAJOR(__entry->dev), MINOR(__entry->dev),
454 MAJOR(__entry->dev), MINOR(__entry->dev),
506 MAJOR(__entry->dev), MINOR(__entry->dev),
554 MAJOR(__entry->dev), MINOR(__entry->dev),
622 MAJOR(__entry->dev), MINOR(__entry->dev),
698 MAJOR(__entry->dev), MINOR(__entry->dev),
731 MAJOR(__entry->dev), MINOR(__entry->dev),
778 MAJOR(__entry->dev), MINOR(__entry->dev),
821 MAJOR(__entry->dev), MINOR(__entry->dev),
868 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
/linux-4.19.296/fs/xfs/scrub/
Dtrace.h40 MAJOR(__entry->dev), MINOR(__entry->dev),
82 MAJOR(__entry->dev), MINOR(__entry->dev),
113 MAJOR(__entry->dev), MINOR(__entry->dev),
148 MAJOR(__entry->dev), MINOR(__entry->dev),
180 MAJOR(__entry->dev), MINOR(__entry->dev),
217 MAJOR(__entry->dev), MINOR(__entry->dev),
248 MAJOR(__entry->dev), MINOR(__entry->dev),
282 MAJOR(__entry->dev), MINOR(__entry->dev),
325 MAJOR(__entry->dev), MINOR(__entry->dev),
364 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
/linux-4.19.296/fs/xfs/
Dxfs_trace.h64 MAJOR(__entry->dev), MINOR(__entry->dev),
111 MAJOR(__entry->dev), MINOR(__entry->dev),
144 MAJOR(__entry->dev), MINOR(__entry->dev),
193 MAJOR(__entry->dev), MINOR(__entry->dev),
244 MAJOR(__entry->dev), MINOR(__entry->dev),
293 MAJOR(__entry->dev), MINOR(__entry->dev),
361 MAJOR(__entry->dev), MINOR(__entry->dev),
406 MAJOR(__entry->dev), MINOR(__entry->dev),
449 MAJOR(__entry->dev), MINOR(__entry->dev),
507 MAJOR(__entry->dev), MINOR(__entry->dev),
[all …]
/linux-4.19.296/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-4.19.296/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()
Dnommu.c63 MAJOR(dev), MINOR(dev), ino); in nommu_region_show()
Dconsoles.c56 seq_printf(m, " %4d:%d", MAJOR(dev), MINOR(dev)); in show_console_dev()
/linux-4.19.296/include/uapi/linux/
Dkdev_t.h11 #define MINOR(dev) ((dev) & 0xff) macro
Dnilfs2_api.h58 NILFS_CPINFO_FNS(MINOR, minor)
/linux-4.19.296/fs/f2fs/
Dtrace.c83 MAJOR(inode->i_sb->s_dev), MINOR(inode->i_sb->s_dev), in f2fs_trace_pid()
105 minor = MINOR(inode->i_sb->s_dev); in f2fs_trace_ios()
/linux-4.19.296/drivers/char/
Draw.c136 if (MAJOR(dev) != major || MINOR(dev) != minor) in bind_set()
231 rq.block_minor = MINOR(dev); in raw_ctl_ioctl()
273 rq.block_minor = MINOR(dev); in raw_ctl_compat_ioctl()
/linux-4.19.296/block/
Dgenhd.c519 idr_remove(&ext_devt_idr, blk_mangle_minor(MINOR(devt))); in blk_free_devt()
531 idr_replace(&ext_devt_idr, NULL, blk_mangle_minor(MINOR(devt))); in blk_invalidate_devt()
538 if (MAJOR(devt) <= 0xff && MINOR(devt) <= 0xff) { in bdevt_str()
540 snprintf(tbuf, BDEVT_SIZE, "%02x%02x", MAJOR(devt), MINOR(devt)); in bdevt_str()
543 snprintf(buf, BDEVT_SIZE, "%03x:%05x", MAJOR(devt), MINOR(devt)); in bdevt_str()
701 disk->first_minor = MINOR(devt); in __device_add_disk()
863 part = idr_find(&ext_devt_idr, blk_mangle_minor(MINOR(devt))); in get_gendisk()
1047 MAJOR(part_devt(part)), MINOR(part_devt(part)), in show_partition()
1066 if (request_module("block-major-%d-%d", MAJOR(devt), MINOR(devt)) > 0) in base_probe()
1372 MAJOR(part_devt(hd)), MINOR(part_devt(hd)), in diskstats_show()
[all …]
/linux-4.19.296/fs/
Dchar_dev.c219 cd = __register_chrdev_region(MAJOR(n), MINOR(n), in register_chrdev_region()
229 kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n)); in register_chrdev_region()
329 kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n)); in unregister_chrdev_region()
667 if (request_module("char-major-%d-%d", MAJOR(dev), MINOR(dev)) > 0) in base_probe()
/linux-4.19.296/fs/nfsd/
Dnfsfh.h96 MINOR(dev)); in mk_fsid()
104 fsidv[1] = (__force __u32)htonl(MINOR(dev)); in mk_fsid()
/linux-4.19.296/fs/quota/
Dnetlink.c77 ret = nla_put_u32(skb, QUOTA_NL_A_DEV_MINOR, MINOR(dev)); in quota_send_warning()

1234