Home
last modified time | relevance | path

Searched refs:ebitmap (Results 1 – 10 of 10) sorted by relevance

/linux-4.1.27/security/selinux/ss/
Debitmap.h39 struct ebitmap { struct
46 static inline unsigned int ebitmap_start_positive(struct ebitmap *e, in ebitmap_start_positive() argument
59 static inline void ebitmap_init(struct ebitmap *e) in ebitmap_init()
64 static inline unsigned int ebitmap_next_positive(struct ebitmap *e, in ebitmap_next_positive()
124 int ebitmap_cmp(struct ebitmap *e1, struct ebitmap *e2);
125 int ebitmap_cpy(struct ebitmap *dst, struct ebitmap *src);
126 int ebitmap_contains(struct ebitmap *e1, struct ebitmap *e2, u32 last_e2bit);
127 int ebitmap_get_bit(struct ebitmap *e, unsigned long bit);
128 int ebitmap_set_bit(struct ebitmap *e, unsigned long bit, int value);
129 void ebitmap_destroy(struct ebitmap *e);
[all …]
Dpolicydb.h83 struct ebitmap dominates; /* set of roles dominated by this role */
84 struct ebitmap types; /* set of authorized types for role */
124 struct ebitmap roles; /* set of authorized roles for user */
162 struct ebitmap types;
163 struct ebitmap negset;
259 struct ebitmap filename_trans_ttypes;
288 struct ebitmap policycaps;
290 struct ebitmap permissive_map;
Debitmap.c27 int ebitmap_cmp(struct ebitmap *e1, struct ebitmap *e2) in ebitmap_cmp()
49 int ebitmap_cpy(struct ebitmap *dst, struct ebitmap *src) in ebitmap_cpy()
88 int ebitmap_netlbl_export(struct ebitmap *ebmap, in ebitmap_netlbl_export()
140 int ebitmap_netlbl_import(struct ebitmap *ebmap, in ebitmap_netlbl_import()
198 int ebitmap_contains(struct ebitmap *e1, struct ebitmap *e2, u32 last_e2bit) in ebitmap_contains()
239 int ebitmap_get_bit(struct ebitmap *e, unsigned long bit) in ebitmap_get_bit()
256 int ebitmap_set_bit(struct ebitmap *e, unsigned long bit, int value) in ebitmap_set_bit()
324 void ebitmap_destroy(struct ebitmap *e) in ebitmap_destroy()
343 int ebitmap_read(struct ebitmap *e, void *fp) in ebitmap_read()
445 int ebitmap_write(struct ebitmap *e, void *fp) in ebitmap_write()
Dconstraint.h50 struct ebitmap names; /* names */
Dmls_types.h22 struct ebitmap cat; /* category set */
Dmls.c39 struct ebitmap *e; in mls_compute_context_len()
93 struct ebitmap *e; in mls_sid_to_context()
468 struct ebitmap bitmap; in mls_convert_context()
Dpolicydb.c865 struct ebitmap *e; in policydb_destroy()
2474 p->type_attr_map_array = flex_array_alloc(sizeof(struct ebitmap), in policydb_read()
2487 struct ebitmap *e = flex_array_get(p->type_attr_map_array, i); in policydb_read()
3451 struct ebitmap *e = flex_array_get(p->type_attr_map_array, i); in policydb_write()
Dservices.c629 struct ebitmap *sattr, *tattr; in context_struct_compute_av()
/linux-4.1.27/security/selinux/
DMakefile9 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \
/linux-4.1.27/fs/btrfs/
Dscrub.c158 unsigned long *ebitmap; member
2347 __scrub_mark_bitmap(sparity, sparity->ebitmap, start, len); in scrub_parity_mark_sectors_error()
2649 nbits = bitmap_weight(sparity->ebitmap, sparity->nsectors); in scrub_free_parity()
2671 bitmap_or(sparity->ebitmap, sparity->ebitmap, sparity->dbitmap, in scrub_parity_bio_endio()
2689 if (!bitmap_andnot(sparity->dbitmap, sparity->dbitmap, sparity->ebitmap, in scrub_parity_check_and_repair()
2727 bitmap_or(sparity->ebitmap, sparity->ebitmap, sparity->dbitmap, in scrub_parity_check_and_repair()
2801 sparity->ebitmap = (void *)sparity->bitmap + bitmap_len; in scrub_raid56_parity()