Home
last modified time | relevance | path

Searched refs:rsn (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/net/smc/
Dsmc_llc.h65 u32 rsn) in smc_llc_set_termination_rsn() argument
68 lgr->llc_termination_rsn = rsn; in smc_llc_set_termination_rsn()
103 u32 rsn);
Dsmc_core.c893 u32 rsn = lgr->llc_termination_rsn; in smc_lgr_cleanup() local
895 if (!rsn) in smc_lgr_cleanup()
896 rsn = SMC_LLC_DEL_PROG_INIT_TERM; in smc_lgr_cleanup()
897 smc_llc_send_link_delete_all(lgr, false, rsn); in smc_lgr_cleanup()
Dsmc_llc.c1348 void smc_llc_send_link_delete_all(struct smc_link_group *lgr, bool ord, u32 rsn) in smc_llc_send_link_delete_all() argument
1358 delllc.reason = htonl(rsn); in smc_llc_send_link_delete_all()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dqpc.c16 mlx5_get_rsc(struct mlx5_qp_table *table, u32 rsn) in mlx5_get_rsc() argument
23 common = radix_tree_lookup(&table->tree, rsn); in mlx5_get_rsc()
100 u32 rsn; in rsc_event_notifier() local
105 rsn = be32_to_cpu(eqe->data.dct.dctn) & 0xffffff; in rsc_event_notifier()
106 rsn |= (MLX5_RES_DCT << MLX5_USER_INDEX_LEN); in rsc_event_notifier()
117 rsn = be32_to_cpu(eqe->data.qp_srq.qp_srq_n) & 0xffffff; in rsc_event_notifier()
118 rsn |= (eqe->data.qp_srq.type << MLX5_USER_INDEX_LEN); in rsc_event_notifier()
125 common = mlx5_get_rsc(table, rsn); in rsc_event_notifier()
129 if (!is_event_type_allowed((rsn >> MLX5_USER_INDEX_LEN), event_type)) in rsc_event_notifier()
631 u32 rsn = res_num | (res_type << MLX5_USER_INDEX_LEN); in mlx5_core_res_hold() local
[all …]
Dcq.c1041 static int is_equal_rsn(struct mlx5_cqe64 *cqe64, u32 rsn) in is_equal_rsn() argument
1043 return rsn == (ntohl(cqe64->sop_drop_qpn) & 0xffffff); in is_equal_rsn()
1046 void __mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 rsn, struct mlx5_ib_srq *srq) in __mlx5_ib_cq_clean() argument
1073 if (is_equal_rsn(cqe64, rsn)) { in __mlx5_ib_cq_clean()
/kernel/linux/linux-5.10/drivers/md/
Ddm-verity-fec.c37 mod = do_div(offset, v->fec->rsn); in fec_interleave()
53 return decode_rs8(fio->rs, data, par, v->fec->rsn, NULL, neras, in fec_decode_rs8()
107 return &fio->bufs[i][j * v->fec->rsn]; in fec_buffer_rs_block()
223 for (i = 0; i < v->fec->rsn; i++) { in fec_read_bufs()
224 ileaved = fec_interleave(v, rsb * v->fec->rsn + i); in fec_read_bufs()
350 memset(fio->bufs[n], 0, v->fec->rsn << DM_VERITY_FEC_BUF_RS_BITS); in fec_init_bufs()
714 f->rsn = DM_VERITY_FEC_RSM - f->roots; in verity_fec_ctr()
722 if (sector_div(f->rounds, f->rsn)) in verity_fec_ctr()
788 f->rsn << DM_VERITY_FEC_BUF_RS_BITS, in verity_fec_ctr()
Ddm-verity-fec.h45 unsigned char rsn; /* N of RS(M, N) */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c399 int rsn; in gelic_wl_synthesize_ie() local
405 rsn = 0; in gelic_wl_synthesize_ie()
408 rsn = 1; in gelic_wl_synthesize_ie()
423 if (rsn) { in gelic_wl_synthesize_ie()
434 if (rsn) in gelic_wl_synthesize_ie()
440 if (rsn) in gelic_wl_synthesize_ie()
449 if (!rsn) { in gelic_wl_synthesize_ie()
507 struct ie_item rsn; member
540 ie_info->rsn.data = pos - 2; in gelic_wl_parse_ie()
542 ie_info->rsn.len = item_len + 2; in gelic_wl_parse_ie()
[all …]
/kernel/linux/linux-5.10/drivers/tty/
Dmoxa.c734 char rsn[64]; in moxa_load_fw() local
751 strcpy(rsn, "too short (even header won't fit)"); in moxa_load_fw()
755 sprintf(rsn, "bad magic: %.8x", le32_to_cpu(hdr->magic)); in moxa_load_fw()
759 sprintf(rsn, "not for linux, type is %u", hdr->type); in moxa_load_fw()
763 sprintf(rsn, "not for this card, model is %u", hdr->model); in moxa_load_fw()
776 sprintf(rsn, "too few entries in fw file"); in moxa_load_fw()
783 sprintf(rsn, "bad length: %u (should be %u)", (u32)fw->size, in moxa_load_fw()
791 strcpy(rsn, "read above"); in moxa_load_fw()
816 printk(KERN_ERR "firmware failed to load, reason: %s\n", rsn); in moxa_load_fw()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Ddebugfs.c405 int rsn, char **field, int nfile, void *data) in add_res_tree() argument
418 sprintf(resn, "0x%x", rsn); in add_res_tree()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c398 u8 *ssid = NULL, *wpa = NULL, *rsn = NULL; in hostap_rx_sta_beacon() local
426 rsn = pos; in hostap_rx_sta_beacon()
458 if (rsn) { in hostap_rx_sta_beacon()
459 memcpy(bss->rsn_ie, rsn, rsn_len); in hostap_rx_sta_beacon()
/kernel/linux/linux-5.10/include/linux/
Dnvme-fc.h76 __be32 rsn; member
/kernel/linux/linux-5.10/drivers/nvme/target/
Dfc.c138 atomic_t rsn; member
820 atomic_set(&queue->rsn, 1); in nvmet_fc_alloc_target_queue()
2131 u32 rsn, rspcnt, xfr_length; in nvmet_fc_prep_fcp_rsp() local
2175 rsn = atomic_inc_return(&fod->queue->rsn); in nvmet_fc_prep_fcp_rsp()
2176 ersp->rsn = cpu_to_be32(rsn); in nvmet_fc_prep_fcp_rsp()
/kernel/linux/linux-5.10/drivers/staging/ks7010/
Dks_wlan_net.c1149 char *current_ev, struct rsn_ie *rsn, in ks_wlan_add_leader_event() argument
1163 pbuf += sprintf(pbuf, "%02x", rsn->id); in ks_wlan_add_leader_event()
1164 pbuf += sprintf(pbuf, "%02x", rsn->size); in ks_wlan_add_leader_event()
1167 for (i = 0; i < rsn->size; i++) in ks_wlan_add_leader_event()
1168 pbuf += sprintf(pbuf, "%02x", rsn->body[i]); in ks_wlan_add_leader_event()
1170 iwe->u.data.length += rsn->size * 2; in ks_wlan_add_leader_event()
Dks_hostif.c134 size = (ap_info->rsn.size <= RSN_IE_BODY_MAX) ? in get_current_ap()
135 ap_info->rsn.size : RSN_IE_BODY_MAX; in get_current_ap()
140 memcpy(ap->rsn_ie.body, ap_info->rsn.body, size); in get_current_ap()
145 memcpy(ap->wpa_ie.body, ap_info->rsn.body, size); in get_current_ap()
182 ap_info->rsn_mode, ap_info->rsn.size, in get_current_ap()
Dks_hostif.h341 } __packed rsn; member
/kernel/linux/linux-5.10/net/mac80211/
Dmesh.c1297 (elems.rsn && sdata->u.mesh.security == IEEE80211_MESH_SEC_NONE) || in ieee80211_mesh_rx_bcn_presp()
1298 (!elems.rsn && sdata->u.mesh.security != IEEE80211_MESH_SEC_NONE)) in ieee80211_mesh_rx_bcn_presp()
Dieee80211_i.h1508 const u8 *rsn; member
Dutil.c1148 elems->rsn = pos; in _ieee802_11_parse_elems_crc()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dhfi.h116 #define HFI1_ODR_MASK(rsn) ((rsn) & OPA_PI_MASK_OFFLINE_REASON) argument
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_nvme.c1168 ep->rsn = wcqe->parameter; in lpfc_nvme_io_cmd_wqe_cmpl()