Searched refs:major (Results 1 - 13 of 13) 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)) {
183 int major = atoi(evt->findParam("MAJOR")); local
206 if (major != mDiskMajor) {
207 SLOGE("Partition '%s' has a different major than its disk!", devpath);
239 int major = atoi(evt->findParam("MAJOR")); local
242 if ((major != mDiskMajor) || (minor != mDiskMinor)) {
272 int major = atoi(evt->findParam("MAJOR")); local
274 SLOGD("Volume %s %s partition %d:%d changed\n", getLabel(), getMountpoint(), major, mino
278 int major = atoi(evt->findParam("MAJOR")); local
296 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.c308 SLOGE("Cannot understand major version %d real block device footer\n",
880 int cryptfs_setup_volume(const char *label, int major, int minor, argument
890 sprintf(real_blkdev, "/dev/block/vold/%d:%d", major, minor);
/system/core/init/
H A Ddevices.c70 int major; member in struct:uevent
190 int block, int major, int minor)
207 dev = makedev(major, minor);
311 uevent->major = -1;
333 uevent->major = atoi(msg);
355 uevent->firmware, uevent->major, uevent->minor);
471 const char *path, int block, int major, int minor, char **links)
476 make_device(devpath, path, block, major, minor);
513 if((uevent->major < 0) || (uevent->minor < 0))
547 uevent->major, ueven
188 make_device(const char *path, const char *upath, int block, int major, int minor) argument
470 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.c1023 handler->token, req->major, req->minor, req->max_readahead, req->flags);
1024 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/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 6528 milliseconds