Searched refs:state_fd (Results 1 – 4 of 4) sorted by relevance
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 315 THREAD_LOCAL int state_fd = -2; in get_clock() local 326 if (state_fd == -2) { in get_clock() 328 state_fd = open("/var/lib/libuuid/clock.txt", in get_clock() 331 if (state_fd >= 0) { in get_clock() 332 state_f = fdopen(state_fd, "r+"); in get_clock() 334 close(state_fd); in get_clock() 335 state_fd = -1; in get_clock() 345 if (state_fd >= 0) { in get_clock() 347 while (fcntl(state_fd, F_SETLKW, &fl) < 0) { in get_clock() 351 state_fd = -1; in get_clock() [all …]
|
/external/adhd/cras/src/server/ |
D | cras_playback_rclient.c | 85 int state_fd; in cras_playback_rclient_create() local 99 state_fd = cras_sys_state_shm_fd(); in cras_playback_rclient_create() 100 client->ops->send_message_to_client(client, &msg.header, &state_fd, 1); in cras_playback_rclient_create()
|
D | cras_capture_rclient.c | 85 int state_fd; in cras_capture_rclient_create() local 99 state_fd = cras_sys_state_shm_fd(); in cras_capture_rclient_create() 100 client->ops->send_message_to_client(client, &msg.header, &state_fd, 1); in cras_capture_rclient_create()
|
D | cras_control_rclient.c | 536 int state_fd; in cras_control_rclient_create() local 551 state_fd = cras_sys_state_shm_fd(); in cras_control_rclient_create() 552 client->ops->send_message_to_client(client, &msg.header, &state_fd, 1); in cras_control_rclient_create()
|