Searched refs:OPEN_MASK (Results 1 – 2 of 2) sorted by relevance
154 int OPEN_MASK = O_LARGEFILE; in Open() local156 OPEN_MASK |= O_RDONLY; in Open()158 OPEN_MASK |= O_WRONLY; in Open()160 OPEN_MASK |= O_RDWR; in Open()163 OPEN_MASK |= O_CREAT; in Open()167 OPEN_MASK |= O_DIRECT; in Open()169 fd = open(filespec, OPEN_MASK, 00600); in Open()
316 const OPEN_MASK: usize = usize::max_value() - (usize::max_value() >> 1); constant320 const INIT_STATE: usize = OPEN_MASK;323 const MAX_CAPACITY: usize = !(OPEN_MASK);1301 self.state.fetch_and(!OPEN_MASK, SeqCst); in set_closed()1319 self.state.fetch_and(!OPEN_MASK, SeqCst); in set_closed()1343 is_open: num & OPEN_MASK == OPEN_MASK, in decode_state()1352 num |= OPEN_MASK; in encode_state()