OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:device_fd
(Results
1 - 3
of
3
) sorted by null
/system/core/toolbox/
mount.c
153
int file_fd,
device_fd
;
local
163
device_fd
= open(loopdev, flags);
164
if (
device_fd
< 0) {
169
if (ioctl(
device_fd
, LOOP_SET_FD, file_fd) < 0) {
172
close(
device_fd
);
177
close(
device_fd
);
/system/vold/
Loop.cpp
212
int
device_fd
;
local
214
device_fd
= open(loopDevice, O_RDONLY);
215
if (
device_fd
< 0) {
220
if (ioctl(
device_fd
, LOOP_CLR_FD, 0) < 0) {
222
close(
device_fd
);
226
close(
device_fd
);
/system/core/init/
devices.c
56
static int
device_fd
= -1;
variable
812
while ((n = uevent_kernel_multicast_recv(
device_fd
, msg, UEVENT_MSG_LEN)) > 0) {
891
device_fd
= uevent_open_socket(256*1024, true);
892
if(
device_fd
< 0)
895
fcntl(
device_fd
, F_SETFD, FD_CLOEXEC);
896
fcntl(
device_fd
, F_SETFL, O_NONBLOCK);
914
return
device_fd
;
Completed in 84 milliseconds