OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:state_fd
(Results
1 - 2
of
2
) sorted by null
/external/e2fsprogs/lib/uuid/
gen_uuid.c
314
THREAD_LOCAL int
state_fd
= -2;
local
323
if (
state_fd
== -2) {
325
state_fd
= open("/var/lib/libuuid/clock.txt",
328
state_f = fdopen(
state_fd
, "r+");
330
close(
state_fd
);
331
state_fd
= -1;
339
if (
state_fd
>= 0) {
341
while (fcntl(
state_fd
, F_SETLKW, &fl) < 0) {
345
close(
state_fd
);
346
state_fd
= -1
[
all
...]
/system/core/libsuspend/
autosuspend_wakeup_count.c
36
static int
state_fd
;
variable
81
ret = write(
state_fd
, sleep_state, strlen(sleep_state));
160
state_fd
= open(SYS_POWER_STATE, O_RDWR);
161
if (
state_fd
< 0) {
195
close(
state_fd
);
Completed in 114 milliseconds