Home | History | Annotate | Download | only in src

Lines Matching refs:pf

14 	policy_file_t pf;
16 policy_file_init(&pf);
17 pf.type = PF_USE_MEMORY;
18 pf.data = data;
19 pf.len = len;
20 pf.handle = handle;
22 if (policydb_read(policydb, &pf, 0)) {
40 policy_file_t pf;
44 policy_file_init(&pf);
45 pf.type = PF_LEN;
46 pf.handle = handle;
47 if (policydb_write(policydb, &pf)) {
54 pf.type = PF_USE_MEMORY;
55 pf.data = malloc(pf.len);
56 if (!pf.data) {
62 tmp_len = pf.len;
63 tmp_data = pf.data;
66 if (policydb_write(policydb, &pf)) {
73 pf.type = PF_USE_MEMORY;
74 pf.data = tmp_data;
75 pf.len = tmp_len;
81 if (policydb_read(&tmp_policydb, &pf, 0)) {