Home
last modified time | relevance | path

Searched refs:OPEN_RDONLY (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h227 #define OPEN_RDONLY 0x0200U macro
243 #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)
H A Ddevinfo_devlink.c141 err = open_db(hdp, OPEN_RDONLY); in di_devlink_open()
321 assert(flags == OPEN_RDWR || flags == OPEN_RDONLY); in handle_alloc()
1998 if ((hdp = handle_alloc(root_dir, OPEN_RDONLY)) == NULL) { in devlink_snapshot()
2010 again: err = open_db(hdp, OPEN_RDONLY); in devlink_snapshot()