Home
last modified time | relevance | path

Searched refs:buf16 (Results 1 – 2 of 2) sorted by relevance

/external/libsepol/src/
Davtab.c373 uint16_t buf16[4], enabled; in avtab_read_item() local
454 rc = next_entry(buf16, fp, sizeof(uint16_t) * 4); in avtab_read_item()
460 key.source_type = le16_to_cpu(buf16[items++]); in avtab_read_item()
461 key.target_type = le16_to_cpu(buf16[items++]); in avtab_read_item()
462 key.target_class = le16_to_cpu(buf16[items++]); in avtab_read_item()
463 key.specified = le16_to_cpu(buf16[items++]); in avtab_read_item()
Dwrite.c104 uint16_t buf16[4]; in avtab_write_item() local
216 buf16[0] = cpu_to_le16(cur->key.source_type); in avtab_write_item()
217 buf16[1] = cpu_to_le16(cur->key.target_type); in avtab_write_item()
218 buf16[2] = cpu_to_le16(cur->key.target_class); in avtab_write_item()
219 buf16[3] = cpu_to_le16(cur->key.specified); in avtab_write_item()
220 items = put_entry(buf16, sizeof(uint16_t), 4, fp); in avtab_write_item()