Home
last modified time | relevance | path

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

/Linux-v5.15/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_and(struct ebitmap *dst, struct ebitmap *e1, struct ebitmap *e2);
128 int ebitmap_contains(struct ebitmap *e1, struct ebitmap *e2, u32 last_e2bit);
129 int ebitmap_get_bit(struct ebitmap *e, unsigned long bit);
130 int ebitmap_set_bit(struct ebitmap *e, unsigned long bit, int value);
[all …]
Debitmap.c31 int ebitmap_cmp(struct ebitmap *e1, struct ebitmap *e2) in ebitmap_cmp()
53 int ebitmap_cpy(struct ebitmap *dst, struct ebitmap *src) in ebitmap_cpy()
81 int ebitmap_and(struct ebitmap *dst, struct ebitmap *e1, struct ebitmap *e2) in ebitmap_and()
110 int ebitmap_netlbl_export(struct ebitmap *ebmap, in ebitmap_netlbl_export()
162 int ebitmap_netlbl_import(struct ebitmap *ebmap, in ebitmap_netlbl_import()
220 int ebitmap_contains(struct ebitmap *e1, struct ebitmap *e2, u32 last_e2bit) in ebitmap_contains()
261 int ebitmap_get_bit(struct ebitmap *e, unsigned long bit) in ebitmap_get_bit()
278 int ebitmap_set_bit(struct ebitmap *e, unsigned long bit, int value) in ebitmap_set_bit()
346 void ebitmap_destroy(struct ebitmap *e) in ebitmap_destroy()
365 int ebitmap_read(struct ebitmap *e, void *fp) in ebitmap_read()
[all …]
Dpolicydb.h80 struct ebitmap dominates; /* set of roles dominated by this role */
81 struct ebitmap types; /* set of authorized types for role */
101 struct ebitmap stypes; /* bitmap of source types for this otype */
124 struct ebitmap roles; /* set of authorized roles for user */
162 struct ebitmap types;
163 struct ebitmap negset;
270 struct ebitmap filename_trans_ttypes;
300 struct ebitmap *type_attr_map_array;
302 struct ebitmap policycaps;
304 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()
Dservices.c631 struct ebitmap *sattr, *tattr; in context_struct_compute_av()
1029 struct ebitmap *sattr, *tattr; in security_compute_xperms_decision()
Dpolicydb.c2689 struct ebitmap *e = &p->type_attr_map_array[i]; in policydb_read()
3731 struct ebitmap *e = &p->type_attr_map_array[i]; in policydb_write()
/Linux-v5.15/security/selinux/
DMakefile10 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \
/Linux-v5.15/fs/btrfs/
Dscrub.c149 unsigned long *ebitmap; member
2439 __scrub_mark_bitmap(sparity, sparity->ebitmap, start, len); in scrub_parity_mark_sectors_error()
2781 nbits = bitmap_weight(sparity->ebitmap, sparity->nsectors); in scrub_free_parity()
2813 bitmap_or(sparity->ebitmap, sparity->ebitmap, sparity->dbitmap, in scrub_parity_bio_endio()
2833 if (!bitmap_andnot(sparity->dbitmap, sparity->dbitmap, sparity->ebitmap, in scrub_parity_check_and_repair()
2866 bitmap_or(sparity->ebitmap, sparity->ebitmap, sparity->dbitmap, in scrub_parity_check_and_repair()
2945 sparity->ebitmap = (void *)sparity->bitmap + bitmap_len; in scrub_raid56_parity()