D | base.c | 125 #define NOD(NAME, MODE, IOP, FOP, OP) { \ argument 126 .name = (NAME), \ 127 .len = sizeof(NAME) - 1, \ 134 #define DIR(NAME, MODE, iops, fops) \ argument 135 NOD(NAME, (S_IFDIR|(MODE)), &iops, &fops, {} ) 136 #define LNK(NAME, get_link) \ argument 137 NOD(NAME, (S_IFLNK|S_IRWXUGO), \ 140 #define REG(NAME, MODE, fops) \ argument 141 NOD(NAME, (S_IFREG|(MODE)), NULL, &fops, {}) 142 #define ONE(NAME, MODE, show) \ argument [all …]
|