Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 7 of 7) 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.cpp117 atomic_uint_least32_t serial; member
125 atomic_init(&serial, 0); in prop_area()
136 atomic_uint_least32_t serial; member
144 atomic_init(&this->serial, valuelen << 24); in prop_info()
608 return atomic_load_explicit(&(pa->serial), memory_order_acquire); in __system_property_area_serial()
634 uint32_t serial = __system_property_serial(pi); // acquire semantics in __system_property_read() local
635 size_t len = SERIAL_VALUE_LEN(serial); in __system_property_read()
646 if (serial == in __system_property_read()
647 load_const_atomic(&(pi->serial), memory_order_relaxed)) { in __system_property_read()
696 uint32_t serial = atomic_load_explicit(&pi->serial, memory_order_relaxed); in __system_property_update() local
[all …]
/bionic/libc/include/sys/
D_system_properties.h48 #define SERIAL_VALUE_LEN(serial) ((serial) >> 24) argument
49 #define SERIAL_DIRTY(serial) ((serial) & 1) argument
155 unsigned int __system_property_wait_any(unsigned int serial);
/bionic/tests/
Dsystem_properties_test.cpp345 TEST(properties, serial) { in TEST() argument
350 unsigned int serial; in TEST() local
354 serial = __system_property_serial(pi); in TEST()
356 ASSERT_NE(serial, __system_property_serial(pi)); in TEST()
366 unsigned int serial; in TEST() local
372 serial = __system_property_wait_any(0); in TEST()
376 serial = __system_property_wait_any(serial); in TEST()
380 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.h156 unsigned int serial; member