Searched refs:datum (Results 1 – 8 of 8) sorted by relevance
/security/selinux/ss/ |
D | avtab.c | 71 struct avtab_key *key, struct avtab_datum *datum) in avtab_insert_node() argument 86 *xperms = *(datum->u.xperms); in avtab_insert_node() 87 newnode->datum.u.xperms = xperms; in avtab_insert_node() 89 newnode->datum.u.data = datum->u.data; in avtab_insert_node() 106 static int avtab_insert(struct avtab *h, struct avtab_key *key, struct avtab_datum *datum) in avtab_insert() argument 139 newnode = avtab_insert_node(h, hvalue, prev, cur, key, datum); in avtab_insert() 151 avtab_insert_nonunique(struct avtab *h, struct avtab_key *key, struct avtab_datum *datum) in avtab_insert_nonunique() argument 178 return avtab_insert_node(h, hvalue, prev, cur, key, datum); in avtab_insert_nonunique() 197 return &cur->datum; in avtab_search() 292 temp->datum.u.xperms); in avtab_destroy() [all …]
|
D | policydb.c | 185 static int perm_destroy(void *key, void *datum, void *p) in perm_destroy() argument 188 kfree(datum); in perm_destroy() 192 static int common_destroy(void *key, void *datum, void *p) in common_destroy() argument 197 if (datum) { in common_destroy() 198 comdatum = datum; in common_destroy() 202 kfree(datum); in common_destroy() 219 static int cls_destroy(void *key, void *datum, void *p) in cls_destroy() argument 226 if (datum) { in cls_destroy() 227 cladatum = datum; in cls_destroy() 257 kfree(datum); in cls_destroy() [all …]
|
D | hashtab.c | 42 int hashtab_insert(struct hashtab *h, void *key, void *datum) in hashtab_insert() argument 67 newnode->datum = datum; in hashtab_insert() 96 return cur->datum; in hashtab_search() 137 ret = apply(cur->key, cur->datum, args); in hashtab_map()
|
D | conditional.h | 65 int cond_destroy_bool(void *key, void *datum, void *p); 67 int cond_index_bool(void *key, void *datum, void *datap); 71 int cond_write_bool(void *key, void *datum, void *ptr);
|
D | conditional.c | 185 int cond_destroy_bool(void *key, void *datum, void *p) in cond_destroy_bool() argument 188 kfree(datum); in cond_destroy_bool() 192 int cond_index_bool(void *key, void *datum, void *datap) in cond_index_bool() argument 197 booldatum = datum; in cond_index_bool() 489 int cond_write_bool(void *vkey, void *datum, void *ptr) in cond_write_bool() argument 492 struct cond_bool_datum *booldatum = datum; in cond_write_bool() 644 avd->allowed |= node->datum.u.data; in cond_compute_av() 652 avd->auditdeny &= node->datum.u.data; in cond_compute_av() 655 avd->auditallow |= node->datum.u.data; in cond_compute_av()
|
D | avtab.h | 79 struct avtab_datum datum; member 107 struct avtab_datum *datum);
|
D | services.c | 594 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { in services_compute_xperms_drivers() 597 xperms->drivers.p[i] |= node->datum.u.xperms->perms.p[i]; in services_compute_xperms_drivers() 598 } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_drivers() 601 node->datum.u.xperms->driver); in services_compute_xperms_drivers() 662 avd->allowed |= node->datum.u.data; in context_struct_compute_av() 664 avd->auditallow |= node->datum.u.data; in context_struct_compute_av() 666 avd->auditdeny &= node->datum.u.data; in context_struct_compute_av() 949 if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLFUNCTION) { in services_compute_xperms_decision() 950 if (xpermd->driver != node->datum.u.xperms->driver) in services_compute_xperms_decision() 952 } else if (node->datum.u.xperms->specified == AVTAB_XPERMS_IOCTLDRIVER) { in services_compute_xperms_decision() [all …]
|
D | hashtab.h | 18 void *datum; member
|