/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
D | qib_sdma.c | 101 static void clear_sdma_activelist(struct qib_pportdata *ppd) in clear_sdma_activelist() argument 105 list_for_each_entry_safe(txp, txp_next, &ppd->sdma_activelist, list) { in clear_sdma_activelist() 112 unmap_desc(ppd, idx); in clear_sdma_activelist() 113 if (++idx == ppd->sdma_descq_cnt) in clear_sdma_activelist() 124 struct qib_pportdata *ppd = from_tasklet(ppd, t, in sdma_sw_clean_up_task() local 128 spin_lock_irqsave(&ppd->sdma_lock, flags); in sdma_sw_clean_up_task() 140 qib_sdma_make_progress(ppd); in sdma_sw_clean_up_task() 142 clear_sdma_activelist(ppd); in sdma_sw_clean_up_task() 148 ppd->sdma_descq_removed = ppd->sdma_descq_added; in sdma_sw_clean_up_task() 155 ppd->sdma_descq_tail = 0; in sdma_sw_clean_up_task() [all …]
|
D | qib_intr.c | 72 static void signal_ib_event(struct qib_pportdata *ppd, enum ib_event_type ev) in signal_ib_event() argument 75 struct qib_devdata *dd = ppd->dd; in signal_ib_event() 78 event.element.port_num = ppd->port; in signal_ib_event() 83 void qib_handle_e_ibstatuschanged(struct qib_pportdata *ppd, u64 ibcs) in qib_handle_e_ibstatuschanged() argument 85 struct qib_devdata *dd = ppd->dd; in qib_handle_e_ibstatuschanged() 104 (!ppd->lflags || (ppd->lflags & QIBL_LINKDOWN)) && in qib_handle_e_ibstatuschanged() 107 if (dd->f_ib_updown(ppd, 1, ibcs)) in qib_handle_e_ibstatuschanged() 109 } else if (ppd->lflags & (QIBL_LINKINIT | QIBL_LINKARMED | in qib_handle_e_ibstatuschanged() 113 dd->f_ib_updown(ppd, 0, ibcs)) in qib_handle_e_ibstatuschanged() 115 qib_set_uevent_bits(ppd, _QIB_EVENT_LINKDOWN_BIT); in qib_handle_e_ibstatuschanged() [all …]
|
D | qib_iba7322.c | 63 static void sendctrl_7322_mod(struct qib_pportdata *ppd, u32 op); 74 static void qib_set_ib_7322_lstate(struct qib_pportdata *ppd, u16 linkcmd, 626 struct qib_pportdata *ppd; member 870 static inline u64 qib_read_kreg_port(const struct qib_pportdata *ppd, in qib_read_kreg_port() argument 873 if (!ppd->cpspec->kpregbase || !(ppd->dd->flags & QIB_PRESENT)) in qib_read_kreg_port() 875 return readq(&ppd->cpspec->kpregbase[regno]); in qib_read_kreg_port() 878 static inline void qib_write_kreg_port(const struct qib_pportdata *ppd, in qib_write_kreg_port() argument 881 if (ppd->cpspec && ppd->dd && ppd->cpspec->kpregbase && in qib_write_kreg_port() 882 (ppd->dd->flags & QIB_PRESENT)) in qib_write_kreg_port() 883 writeq(value, &ppd->cpspec->kpregbase[regno]); in qib_write_kreg_port() [all …]
|
D | qib_driver.c | 96 struct qib_pportdata *ppd; in qib_count_active_units() local 105 ppd = dd->pport + pidx; in qib_count_active_units() 106 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_active_units() 128 struct qib_pportdata *ppd; in qib_count_units() local 136 ppd = dd->pport + pidx; in qib_count_units() 137 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_units() 164 int qib_wait_linkstate(struct qib_pportdata *ppd, u32 state, int msecs) in qib_wait_linkstate() argument 169 spin_lock_irqsave(&ppd->lflags_lock, flags); in qib_wait_linkstate() 170 if (ppd->state_wanted) { in qib_wait_linkstate() 171 spin_unlock_irqrestore(&ppd->lflags_lock, flags); in qib_wait_linkstate() [all …]
|
D | qib_iba7220.c | 52 static void sendctrl_7220_mod(struct qib_pportdata *ppd, u32 op); 751 static void qib_disarm_7220_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_7220_senderrbufs() argument 754 struct qib_devdata *dd = ppd->dd; in qib_disarm_7220_senderrbufs() 779 static void qib_7220_sdma_sendctrl(struct qib_pportdata *ppd, unsigned op) in qib_7220_sdma_sendctrl() argument 781 struct qib_devdata *dd = ppd->dd; in qib_7220_sdma_sendctrl() 811 static void qib_decode_7220_sdma_errs(struct qib_pportdata *ppd, in qib_decode_7220_sdma_errs() argument 857 static void qib_7220_sdma_hw_clean_up(struct qib_pportdata *ppd) in qib_7220_sdma_hw_clean_up() argument 860 sendctrl_7220_mod(ppd, QIB_SENDCTRL_DISARM_ALL | QIB_SENDCTRL_FLUSH | in qib_7220_sdma_hw_clean_up() 862 ppd->dd->upd_pio_shadow = 1; /* update our idea of what's busy */ in qib_7220_sdma_hw_clean_up() 865 static void qib_sdma_7220_setlengen(struct qib_pportdata *ppd) in qib_sdma_7220_setlengen() argument [all …]
|
D | qib_qsfp.c | 47 static int qsfp_read(struct qib_pportdata *ppd, int addr, void *bp, int len) in qsfp_read() argument 49 struct qib_devdata *dd = ppd->dd; in qsfp_read() 73 if (ppd->hw_pidx) { in qsfp_read() 89 qib_dev_porterr(dd, ppd->port, in qsfp_read() 139 qib_dev_porterr(dd, ppd->port, "QSFP failed even retrying\n"); in qsfp_read() 141 qib_dev_porterr(dd, ppd->port, "QSFP retries: %d\n", pass); in qsfp_read() 157 static int qib_qsfp_write(struct qib_pportdata *ppd, int addr, void *bp, in qib_qsfp_write() argument 160 struct qib_devdata *dd = ppd->dd; in qib_qsfp_write() 183 if (ppd->hw_pidx) { in qib_qsfp_write() 198 qib_dev_porterr(dd, ppd->port, in qib_qsfp_write() [all …]
|
D | qib_mad.c | 326 struct qib_pportdata *ppd = dd->pport + pidx; in subn_get_guidinfo() local 327 struct qib_ibport *ibp = &ppd->ibport_data; in subn_get_guidinfo() 328 __be64 g = ppd->guid; in subn_get_guidinfo() 346 static void set_link_width_enabled(struct qib_pportdata *ppd, u32 w) in set_link_width_enabled() argument 348 (void) ppd->dd->f_set_ib_cfg(ppd, QIB_IB_CFG_LWID_ENB, w); in set_link_width_enabled() 351 static void set_link_speed_enabled(struct qib_pportdata *ppd, u32 s) in set_link_speed_enabled() argument 353 (void) ppd->dd->f_set_ib_cfg(ppd, QIB_IB_CFG_SPD_ENB, s); in set_link_speed_enabled() 356 static int get_overrunthreshold(struct qib_pportdata *ppd) in get_overrunthreshold() argument 358 return ppd->dd->f_get_ib_cfg(ppd, QIB_IB_CFG_OVERRUN_THRESH); in get_overrunthreshold() 368 static int set_overrunthreshold(struct qib_pportdata *ppd, unsigned n) in set_overrunthreshold() argument [all …]
|
D | qib_sysfs.c | 43 static ssize_t show_hrtbt_enb(struct qib_pportdata *ppd, char *buf) in show_hrtbt_enb() argument 45 struct qib_devdata *dd = ppd->dd; in show_hrtbt_enb() 48 ret = dd->f_get_ib_cfg(ppd, QIB_IB_CFG_HRTBT); in show_hrtbt_enb() 53 static ssize_t store_hrtbt_enb(struct qib_pportdata *ppd, const char *buf, in store_hrtbt_enb() argument 56 struct qib_devdata *dd = ppd->dd; in store_hrtbt_enb() 73 ret = dd->f_set_ib_cfg(ppd, QIB_IB_CFG_HRTBT, val); in store_hrtbt_enb() 77 static ssize_t store_loopback(struct qib_pportdata *ppd, const char *buf, in store_loopback() argument 80 struct qib_devdata *dd = ppd->dd; in store_loopback() 83 r = dd->f_set_ib_loopback(ppd, buf); in store_loopback() 90 static ssize_t store_led_override(struct qib_pportdata *ppd, const char *buf, in store_led_override() argument [all …]
|
D | qib_init.c | 140 struct qib_pportdata *ppd; in qib_create_ctxts() local 146 ppd = dd->pport + (i % dd->num_pports); in qib_create_ctxts() 148 rcd = qib_create_ctxtdata(ppd, i, dd->assigned_node_id); in qib_create_ctxts() 165 struct qib_ctxtdata *qib_create_ctxtdata(struct qib_pportdata *ppd, u32 ctxt, in qib_create_ctxtdata() argument 168 struct qib_devdata *dd = ppd->dd; in qib_create_ctxtdata() 175 rcd->ppd = ppd; in qib_create_ctxtdata() 220 int qib_init_pportdata(struct qib_pportdata *ppd, struct qib_devdata *dd, in qib_init_pportdata() argument 225 ppd->dd = dd; in qib_init_pportdata() 226 ppd->hw_pidx = hw_pidx; in qib_init_pportdata() 227 ppd->port = port; /* IB port number, not index */ in qib_init_pportdata() [all …]
|
D | qib_tx.c | 107 dd->f_sendctrl(rcd->ppd, QIB_SENDCTRL_DISARM_BUF(i)); in qib_disarm_piobufs_ifneeded() 116 struct qib_pportdata *ppd; in is_sdma_buf() local 120 ppd = dd->pport + pidx; in is_sdma_buf() 121 if (i >= ppd->sdma_state.first_sendbuf && in is_sdma_buf() 122 i < ppd->sdma_state.last_sendbuf) in is_sdma_buf() 123 return ppd; in is_sdma_buf() 174 struct qib_pportdata *ppd, *pppd[QIB_MAX_IB_PORTS]; in qib_disarm_piobufs_set() local 188 ppd = is_sdma_buf(dd, i); in qib_disarm_piobufs_set() 189 if (ppd) { in qib_disarm_piobufs_set() 190 pppd[ppd->port] = ppd; in qib_disarm_piobufs_set() [all …]
|
D | qib_verbs.c | 225 struct qib_ibport *ibp = &rcd->ppd->ibport_data; in qib_qp_rcv() 273 struct qib_pportdata *ppd = rcd->ppd; in qib_ib_rcv() local 274 struct qib_ibport *ibp = &ppd->ibport_data; in qib_ib_rcv() 276 struct qib_devdata *dd = ppd->dd; in qib_ib_rcv() 292 lid &= ~((1 << ppd->lmc) - 1); in qib_ib_rcv() 293 if (unlikely(lid != ppd->lid)) in qib_ib_rcv() 667 void qib_verbs_sdma_desc_avail(struct qib_pportdata *ppd, unsigned avail) in qib_verbs_sdma_desc_avail() argument 676 dev = &ppd->dd->verbs_dev; in qib_verbs_sdma_desc_avail() 682 if (qp->port_num != ppd->port) in qib_verbs_sdma_desc_avail() 778 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_verbs_send_dma() local [all …]
|
D | qib_user_sdma.c | 803 struct qib_pportdata *ppd, in qib_user_sdma_queue_pkts() argument 905 ppd->ibmaxlen) { in qib_user_sdma_queue_pkts() 1060 static int qib_user_sdma_queue_clean(struct qib_pportdata *ppd, in qib_user_sdma_queue_clean() argument 1063 struct qib_devdata *dd = ppd->dd; in qib_user_sdma_queue_clean() 1082 s64 descd = ppd->sdma_descq_removed - pkt->added; in qib_user_sdma_queue_clean() 1125 static int qib_user_sdma_hwqueue_clean(struct qib_pportdata *ppd) in qib_user_sdma_hwqueue_clean() argument 1130 spin_lock_irqsave(&ppd->sdma_lock, flags); in qib_user_sdma_hwqueue_clean() 1131 ret = qib_sdma_make_progress(ppd); in qib_user_sdma_hwqueue_clean() 1132 spin_unlock_irqrestore(&ppd->sdma_lock, flags); in qib_user_sdma_hwqueue_clean() 1138 void qib_user_sdma_queue_drain(struct qib_pportdata *ppd, in qib_user_sdma_queue_drain() argument [all …]
|
D | qib_iba6120.c | 49 static void sendctrl_6120_mod(struct qib_pportdata *ppd, u32 op); 268 struct qib_pportdata *ppd; member 962 static void qib_disarm_6120_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_6120_senderrbufs() argument 965 struct qib_devdata *dd = ppd->dd; in qib_disarm_6120_senderrbufs() 1002 struct qib_pportdata *ppd = dd->pport; in handle_6120_errors() local 1019 qib_disarm_6120_senderrbufs(ppd); in handle_6120_errors() 1021 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_6120_errors() 1032 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_6120_errors() 1082 qib_handle_e_ibstatuschanged(ppd, ibcs); in handle_6120_errors() 1095 qib_dev_porterr(dd, ppd->port, "%s error\n", msg); in handle_6120_errors() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | platform.c | 103 struct hfi1_pportdata *ppd = dd->pport; in save_platform_config_fields() local 111 ppd->port_type = temp_dest >> in save_platform_config_fields() 118 ppd->local_atten = temp_dest >> in save_platform_config_fields() 125 ppd->remote_atten = temp_dest >> in save_platform_config_fields() 132 ppd->default_atten = temp_dest >> in save_platform_config_fields() 139 ppd->tx_preset_eq = (temp_scratch & TX_EQ_SMASK) >> TX_EQ_SHIFT; in save_platform_config_fields() 140 ppd->tx_preset_noeq = (temp_scratch & TX_NO_EQ_SMASK) >> TX_NO_EQ_SHIFT; in save_platform_config_fields() 141 ppd->rx_preset = (temp_scratch & RX_SMASK) >> RX_SHIFT; in save_platform_config_fields() 143 ppd->max_power_class = (temp_scratch & QSFP_MAX_POWER_SMASK) >> in save_platform_config_fields() 146 ppd->config_from_scratch = true; in save_platform_config_fields() [all …]
|
D | intr.c | 58 static void set_mgmt_allowed(struct hfi1_pportdata *ppd) in set_mgmt_allowed() argument 61 struct hfi1_devdata *dd = ppd->dd; in set_mgmt_allowed() 63 if (ppd->neighbor_type == NEIGHBOR_TYPE_HFI) { in set_mgmt_allowed() 64 ppd->mgmt_allowed = 1; in set_mgmt_allowed() 67 ppd->mgmt_allowed = (frame >> MGMT_ALLOWED_SHIFT) in set_mgmt_allowed() 79 static void add_full_mgmt_pkey(struct hfi1_pportdata *ppd) in add_full_mgmt_pkey() argument 81 struct hfi1_devdata *dd = ppd->dd; in add_full_mgmt_pkey() 84 if (!((ppd->pkeys[2] == 0) || (ppd->pkeys[2] == FULL_MGMT_P_KEY))) in add_full_mgmt_pkey() 86 __func__, ppd->pkeys[2], FULL_MGMT_P_KEY); in add_full_mgmt_pkey() 87 ppd->pkeys[2] = FULL_MGMT_P_KEY; in add_full_mgmt_pkey() [all …]
|
D | qsfp.c | 316 static int __i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_write() argument 319 struct hfi1_devdata *dd = ppd->dd; in __i2c_write() 335 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_write() argument 340 if (!check_chip_resource(ppd->dd, i2c_target(target), __func__)) in i2c_write() 343 ret = __i2c_write(ppd, target, i2c_addr, offset, bp, len); in i2c_write() 355 static int __i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_read() argument 358 struct hfi1_devdata *dd = ppd->dd; in __i2c_read() 374 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_read() argument 379 if (!check_chip_resource(ppd->dd, i2c_target(target), __func__)) in i2c_read() 382 ret = __i2c_read(ppd, target, i2c_addr, offset, bp, len); in i2c_read() [all …]
|
D | init.c | 127 struct hfi1_pportdata *ppd) in hfi1_create_kctxt() argument 135 ret = hfi1_create_ctxtdata(ppd, dd->node, &rcd); in hfi1_create_kctxt() 345 int hfi1_create_ctxtdata(struct hfi1_pportdata *ppd, int numa, in hfi1_create_ctxtdata() argument 348 struct hfi1_devdata *dd = ppd->dd; in hfi1_create_ctxtdata() 372 rcd->ppd = ppd; in hfi1_create_ctxtdata() 524 void set_link_ipg(struct hfi1_pportdata *ppd) in set_link_ipg() argument 526 struct hfi1_devdata *dd = ppd->dd; in set_link_ipg() 539 cc_state = get_cc_state(ppd); in set_link_ipg() 550 u16 ccti = ppd->cca_timer[i].ccti; in set_link_ipg() 564 current_egress_rate = active_egress_rate(ppd); in set_link_ipg() [all …]
|
D | mad.c | 103 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_lookup_pkey_value() local 105 if (pkey_idx < ARRAY_SIZE(ppd->pkeys)) in hfi1_lookup_pkey_value() 106 return ppd->pkeys[pkey_idx]; in hfi1_lookup_pkey_value() 298 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_create_qp0_ah() local 299 struct hfi1_devdata *dd = dd_from_ppd(ppd); in hfi1_create_qp0_ah() 300 u8 port_num = ppd->port; in hfi1_create_qp0_ah() 677 static void set_link_width_enabled(struct hfi1_pportdata *ppd, u32 w) in set_link_width_enabled() argument 679 (void)hfi1_set_ib_cfg(ppd, HFI1_IB_CFG_LWID_ENB, w); in set_link_width_enabled() 682 static void set_link_width_downgrade_enabled(struct hfi1_pportdata *ppd, u32 w) in set_link_width_downgrade_enabled() argument 684 (void)hfi1_set_ib_cfg(ppd, HFI1_IB_CFG_LWID_DG_ENB, w); in set_link_width_downgrade_enabled() [all …]
|
D | chip.c | 1075 static void set_partition_keys(struct hfi1_pportdata *ppd); 1077 static const char *link_state_reason_name(struct hfi1_pportdata *ppd, 1084 static void update_statusp(struct hfi1_pportdata *ppd, u32 state); 1085 static int wait_phys_link_offline_substates(struct hfi1_pportdata *ppd, 1087 static int wait_logical_linkstate(struct hfi1_pportdata *ppd, u32 state, 1089 static void log_state_transition(struct hfi1_pportdata *ppd, u32 state); 1090 static void log_physical_state(struct hfi1_pportdata *ppd, u32 state); 1091 static int wait_physical_linkstate(struct hfi1_pportdata *ppd, u32 state, 1093 static int wait_phys_link_out_of_offline(struct hfi1_pportdata *ppd, 1102 static void clear_full_mgmt_pkey(struct hfi1_pportdata *ppd); [all …]
|
D | sysfs.c | 65 struct hfi1_pportdata *ppd = in read_cc_table_bin() local 69 ret = ppd->total_cct_entry * sizeof(struct ib_cc_table_entry_shadow) in read_cc_table_bin() 82 cc_state = get_cc_state(ppd); in read_cc_table_bin() 114 struct hfi1_pportdata *ppd = in read_cc_setting_bin() local 129 cc_state = get_cc_state(ppd); in read_cc_setting_bin() 152 static ssize_t cc_prescan_show(struct hfi1_pportdata *ppd, char *buf) in cc_prescan_show() argument 154 return sprintf(buf, "%s\n", ppd->cc_prescan ? "on" : "off"); in cc_prescan_show() 157 static ssize_t cc_prescan_store(struct hfi1_pportdata *ppd, const char *buf, in cc_prescan_store() argument 161 ppd->cc_prescan = true; in cc_prescan_store() 163 ppd->cc_prescan = false; in cc_prescan_store() [all …]
|
D | ud.c | 76 struct hfi1_pportdata *ppd; in ud_loopback() local 109 ppd = ppd_from_ibp(ibp); in ud_loopback() 117 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in ud_loopback() 118 ((1 << ppd->lmc) - 1)); in ud_loopback() 119 if (unlikely(ingress_pkey_check(ppd, pkey, sc5, in ud_loopback() 210 cpu_to_be64(ppd->guids[HFI1_PORT_GUID_INDEX]); in ud_loopback() 249 wc.slid = (ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in ud_loopback() 250 ((1 << ppd->lmc) - 1))) & U16_MAX; in ud_loopback() 255 wc.dlid_path_bits = rdma_ah_get_dlid(ah_attr) & ((1 << ppd->lmc) - 1); in ud_loopback() 313 struct hfi1_pportdata *ppd; in hfi1_make_ud_req_9B() local [all …]
|
D | driver.c | 179 struct hfi1_pportdata *ppd; in hfi1_count_active_units() local 188 ppd = dd->pport + pidx; in hfi1_count_active_units() 189 if (ppd->lid && ppd->linkup) { in hfi1_count_active_units() 254 static void rcv_hdrerr(struct hfi1_ctxtdata *rcd, struct hfi1_pportdata *ppd, in rcv_hdrerr() argument 261 struct hfi1_devdata *dd = ppd->dd; in rcv_hdrerr() 400 process_becn(ppd, sl, rlid, lqpn, rqpn, svc_type); in rcv_hdrerr() 452 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_process_ecn_slowpath() local 477 ppd->lid; in hfi1_process_ecn_slowpath() 534 process_becn(ppd, sl, rlid, lqpn, rqpn, svc_type); in hfi1_process_ecn_slowpath() 614 if (rcd->ppd->cc_prescan) \ [all …]
|
D | debugfs.c | 519 struct hfi1_pportdata *ppd; in portcntrs_debugfs_read() local 522 ppd = private2ppd(file); in portcntrs_debugfs_read() 523 avail = hfi1_read_portcntrs(ppd, NULL, &counters); in portcntrs_debugfs_read() 545 struct hfi1_pportdata *ppd; in asic_flags_read() local 554 ppd = private2ppd(file); in asic_flags_read() 555 dd = ppd->dd; in asic_flags_read() 594 struct hfi1_pportdata *ppd; in asic_flags_write() local 602 ppd = private2ppd(file); in asic_flags_write() 603 dd = ppd->dd; in asic_flags_write() 640 struct hfi1_pportdata *ppd = private2ppd(file); in dc8051_memory_read() local [all …]
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | mem_encrypt_identity.c | 99 static void __init sme_clear_pgd(struct sme_populate_pgd_data *ppd) in sme_clear_pgd() argument 104 pgd_start = ppd->vaddr & PGDIR_MASK; in sme_clear_pgd() 105 pgd_end = ppd->vaddr_end & PGDIR_MASK; in sme_clear_pgd() 109 pgd_p = ppd->pgd + pgd_index(ppd->vaddr); in sme_clear_pgd() 114 static pud_t __init *sme_prepare_pgd(struct sme_populate_pgd_data *ppd) in sme_prepare_pgd() argument 121 pgd = ppd->pgd + pgd_index(ppd->vaddr); in sme_prepare_pgd() 123 p4d = ppd->pgtable_area; in sme_prepare_pgd() 125 ppd->pgtable_area += sizeof(*p4d) * PTRS_PER_P4D; in sme_prepare_pgd() 129 p4d = p4d_offset(pgd, ppd->vaddr); in sme_prepare_pgd() 131 pud = ppd->pgtable_area; in sme_prepare_pgd() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | psock_tpacket.c | 224 union frame_map ppd; in walk_v1_v2_rx() local 241 ppd.raw = ring->rd[frame_num].iov_base; in walk_v1_v2_rx() 245 test_payload((uint8_t *) ppd.raw + ppd.v1->tp_h.tp_mac, in walk_v1_v2_rx() 246 ppd.v1->tp_h.tp_snaplen); in walk_v1_v2_rx() 247 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_v1_v2_rx() 251 test_payload((uint8_t *) ppd.raw + ppd.v2->tp_h.tp_mac, in walk_v1_v2_rx() 252 ppd.v2->tp_h.tp_snaplen); in walk_v1_v2_rx() 253 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_v1_v2_rx() 260 __v1_v2_rx_user_ready(ppd.raw, ring->version); in walk_v1_v2_rx() 374 union frame_map ppd; in walk_tx() local [all …]
|