Home
last modified time | relevance | path

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

/third_party/selinux/libselinux/src/
Dmatchpathcon.c188 static file_spec_t *fl_head; variable
203 if (!fl_head) { in matchpathcon_filespec_add()
204 fl_head = malloc(sizeof(file_spec_t) * HASH_BUCKETS); in matchpathcon_filespec_add()
205 if (!fl_head) in matchpathcon_filespec_add()
207 memset(fl_head, 0, sizeof(file_spec_t) * HASH_BUCKETS); in matchpathcon_filespec_add()
211 for (prevfl = &fl_head[h], fl = fl_head[h].next; fl; in matchpathcon_filespec_add()
274 if (!fl_head) in matchpathcon_filespec_eval()
282 for (fl = fl_head[h].next; fl; fl = fl->next) { in matchpathcon_filespec_eval()
307 if (!fl_head) in matchpathcon_filespec_destroy()
311 fl = fl_head[h].next; in matchpathcon_filespec_destroy()
[all …]
Dselinux_restorecon.c413 static file_spec_t *fl_head; variable
427 if (!fl_head) { in filespec_add()
428 fl_head = malloc(sizeof(file_spec_t) * HASH_BUCKETS); in filespec_add()
429 if (!fl_head) in filespec_add()
431 memset(fl_head, 0, sizeof(file_spec_t) * HASH_BUCKETS); in filespec_add()
435 for (prevfl = &fl_head[h], fl = fl_head[h].next; fl; in filespec_add()
503 if (!fl_head) in filespec_eval()
511 for (fl = fl_head[h].next; fl; fl = fl->next) in filespec_eval()
538 if (!fl_head) in filespec_destroy()
542 fl = fl_head[h].next; in filespec_destroy()
[all …]