/linux-6.1.9/drivers/ntb/test/ |
D | ntb_tool.c | 231 int midx; member 1288 data = ntb_msg_read(msg->tc->ntb, &pidx, msg->midx); in tool_inmsg_read() 1311 ret = ntb_peer_msg_write(msg->tc->ntb, msg->pidx, msg->midx, val); in tool_outmsg_write() 1404 int midx, pidx; in tool_init_msgs() local 1413 for (midx = 0; midx < tc->inmsg_cnt; midx++) { in tool_init_msgs() 1414 tc->inmsgs[midx].midx = midx; in tool_init_msgs() 1415 tc->inmsgs[midx].pidx = -1; in tool_init_msgs() 1416 tc->inmsgs[midx].tc = tc; in tool_init_msgs() 1428 for (midx = 0; midx < tc->peers[pidx].outmsg_cnt; midx++) { in tool_init_msgs() 1429 tc->peers[pidx].outmsgs[midx].midx = midx; in tool_init_msgs() [all …]
|
/linux-6.1.9/fs/nfs/ |
D | pagelist.c | 1262 u32 midx; in nfs_pageio_error_cleanup() local 1268 for (midx = 0; midx < desc->pg_mirror_count; midx++) { in nfs_pageio_error_cleanup() 1269 mirror = nfs_pgio_get_mirror(desc, midx); in nfs_pageio_error_cleanup() 1278 u32 midx; in nfs_pageio_add_request() local 1291 for (midx = 1; midx < desc->pg_mirror_count; midx++) { in nfs_pageio_add_request() 1303 nfs_pgio_set_current_mirror(desc, midx); in nfs_pageio_add_request() 1387 u32 midx; in nfs_pageio_complete() local 1389 for (midx = 0; midx < desc->pg_mirror_count; midx++) in nfs_pageio_complete() 1390 nfs_pageio_complete_mirror(desc, midx); in nfs_pageio_complete() 1414 u32 midx; in nfs_pageio_cond_complete() local [all …]
|
/linux-6.1.9/drivers/hwtracing/stm/ |
D | core.c | 253 unsigned int midx; in stm_find_master_chan() local 256 for (midx = *mstart; midx <= mend; midx++) { in stm_find_master_chan() 257 if (!stm_master(stm, midx)) { in stm_find_master_chan() 258 err = stp_master_alloc(stm, midx); in stm_find_master_chan() 263 master = stm_master(stm, midx); in stm_find_master_chan() 273 *mstart = midx; in stm_find_master_chan() 285 unsigned int midx, cidx, mend, cend; in stm_output_assign() local 299 stp_policy_node_get_ranges(policy_node, &midx, &mend, &cidx, &cend); in stm_output_assign() 307 ret = stm_find_master_chan(stm, width, &midx, mend, &cidx, cend); in stm_output_assign() 311 output->master = midx; in stm_output_assign() [all …]
|
/linux-6.1.9/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.c | 1590 unsigned char midx; in idt_init_msg() local 1593 for (midx = 0; midx < IDT_MSG_CNT; midx++) in idt_init_msg() 1594 spin_lock_init(&ndev->msg_locks[midx]); in idt_init_msg() 1751 static u32 idt_ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx) in idt_ntb_msg_read() argument 1755 if (midx < 0 || IDT_MSG_CNT <= midx) in idt_ntb_msg_read() 1762 srcpart = idt_nt_read(ndev, ntdata_tbl.msgs[midx].src); in idt_ntb_msg_read() 1771 return idt_nt_read(ndev, ntdata_tbl.msgs[midx].in); in idt_ntb_msg_read() 1787 static int idt_ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx, in idt_ntb_peer_msg_write() argument 1794 if (midx < 0 || IDT_MSG_CNT <= midx) in idt_ntb_peer_msg_write() 1801 swpmsgctl = SET_FIELD(SWPxMSGCTL_REG, 0, midx) | in idt_ntb_peer_msg_write() [all …]
|
/linux-6.1.9/net/ipv4/ |
D | bpf_tcp_ca.c | 151 u32 midx; in prog_ops_moff() local 153 midx = prog->expected_attach_type; in prog_ops_moff() 155 m = &btf_type_member(t)[midx]; in prog_ops_moff()
|
D | ip_sockglue.c | 1108 int midx; in do_ip_setsockopt() local 1125 midx = l3mdev_master_ifindex(dev); in do_ip_setsockopt() 1129 if (sk->sk_bound_dev_if && midx != sk->sk_bound_dev_if) in do_ip_setsockopt() 1140 int midx; in do_ip_setsockopt() local 1186 midx = l3mdev_master_ifindex(dev); in do_ip_setsockopt() 1193 midx != sk->sk_bound_dev_if) in do_ip_setsockopt()
|
/linux-6.1.9/include/linux/ |
D | ntb.h | 330 u32 (*msg_read)(struct ntb_dev *ntb, int *pidx, int midx); 331 int (*peer_msg_write)(struct ntb_dev *ntb, int pidx, int midx, u32 msg); 1536 static inline u32 ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx) in ntb_msg_read() argument 1541 return ntb->ops->msg_read(ntb, pidx, midx); in ntb_msg_read() 1557 static inline int ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx, in ntb_peer_msg_write() argument 1563 return ntb->ops->peer_msg_write(ntb, pidx, midx, msg); in ntb_peer_msg_write()
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_sd7220.c | 1043 int idx, midx; in qib_sd_setvals() local 1072 for (midx = 0; midx < DDS_ROWS; ++midx) { in qib_sd_setvals() 1073 u64 __iomem *daddr = taddr + ((midx << 4) + idx); in qib_sd_setvals() 1075 data = dds_init_vals[midx].reg_vals[idx]; in qib_sd_setvals()
|
/linux-6.1.9/drivers/scsi/mpi3mr/ |
D | mpi3mr_fw.c | 600 u16 midx; in mpi3mr_isr_primary() local 611 midx = intr_info->msix_index; in mpi3mr_isr_primary() 613 if (!midx) in mpi3mr_isr_primary() 668 u16 midx; in mpi3mr_isr_poll() local 675 midx = intr_info->msix_index; in mpi3mr_isr_poll() 682 if (!midx) in mpi3mr_isr_poll() 1652 u16 reply_qid = 0, midx; in mpi3mr_delete_op_reply_q() local 1656 midx = REPLY_QUEUE_IDX_TO_MSIX_IDX(qidx, mrioc->op_reply_q_offset); in mpi3mr_delete_op_reply_q() 1707 mrioc->intr_info[midx].op_reply_q = NULL; in mpi3mr_delete_op_reply_q() 1848 u16 reply_qid = 0, midx; in mpi3mr_create_op_reply_q() local [all …]
|
/linux-6.1.9/net/ipv6/ |
D | ipv6_sockglue.c | 814 int midx; in do_ipv6_setsockopt() local 824 midx = l3mdev_master_ifindex_rcu(dev); in do_ipv6_setsockopt() 830 (!midx || midx != sk->sk_bound_dev_if)) in do_ipv6_setsockopt()
|
/linux-6.1.9/Documentation/driver-api/ |
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
|