Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/net/
A 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 …]
/linux-6.3-rc2/net/netlabel/
A 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()
725 int netlbl_catmap_getlong(struct netlbl_lsm_catmap *catmap, in netlbl_catmap_getlong() argument
738 if (!catmap) { in netlbl_catmap_getlong()
743 if (off < catmap->startbit) { in netlbl_catmap_getlong()
744 off = catmap->startbit; in netlbl_catmap_getlong()
775 int netlbl_catmap_setbit(struct netlbl_lsm_catmap **catmap, in netlbl_catmap_setbit() argument
817 rc = netlbl_catmap_setlong(catmap, in netlbl_catmap_setrng()
[all …]
/linux-6.3-rc2/security/selinux/ss/
A Debitmap.c112 struct netlbl_lsm_catmap **catmap) in ebitmap_netlbl_export() argument
121 *catmap = NULL; in ebitmap_netlbl_export()
125 if (*catmap != NULL) in ebitmap_netlbl_export()
126 netlbl_catmap_free(*catmap); in ebitmap_netlbl_export()
127 *catmap = NULL; in ebitmap_netlbl_export()
134 rc = netlbl_catmap_setlong(catmap, in ebitmap_netlbl_export()
149 netlbl_catmap_free(*catmap); in ebitmap_netlbl_export()
164 struct netlbl_lsm_catmap *catmap) in ebitmap_netlbl_import() argument
173 rc = netlbl_catmap_getlong(catmap, &offset, &bitmap); in ebitmap_netlbl_import()
A 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

Completed in 10 milliseconds