Searched refs:nvctx_fd (Results 1 – 1 of 1) sorted by relevance
382 int nvctx_fd = -1; in VbReadNvStorage_disk() local399 nvctx_fd = open(nvctx_path, O_RDONLY); in VbReadNvStorage_disk()400 if (nvctx_fd == -1) { in VbReadNvStorage_disk()404 lseek(nvctx_fd, lba * SECTOR_SIZE, SEEK_SET); in VbReadNvStorage_disk()406 rv = read(nvctx_fd, sector, SECTOR_SIZE); in VbReadNvStorage_disk()416 if (nvctx_fd > 0) in VbReadNvStorage_disk()417 close(nvctx_fd); in VbReadNvStorage_disk()423 int nvctx_fd = -1; in VbWriteNvStorage_disk() local441 nvctx_fd = open(nvctx_path, O_RDWR); in VbWriteNvStorage_disk()442 if (nvctx_fd == -1) { in VbWriteNvStorage_disk()[all …]