• Home
  • Raw
  • Download

Lines Matching refs:e

222 	struct constraint_expr *e, *etmp;  in cls_destroy()  local
231 e = constraint->expr; in cls_destroy()
232 while (e) { in cls_destroy()
233 etmp = e; in cls_destroy()
234 e = e->next; in cls_destroy()
244 e = constraint->expr; in cls_destroy()
245 while (e) { in cls_destroy()
246 etmp = e; in cls_destroy()
247 e = e->next; in cls_destroy()
1205 struct constraint_expr *e, *le; in read_cons_helper() local
1229 e = kzalloc(sizeof(*e), GFP_KERNEL); in read_cons_helper()
1230 if (!e) in read_cons_helper()
1234 le->next = e; in read_cons_helper()
1236 c->expr = e; in read_cons_helper()
1241 e->expr_type = le32_to_cpu(buf[0]); in read_cons_helper()
1242 e->attr = le32_to_cpu(buf[1]); in read_cons_helper()
1243 e->op = le32_to_cpu(buf[2]); in read_cons_helper()
1245 switch (e->expr_type) { in read_cons_helper()
1262 if (!allowxtarget && (e->attr & CEXPR_XTARGET)) in read_cons_helper()
1267 rc = ebitmap_read(&e->names, fp); in read_cons_helper()
1272 e->type_names = kzalloc(sizeof in read_cons_helper()
1273 (*e->type_names), GFP_KERNEL); in read_cons_helper()
1274 if (!e->type_names) in read_cons_helper()
1276 type_set_init(e->type_names); in read_cons_helper()
1277 rc = type_set_read(e->type_names, fp); in read_cons_helper()
1285 le = e; in read_cons_helper()
2698 struct ebitmap *e = &p->type_attr_map_array[i]; in policydb_read() local
2701 rc = ebitmap_read(e, fp); in policydb_read()
2706 rc = ebitmap_set_bit(e, i, 1); in policydb_read()
3006 struct constraint_expr *e; in write_cons_helper() local
3013 for (e = c->expr; e; e = e->next) in write_cons_helper()
3020 for (e = c->expr; e; e = e->next) { in write_cons_helper()
3021 buf[0] = cpu_to_le32(e->expr_type); in write_cons_helper()
3022 buf[1] = cpu_to_le32(e->attr); in write_cons_helper()
3023 buf[2] = cpu_to_le32(e->op); in write_cons_helper()
3028 switch (e->expr_type) { in write_cons_helper()
3030 rc = ebitmap_write(&e->names, fp); in write_cons_helper()
3035 rc = type_set_write(e->type_names, fp); in write_cons_helper()
3740 struct ebitmap *e = &p->type_attr_map_array[i]; in policydb_write() local
3742 rc = ebitmap_write(e, fp); in policydb_write()