OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:device_fd
(Results
1 - 2
of
2
) sorted by null
/system/extras/tests/uevents/
uevents.c
24
int
device_fd
;
local
29
device_fd
= uevent_open_socket(64*1024, true);
30
if(
device_fd
< 0)
33
while ((n = uevent_kernel_multicast_recv(
device_fd
, msg, UEVENT_MSG_LEN)) > 0) {
/system/vold/
Loop.cpp
69
unique_fd
device_fd
(open(out_device.c_str(), O_RDWR | O_CLOEXEC));
70
if (
device_fd
.get() == -1) {
75
if (ioctl(
device_fd
.get(), LOOP_SET_FD, target_fd.get()) == -1) {
83
if (ioctl(
device_fd
.get(), LOOP_SET_STATUS64, &li) == -1) {
92
int
device_fd
;
local
94
device_fd
= open(loopDevice, O_RDONLY | O_CLOEXEC);
95
if (
device_fd
< 0) {
100
if (ioctl(
device_fd
, LOOP_CLR_FD, 0) < 0) {
102
close(
device_fd
);
106
close(
device_fd
);
[
all
...]
Completed in 1045 milliseconds