• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/net/

Lines Matching defs:secattr

152  * netlbl_secattr_cache_alloc - Allocate and initialize a secattr cache
175 * Frees @secattr including all of the internal buffers.
189 * netlbl_secattr_catmap_alloc - Allocate a LSM secattr catmap
193 * Allocate memory for a LSM secattr catmap, returns a pointer on success, NULL
204 * netlbl_secattr_catmap_free - Free a LSM secattr catmap
208 * Free a LSM secattr catmap.
225 * @secattr: the struct to initialize
231 static inline void netlbl_secattr_init(struct netlbl_lsm_secattr *secattr)
233 secattr->flags = 0;
234 secattr->domain = NULL;
235 secattr->mls_cat = NULL;
236 secattr->cache = NULL;
241 * @secattr: the struct to clear
244 * Destroys the @secattr struct, including freeing all of the internal buffers.
248 static inline void netlbl_secattr_destroy(struct netlbl_lsm_secattr *secattr)
250 if (secattr->cache)
251 netlbl_secattr_cache_free(secattr->cache);
252 kfree(secattr->domain);
253 if (secattr->mls_cat)
254 netlbl_secattr_catmap_free(secattr->mls_cat);
273 * @secattr: the struct to free
276 * Frees @secattr including all of the internal buffers.
279 static inline void netlbl_secattr_free(struct netlbl_lsm_secattr *secattr)
281 netlbl_secattr_destroy(secattr);
282 kfree(secattr);
336 const struct netlbl_lsm_secattr *secattr);
338 struct netlbl_lsm_secattr *secattr);
340 struct netlbl_lsm_secattr *secattr);
344 const struct netlbl_lsm_secattr *secattr)
350 struct netlbl_lsm_secattr *secattr)
356 struct netlbl_lsm_secattr *secattr)
374 const struct netlbl_lsm_secattr *secattr);
382 const struct netlbl_lsm_secattr *secattr)