Searched refs:OPEN_FLAGS (Results 1 – 2 of 2) sorted by relevance
228 #define OPEN_FLAGS 0x0300U /* Mask */ macro242 #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)
43 #define OPEN_FLAGS (FREAD | FWRITE) macro229 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()