Lines Matching defs:devfd
97 static uint64_t get_size(int devfd) in get_size()
123 static int sysfs_get_offset(int devfd, unsigned long *start) in sysfs_get_offset()
166 int get_geometry(int devfd, uint64_t totalbytes, struct hd_geometry *geo) in get_geometry()
231 static int patch_file_and_bootblock(int fd, const char *dir, int devfd) in patch_file_and_bootblock()
464 static int rewrite_boot_image(int devfd, const char *path, const char *filename) in rewrite_boot_image()
511 int ext2_fat_install_file(const char *path, int devfd, struct stat *rst) in ext2_fat_install_file()
603 int btrfs_install_file(const char *path, int devfd, struct stat *rst) in btrfs_install_file()
669 static int xfs_install_file(const char *path, int devfd, struct stat *rst) in xfs_install_file()
981 static int install_file(const char *path, int devfd, struct stat *rst) in install_file()
1006 static int validate_device(const char *path, int devfd) in validate_device()
1343 int devfd; in open_device() local
1402 static int btrfs_read_adv(int devfd) in btrfs_read_adv()
1411 static inline int xfs_read_adv(int devfd) in xfs_read_adv()
1421 static int ext_read_adv(const char *path, int devfd, const char **namep) in ext_read_adv()
1442 static int ext_write_adv(const char *path, const char *cfg, int devfd) in ext_write_adv()
1458 int devfd, rv; in install_loader() local
1511 int devfd; in modify_existing_adv() local