OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:device_fd
(Results
1 - 5
of
5
) 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/core/toolbox/
mount.c
172
int file_fd,
device_fd
;
local
182
device_fd
= open(loopdev, flags);
183
if (
device_fd
< 0) {
188
if (ioctl(
device_fd
, LOOP_SET_FD, file_fd) < 0) {
191
close(
device_fd
);
196
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
);
/external/chromium_org/content/browser/gamepad/
gamepad_platform_data_fetcher_linux.cc
118
int&
device_fd
= device_fds_[index];
local
122
CloseFileDescriptorIfValid(
device_fd
);
134
device_fd
= -1;
139
device_fd
= HANDLE_EINTR(open(node_path.c_str(), O_RDONLY | O_NONBLOCK));
140
if (
device_fd
< 0) {
/system/core/init/
devices.c
56
static int
device_fd
= -1;
variable
823
while ((n = uevent_kernel_multicast_recv(
device_fd
, msg, UEVENT_MSG_LEN)) > 0) {
902
device_fd
= uevent_open_socket(256*1024, true);
903
if(
device_fd
< 0)
906
fcntl(
device_fd
, F_SETFD, FD_CLOEXEC);
907
fcntl(
device_fd
, F_SETFL, O_NONBLOCK);
925
return
device_fd
;
Completed in 2339 milliseconds