projects
/
platform
/
upstream
/
multipath-tools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
multipath: better argument type checking
[platform/upstream/multipath-tools.git]
/
multipath
/
dev_t.h
1
#define MAJOR(dev) ((dev & 0xfff00) >> 8)
2
#define MINOR(dev) ((dev & 0xff) | ((dev >> 12) & 0xfff00))
3
#define MKDEV(ma,mi) ((mi & 0xff) | (ma << 8) | ((mi & ~0xff) << 12))