Home
last modified time | relevance | path

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

/Linux-v4.19/security/selinux/ss/
Debitmap.h40 struct ebitmap { struct
47 static inline unsigned int ebitmap_start_positive(struct ebitmap *e, in ebitmap_start_positive() argument
60 static inline void ebitmap_init(struct ebitmap *e) in ebitmap_init()
65 static inline unsigned int ebitmap_next_positive(struct ebitmap *e, in ebitmap_next_positive()
125 int ebitmap_cmp(struct ebitmap *e1, struct ebitmap *e2);
126 int ebitmap_cpy(struct ebitmap *dst, struct ebitmap *src);
127 int ebitmap_contains(struct ebitmap *e1, struct ebitmap *e2, u32 last_e2bit);
128 int ebitmap_get_bit(struct ebitmap *e, unsigned long bit);
129 int ebitmap_set_bit(struct ebitmap *e, unsigned long bit, int value);
130 void ebitmap_destroy(struct ebitmap *e);
[all …]
Debitmap.c30 int ebitmap_cmp(struct ebitmap *e1, struct ebitmap *e2) in ebitmap_cmp()
52 int ebitmap_cpy(struct ebitmap *dst, struct ebitmap *src) in ebitmap_cpy()
91 int ebitmap_netlbl_export(struct ebitmap *ebmap, in ebitmap_netlbl_export()
143 int ebitmap_netlbl_import(struct ebitmap *ebmap, in ebitmap_netlbl_import()
201 int ebitmap_contains(struct ebitmap *e1, struct ebitmap *e2, u32 last_e2bit) in ebitmap_contains()
242 int ebitmap_get_bit(struct ebitmap *e, unsigned long bit) in ebitmap_get_bit()
259 int ebitmap_set_bit(struct ebitmap *e, unsigned long bit, int value) in ebitmap_set_bit()
327 void ebitmap_destroy(struct ebitmap *e) in ebitmap_destroy()
346 int ebitmap_read(struct ebitmap *e, void *fp) in ebitmap_read()
450 int ebitmap_write(struct ebitmap *e, void *fp) in ebitmap_write()
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;
270 struct ebitmap filename_trans_ttypes;
299 struct ebitmap policycaps;
301 struct ebitmap permissive_map;
Dconstraint.h51 struct ebitmap names; /* names */
Dmls_types.h23 struct ebitmap cat; /* category set */
Dmls.c40 struct ebitmap *e; in mls_compute_context_len()
95 struct ebitmap *e; in mls_sid_to_context()
472 struct ebitmap bitmap; in mls_convert_context()
Dpolicydb.c876 struct ebitmap *e; in policydb_destroy()
2523 p->type_attr_map_array = flex_array_alloc(sizeof(struct ebitmap), in policydb_read()
2536 struct ebitmap *e = flex_array_get(p->type_attr_map_array, i); in policydb_read()
3527 struct ebitmap *e = flex_array_get(p->type_attr_map_array, i); in policydb_write()
Dservices.c631 struct ebitmap *sattr, *tattr; in context_struct_compute_av()
1022 struct ebitmap *sattr, *tattr; in security_compute_xperms_decision()
/Linux-v4.19/security/selinux/
DMakefile10 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \
/Linux-v4.19/fs/btrfs/
Dscrub.c147 unsigned long *ebitmap; member
2377 __scrub_mark_bitmap(sparity, sparity->ebitmap, start, len); in scrub_parity_mark_sectors_error()
2685 nbits = bitmap_weight(sparity->ebitmap, sparity->nsectors); in scrub_free_parity()
2717 bitmap_or(sparity->ebitmap, sparity->ebitmap, sparity->dbitmap, in scrub_parity_bio_endio()
2737 if (!bitmap_andnot(sparity->dbitmap, sparity->dbitmap, sparity->ebitmap, in scrub_parity_check_and_repair()
2770 bitmap_or(sparity->ebitmap, sparity->ebitmap, sparity->dbitmap, in scrub_parity_check_and_repair()
2846 sparity->ebitmap = (void *)sparity->bitmap + bitmap_len; in scrub_raid56_parity()