/system/vold/ |
H A D | DirectVolume.cpp | 105 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 D | Volume.h | 62 * The major/minor tuple of the currently mounted filesystem. 103 int createDeviceNode(const char *path, int major, int minor);
|
H A D | cryptfs.h | 99 * 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 D | Volume.cpp | 221 int Volume::createDeviceNode(const char *path, int major, int minor) { argument 223 dev_t dev = (major << 8) | minor;
|
H A D | cryptfs.c | 418 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 D | umount.c | 20 if (S_ISBLK(st.st_mode) && (major(st.st_rdev) == LOOP_MAJOR)) {
|
H A D | lsof.c | 105 int major, minor; local
|
/system/core/sdcard/ |
H A D | fuse.h | 60 * 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 D | sdcard.c | 1406 handler->token, req->major, req->minor, req->max_readahead, req->flags); 1407 out.major = FUSE_KERNEL_VERSION;
|
/system/extras/showslab/ |
H A D | showslab.c | 65 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 D | devices.c | 66 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 D | usb_linux.c | 168 * 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 D | usb_linux.c | 277 major(st.st_rdev), minor(st.st_rdev));
|