Searched defs:OPEN_FLAGS (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/chicago/io/fpc/
H A Dfpc-impl-4u.c41 #define OPEN_FLAGS (FREAD | FWRITE) macro
232 OPEN_FLAGS, credentials, &handle_impl->devhandle,
249 (void) ldi_close(handle_impl->devhandle, OPEN_FLAGS, credentials);
/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)

Completed in 73 milliseconds