Searched defs:minor (Results 1 - 8 of 8) sorted by relevance

/system/core/toolbox/
H A Dlsof.c105 int major, minor; local
/system/vold/
H A DDevmapper.cpp160 unsigned minor = (io->dev & 0xff) | ((io->dev >> 12) & 0xfff00); local
162 snprintf(ubuffer, len, "/dev/block/dm-%u", minor);
217 unsigned minor = (io->dev & 0xff) | ((io->dev >> 12) & 0xfff00); local
218 snprintf(ubuffer, len, "/dev/block/dm-%u", minor);
H A DDirectVolume.cpp101 int minor = atoi(evt->findParam("MINOR")); local
106 major, minor);
107 if (createDeviceNode(nodepath, major, minor)) {
184 int minor = atoi(evt->findParam("MINOR")); local
211 SLOGD("Dv:partAdd: part_num = %d, minor = %d\n", part_num, minor);
216 mPartMinors[part_num -1] = minor;
240 int minor = atoi(evt->findParam("MINOR")); local
242 if ((major != mDiskMajor) || (minor != mDiskMinor)) {
273 int minor local
279 int minor = atoi(evt->findParam("MINOR")); local
297 int minor = atoi(evt->findParam("MINOR")); local
[all...]
H A DVolume.cpp199 int Volume::createDeviceNode(const char *path, int major, int minor) { argument
201 dev_t dev = (major << 8) | minor;
367 * majore and minor numbers for it. So, create the device, update the
H A Dcryptfs.c314 SLOGW("Warning: crypto footer minor version %d, expected 0, continuing...\n",
388 unsigned int minor; local
412 minor = (io->dev & 0xff) | ((io->dev >> 12) & 0xfff00);
413 snprintf(crypto_blk_name, MAXPATHLEN, "/dev/block/dm-%u", minor);
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/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.c71 int minor; member in struct:uevent
190 int block, int major, int minor)
207 dev = makedev(major, minor);
312 uevent->minor = -1;
336 uevent->minor = 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, uevent->minor, link
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/sdcard/
H A Dfuse.h61 * of the two minor versions for communication.
71 * supported minor version).
454 __u32 minor; member in struct:fuse_init_in
461 __u32 minor; member in struct:fuse_init_out
473 __u32 minor; member in struct:cuse_init_in
480 __u32 minor; member in struct:cuse_init_out
486 __u32 dev_minor; /* chardev minor */

Completed in 58 milliseconds