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

/system/vold/
H A DDirectVolume.cpp100 int major = atoi(evt->findParam("MAJOR")); local
106 major, minor);
107 if (createDeviceNode(nodepath, major, minor)) {
180 int major = atoi(evt->findParam("MAJOR")); local
203 if (major != mDiskMajor) {
204 SLOGE("Partition '%s' has a different major than its disk!", devpath);
236 int major = atoi(evt->findParam("MAJOR")); local
239 if ((major != mDiskMajor) || (minor != mDiskMinor)) {
269 int major = atoi(evt->findParam("MAJOR")); local
271 SLOGD("Volume %s %s partition %d:%d changed\n", getLabel(), getMountpoint(), major, mino
275 int major = atoi(evt->findParam("MAJOR")); local
288 int major = atoi(evt->findParam("MAJOR")); local
[all...]
H A Dcryptfs.h82 int cryptfs_setup_volume(const char *label, int major, int minor,
H A DVolume.h60 * The major/minor tuple of the currently mounted filesystem.
94 int createDeviceNode(const char *path, int major, int minor);
H A DVolume.cpp199 int Volume::createDeviceNode(const char *path, int major, int minor) { argument
201 dev_t dev = (major << 8) | minor;
H A Dcryptfs.c306 SLOGE("Cannot understand major version %d real block device footer\n",
861 int cryptfs_setup_volume(const char *label, int major, int minor, argument
871 sprintf(real_blkdev, "/dev/block/vold/%d:%d", major, minor);
/system/core/init/
H A Ddevices.c68 int major; member in struct:uevent
188 int block, int major, int minor)
205 dev = makedev(major, minor);
335 uevent->major = -1;
357 uevent->major = atoi(msg);
379 uevent->firmware, uevent->major, uevent->minor);
495 const char *path, int block, int major, int minor, char **links)
500 make_device(devpath, path, block, major, minor);
537 if((uevent->major < 0) || (uevent->minor < 0))
571 uevent->major, ueven
186 make_device(const char *path, const char *upath, int block, int major, int minor) argument
494 handle_device(const char *action, const char *devpath, const char *path, int block, int major, int minor, char **links) argument
[all...]
/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.c910 req->major, req->minor, req->max_readahead, req->flags);
912 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) {

Completed in 283 milliseconds