Lines Matching defs:datum
71 struct avtab_key *key, struct avtab_datum *datum)
86 *xperms = *(datum->u.xperms);
87 newnode->datum.u.xperms = xperms;
89 newnode->datum.u.data = datum->u.data;
106 static int avtab_insert(struct avtab *h, struct avtab_key *key, struct avtab_datum *datum)
139 newnode = avtab_insert_node(h, hvalue, prev, cur, key, datum);
151 avtab_insert_nonunique(struct avtab *h, struct avtab_key *key, struct avtab_datum *datum)
178 return avtab_insert_node(h, hvalue, prev, cur, key, datum);
197 return &cur->datum;
292 temp->datum.u.xperms);
407 struct avtab_datum datum;
414 memset(&datum, 0, sizeof(struct avtab_datum));
474 datum.u.data = le32_to_cpu(buf32[items++]);
475 rc = insertf(a, &key, &datum, p);
543 datum.u.xperms = &xperms;
550 datum.u.data = le32_to_cpu(*buf32);
553 !policydb_type_isvalid(pol, datum.u.data)) {
557 return insertf(a, &key, &datum, p);
613 __le32 buf32[ARRAY_SIZE(cur->datum.u.xperms->perms.p)];
626 rc = put_entry(&cur->datum.u.xperms->specified, sizeof(u8), 1, fp);
629 rc = put_entry(&cur->datum.u.xperms->driver, sizeof(u8), 1, fp);
632 for (i = 0; i < ARRAY_SIZE(cur->datum.u.xperms->perms.p); i++)
633 buf32[i] = cpu_to_le32(cur->datum.u.xperms->perms.p[i]);
635 ARRAY_SIZE(cur->datum.u.xperms->perms.p), fp);
637 buf32[0] = cpu_to_le32(cur->datum.u.data);