/linux-6.6.21/drivers/ntb/test/ |
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-6.6.21/fs/nfs/ |
D | pagelist.c | 1382 u32 midx; in nfs_pageio_error_cleanup() local 1388 for (midx = 0; midx < desc->pg_mirror_count; midx++) { in nfs_pageio_error_cleanup() 1389 mirror = nfs_pgio_get_mirror(desc, midx); in nfs_pageio_error_cleanup() 1398 u32 midx; in nfs_pageio_add_request() local 1411 for (midx = 1; midx < desc->pg_mirror_count; midx++) { in nfs_pageio_add_request() 1423 nfs_pgio_set_current_mirror(desc, midx); in nfs_pageio_add_request() 1508 u32 midx; in nfs_pageio_complete() local 1510 for (midx = 0; midx < desc->pg_mirror_count; midx++) in nfs_pageio_complete() 1511 nfs_pageio_complete_mirror(desc, midx); in nfs_pageio_complete() 1536 u32 midx; in nfs_pageio_cond_complete() local [all …]
|
/linux-6.6.21/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.6.21/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.6.21/net/ipv4/ |
D | bpf_tcp_ca.c | 149 u32 midx; in prog_ops_moff() local 151 midx = prog->expected_attach_type; in prog_ops_moff() 153 m = &btf_type_member(t)[midx]; in prog_ops_moff()
|
D | ip_sockglue.c | 1119 int midx; in do_ip_setsockopt() local 1136 midx = l3mdev_master_ifindex(dev); in do_ip_setsockopt() 1140 if (sk->sk_bound_dev_if && midx != sk->sk_bound_dev_if) in do_ip_setsockopt() 1151 int midx; in do_ip_setsockopt() local 1197 midx = l3mdev_master_ifindex(dev); in do_ip_setsockopt() 1204 midx != sk->sk_bound_dev_if) in do_ip_setsockopt()
|
/linux-6.6.21/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.6.21/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.6.21/drivers/scsi/mpi3mr/ |
D | mpi3mr_fw.c | 611 u16 midx; in mpi3mr_isr_primary() local 622 midx = intr_info->msix_index; in mpi3mr_isr_primary() 624 if (!midx) in mpi3mr_isr_primary() 679 u16 midx; in mpi3mr_isr_poll() local 686 midx = intr_info->msix_index; in mpi3mr_isr_poll() 693 if (!midx) in mpi3mr_isr_poll() 1683 u16 reply_qid = 0, midx; in mpi3mr_delete_op_reply_q() local 1687 midx = REPLY_QUEUE_IDX_TO_MSIX_IDX(qidx, mrioc->op_reply_q_offset); in mpi3mr_delete_op_reply_q() 1738 mrioc->intr_info[midx].op_reply_q = NULL; in mpi3mr_delete_op_reply_q() 1879 u16 reply_qid = 0, midx; in mpi3mr_create_op_reply_q() local [all …]
|
/linux-6.6.21/net/ipv6/ |
D | ipv6_sockglue.c | 803 int midx; in do_ipv6_setsockopt() local 813 midx = l3mdev_master_ifindex_rcu(dev); in do_ipv6_setsockopt() 819 (!midx || midx != sk->sk_bound_dev_if)) in do_ipv6_setsockopt()
|
/linux-6.6.21/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
|