Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/char/
Dnvram.c59 static int nvram_open_mode; /* special open modes */ variable
356 (nvram_open_mode & NVRAM_EXCL)) { in nvram_misc_open()
364 (file->f_mode & FMODE_WRITE) && (nvram_open_mode & NVRAM_WRITE)) { in nvram_misc_open()
371 nvram_open_mode |= NVRAM_EXCL; in nvram_misc_open()
373 nvram_open_mode |= NVRAM_WRITE; in nvram_misc_open()
388 if (nvram_open_mode & NVRAM_EXCL) in nvram_misc_release()
389 nvram_open_mode &= ~NVRAM_EXCL; in nvram_misc_release()
391 nvram_open_mode &= ~NVRAM_WRITE; in nvram_misc_release()