Home
last modified time | relevance | path

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

/openbmc/qemu/qga/
H A Dcommands-linux.c38 unsigned int *devmajor, unsigned int *devminor) in dev_major_minor() argument
42 *devmajor = 0; in dev_major_minor()
54 *devmajor = major(st.st_rdev); in dev_major_minor()
62 * Check if we already have the devmajor:devminor in the mounts
65 static bool dev_exists(FsMountList *mounts, unsigned int devmajor, unsigned int devminor) in dev_exists() argument
70 if (mount->devmajor == devmajor && mount->devminor == devminor) { in dev_exists()
83 unsigned int devmajor, devminor; in build_fs_mount_list_from_mtab() local
103 if (dev_major_minor(ment->mnt_fsname, &devmajor, &devminor) == -2) { in build_fs_mount_list_from_mtab()
107 if (dev_exists(mounts, devmajor, devmino in build_fs_mount_list_from_mtab()
158 unsigned int devmajor, devminor; build_fs_mount_list() local
[all...]
H A Dcommands-common.h28 unsigned int devmajor, devminor; member
H A Dcommands-bsd.c58 mount->devmajor = major(mount->dev); in build_fs_mount_list()