Lines Matching defs:datum
71 const struct avtab_key *key, const struct avtab_datum *datum)
86 *xperms = *(datum->u.xperms);
87 newnode->datum.u.xperms = xperms;
89 newnode->datum.u.data = datum->u.data;
107 const struct avtab_datum *datum)
140 newnode = avtab_insert_node(h, hvalue, prev, key, datum);
153 const struct avtab_datum *datum)
180 return avtab_insert_node(h, hvalue, prev, key, datum);
262 temp->datum.u.xperms);
379 struct avtab_datum datum;
386 memset(&datum, 0, sizeof(struct avtab_datum));
446 datum.u.data = le32_to_cpu(buf32[items++]);
447 rc = insertf(a, &key, &datum, p);
515 datum.u.xperms = &xperms;
522 datum.u.data = le32_to_cpu(*buf32);
525 !policydb_type_isvalid(pol, datum.u.data)) {
529 return insertf(a, &key, &datum, p);
585 __le32 buf32[ARRAY_SIZE(cur->datum.u.xperms->perms.p)];
598 rc = put_entry(&cur->datum.u.xperms->specified, sizeof(u8), 1, fp);
601 rc = put_entry(&cur->datum.u.xperms->driver, sizeof(u8), 1, fp);
604 for (i = 0; i < ARRAY_SIZE(cur->datum.u.xperms->perms.p); i++)
605 buf32[i] = cpu_to_le32(cur->datum.u.xperms->perms.p[i]);
607 ARRAY_SIZE(cur->datum.u.xperms->perms.p), fp);
609 buf32[0] = cpu_to_le32(cur->datum.u.data);