Searched refs:OPEN_RDONLY (Results 1 – 2 of 2) sorted by relevance
227 #define OPEN_RDONLY 0x0200U macro243 #define IS_RDONLY(f) (((f) & OPEN_FLAGS) == OPEN_RDONLY)246 #define HDL_RDONLY(h) (((h)->flags & OPEN_FLAGS) == OPEN_RDONLY)262 #define DB_RDONLY(h) ((DB(h)->flags & OPEN_FLAGS) == OPEN_RDONLY)
140 err = open_db(hdp, OPEN_RDONLY); in di_devlink_open()320 assert(flags == OPEN_RDWR || flags == OPEN_RDONLY); in handle_alloc()1997 if ((hdp = handle_alloc(root_dir, OPEN_RDONLY)) == NULL) { in devlink_snapshot()2009 again: err = open_db(hdp, OPEN_RDONLY); in devlink_snapshot()