Searched refs:major (Results 1 - 13 of 13) sorted by relevance

/system/vold/
H A DDirectVolume.cpp105 int major = atoi(evt->findParam("MAJOR")); local
111 major, minor);
112 if (createDeviceNode(nodepath, major, minor)) {
188 int major = atoi(evt->findParam("MAJOR")); local
211 if (major != mDiskMajor) {
212 SLOGE("Partition '%s' has a different major than its disk!", devpath);
244 int major = atoi(evt->findParam("MAJOR")); local
247 if ((major != mDiskMajor) || (minor != mDiskMinor)) {
277 int major = atoi(evt->findParam("MAJOR")); local
279 SLOGD("Volume %s %s partition %d:%d changed\n", getLabel(), getMountpoint(), major, mino
283 int major = atoi(evt->findParam("MAJOR")); local
301 int major = atoi(evt->findParam("MAJOR")); local
[all...]
H A DVolume.h62 * The major/minor tuple of the currently mounted filesystem.
103 int createDeviceNode(const char *path, int major, int minor);
H A Dcryptfs.h99 * This is only valid if the major and minor version above
147 int cryptfs_setup_volume(const char *label, int major, int minor,
H A DVolume.cpp221 int Volume::createDeviceNode(const char *path, int major, int minor) { argument
223 dev_t dev = (major << 8) | minor;
H A Dcryptfs.c418 SLOGE("Cannot understand major version %d real block device footer; expected %d\n",
1311 int cryptfs_setup_volume(const char *label, int major, int minor, argument
1320 sprintf(real_blkdev, "/dev/block/vold/%d:%d", major, minor);
/system/core/toolbox/
H A Dumount.c20 if (S_ISBLK(st.st_mode) && (major(st.st_rdev) == LOOP_MAJOR)) {
H A Dlsof.c105 int major, minor; local
/system/core/sdcard/
H A Dfuse.h60 * If the major versions match then both shall use the smallest
63 * If the kernel supports a larger major version, then userspace shall
64 * reply with the major version it supports, ignore the rest of the
66 * matching major version.
68 * If the library supports a larger major version, then it shall fall
69 * back to the major protocol version sent by the kernel for
70 * communication and reply with that major version (and an arbitrary
453 __u32 major; member in struct:fuse_init_in
460 __u32 major; member in struct:fuse_init_out
472 __u32 major; member in struct:cuse_init_in
479 __u32 major; member in struct:cuse_init_out
[all...]
H A Dsdcard.c1406 handler->token, req->major, req->minor, req->max_readahead, req->flags);
1407 out.major = FUSE_KERNEL_VERSION;
/system/extras/showslab/
H A Dshowslab.c65 unsigned int major, minor; local
78 if (sscanf(line, "slabinfo - version: %u.%u", &major, &minor) != 2) {
83 if (major != 2 || minor > 1) {
/system/core/init/
H A Ddevices.c66 int major; member in struct:uevent
196 int block, int major, int minor)
211 dev = makedev(major, minor);
322 uevent->major = -1;
344 uevent->major = atoi(msg);
366 uevent->firmware, uevent->major, uevent->minor);
480 const char *path, int block, int major, int minor, char **links)
485 make_device(devpath, path, block, major, minor);
522 if((uevent->major < 0) || (uevent->minor < 0))
556 uevent->major, ueven
194 make_device(const char *path, const char *upath, int block, int major, int minor) argument
479 handle_device(const char *action, const char *devpath, const char *path, int block, int major, int minor, char **links) argument
[all...]
/system/core/fastboot/
H A Dusb_linux.c168 * path? udevadm provided the inspiration. We can get the major and
170 * /sys/dev/char/<major>:<minor>
190 major(st.st_rdev), minor(st.st_rdev));
/system/core/adb/
H A Dusb_linux.c277 major(st.st_rdev), minor(st.st_rdev));

Completed in 5566 milliseconds