Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/
Dnetlabel.h328 static inline void netlbl_catmap_free(struct netlbl_lsm_catmap *catmap) in netlbl_catmap_free() argument
332 while (catmap) { in netlbl_catmap_free()
333 iter = catmap; in netlbl_catmap_free()
334 catmap = catmap->next; in netlbl_catmap_free()
445 int netlbl_catmap_walk(struct netlbl_lsm_catmap *catmap, u32 offset);
446 int netlbl_catmap_walkrng(struct netlbl_lsm_catmap *catmap, u32 offset);
447 int netlbl_catmap_getlong(struct netlbl_lsm_catmap *catmap,
450 int netlbl_catmap_setbit(struct netlbl_lsm_catmap **catmap,
453 int netlbl_catmap_setrng(struct netlbl_lsm_catmap **catmap,
457 int netlbl_catmap_setlong(struct netlbl_lsm_catmap **catmap,
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/security/selinux/ss/
Debitmap.c111 struct netlbl_lsm_catmap **catmap) in ebitmap_netlbl_export() argument
120 *catmap = NULL; in ebitmap_netlbl_export()
124 if (*catmap != NULL) in ebitmap_netlbl_export()
125 netlbl_catmap_free(*catmap); in ebitmap_netlbl_export()
126 *catmap = NULL; in ebitmap_netlbl_export()
133 rc = netlbl_catmap_setlong(catmap, in ebitmap_netlbl_export()
148 netlbl_catmap_free(*catmap); in ebitmap_netlbl_export()
163 struct netlbl_lsm_catmap *catmap) in ebitmap_netlbl_import() argument
172 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