Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/bionic/
Dsystem_properties_compat.c49 unsigned volatile serial; member
63 unsigned volatile serial; member
99 unsigned serial, len; in __system_property_read_compat() local
103 serial = pi->serial; in __system_property_read_compat()
104 while(SERIAL_DIRTY(serial)) { in __system_property_read_compat()
105 __futex_wait((volatile void *)&pi->serial, serial, NULL); in __system_property_read_compat()
106 serial = pi->serial; in __system_property_read_compat()
108 len = SERIAL_VALUE_LEN(serial); in __system_property_read_compat()
110 if(serial == pi->serial) { in __system_property_read_compat()
Dsystem_properties.cpp136 atomic_uint_least32_t *serial() { return &serial_; } in serial() function in prop_area
174 atomic_uint_least32_t serial; member
182 atomic_init(&this->serial, valuelen << 24); in prop_info()
1075 return atomic_load_explicit(pa->serial(), memory_order_acquire); in __system_property_area_serial()
1112 uint32_t serial = __system_property_serial(pi); // acquire semantics in __system_property_read() local
1113 size_t len = SERIAL_VALUE_LEN(serial); in __system_property_read()
1124 if (serial == in __system_property_read()
1125 load_const_atomic(&(pi->serial), memory_order_relaxed)) { in __system_property_read()
1178 uint32_t serial = atomic_load_explicit(&pi->serial, memory_order_relaxed); in __system_property_update() local
1179 serial |= 1; in __system_property_update()
[all …]
Dlibc_logging.cpp490 uint32_t serial; member
502 uint32_t serial = __system_property_serial(cache->pinfo); in refresh_cache() local
503 if (serial == cache->serial) { in refresh_cache()
506 cache->serial = serial; in refresh_cache()
529 static uint32_t serial; in __android_log_clockid() local
531 if (current_serial != serial) { in __android_log_clockid()
534 serial = current_serial; in __android_log_clockid()
/bionic/libc/include/sys/
D_system_properties.h49 #define SERIAL_VALUE_LEN(serial) ((serial) >> 24) argument
50 #define SERIAL_DIRTY(serial) ((serial) & 1) argument
156 unsigned int __system_property_wait_any(unsigned int serial);
/bionic/tests/
Dsystem_properties_test.cpp340 TEST(properties, serial) { in TEST() argument
345 unsigned int serial; in TEST() local
349 serial = __system_property_serial(pi); in TEST()
351 ASSERT_NE(serial, __system_property_serial(pi)); in TEST()
361 unsigned int serial; in TEST() local
367 serial = __system_property_wait_any(0); in TEST()
371 serial = __system_property_wait_any(serial); in TEST()
375 serial = __system_property_wait_any(serial); in TEST()
/bionic/libc/kernel/uapi/linux/
Dcapi.h75 __u8 serial[CAPI_SERIAL_LEN]; member
Dmedia.h30 char serial[40]; member
/bionic/libc/kernel/uapi/sound/
Dhdspm.h157 unsigned int serial; member
/bionic/libc/tzcode/
Dlocaltime.c1338 uint32_t serial = __system_property_serial(pi); in tzset_unlocked() local
1339 if (serial != s) { in tzset_unlocked()
1341 s = serial; in tzset_unlocked()