Searched refs:midx (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/ntb/test/ |
| H A D | ntb_tool.c | 231 int midx; member 1283 data = ntb_msg_read(msg->tc->ntb, &pidx, msg->midx); in tool_inmsg_read() 1306 ret = ntb_peer_msg_write(msg->tc->ntb, msg->pidx, msg->midx, val); in tool_outmsg_write() 1399 int midx, pidx; in tool_init_msgs() local 1408 for (midx = 0; midx < tc->inmsg_cnt; midx++) { in tool_init_msgs() 1409 tc->inmsgs[midx].midx = midx; in tool_init_msgs() 1410 tc->inmsgs[midx].pidx = -1; in tool_init_msgs() 1411 tc->inmsgs[midx].tc = tc; in tool_init_msgs() 1423 for (midx = 0; midx < tc->peers[pidx].outmsg_cnt; midx++) { in tool_init_msgs() 1424 tc->peers[pidx].outmsgs[midx].midx = midx; in tool_init_msgs() [all …]
|
| /linux/fs/nfs/ |
| H A D | pagelist.c | 1285 u32 midx; in nfs_pageio_error_cleanup() local 1291 for (midx = 0; midx < desc->pg_mirror_count; midx++) { in nfs_pageio_error_cleanup() 1292 mirror = nfs_pgio_get_mirror(desc, midx); in nfs_pageio_error_cleanup() 1301 u32 midx; in nfs_pageio_add_request() local 1314 for (midx = 1; midx < desc->pg_mirror_count; midx++) { in nfs_pageio_add_request() 1326 nfs_pgio_set_current_mirror(desc, midx); in nfs_pageio_add_request() 1411 u32 midx; in nfs_pageio_complete() local 1413 for (midx = 0; midx < desc->pg_mirror_count; midx++) in nfs_pageio_complete() 1414 nfs_pageio_complete_mirror(desc, midx); in nfs_pageio_complete() 1439 u32 midx; in nfs_pageio_cond_complete() local [all …]
|
| /linux/drivers/ntb/hw/idt/ |
| H A D | ntb_hw_idt.c | 1586 unsigned char midx; in idt_init_msg() local 1589 for (midx = 0; midx < IDT_MSG_CNT; midx++) in idt_init_msg() 1590 spin_lock_init(&ndev->msg_locks[midx]); in idt_init_msg() 1747 static u32 idt_ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx) in idt_ntb_msg_read() argument 1751 if (midx < 0 || IDT_MSG_CNT <= midx) in idt_ntb_msg_read() 1758 srcpart = idt_nt_read(ndev, ntdata_tbl.msgs[midx].src); in idt_ntb_msg_read() 1767 return idt_nt_read(ndev, ntdata_tbl.msgs[midx].in); in idt_ntb_msg_read() 1783 static int idt_ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx, in idt_ntb_peer_msg_write() argument 1790 if (midx < 0 || IDT_MSG_CNT <= midx) in idt_ntb_peer_msg_write() 1797 swpmsgctl = SET_FIELD(SWPxMSGCTL_REG, 0, midx) | in idt_ntb_peer_msg_write() [all …]
|
| /linux/net/ipv4/ |
| H A D | bpf_tcp_ca.c | 142 u32 midx; in prog_ops_moff() local 144 midx = prog->expected_attach_type; in prog_ops_moff() 146 m = &btf_type_member(t)[midx]; in prog_ops_moff()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/ |
| H A D | npc.c | 2600 u16 vidx, midx; in npc_idx_free() local 2619 midx = npc_vidx2idx(vidx); in npc_idx_free() 2621 midx = mcam_idx[i]; in npc_idx_free() 2622 vidx = npc_idx2vidx(midx); in npc_idx_free() 2625 if (midx >= npc_priv.bank_depth * npc_priv.num_banks) { in npc_idx_free() 2632 rc = npc_mcam_idx_2_subbank_idx(rvu, midx, in npc_idx_free() 2652 rc = npc_del_from_pf_maps(rvu, midx); in npc_idx_free() 2657 if (vidx == midx) in npc_idx_free() 3636 u16 midx; in npc_defrag_move_vdx_to_free() local 3663 midx = old_midx % mcam->banksize; in npc_defrag_move_vdx_to_free() [all …]
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_fw.c | 658 u16 midx; in mpi3mr_isr_primary() local 669 midx = intr_info->msix_index; in mpi3mr_isr_primary() 671 if (!midx) in mpi3mr_isr_primary() 726 u16 midx; in mpi3mr_isr_poll() local 733 midx = intr_info->msix_index; in mpi3mr_isr_poll() 740 if (!midx) in mpi3mr_isr_poll() 2021 u16 reply_qid = 0, midx; in mpi3mr_delete_op_reply_q() local 2025 midx = REPLY_QUEUE_IDX_TO_MSIX_IDX(qidx, mrioc->op_reply_q_offset); in mpi3mr_delete_op_reply_q() 2076 mrioc->intr_info[midx].op_reply_q = NULL; in mpi3mr_delete_op_reply_q() 2217 u16 reply_qid = 0, midx; in mpi3mr_create_op_reply_q() local [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | ntb.rst | 100 2) ntb_get_align(pidx, midx) - retrieve parameters restricting the 105 4) ntb_mw_set_trans(pidx, midx) - try to set translation address of 113 1) ntb_peer_mw_set_trans(pidx, midx) - try to set received from other
|