OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:device_fd
(Results
1 - 3
of
3
) sorted by null
/system/core/toolbox/
mount.c
140
int file_fd,
device_fd
;
local
151
device_fd
= open(LOOP_DEVICE, flags);
152
if (
device_fd
< -1) {
157
if (ioctl(
device_fd
, LOOP_SET_FD, file_fd) < 0) {
160
close(
device_fd
);
165
close(
device_fd
);
/system/vold/
Loop.cpp
208
int
device_fd
;
local
210
device_fd
= open(loopDevice, O_RDONLY);
211
if (
device_fd
< 0) {
216
if (ioctl(
device_fd
, LOOP_CLR_FD, 0) < 0) {
218
close(
device_fd
);
222
close(
device_fd
);
/system/core/init/
devices.c
45
static int
device_fd
= -1;
variable
599
ssize_t n = recvmsg(
device_fd
, &hdr, 0);
693
device_fd
= open_uevent_socket();
694
if(
device_fd
< 0)
697
fcntl(
device_fd
, F_SETFD, FD_CLOEXEC);
698
fcntl(
device_fd
, F_SETFL, O_NONBLOCK);
716
return
device_fd
;
Completed in 106 milliseconds