Home
last modified time | relevance | path

Searched refs:isBlock (Results 1 – 2 of 2) sorted by relevance

/base/startup/init/ueventd/
Dueventd_device_handler.c148 …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/
Dueventd_event_unittest.cpp341 bool isBlock = S_ISBLK(st.st_mode); variable
342 EXPECT_TRUE(isBlock);