Home
last modified time | relevance | path

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

/freebsd-14.2/sys/security/mac/
H A Dmac_framework.c391 struct mac_policy_conf *mpc; in mac_policy_update() local
490 ops = (uintptr_t **)mpc->mpc_ops; in mac_policy_fastpath_register()
507 ops = (uintptr_t **)mpc->mpc_ops; in mac_policy_fastpath_unregister()
551 if (mpc->mpc_field_off != NULL) { in mac_policy_register()
559 *mpc->mpc_field_off = slot; in mac_policy_register()
580 (*(mpc->mpc_ops->mpo_init))(mpc); in mac_policy_register()
588 mpc->mpc_name); in mac_policy_register()
629 (*(mpc->mpc_ops->mpo_destroy))(mpc); in mac_policy_unregister()
631 LIST_REMOVE(mpc, mpc_list); in mac_policy_unregister()
638 mpc->mpc_name); in mac_policy_unregister()
[all …]
H A Dmac_internal.h287 struct mac_policy_conf *mpc; \
291 if (mpc->mpc_ops->mpo_ ## check != NULL) \
309 struct mac_policy_conf *mpc; \
340 struct mac_policy_conf *mpc; \
355 if (mpc->mpc_ops->mpo_ ## check (args) \
372 struct mac_policy_conf *mpc; \
384 mpc->mpc_ops->mpo_ ## operation \
392 struct mac_policy_conf *mpc; \
406 mpc->mpc_ops->mpo_ ## operation \
499 struct mac_policy_conf *mpc; \
[all …]
H A Dmac_syscalls.c555 struct mac_policy_conf *mpc; in sys_mac_syscall() local
564 LIST_FOREACH(mpc, &mac_static_policy_list, mpc_list) { in sys_mac_syscall()
565 if (strcmp(mpc->mpc_name, target) == 0 && in sys_mac_syscall()
566 mpc->mpc_ops->mpo_syscall != NULL) { in sys_mac_syscall()
567 error = mpc->mpc_ops->mpo_syscall(td, in sys_mac_syscall()
575 LIST_FOREACH(mpc, &mac_policy_list, mpc_list) { in sys_mac_syscall()
576 if (strcmp(mpc->mpc_name, target) == 0 && in sys_mac_syscall()
577 mpc->mpc_ops->mpo_syscall != NULL) { in sys_mac_syscall()
578 error = mpc->mpc_ops->mpo_syscall(td, in sys_mac_syscall()
H A Dmac_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.2/contrib/tcpdump/
H A Dprint-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.2/sys/security/mac_portacl/
H A Dmac_portacl.c154 destroy(struct mac_policy_conf *mpc) in destroy() argument
162 init(struct mac_policy_conf *mpc) in init() argument
/freebsd-14.2/sys/contrib/device-tree/Bindings/i2c/
H A Di2c-mpc.yaml4 $id: http://devicetree.org/schemas/i2c/i2c-mpc.yaml#
/freebsd-14.2/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c4091 if (mpc == NULL) { in qlnx_tpa_start()
4127 mpc->m_next = NULL; 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()
4276 if (mpc == NULL) { in qlnx_tpa_cont()
4317 mpf = mpl = mpc; in qlnx_tpa_cont()
4321 mpl = mpc; in qlnx_tpa_cont()
4402 if (mpc == NULL) { in qlnx_tpa_end()
4443 mpf = mpl = mpc; in qlnx_tpa_end()
[all …]
/freebsd-14.2/sys/security/mac_bsdextended/
H A Dmac_bsdextended.c208 ugidfw_init(struct mac_policy_conf *mpc) in ugidfw_init() argument
215 ugidfw_destroy(struct mac_policy_conf *mpc) in ugidfw_destroy() argument
/freebsd-14.2/sys/security/mac_do/
H A Dmac_do.c224 destroy(struct mac_policy_conf *mpc) in destroy() argument
390 init(struct mac_policy_conf *mpc) in init() argument
/freebsd-14.2/sys/dev/igc/
H A Digc_hw.h272 u64 mpc; member
H A Dif_igc.c2446 sc->stats.mpc += IGC_READ_REG(&sc->hw, IGC_MPC); in igc_update_stats_counters()
2535 sc->stats.mpc + sc->stats.htdpmc); in igc_if_get_counter()
2736 CTLFLAG_RD, &sc->stats.mpc, in igc_add_hw_stats()
/freebsd-14.2/sys/security/mac_veriexec/
H A Dmac_veriexec.c785 mac_veriexec_init(struct mac_policy_conf *mpc __unused) in mac_veriexec_init()
/freebsd-14.2/sys/dev/e1000/
H A De1000_hw.h577 u64 mpc; member
H A Dif_em.c4468 sc->stats.mpc += E1000_READ_REG(&sc->hw, E1000_MPC); in em_update_stats_counters()
4572 sc->stats.mpc + sc->stats.cexterr); in em_if_get_counter()
4792 CTLFLAG_RD, &sc->stats.mpc, in em_add_hw_stats()
/freebsd-14.2/sys/dev/ixgbe/
H A Dif_ix.c1490 stats->mpc[0] += IXGBE_READ_REG(hw, IXGBE_MPC(0)); in ixgbe_update_stats_counters()
1612 stats->mpc[0] + stats->rlec + stats->ruc + stats->rfc + stats->roc + in ixgbe_update_stats_counters()
1720 CTLFLAG_RD, &stats->mpc[0], "RX Missed Packet Count"); in ixgbe_add_hw_stats()
H A Dixgbe_type.h3918 u64 mpc[8]; member
/freebsd-14.2/contrib/ncurses/
H A DNEWS12001 mpc.lists.freebsd.current newsgroup.