Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h228 #define OPEN_FLAGS 0x0300U /* Mask */ macro
242 #define IS_RDWR(f) (((f) & OPEN_FLAGS) == OPEN_RDWR)
243 #define IS_RDONLY(f) (((f) & OPEN_FLAGS) == OPEN_RDONLY)
245 #define HDL_RDWR(h) (((h)->flags & OPEN_FLAGS) == OPEN_RDWR)
246 #define HDL_RDONLY(h) (((h)->flags & OPEN_FLAGS) == OPEN_RDONLY)
261 #define DB_RDWR(h) ((DB(h)->flags & OPEN_FLAGS) == OPEN_RDWR)
262 #define DB_RDONLY(h) ((DB(h)->flags & OPEN_FLAGS) == OPEN_RDONLY)
/illumos-gate/usr/src/uts/sun4u/chicago/io/fpc/
H A Dfpc-impl-4u.c43 #define OPEN_FLAGS (FREAD | FWRITE) macro
229 OPEN_FLAGS, kcred, &handle_impl->devhandle, in fpc_get_perfreg_handle()
246 (void) ldi_close(handle_impl->devhandle, OPEN_FLAGS, kcred); in fpc_free_counter_handle()