Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dmatchpathcon.c182 static file_spec_t *fl_head; variable
197 if (!fl_head) { in matchpathcon_filespec_add()
198 fl_head = malloc(sizeof(file_spec_t) * HASH_BUCKETS); in matchpathcon_filespec_add()
199 if (!fl_head) in matchpathcon_filespec_add()
201 memset(fl_head, 0, sizeof(file_spec_t) * HASH_BUCKETS); in matchpathcon_filespec_add()
205 for (prevfl = &fl_head[h], fl = fl_head[h].next; fl; in matchpathcon_filespec_add()
268 if (!fl_head) in matchpathcon_filespec_eval()
276 for (fl = fl_head[h].next; fl; fl = fl->next) { in matchpathcon_filespec_eval()
301 if (!fl_head) in matchpathcon_filespec_destroy()
305 fl = fl_head[h].next; in matchpathcon_filespec_destroy()
[all …]
Dselinux_restorecon.c414 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()
498 if (!fl_head) in filespec_eval()
506 for (fl = fl_head[h].next; fl; fl = fl->next) in filespec_eval()
533 if (!fl_head) in filespec_destroy()
537 fl = fl_head[h].next; in filespec_destroy()
[all …]