Searched refs:isBlock (Results 1 – 2 of 2) sorted by relevance
/base/startup/init/ueventd/ |
D | ueventd_device_handler.c | 148 …reateDeviceNode(const struct Uevent *uevent, const char *deviceNode, char **symLinks, bool isBlock) in CreateDeviceNode() argument 181 mode |= isBlock ? S_IFBLK : S_IFCHR; in CreateDeviceNode() 356 static void HandleDeviceNode(const struct Uevent *uevent, const char *deviceNode, bool isBlock) in HandleDeviceNode() argument 364 if (isBlock) { in HandleDeviceNode() 369 if (CreateDeviceNode(uevent, deviceNode, symLinks, isBlock) < 0) { in HandleDeviceNode() 468 bool isBlock = true; in HandleBlockDeviceEvent() local 491 HandleDeviceNode(uevent, deviceNode, isBlock); in HandleBlockDeviceEvent()
|
/base/startup/init/test/unittest/ueventd/ |
D | ueventd_event_unittest.cpp | 341 bool isBlock = S_ISBLK(st.st_mode); variable 342 EXPECT_TRUE(isBlock);
|