Lines Matching defs:mode
76 int nr_areas, int buf_size, umode_t mode);
223 int mode)
237 if ((mode == ALL_AREAS) && (pages_per_area != 0)) {
307 int nr_areas, int buf_size, umode_t mode)
316 rc->mode = mode & ~S_IFMT;
326 static debug_info_t *debug_info_copy(debug_info_t *in, int mode)
335 in->nr_areas, in->buf_size, in->level, mode);
348 if (mode == NO_AREAS)
635 * @mode: File mode for debugfs files. E.g. S_IRWXUGO
647 int nr_areas, int buf_size, umode_t mode,
659 rc = debug_info_create(name, pages_per_area, nr_areas, buf_size, mode);
672 * debug_register() - creates and initializes debug area with default file mode.
684 * The debugfs file mode access permissions are read and write for user.
971 .mode = S_IRUGO | S_IWUSR,
978 .mode = S_IRUGO | S_IWUSR,
1183 umode_t mode;
1189 mode = (id->mode | S_IFREG) & ~S_IXUGO;
1191 mode &= ~(S_IRUSR | S_IRGRP | S_IROTH);
1193 mode &= ~(S_IWUSR | S_IWGRP | S_IWOTH);
1194 pde = debugfs_create_file(view->name, mode, id->debugfs_root_entry,