Searched refs:fmode (Results 1 – 2 of 2) sorted by relevance
315 fmode_t fmode = FMODE_READ; in dm_setup_drive() local332 fmode |= FMODE_WRITE; in dm_setup_drive()333 if (dm_table_create(&table, fmode, dm_setup_args.target_count, md)) { in dm_setup_drive()
313 static void __init clean_path(char *path, umode_t fmode) in clean_path() argument317 if (!sys_newlstat(path, &st) && (st.st_mode ^ fmode) & S_IFMT) { in clean_path()