Home
last modified time | relevance | path

Searched refs:catmap (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/include/net/
Dnetlabel.h330 static inline void netlbl_catmap_free(struct netlbl_lsm_catmap *catmap) in netlbl_catmap_free() argument
334 while (catmap) { in netlbl_catmap_free()
335 iter = catmap; in netlbl_catmap_free()
336 catmap = catmap->next; in netlbl_catmap_free()
448 int netlbl_catmap_walk(struct netlbl_lsm_catmap *catmap, u32 offset);
449 int netlbl_catmap_walkrng(struct netlbl_lsm_catmap *catmap, u32 offset);
450 int netlbl_catmap_getlong(struct netlbl_lsm_catmap *catmap,
453 int netlbl_catmap_setbit(struct netlbl_lsm_catmap **catmap,
456 int netlbl_catmap_setrng(struct netlbl_lsm_catmap **catmap,
460 int netlbl_catmap_setlong(struct netlbl_lsm_catmap **catmap,
[all …]
/linux-6.12.1/net/netlabel/
Dnetlabel_kapi.c554 struct netlbl_lsm_catmap **catmap, in _netlbl_catmap_getnode() argument
559 struct netlbl_lsm_catmap *iter = *catmap; in _netlbl_catmap_getnode()
588 iter->next = *catmap; in _netlbl_catmap_getnode()
589 *catmap = iter; in _netlbl_catmap_getnode()
608 int netlbl_catmap_walk(struct netlbl_lsm_catmap *catmap, u32 offset) in netlbl_catmap_walk() argument
615 iter = _netlbl_catmap_getnode(&catmap, offset, _CM_F_WALK, 0); in netlbl_catmap_walk()
663 int netlbl_catmap_walkrng(struct netlbl_lsm_catmap *catmap, u32 offset) in netlbl_catmap_walkrng() argument
672 iter = _netlbl_catmap_getnode(&catmap, offset, _CM_F_WALK, 0); in netlbl_catmap_walkrng()
725 int netlbl_catmap_getlong(struct netlbl_lsm_catmap *catmap, in netlbl_catmap_getlong() argument
738 if (!catmap) { in netlbl_catmap_getlong()
[all …]
/linux-6.12.1/security/selinux/ss/
Debitmap.c110 struct netlbl_lsm_catmap **catmap) in ebitmap_netlbl_export() argument
119 *catmap = NULL; in ebitmap_netlbl_export()
123 if (*catmap != NULL) in ebitmap_netlbl_export()
124 netlbl_catmap_free(*catmap); in ebitmap_netlbl_export()
125 *catmap = NULL; in ebitmap_netlbl_export()
132 rc = netlbl_catmap_setlong(catmap, offset, in ebitmap_netlbl_export()
145 netlbl_catmap_free(*catmap); in ebitmap_netlbl_export()
160 struct netlbl_lsm_catmap *catmap) in ebitmap_netlbl_import() argument
169 rc = netlbl_catmap_getlong(catmap, &offset, &bitmap); in ebitmap_netlbl_import()
Debitmap.h138 struct netlbl_lsm_catmap **catmap);
140 struct netlbl_lsm_catmap *catmap);
143 struct netlbl_lsm_catmap **catmap) in ebitmap_netlbl_export() argument
148 struct netlbl_lsm_catmap *catmap) in ebitmap_netlbl_import() argument