Lines Matching refs:evt
132 int DirectVolume::handleBlockEvent(NetlinkEvent *evt) { in handleBlockEvent() argument
133 const char *dp = evt->findParam("DEVPATH"); in handleBlockEvent()
139 int action = evt->getAction(); in handleBlockEvent()
140 const char *devtype = evt->findParam("DEVTYPE"); in handleBlockEvent()
143 int major = atoi(evt->findParam("MAJOR")); in handleBlockEvent()
144 int minor = atoi(evt->findParam("MINOR")); in handleBlockEvent()
155 handleDiskAdded(dp, evt); in handleBlockEvent()
157 handlePartitionAdded(dp, evt); in handleBlockEvent()
171 handleDiskRemoved(dp, evt); in handleBlockEvent()
173 handlePartitionRemoved(dp, evt); in handleBlockEvent()
177 handleDiskChanged(dp, evt); in handleBlockEvent()
179 handlePartitionChanged(dp, evt); in handleBlockEvent()
193 NetlinkEvent *evt) { in handleDiskAdded() argument
194 mDiskMajor = atoi(evt->findParam("MAJOR")); in handleDiskAdded()
195 mDiskMinor = atoi(evt->findParam("MINOR")); in handleDiskAdded()
197 const char *tmp = evt->findParam("NPARTS"); in handleDiskAdded()
222 void DirectVolume::handlePartitionAdded(const char *devpath, NetlinkEvent *evt) { in handlePartitionAdded() argument
223 int major = atoi(evt->findParam("MAJOR")); in handlePartitionAdded()
224 int minor = atoi(evt->findParam("MINOR")); in handlePartitionAdded()
228 const char *tmp = evt->findParam("PARTN"); in handlePartitionAdded()
280 NetlinkEvent *evt) { in handleDiskChanged() argument
281 int major = atoi(evt->findParam("MAJOR")); in handleDiskChanged()
282 int minor = atoi(evt->findParam("MINOR")); in handleDiskChanged()
289 const char *tmp = evt->findParam("NPARTS"); in handleDiskChanged()
311 NetlinkEvent *evt) { in handlePartitionChanged() argument
312 int major = atoi(evt->findParam("MAJOR")); in handlePartitionChanged()
313 int minor = atoi(evt->findParam("MINOR")); in handlePartitionChanged()
318 NetlinkEvent *evt) { in handleDiskRemoved() argument
319 int major = atoi(evt->findParam("MAJOR")); in handleDiskRemoved()
320 int minor = atoi(evt->findParam("MINOR")); in handleDiskRemoved()
337 NetlinkEvent *evt) { in handlePartitionRemoved() argument
338 int major = atoi(evt->findParam("MAJOR")); in handlePartitionRemoved()
339 int minor = atoi(evt->findParam("MINOR")); in handlePartitionRemoved()