Lines Matching refs:ops
68 netlbl_calipso_ops_register(const struct netlbl_calipso_ops *ops) in netlbl_calipso_ops_register() argument
70 return xchg(&calipso_ops, ops); in netlbl_calipso_ops_register()
124 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in netlbl_calipso_add() local
130 if (!ops) in netlbl_calipso_add()
408 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_add() local
410 if (ops) in calipso_doi_add()
411 ret_val = ops->doi_add(doi_def, audit_info); in calipso_doi_add()
425 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_free() local
427 if (ops) in calipso_doi_free()
428 ops->doi_free(doi_def); in calipso_doi_free()
445 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_remove() local
447 if (ops) in calipso_doi_remove()
448 ret_val = ops->doi_remove(doi, audit_info); in calipso_doi_remove()
465 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_getdef() local
467 if (ops) in calipso_doi_getdef()
468 ret_val = ops->doi_getdef(doi); in calipso_doi_getdef()
482 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_putdef() local
484 if (ops) in calipso_doi_putdef()
485 ops->doi_putdef(doi_def); in calipso_doi_putdef()
506 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_walk() local
508 if (ops) in calipso_doi_walk()
509 ret_val = ops->doi_walk(skip_cnt, callback, cb_arg); in calipso_doi_walk()
528 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_sock_getattr() local
530 if (ops) in calipso_sock_getattr()
531 ret_val = ops->sock_getattr(sk, secattr); in calipso_sock_getattr()
554 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_sock_setattr() local
556 if (ops) in calipso_sock_setattr()
557 ret_val = ops->sock_setattr(sk, doi_def, secattr); in calipso_sock_setattr()
571 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_sock_delattr() local
573 if (ops) in calipso_sock_delattr()
574 ops->sock_delattr(sk); in calipso_sock_delattr()
594 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_req_setattr() local
596 if (ops) in calipso_req_setattr()
597 ret_val = ops->req_setattr(req, doi_def, secattr); in calipso_req_setattr()
611 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_req_delattr() local
613 if (ops) in calipso_req_delattr()
614 ops->req_delattr(req); in calipso_req_delattr()
629 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_optptr() local
631 if (ops) in calipso_optptr()
632 ret_val = ops->skbuff_optptr(skb); in calipso_optptr()
650 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_getattr() local
652 if (ops) in calipso_getattr()
653 ret_val = ops->opt_getattr(calipso, secattr); in calipso_getattr()
673 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_skbuff_setattr() local
675 if (ops) in calipso_skbuff_setattr()
676 ret_val = ops->skbuff_setattr(skb, doi_def, secattr); in calipso_skbuff_setattr()
692 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_skbuff_delattr() local
694 if (ops) in calipso_skbuff_delattr()
695 ret_val = ops->skbuff_delattr(skb); in calipso_skbuff_delattr()
709 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_cache_invalidate() local
711 if (ops) in calipso_cache_invalidate()
712 ops->cache_invalidate(); in calipso_cache_invalidate()
730 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_cache_add() local
732 if (ops) in calipso_cache_add()
733 ret_val = ops->cache_add(calipso_ptr, secattr); in calipso_cache_add()