Home
last modified time | relevance | path

Searched refs:device_number (Results 1 – 7 of 7) sorted by relevance

/external/libbrillo/brillo/blkdev_utils/
Dloop_device_fake.cc28 int device_number; in ParseLoopDeviceNumber() local
32 base::StringToInt(path_string.substr(9), &device_number) in ParseLoopDeviceNumber()
33 ? device_number in ParseLoopDeviceNumber()
37 base::FilePath GetLoopDevicePath(int device_number) { in GetLoopDevicePath() argument
38 return base::FilePath(base::StringPrintf("/dev/loop%d", device_number)); in GetLoopDevicePath()
45 int device_number = ParseLoopDeviceNumber(path); in StubIoctlRunner() local
53 if (loop_device_vector.size() <= device_number || in StubIoctlRunner()
54 loop_device_vector[device_number].valid == false) in StubIoctlRunner()
57 memcpy(info, &loop_device_vector[device_number].info, in StubIoctlRunner()
61 if (loop_device_vector.size() <= device_number || in StubIoctlRunner()
[all …]
Dloop_device.cc65 int device_number = -1; in GetDeviceNumber() local
79 base::StringToInt(device_ids[1], &device_number); in GetDeviceNumber()
80 return device_number; in GetDeviceNumber()
99 base::FilePath CreateDevicePath(int device_number) { in CreateDevicePath() argument
100 return base::FilePath(base::StringPrintf("/dev/loop%d", device_number)); in CreateDevicePath()
105 LoopDevice::LoopDevice(int device_number, in LoopDevice() argument
108 : device_number_(device_number), in LoopDevice()
167 int device_number = -1; in AttachDeviceToFile() local
169 device_number = in AttachDeviceToFile()
173 if (device_number < 0) { in AttachDeviceToFile()
[all …]
Dloop_device.h39 LoopDevice(int device_number,
94 std::unique_ptr<LoopDevice> GetAttachedDeviceByNumber(int device_number);
103 int device_number = -1);
109 int device_number, const base::FilePath& backing_file);
Dloop_device_fake.h31 int device_number = -1) override;
/external/libbrillo/brillo/udev/
Dudev.cc64 char type, dev_t device_number) { in CreateDeviceFromDeviceNumber() argument
65 udev_device* device = udev_device_new_from_devnum(udev_, type, device_number); in CreateDeviceFromDeviceNumber()
72 udev_, type, device_number); in CreateDeviceFromDeviceNumber()
Dudev.h38 char type, dev_t device_number);
/external/libabigail/tests/data/test-read-dwarf/
Dtest16-pr18904.so.abi2860 …<var-decl name='device_number' type-id='type-id-25' visibility='default' filepath='../../../gcc/li…