Home
last modified time | relevance | path

Searched refs:minor (Results 1 – 12 of 12) sorted by relevance

/system/vold/
DDirectVolume.cpp144 int minor = atoi(evt->findParam("MINOR")); in handleBlockEvent() local
149 major, minor); in handleBlockEvent()
150 if (createDeviceNode(nodepath, major, minor)) { in handleBlockEvent()
224 int minor = atoi(evt->findParam("MINOR")); in handlePartitionAdded() local
251 SLOGD("Dv:partAdd: part_num = %d, minor = %d\n", part_num, minor); in handlePartitionAdded()
258 mPartMinors[part_num -1] = minor; in handlePartitionAdded()
282 int minor = atoi(evt->findParam("MINOR")); in handleDiskChanged() local
284 if ((major != mDiskMajor) || (minor != mDiskMinor)) { in handleDiskChanged()
313 int minor = atoi(evt->findParam("MINOR")); in handlePartitionChanged() local
314 SLOGD("Volume %s %s partition %d:%d changed\n", getLabel(), getMountpoint(), major, minor); in handlePartitionChanged()
[all …]
DDevmapper.cpp160 unsigned minor = (io->dev & 0xff) | ((io->dev >> 12) & 0xfff00); in lookupActive() local
162 snprintf(ubuffer, len, "/dev/block/dm-%u", minor); in lookupActive()
217 unsigned minor = (io->dev & 0xff) | ((io->dev >> 12) & 0xfff00); in create() local
218 snprintf(ubuffer, len, "/dev/block/dm-%u", minor); in create()
DVolume.cpp221 int Volume::createDeviceNode(const char *path, int major, int minor) { in createDeviceNode() argument
223 dev_t dev = (major << 8) | minor; in createDeviceNode()
263 major(diskNode), minor(diskNode)); in formatVol()
272 major(partNode), minor(partNode)); in formatVol()
419 minor(deviceNodes[i])); in mountVol()
DVolume.h103 int createDeviceNode(const char *path, int major, int minor);
Dcryptfs.h235 int cryptfs_setup_volume(const char *label, int major, int minor,
Dcryptfs.c1079 unsigned int minor; local
1106 minor = (io->dev & 0xff) | ((io->dev >> 12) & 0xfff00);
1107 snprintf(crypto_blk_name, MAXPATHLEN, "/dev/block/dm-%u", minor);
1898 int cryptfs_setup_volume(const char *label, int major, int minor, argument
1907 sprintf(real_blkdev, "/dev/block/vold/%d:%d", major, minor);
DVolumeManager.cpp1579 major(d), minor(d)); in shareVolume()
1701 "/dev/block/vold/%d:%d", major(d), minor(d)); in getDirectVolumeList()
/system/core/toolbox/
Dmknod.c44 int minor = 0; in mknod_main() local
87 minor = atoi(argv[4]); in mknod_main()
90 if (mknod(path, mode, makedev(major, minor))) { in mknod_main()
/system/core/init/
Ddevices.c71 int minor; member
236 int block, int major, int minor, in make_device() argument
252 dev = makedev(major, minor); in make_device()
395 uevent->minor = -1; in parse_event()
419 uevent->minor = atoi(msg); in parse_event()
438 uevent->firmware, uevent->major, uevent->minor); in parse_event()
559 const char *path, int block, int major, int minor, char **links) in handle_device() argument
564 make_device(devpath, path, block, major, minor, (const char **)links); in handle_device()
601 if((uevent->major < 0) || (uevent->minor < 0)) in parse_device_name()
638 uevent->major, uevent->minor, links); in handle_block_device_event()
[all …]
/system/extras/showslab/
Dshowslab.c65 unsigned int major, minor; in get_slabinfo() local
78 if (sscanf(line, "slabinfo - version: %u.%u", &major, &minor) != 2) { in get_slabinfo()
83 if (major != 2 || minor > 1) { in get_slabinfo()
/system/core/adb/
Dusb_linux.c277 major(st.st_rdev), minor(st.st_rdev)); in find_usb_device()
/system/core/sdcard/
Dsdcard.c1465 handler->token, req->major, req->minor, req->max_readahead, req->flags); in handle_init()
1467 out.minor = FUSE_KERNEL_MINOR_VERSION; in handle_init()