Searched refs:part_fd (Results 1 – 2 of 2) sorted by relevance
641 device->part_fd = -1; in init_device()707 if (device->part_fd != -1) in cleanup_device()708 (void) close(device->part_fd); in cleanup_device()713 device->part_fd = -1; in cleanup_device()1298 int dev_fd = device->part_fd; in is_update_necessary()1301 assert(device->part_fd != -1); in is_update_necessary()1540 device->part_fd = open(raw, O_RDONLY); in get_raw_partition_fd()1542 device->part_fd = open(raw, O_RDWR); in get_raw_partition_fd()1544 if (device->part_fd < 0 || fstat(device->part_fd, &stat) != 0) { in get_raw_partition_fd()1552 (void) close(device->part_fd); in get_raw_partition_fd()[all …]
42 int part_fd; member