Home
last modified time | relevance | path

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

/drivers/char/
Dnvram.c118 static int nvram_open_mode; /* special open modes */ variable
347 (nvram_open_mode & NVRAM_EXCL) || in nvram_open()
348 ((file->f_mode & FMODE_WRITE) && (nvram_open_mode & NVRAM_WRITE))) { in nvram_open()
354 nvram_open_mode |= NVRAM_EXCL; in nvram_open()
356 nvram_open_mode |= NVRAM_WRITE; in nvram_open()
371 if (nvram_open_mode & NVRAM_EXCL) in nvram_release()
372 nvram_open_mode &= ~NVRAM_EXCL; in nvram_release()
374 nvram_open_mode &= ~NVRAM_WRITE; in nvram_release()