/freebsd/sys/security/mac/ |
H A D | mac_framework.c | 348 mac_policy_getlabeled(struct mac_policy_conf *mpc) in mac_policy_getlabeled() argument 353 if (mpc->mpc_ops->mpo_ ## method != NULL) \ in mac_policy_getlabeled() 390 struct mac_policy_conf *mpc; in mac_policy_update() local 396 LIST_FOREACH(mpc, &mac_static_policy_list, mpc_list) { in mac_policy_update() 397 mac_labeled |= mac_policy_getlabeled(mpc); in mac_policy_update() 400 LIST_FOREACH(mpc, &mac_policy_list, mpc_list) { in mac_policy_update() 401 mac_labeled |= mac_policy_getlabeled(mpc); in mac_policy_update() 481 mac_policy_fastpath_register(struct mac_policy_conf *mpc) in mac_policy_fastpath_register() argument 489 ops = (uintptr_t **)mpc->mpc_ops; in mac_policy_fastpath_register() 498 mac_policy_fastpath_unregister(struct mac_policy_conf *mpc) in mac_policy_fastpath_unregister() argument [all …]
|
H A D | mac_internal.h | 287 struct mac_policy_conf *mpc; \ 290 LIST_FOREACH(mpc, &mac_static_policy_list, mpc_list) { \ 291 if (mpc->mpc_ops->mpo_ ## check != NULL) \ 293 mpc->mpc_ops->mpo_ ## check (args), \ 298 LIST_FOREACH(mpc, &mac_policy_list, mpc_list) { \ 299 if (mpc->mpc_ops->mpo_ ## check != NULL) \ 301 mpc->mpc_ops->mpo_ ## check (args), \ 309 struct mac_policy_conf *mpc; \ 312 LIST_FOREACH(mpc, &mac_static_policy_list, mpc_list) { \ 313 if (mpc->mpc_ops->mpo_ ## check != NULL) \ [all …]
|
H A D | mac_syscalls.c | 555 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 D | mac_policy.h | 111 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 D | print-mptcp.c | 193 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/sys/security/mac_portacl/ |
H A D | mac_portacl.c | 154 destroy(struct mac_policy_conf *mpc) in destroy() argument 162 init(struct mac_policy_conf *mpc) in init() argument
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.c | 3925 struct mbuf *mpf = NULL, *mpl = NULL, *mpc = NULL; in qlnx_tpa_start() local 4091 mpc = sw_rx_data->data; in qlnx_tpa_start() 4093 if (mpc == NULL) { in qlnx_tpa_start() 4128 mpc->m_flags &= ~M_PKTHDR; in qlnx_tpa_start() 4129 mpc->m_next = NULL; in qlnx_tpa_start() 4130 mpc->m_len = cqe->ext_bd_len_list[i]; in qlnx_tpa_start() 4133 mpf = mpl = mpc; in qlnx_tpa_start() 4136 mpl->m_next = mpc; in qlnx_tpa_start() 4137 mpl = mpc; in qlnx_tpa_start() 4235 struct mbuf *mpf = NULL, *mpl = NULL, *mpc = NULL; in qlnx_tpa_cont() local [all …]
|
/freebsd/sys/security/mac_bsdextended/ |
H A D | mac_bsdextended.c | 208 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/dev/igc/ |
H A D | igc_hw.h | 272 u64 mpc; member
|
H A D | if_igc.c | 2444 sc->stats.mpc += IGC_READ_REG(&sc->hw, IGC_MPC); in igc_update_stats_counters() 2533 sc->stats.mpc + sc->stats.htdpmc); in igc_if_get_counter() 2734 CTLFLAG_RD, &sc->stats.mpc, in igc_add_hw_stats()
|
/freebsd/sys/security/mac_veriexec/ |
H A D | mac_veriexec.c | 786 mac_veriexec_init(struct mac_policy_conf *mpc __unused) in mac_veriexec_init()
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_hw.h | 577 u64 mpc; member
|
H A D | if_em.c | 4487 sc->stats.mpc += E1000_READ_REG(&sc->hw, E1000_MPC); in em_update_stats_counters() 4591 sc->stats.mpc + sc->stats.cexterr); in em_if_get_counter() 4811 CTLFLAG_RD, &sc->stats.mpc, in em_add_hw_stats()
|
/freebsd/sys/dev/ixgbe/ |
H A D | if_ix.c | 1493 stats->mpc[0] += IXGBE_READ_REG(hw, IXGBE_MPC(0)); in ixgbe_update_stats_counters() 1615 stats->mpc[0] + stats->rlec + stats->ruc + stats->rfc + stats->roc + in ixgbe_update_stats_counters() 1723 CTLFLAG_RD, &stats->mpc[0], "RX Missed Packet Count"); in ixgbe_add_hw_stats()
|
H A D | ixgbe_type.h | 3918 u64 mpc[8]; member
|
/freebsd/contrib/ncurses/ |
H A D | NEWS | 12001 mpc.lists.freebsd.current newsgroup.
|