Lines Matching refs:datum
93 avtab_datum_t * datum) in avtab_insert_node() argument
110 if (datum->xperms) /* else caller populates xperms */ in avtab_insert_node()
111 *xperms = *(datum->xperms); in avtab_insert_node()
113 newnode->datum.xperms = xperms; in avtab_insert_node()
118 newnode->datum.data = datum->data; in avtab_insert_node()
120 newnode->datum = *datum; in avtab_insert_node()
135 int avtab_insert(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert() argument
168 newnode = avtab_insert_node(h, hvalue, prev, key, datum); in avtab_insert()
180 avtab_insert_nonunique(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert_nonunique() argument
207 newnode = avtab_insert_node(h, hvalue, prev, key, datum); in avtab_insert_nonunique()
228 return &cur->datum; in avtab_search()
318 free(cur->datum.xperms); in avtab_destroy()
346 ret = apply(&cur->key, &cur->datum, args); in avtab_map()
441 avtab_datum_t datum; in avtab_read_item() local
448 memset(&datum, 0, sizeof(avtab_datum_t)); in avtab_read_item()
506 datum.data = le32_to_cpu(buf32[items++]); in avtab_read_item()
507 rc = insertf(a, &key, &datum, p); in avtab_read_item()
567 datum.xperms = &xperms; in avtab_read_item()
574 datum.data = le32_to_cpu(*buf32); in avtab_read_item()
576 return insertf(a, &key, &datum, p); in avtab_read_item()