Lines Matching defs:acc
190 static int whitelist_device(const char *path, const char *node, const char *acc) {
196 assert(acc);
212 acc);
222 static int whitelist_major(const char *path, const char *name, char type, const char *acc) {
229 assert(acc);
283 acc);
456 char acc[4];
460 acc[k++] = 'r';
462 acc[k++] = 'w';
464 acc[k++] = 'm';
469 acc[k++] = 0;
472 whitelist_device(path, a->path, acc);
474 whitelist_major(path, a->path + 6, 'b', acc);
476 whitelist_major(path, a->path + 5, 'c', acc);