Home
last modified time | relevance | path

Searched refs:mpc (Results 1 – 17 of 17) sorted by relevance

/freebsd-14-stable/sys/security/mac/
HDmac_framework.c355 mac_policy_getlabeled(struct mac_policy_conf *mpc) in mac_policy_getlabeled() argument
360 if (mpc->mpc_ops->mpo_ ## method != NULL) \ in mac_policy_getlabeled()
397 struct mac_policy_conf *mpc; in mac_policy_update() local
403 LIST_FOREACH(mpc, &mac_static_policy_list, mpc_list) { in mac_policy_update()
404 mac_labeled |= mac_policy_getlabeled(mpc); in mac_policy_update()
407 LIST_FOREACH(mpc, &mac_policy_list, mpc_list) { in mac_policy_update()
408 mac_labeled |= mac_policy_getlabeled(mpc); in mac_policy_update()
488 mac_policy_fastpath_register(struct mac_policy_conf *mpc) in mac_policy_fastpath_register() argument
496 ops = (uintptr_t **)mpc->mpc_ops; in mac_policy_fastpath_register()
505 mac_policy_fastpath_unregister(struct mac_policy_conf *mpc) in mac_policy_fastpath_unregister() argument
[all …]
HDmac_internal.h280 struct mac_policy_conf *mpc; \
283 LIST_FOREACH(mpc, &mac_static_policy_list, mpc_list) { \
284 if (mpc->mpc_ops->mpo_ ## check != NULL) \
286 mpc->mpc_ops->mpo_ ## check (args), \
291 LIST_FOREACH(mpc, &mac_policy_list, mpc_list) { \
292 if (mpc->mpc_ops->mpo_ ## check != NULL) \
294 mpc->mpc_ops->mpo_ ## check (args), \
302 struct mac_policy_conf *mpc; \
305 LIST_FOREACH(mpc, &mac_static_policy_list, mpc_list) { \
306 if (mpc->mpc_ops->mpo_ ## check != NULL) \
[all …]
HDmac_syscalls.c633 struct mac_policy_conf *mpc; in sys_mac_syscall() local
642 LIST_FOREACH(mpc, &mac_static_policy_list, mpc_list) { in sys_mac_syscall()
643 if (strcmp(mpc->mpc_name, target) == 0 && in sys_mac_syscall()
644 mpc->mpc_ops->mpo_syscall != NULL) { in sys_mac_syscall()
645 error = mpc->mpc_ops->mpo_syscall(td, in sys_mac_syscall()
653 LIST_FOREACH(mpc, &mac_policy_list, mpc_list) { in sys_mac_syscall()
654 if (strcmp(mpc->mpc_name, target) == 0 && in sys_mac_syscall()
655 mpc->mpc_ops->mpo_syscall != NULL) { in sys_mac_syscall()
656 error = mpc->mpc_ops->mpo_syscall(td, in sys_mac_syscall()
HDmac_policy.h111 typedef void (*mpo_destroy_t)(struct mac_policy_conf *mpc);
112 typedef void (*mpo_init_t)(struct mac_policy_conf *mpc);
/freebsd-14-stable/contrib/tcpdump/
HDprint-mptcp.c193 const struct mp_capable *mpc = (const struct mp_capable *) opt; in mp_capable_print() local
201 version = MP_CAPABLE_OPT_VERSION(GET_U_1(mpc->sub_ver)); in mp_capable_print()
212 if (GET_U_1(mpc->flags) & MP_CAPABLE_C) in mp_capable_print()
215 ND_PRINT(" {0x%" PRIx64, GET_BE_U_8(mpc->sender_key)); in mp_capable_print()
217 ND_PRINT(",0x%" PRIx64, GET_BE_U_8(mpc->receiver_key)); in mp_capable_print()
/freebsd-14-stable/sys/security/mac_portacl/
HDmac_portacl.c152 destroy(struct mac_policy_conf *mpc) in destroy() argument
160 init(struct mac_policy_conf *mpc) in init() argument
/freebsd-14-stable/sys/dev/qlnx/qlnxe/
HDqlnx_os.c3923 struct mbuf *mpf = NULL, *mpl = NULL, *mpc = NULL; in qlnx_tpa_start() local
4089 mpc = sw_rx_data->data; in qlnx_tpa_start()
4091 if (mpc == NULL) { in qlnx_tpa_start()
4126 mpc->m_flags &= ~M_PKTHDR; in qlnx_tpa_start()
4127 mpc->m_next = NULL; in qlnx_tpa_start()
4128 mpc->m_len = cqe->ext_bd_len_list[i]; in qlnx_tpa_start()
4131 mpf = mpl = mpc; in qlnx_tpa_start()
4134 mpl->m_next = mpc; in qlnx_tpa_start()
4135 mpl = mpc; in qlnx_tpa_start()
4233 struct mbuf *mpf = NULL, *mpl = NULL, *mpc = NULL; in qlnx_tpa_cont() local
[all …]
/freebsd-14-stable/sys/security/mac_bsdextended/
HDmac_bsdextended.c206 ugidfw_init(struct mac_policy_conf *mpc) in ugidfw_init() argument
213 ugidfw_destroy(struct mac_policy_conf *mpc) in ugidfw_destroy() argument
/freebsd-14-stable/sys/dev/igc/
HDigc_hw.h272 u64 mpc; member
HDif_igc.c2506 sc->stats.mpc += IGC_READ_REG(&sc->hw, IGC_MPC); in igc_update_stats_counters()
2595 sc->stats.mpc + sc->stats.htdpmc); in igc_if_get_counter()
2795 CTLFLAG_RD, &sc->stats.mpc, in igc_add_hw_stats()
/freebsd-14-stable/sys/security/mac_do/
HDmac_do.c2095 mac_do_init(struct mac_policy_conf *mpc) in mac_do_init() argument
2110 mac_do_destroy(struct mac_policy_conf *mpc) in mac_do_destroy() argument
/freebsd-14-stable/sys/security/mac_veriexec/
HDmac_veriexec.c783 mac_veriexec_init(struct mac_policy_conf *mpc __unused) in mac_veriexec_init()
/freebsd-14-stable/sys/dev/e1000/
HDe1000_hw.h577 u64 mpc; member
HDif_em.c4706 sc->stats.mpc += E1000_READ_REG(&sc->hw, E1000_MPC); in em_update_stats_counters()
4810 sc->stats.mpc + sc->stats.cexterr); in em_if_get_counter()
5030 CTLFLAG_RD, &sc->stats.mpc, in em_add_hw_stats()
/freebsd-14-stable/sys/dev/ixgbe/
HDif_ix.c1550 stats->mpc[0] += IXGBE_READ_REG(hw, IXGBE_MPC(0)); in ixgbe_update_stats_counters()
1672 stats->mpc[0] + stats->rlec + stats->ruc + stats->rfc + in ixgbe_update_stats_counters()
1785 CTLFLAG_RD, &stats->mpc[0], "RX Missed Packet Count"); in ixgbe_add_hw_stats()
HDixgbe_type.h3920 u64 mpc[8]; member
/freebsd-14-stable/contrib/ncurses/
HDNEWS12001 mpc.lists.freebsd.current newsgroup.