Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h226 #define OPEN_RDWR 0x0100U macro
242 #define IS_RDWR(f) (((f) & OPEN_FLAGS) == OPEN_RDWR)
245 #define HDL_RDWR(h) (((h)->flags & OPEN_FLAGS) == OPEN_RDWR)
261 #define DB_RDWR(h) ((DB(h)->flags & OPEN_FLAGS) == OPEN_RDWR)
H A Ddevinfo_devlink.c136 if ((hdp = handle_alloc(root_dir, OPEN_RDWR)) == NULL) { in di_devlink_open()
320 assert(flags == OPEN_RDWR || flags == OPEN_RDONLY); in handle_alloc()
369 if (flags == OPEN_RDWR && isroot) { in handle_alloc()
737 if (open_db(hdp, OPEN_RDWR) != 0) { in di_devlink_close()