Home
last modified time | relevance | path

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

/freebsd/sys/security/mac/
H A Dmac_framework.c390 struct mac_policy_conf *mpc; in mac_policy_update() local
489 ops = (uintptr_t **)mpc->mpc_ops; in mac_policy_fastpath_register()
506 ops = (uintptr_t **)mpc->mpc_ops; in mac_policy_fastpath_unregister()
550 if (mpc->mpc_field_off != NULL) { in mac_policy_register()
558 *mpc->mpc_field_off = slot; in mac_policy_register()
579 (*(mpc->mpc_ops->mpo_init))(mpc); in mac_policy_register()
587 mpc->mpc_name); in mac_policy_register()
628 (*(mpc->mpc_ops->mpo_destroy))(mpc); in mac_policy_unregister()
630 LIST_REMOVE(mpc, mpc_list); in mac_policy_unregister()
637 mpc->mpc_name); in mac_policy_unregister()
[all …]
H A Dmac_internal.h286 struct mac_policy_conf *mpc; \
290 if (mpc->mpc_ops->mpo_ ## check != NULL) \
308 struct mac_policy_conf *mpc; \
339 struct mac_policy_conf *mpc; \
354 if (mpc->mpc_ops->mpo_ ## check (args) \
371 struct mac_policy_conf *mpc; \
383 mpc->mpc_ops->mpo_ ## operation \
391 struct mac_policy_conf *mpc; \
405 mpc->mpc_ops->mpo_ ## operation \
498 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/contrib/tcpdump/
H A Dprint-mptcp.c195 const struct mp_capable *mpc = (const struct mp_capable *) opt; in mp_capable_print() local
203 version = MP_CAPABLE_OPT_VERSION(GET_U_1(mpc->sub_ver)); in mp_capable_print()
214 if (GET_U_1(mpc->flags) & MP_CAPABLE_C) in mp_capable_print()
217 ND_PRINT(" {0x%" PRIx64, GET_BE_U_8(mpc->sender_key)); in mp_capable_print()
219 ND_PRINT(",0x%" PRIx64, GET_BE_U_8(mpc->receiver_key)); in mp_capable_print()
/freebsd/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/sys/contrib/device-tree/Bindings/i2c/
H A Di2c-mpc.yaml4 $id: http://devicetree.org/schemas/i2c/i2c-mpc.yaml#
/freebsd/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c4095 if (mpc == NULL) { in qlnx_tpa_start()
4131 mpc->m_next = NULL; in qlnx_tpa_start()
4135 mpf = mpl = mpc; in qlnx_tpa_start()
4138 mpl->m_next = mpc; in qlnx_tpa_start()
4139 mpl = mpc; in qlnx_tpa_start()
4280 if (mpc == NULL) { in qlnx_tpa_cont()
4321 mpf = mpl = mpc; in qlnx_tpa_cont()
4325 mpl = mpc; in qlnx_tpa_cont()
4406 if (mpc == NULL) { in qlnx_tpa_end()
4447 mpf = mpl = mpc; in qlnx_tpa_end()
[all …]
/freebsd/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/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/sys/dev/igc/
H A Digc_hw.h272 u64 mpc; member
H A Dif_igc.c2298 adapter->stats.mpc += IGC_READ_REG(&adapter->hw, IGC_MPC); in igc_update_stats_counters()
2383 adapter->stats.mpc + adapter->stats.htdpmc); in igc_if_get_counter()
2542 CTLFLAG_RD, &adapter->stats.mpc, in igc_add_hw_stats()
/freebsd/sys/security/mac_veriexec/
H A Dmac_veriexec.c785 mac_veriexec_init(struct mac_policy_conf *mpc __unused) in mac_veriexec_init()
/freebsd/sys/dev/e1000/
H A De1000_hw.h577 u64 mpc; member
H A Dif_em.c4262 sc->stats.mpc += E1000_READ_REG(&sc->hw, E1000_MPC); in em_update_stats_counters()
4362 sc->stats.mpc + sc->stats.cexterr); in em_if_get_counter()
4521 CTLFLAG_RD, &sc->stats.mpc, in em_add_hw_stats()
/freebsd/sys/dev/ixgbe/
H A Dif_ix.c1474 stats->mpc[0] += IXGBE_READ_REG(hw, IXGBE_MPC(0)); in ixgbe_update_stats_counters()
1596 stats->mpc[0] + stats->rlec + stats->ruc + stats->rfc + stats->roc + in ixgbe_update_stats_counters()
1704 CTLFLAG_RD, &stats->mpc[0], "RX Missed Packet Count"); in ixgbe_add_hw_stats()
H A Dixgbe_type.h3860 u64 mpc[8]; member
/freebsd/contrib/ncurses/
H A DNEWS10836 mpc.lists.freebsd.current newsgroup.